Conversion of old registry fields to new dispo fields: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
m (m)
m (m)
Line 1: Line 1:
This article documents how the new [[:Category:2016 Time and Place changes]] fields are populated from old data.  
This article documents how the new [[:Category:2016 Time and Place changes]] fields are populated from old data.  


==Pre acute living situation field==
== Scope ==
 
== location fields ==
===Pre acute living situation field===
This will not be a direct translation with identical meaning.  
This will not be a direct translation with identical meaning.  
: If [[Overstay]] Project,  
: If [[Overstay]] Project,  
Line 18: Line 21:
:: else (for CC or Med before overstay project) -> new value '''"legacy empty"''' that would not be available to collectors
:: else (for CC or Med before overstay project) -> new value '''"legacy empty"''' that would not be available to collectors


==Pre-admit Inpatient Institution field==
===Pre-admit Inpatient Institution field===
This will not be a direct translation with identical meaning.  
This will not be a direct translation with identical meaning.  
: if [[Hospital previous]]  
: if [[Hospital previous]]  
Line 24: Line 27:
:: else -> new value '''"legacy empty"''' that would not be available to collectors
:: else -> new value '''"legacy empty"''' that would not be available to collectors


==Previous Service field==
===Previous Service field===
This will not be a direct translation with identical meaning.  
This will not be a direct translation with identical meaning.  
: If [[Service Sending to ICU]]
: If [[Service Sending to ICU]]
Line 50: Line 53:
No equivalents exist in old data for new "Emergency Medicine", "Neurology" and "Oncology" so these would be captured under "other" if they ever happened.
No equivalents exist in old data for new "Emergency Medicine", "Neurology" and "Oncology" so these would be captured under "other" if they ever happened.


==Previous Location field==
===Previous Location field===
: -> combination of [[Hospital previous]], [[Admit from]] and [[Var 1 - Admit-from Ward]]
: -> combination of [[Hospital previous]], [[Admit from]] and [[Var 1 - Admit-from Ward]]


Line 58: Line 61:
Sent Julie excel sheet with possible combinations and translations. Ttenbergen 16:56, 2016 July 5 (CDT)
Sent Julie excel sheet with possible combinations and translations. Ttenbergen 16:56, 2016 July 5 (CDT)


==Service/Location==
===Service/Location===
: -> [[Location field]]
: -> [[Location field]]


==Off ward field==
===Off ward field===
: if one of
: if one of
:::: [[ICU Var 3 - Overflow]] > ""  
:::: [[ICU Var 3 - Overflow]] > ""  
Line 70: Line 73:
:: else -> false
:: else -> false


==Dispo field==
===Dispo field===
: if [[Survive / Expired]] = Expire  
: if [[Survive / Expired]] = Expire  
:: then if exists [[Organ Donor]]  
:: then if exists [[Organ Donor]]  
Line 81: Line 84:
I will generate a table ''translations_dispo'' for this and discuss only unclear cases here.  
I will generate a table ''translations_dispo'' for this and discuss only unclear cases here.  


==Visit Admit DtTm field==
== Time Fields ==
===Visit Admit DtTm field===
(needs to be reconciled with [[Encounter processing]] which will likely need updating)
(needs to be reconciled with [[Encounter processing]] which will likely need updating)
==Accept DtTm field==
===Accept DtTm field===
: -> [[admit date and time]]
: -> [[admit date and time]]


==Arrive DtTm field==
===Arrive DtTm field===
: -> [[admit date and time]]
: -> [[admit date and time]]
: If exists [[ER Wait]] dttm
: If exists [[ER Wait]] dttm
:: then overwrite with -> [[ER Wait]] dttm
:: then overwrite with -> [[ER Wait]] dttm


==Transfer Ready DtTm field==
===Transfer Ready DtTm field===
* old [[Transfer Ready date and time]]
* old [[Transfer Ready date and time]]


==TR info status field==
===TR info status field===
: if [["No Transfer Date" in Medicine]]
: if [["No Transfer Date" in Medicine]]
:: -> "not available"
:: -> "not available"
Else don't back-populate.
Else don't back-populate.


==Dispo DtTm field==
===Dispo DtTm field===
* old [[discharge date and time]]
* old [[discharge date and time]]


[[Category:Dispo]]
[[Category:Dispo]]
[[Category:2016 Time and Place changes]]
[[Category:2016 Time and Place changes]]

Revision as of 13:12, 2016 July 6

This article documents how the new Category:2016 Time and Place changes fields are populated from old data.

Scope

location fields

Pre acute living situation field

This will not be a direct translation with identical meaning.

If Overstay Project,
"From Apartment" -> "Apartment"
"From Assisted Living" -> "Assisted Living"
"From Personal Care Home" -> "Personal Care Home"
"From Supportive Housing" -> "Supportive Housing"
"From House" -> "House"
-> "Chronic Health Facility"
-> "Prison / Jail / Correctional Institution"
-> "Homeless"

Template:Discussion

  • can we just say other -> other, since other might have been jail? I think it's the most reasonable, but pls confirm Julie.
"From other" -> "other - known but not listed"
"From location missing" -> "location missing/unknown"
else (for CC or Med before overstay project) -> new value "legacy empty" that would not be available to collectors

Pre-admit Inpatient Institution field

This will not be a direct translation with identical meaning.

if Hospital previous
then -> Hospital previous + type of unit from admit from
else -> new value "legacy empty" that would not be available to collectors

Previous Service field

This will not be a direct translation with identical meaning.

If Service Sending to ICU
"Cardiac surgery" -> "Cardiac surgery
"Cardiology" -> "Cardiology
"Family Medicine" -> "Family Medicine
"General surgery" -> "General surgery"
"Medicine" -> "Medicine"
"Nephrology" -> "Nephrology"
"Neurosurgery" -> "Neurosurgery"
"Ob/Gyne" -> "Ob/Gyne"
"Ortho surgery" -> "Ortho surgery"
"Plastic surgery" -> "Plastic surgery"
"Psych" -> "Psych"
"Thoracic surgery" -> "Thoracic surgery"
"Urologic surgery" -> "Urology surgery"
"Vascular surgery" -> "Vascular surgery"
"z_not an inpatient" -> "not applicable"
"z_not applicable" -> "Critical Care"
"z_other" -> "other (known but not on list)"
"z_other not on list" -> "other (known but not on list)"
"z_unknown" -> "unknown"
else -> new value "legacy empty" that would not be available to collectors

No equivalents exist in old data for new "Emergency Medicine", "Neurology" and "Oncology" so these would be captured under "other" if they ever happened.

Previous Location field

-> combination of Hospital previous, Admit from and Var 1 - Admit-from Ward

I will generate a table translations_previous_location for this and discuss only unclear cases here.

Template:Discussion Sent Julie excel sheet with possible combinations and translations. Ttenbergen 16:56, 2016 July 5 (CDT)

Service/Location

-> Location field

Off ward field

if one of
ICU Var 3 - Overflow > ""
ICU Var 4 - Parked in ER = "P"
ICU Var 5 - Overflow > ""
Med Var 5 > ""
then -> true
else -> false

Dispo field

if Survive / Expired = Expire
then if exists Organ Donor
then -> "died - organ donor"
else -> "died - NOT organ donor"
else
if ICU Var 6 - AMA then -> "AMA"
else combination of discharge to and Var 2 - Discharge-to Ward

I will generate a table translations_dispo for this and discuss only unclear cases here.

Time Fields

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"

Else don't back-populate.

Dispo DtTm field