Discharged to community

From CCMDB Wiki
Revision as of 20:05, 19 March 2025 by Ttenbergen (talk | contribs)
Jump to navigation Jump to search


Just a placeholder for now because the idea of how we define dispo to community (or for that matter, re-admit Previous Location) in data came up re. things like Readmission to MedWard and others. We have the obvious "Home" but if someone is discharged to something like Dialysis, would that also count? How do we define? Ideally by a column in s_dispo table such as s_dispo.loc_type, but that one uses "non-patient" which it also uses for Deceased patients (should we just split that out?). There is probably even more to this. Likely Julie has more than one approach in reporting. This came up because we were looking to define this for LAU collection readmission data.

  • This is actually just as much regarding to admitted from community, so maybe this should just be renamed to "outpatient sites in s_dispo table"?
  • SMW


  • Cargo


  • Categories


This will be even more relevant to keep track off with the recent changes to Dispo to add TRSF etc; but even aside from that, would we want to include such a thing as a discharge to odd S dispo.loc types:

  • ambulatory care: 60
  • ER: 61
  • hospice: 102
  • Nursing Station: 15 (all ancient since we now code this as "Outside City - unknown/other")
  • TCE: 83
  • TCU: 582
  • UC: 7
  • non-patient: 195250

SAS code in the context of Readmission to MedWard

As per 2025-02-14 email from JM   

if (0 le diff le 7) /* within one week included */

        and ( tolocation in ('Home','HSC Lennox Bell') 
             OR   toloctype in ('hospice','PCH','ambulatory care')  
             OR   toregion in ('out-of-WPG','out-of-MB','out-of-CAN') 
                     /*Left the hospital and went home, long-term care facility, outside city and prov */
             or   ( lagFromLoctype in ('ER','ambulatory care' )  and 
                    ( lagPreInptLocation in ('NA / not applicable',' ')  or lagInptRegion in ('out-of-WPG','out-of-MB','out-of-CAN') 
                   )  
             or lagFromHospital in ('Children','Misericordia','Manitoba Adolescent Treatment Center','River Ridge Transition Care Environment'))
                   
                     /* next admit from ER, Ambulatory and not from WPG or Children & Misericordia */
             or   lagFromLocation in ('Home' ) 
                     /* next admit from Home */
             or  lagFromLoctype in ('PCH') 
                     /* next admit from nursing home */
                 )
        then readm7=1; 
     else readm7=0;  /* discharged to hospital ward,ICUs,OR,RR excluded*/

if AMA=1 and readm7=1 then readm7=0; /* AMA is excluded to readmission */ if palliative=1 and readm7=1 then readm7=0; /*palliative excluded */

     /* EMIP pts moving to another ward is not readmission */
      if Ward='EMIP' and (0 le diff le 7) and lagfromloctype in ('ER') then do; 
     readm7=0; end;
     /* Same Visit_Admit_DtTm is not readmission */
     if nextvisit=Visit_Admit_DtTm then do;
       readm7=0; end;