Previous Location field: Difference between revisions

error with "set previous location to pre-admit button: functionality is opposite of what Laura expects
Line 55: Line 55:
* Patients with [[Previous Location field]] critical care must have [[Previous Service field]] critical care, and patients from medicine must have previous service medicine.
* Patients with [[Previous Location field]] critical care must have [[Previous Service field]] critical care, and patients from medicine must have previous service medicine.


* query check_prev_pre-admit_consistent: for inpatient transfers within the region, [[Previous Location field]] and [[Pre-admit Inpatient Institution field]] should be same.
* query check_previous_location_vs_service_inconsistent: patients with [[Previous Location field]] in medicine must have [[Previous Service field]] medicine; patients from ICU (except CCU) must have previous service "critical care".


Following might still need to be implemented:  
Following might still need to be implemented: