Conversion of old registry fields to new dispo fields

From CCMDB Wiki
Revision as of 12:45, 2016 July 5 by Ttenbergen (talk | contribs) (m)
Jump to navigation Jump to search

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"

Visit Admit DtTm field

(needs to be reconciled with Encounter processing which will likely need updating)

Accept DtTm field

-> admit date and time

Arrive DtTm field

-> admit date and time
If exists ER Wait dttm
then overwrite with -> ER Wait dttm

Transfer Ready DtTm field

TR info status field

if "No Transfer Date" in Medicine
-> "not available"
under what circumstances?; actually, we might not need to back-populate this since it was just meant for collectors to not leave this blank... Julie? Template:Discussion
-> "not transfer ready"

Dispo DtTm field