Conversion of old registry fields to new dispo fields
This article documents how the new Category:2016 Time and Place changes fields are populated from old data.
Pre acute living situation field
Pre-admit Inpatient Institution field
Previous Service field
Previous Location field
Service/Location
Off ward field
Dispo field
- if Survive / Expired = Expire
- then if exists Organ Donor
- then "died - organ donor"
- else "died - NOT organ donor"
- else combination of discharge to and Var 2 - Discharge-to Ward
- if ICU Var 6 - AMA then -> "AMA"
- then if exists Organ Donor