Previous Service field: Difference between revisions

Line 68: Line 68:


== {{CCMDB Data Integrity Checks|implemented}} ==
== {{CCMDB Data Integrity Checks|implemented}} ==
* Can't be empty.
* [[Function Validate_previous_service]]
 
* [[Query check previous location vs service inconsistent]]
* query check_previous_location_vs_service_inconsistent: patients with [[Previous Location field]] in medicine must have [[Previous Service field]] medicine; patients from ICU (except [[STB ACCU]], [[STB CICU]]/ICCS) must have previous service "critical care".


== Implementation ==
== Implementation ==