Check function preAdmit NE Location: Difference between revisions

mNo edit summary
mNo edit summary
 
Line 2: Line 2:
|DIC_summary=[[Pre-admit Inpatient Institution field]] can't be same as [[Service/Location field]]
|DIC_summary=[[Pre-admit Inpatient Institution field]] can't be same as [[Service/Location field]]
|DIC_related_concepts=Service/Location field; Pre-admit Inpatient Institution field
|DIC_related_concepts=Service/Location field; Pre-admit Inpatient Institution field
|DIC_firmness=soft check
|DIC_firmness=hard check
|DIC_timing=complete
|DIC_timing=complete
|DIC_coding=function preAdmit_NE_Location()
|DIC_coding=function preAdmit_NE_Location()
Line 12: Line 12:


Error is:  
Error is:  
::Pre-admit should only be equal to Service Location in case of a PatientFollow assignment change. If that is not the case, should those fields really be equal?
::Pre-admit Inpatient Institution must not be equal to Service Location.


== Log ==
== Log ==
2020-12-23
* 2021-08-25 - changed to hard check again since change in [[Processes around changing a PatientFollow assignment]] means this can no longer be correct
* changed to soft check since this can now be correct in the context of [[Processes around changing a PatientFollow assignment]]
* 2020-12-23 - changed to soft check since this can now be correct in the context of [[Processes around changing a PatientFollow assignment]]
* 2019-01-07 - updated so they will work with the workload sharing locations


2019-01-07
== Related articles ==
* updated so they will work with the workload sharing locations
{{Related Articles}}


[[Category:Registry checks]]
[[Category:Registry checks]]