Data definition for factor candidates for the Overstay2 project
This page documents the data definitions used in the Overstay2 scoring models, as defined during re-analysis and generation of Overstay2 model and implemented in Overstay2 module. See Overstay2 Overview for additional context.
Definitions
Hospitalization
A hospitalization is defined as records with same (PHIN and Visit Admit DtTm).
Discharge Ready DtTm
- The first Transfer Ready DtTm tmp entry associated to a Medicine record from this #Hospitalization
Overstay
- #Discharge Ready DtTm - (Final Dispo DtTm of the #Hospitalization, no matter if a medicine or critical care record)
- If there is no #Discharge Ready DtTm this will be considered as no Overstay ie it will lead to a Overstay of 0
Coefficients / factors
Not all of these factors are used, see model (list in Overstay2 scoring models) for actual use. Also see Re-analysis and generation of Overstay2 model for how they were selected.
Age
age in years at first medicine unit admission of this #Hospitalization
Location / living arrangement
Re-analysis and generation of Overstay2 model#Location Grouping considerations explains considerations we had in generating these groupings.
Homeless
Pre acute living situation field = "Homeless" (present/yes=1, absent/no =0)
PCH/Chronic Care
Pre acute living situation field in ("Personal Care Home", "Chronic Health Facility") (present/yes=1, absent/no =0)
FromNonWPGfacility
Previous Location or Pre-admit Inpatient Institution corresponding to s_dispo.geog in ('out-of-WPG','out-of-MB','out-of-CAN') (present/yes=1, absent/no =0)
Postal Code field based
Winnipeg_Plus
- (present/yes=1, absent/no =0)
- Intent is to capture people geographically located or living in Winnipeg
- construct based on Postal Code field#Grouping by Geographical Area, include:
- Postal Code field#MB-Winnipeg
- Postal Code field#N/A-Homeless - because most are located in Winnipeg and not including them would miss a significant number of people in Winnipeg
- Postal Code field#N/A-JDoe - small number but most in Winnipeg
MB
Province = 'MB' or maybe Postal Code (present/yes=1, absent/no =0)
North-Western Ontario
construct based on Postal Code field#ON-NorthWestern (present/yes=1, absent/no =0)
Northern MB
construct based on Postal Code field#MB-Northern (present/yes=1, absent/no =0)
Rest MB
construct based on Postal Code field#MB-Rest (present/yes=1, absent/no =0)
Rest
construct based on [[Postal Code field#Postal Code field#Grouping by Geographical Area
(present/yes=1, absent/no =0)
Procedures
ImplantDevice
has Admit Procedure with CCI2 code Implantation of Internal Device (53) or ( CCI2 code Dilation (50) and Therapeutic only ) (present/yes=1, absent/no =0)
![]() |
|
Procedure waits that cause discharge delays
There are procedures that may contribute to DC delay due to waits for the procedure itself. For example:
- TIPS (transjugular intrahepatic portosystemic shunt)
- ERCP (endoscopic retrograde cholangiopancreatography)
- Pacemaker insertion, permanent (and Defibrillator, insertion?)
- tunneled line insertion, CVC placement, any location; most are collected as "code only first" so it may not be captured if they had a temp line that was coded as their first CVC
![]() |
|
Diagnoses
ICD10 Diagnoses (Admit Diagnosis or Comorbid Diagnosis) that might prevent/delay meeting PCH/Home Care criteria.
Opioids
Acute/Overdose Toxicity
- Opioid/narcotic, overdose/toxicity (T40.6), Opioid/narcotic, acute intoxication (F11.0), Opioid/narcotic, withdrawal (F11.3)
- Cocaine, overdose/toxicity (T40.5), Cocaine, acute intoxication (F14.0), Cocaine, withdrawal (F14.3)
- Stimulants incl. methamphetamine, poisoning (T43.6), Stimulants incl methamphetamine, acute intoxication (F15.0), Stimulants incl methamphetamine, withdrawal (F15.3)
(present/yes=1, absent/no =0)
Chronic Addiction
- Opioid/narcotic, chronic abuse/dependence/addiction (F11.2)
- Cocaine, chronic abuse/dependence/addiction (F14.2)
- Stimulants incl methamphetamine, chronic abuse/dependence/addiction (F15.2)
(present/yes=1, absent/no =0)
Dementia
- Alzheimer's disease/dementia (G30)
- Dementia, NOS (F03)
- Multi-infarct dementia (F01.1)
(present/yes=1, absent/no =0)
Palliative
- Palliative care (Z51.5)
(present/yes=1, absent/no =0)
Trach
- Tracheostomy, has one (Z93.0)
(present/yes=1, absent/no =0)
PEG
- PEG (Percutaneous Feeding Tube)
Gastrostomy, has one (Z93.1) (present/yes=1, absent/no =0)
Prosthetic Implant Graft
- Iatrogenic, mechanical complication/dysfunction, internal prosthetic device or implant or graft NOS (T85.6)
(present/yes=1, absent/no =0)
Suprapubic Catheter
(present/yes=1, absent/no =0)
Artificial Opening
- Artificial opening NOS, has one (Z93.8)
(present/yes=1, absent/no =0)
Ileostomy Colostomy
- Ileostomy or colostomy, has one (Z93.4)
(present/yes=1, absent/no =0)
Heart Assist Device
- Heart assist device, has one (Z95.811)
(present/yes=1, absent/no =0)
Internal Device
- Tracheostomy, has one (Z93.0)
- Gastrostomy, has one (Z93.1)
- Ileostomy or colostomy, has one (Z93.4)
- Suprapubic catheter, indwelling, has one (Z93.5)
- Artificial opening NOS, has one (Z93.8)
- Heart assist device, has one (Z95.811)
- Iatrogenic, mechanical complication/dysfunction, internal prosthetic device or implant or graft NOS (T85.6)
(present/yes=1, absent/no =0)
InterImplant Device
- has #ImplantDevice or has #Internal Device
(present/yes=1, absent/no =0)
Charlson Diagnoses
MI
has ICD10 Dx classified as component score for Charlson Component "Myocardial infarction"
CHF
has ICD10 Dx classified as component score for Charlson Component "Congestive heart failure"
PVD
has ICD10 Dx classified as component score for Charlson Component "Peripheral vascular disease"
CVA
has ICD10 Dx classified as component score for Charlson Component "Cerebrovascular disease"
Pulmonary
has ICD10 Dx classified as component score for Charlson Component "Chronic pulmonary disease"
Connective
has ICD10 Dx classified as component score for Charlson Component "Rheumatic disease"
Ulcer
has ICD10 Dx classified as component score for Charlson Component "Peptic ulcer disease"
Plegia
has ICD10 Dx classified as component score for Charlson Component "Hemiplegia or paraplegia"
Diabetes
has ICD10 Dx classified as component score for Charlson Component "Diabetes with chronic complications"
Renal
has ICD10 Dx classified as component score for Charlson Component "Renal disease"
Charlson Comorbidity Index
Charlson Score * NH
Charlson Comorbidity Index * PCH/Chronic Care
Glasgow Coma Scale
Eye
points associated with the AP_Eye field of the Glasgow Coma Scale
Motor
points associated with the AP_Motor field of the Glasgow Coma Scale
Verb
points associated with the AP_Verbal field of the Glasgow Coma Scale
ADL Related
ADL_bath
component score 0-3-6 of ADL Bathing
ADL_dress
component score 0-3-6 of ADL Dressing
ADL_toilet
component score 0-3-6 of ADL Toiletting
ADL_transfer
component score 0-3-6 of ADL Transfering
ADL_feed
component score 0-3-6 of ADL Feeding
ADL_continence
component score 0-3-6 of ADL Continence
ADL Score
ADL_Adlmean_NH
(ADL Score - 12) * (PCH/Chronic Care )
ADL_Adlmean_age
post Overstay2 scoring model for Grace Hospital candidates
We realized after finalizing the Overstay2 scoring model for Grace Hospital that some candidate codes would be better if their definition was tweaked.
![]() |
Integrate these better
|
Implementation
- Template:OSDD should be used to refer to these to consistently link here
- SAS: See S:\MED\Med_CCMED\Julie\MedProjects\Overstay_Project_2025\Data\6Feb2025_Oct2020toDec2024Data\prepdata_7Feb2025.sasS:\MED\Med_CCMED\Julie\MedProjects\Overstay_Project_2025\Data\6Feb2025_Oct2020toDec2024Data\prepdata_7Feb2025.sas contains the code that defines these for the model.
- CFE: Overstay2 module Function Get_Overstay_Parameters_from_ID