Transfer Delay (Medicine): Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
mNo edit summary
 
(71 intermediate revisions by 3 users not shown)
Line 8: Line 8:
|program=Medicine
|program=Medicine
}}
}}
See also [[Transfer Delay (Critical Care)|Transfer Delay]].
 
{{DJ |
See also [[Transfer Delay (Critical Care)]].
* According to the discussion at Task on 2022-04-20 this will need to be updated once the reporting is updated. Something about 30 minutes grace time for all? [[User:Ttenbergen|Ttenbergen]] 20:59, 2022 April 20 (CDT)
}}


== Use ==
== Use ==
* The purpose is to determine the amount of time the patient is occupying a bed in a High Observation ward or a regular ward setting when the patient is no longer needing that [[Level of care hierarchy| level of care]] from the [[Transfer Ready DtTm]] until the [[Dispo DtTm]].
* The purpose is to determine the amount of time a patient is occupying a bed in at a given [[Level of care]] (High Observation ward or a regular ward) when the patient is no longer needing that [[Level of care]].
 
* This is relevant because:
** If patients are at a higher level of care than they need this can indicate that beds at a lower level are not available and more might be needed.
** It might also indicate that beds at a higher (and more expensive) level of care might be reduced if patients could consistently move to the appropriate level of care.
** A patient who doesn't need to be in a hospital runs the risk of nosocomial complications if they remain in hospital.
 
== Definition ==
* ''Transfer Delay'' is the difference in decimal days between the time the pt is first transfer ready at a [[Level of care]] and the time that they leave that level
** '''starts''' at the [[Transfer Ready DtTm]] corresponding to the first [[Boarding Loc]] of a given [[Level of care]]
** '''ends''' as a patient leaves that level of care in one of the following ways:
*** to a [[Dispo]] location (ie [[Dispo DtTm]])
*** to a [[Boarding Loc]] with a ''different''(higher or lower) [[Level of care]] (ie the start of that next [[Boarding Loc]])
**** transfer to another [[Boarding Loc]] at the ''same'' [[Level of care]] does not reset the clock/generate a new delay
 
{{ex |
* Scenario: arrive HOBS1 -> ready to transfer to reg ward -> regular ward -> ready to transfer out -> HOBS2 -> Home
** first transfer delay is (start of reg ward) - (ready to transfer to reg ward)
** second transfer delay is (start of hobs) - (ready to transfer out)
** three is no transfer ready between HOBS2 and home, so no additional delay
}}


== Definition details ==
== Calculation of Transfer Delay ==
*'''Transfer Delay Over 4 hours for Medicine''' (i.e. subtract 4 hrs from transfer delay)
* As agreed in JALT meeting March 22, 2023, transfer delays will be reported based on actual delays at each [[Level of care]] with no more allowances of less than n hours.
*Before Jan 2023, Transfer delay calculation is done similarly with the Critical Care calculation which is substracting ''n'' hrs from all actual delay time and for Medicine, ''n'' is 4 hours.
*In the meeting held Jan 11, 2023, Critical Care agreed to change the calculation of  transfer delays which Medicine will do similarly  for consistency as follows: (a) ignore such transfer delays < 4 hrs, but (b) for all delays >=4 hrs to use the actual delay time.  The process is to be done on the transfer delay at each [[Level of care]].


== Implementation ==
== Implementation ==
Line 28: Line 48:
It is not reported by ward, it is reported only per episode / profile.  
It is not reported by ward, it is reported only per episode / profile.  


Julie sums up the multiple transfer delays that might be present.  
Julie sums up the multiple transfer delays that might be present and reports them all aggregated to their [[Dispo DtTm]]. It is done this way because only once we have a complete record with a [[Dispo DtTm]] we have reliable Transfer Ready data, so it's the only way we can report on this without becoming inconsistent with data reported earlier.


Start time is first transfer ready per level of care; end is either last of this level of care, or dispo.  
Start time is first transfer ready per level of care; end is either last of this level of care, or dispo.  


{{Todo
*Before Oct 1, 2020, it is calculated by [[Created_Variables_Common_maker_2021 query]] and stored in [[Created_Variables_Common_2021 table]] in [[CFE]].
| who = Tina
| todo_added = 2021-08-03
| todo_action = 2021-08-17
| question = _dev_CFE
Make that available in CFE. }}
*Before Oct 1, 2020, it is calculated by [[Created_Variables_Common_maker query]] and stored in [[Created_Variables_Common table]] in [[CFE]].


*Starting Oct 1, 2020, it will be added but haven't started.  
*Starting Oct 1, 2020, it will be added but haven't started.


{{Todo| who = Tina | _dev_CFE
=== Implementation in CFE ===
add the updated calculation based on the new process to [[Created Variables]]. }}
For now, a "Transfer Ready Med testing" button on the main form of CFE needs to be pressed to generate this data. Once we are comfortable with it this generating will be included in the [[Calc created variables button]].  


=== Which Transfer Ready DtTm To Use? ===
[[Sub populate_created_transferDelay()]] loads [[created_TransferReady query]] (which generates transfer ready dates) and [[created_BoardingLoc_plus_historical query]] and writes delays to [[created_transferDelay table]].
==== Before Oct 1, 2020 ====
 
== Which Transfer Ready DtTm To Use? ==
This is now implemented in [[Created_TransferReady query]].
 
=== [[Admit DtTm]] or [[Dispo DtTm]] < 2020-10-01 00:00 ===
* for each patient in ICU and  Medicine ward, the transfer date and time is taken from the [[Transfer Ready DtTm field]].
* for each patient in ICU and  Medicine ward, the transfer date and time is taken from the [[Transfer Ready DtTm field]].
==== Starting Oct 1, 2020 ====
* for each record and each boarding location in Medicine, the transfer date and time is taken from the [[Transfer Ready DtTm tmp entry]].
* for each record, it is possible to have one or more entries of [[Transfer Ready DtTm]] corresponding to one or more boarding locations.
* for each record, it is possible to have more than one [[Level of care hierarchy]] namely
** WRHA HOB Medicine ward (examples: HSC_HOBS, STB_IMCU as of 2020-10)
** WRHA regular Medicine ward (CTU or NTU)
* for each record if the patient moves to various locations, the '''first''' [[Transfer Ready DtTm]] from a [[Boarding Loc]]  with the '''same''' [[Level of care hierarchy| level of care]] will be used
** for example, a Med patient stays in high obs bed and then move to regular ward bed and then another regular ward bed. There are two [[Level of care hierarchy| levels of care]] - one  for high obs and another which is lower, for the regular ward.  At least two [[Transfer Ready DtTm]] intent are expected here - first intent for high obs ready to go to a regular ward and the second intent is from a regular ward to be discharged to another lower [[Level of care hierarchy| level of care]] or home or PCH. Assuming that there are transfer orders both at regular ward 1 and regular ward 2 and both are with same [[Level of care hierarchy| level of care]], the ''first'' [[Transfer Ready DtTm]] time will be used in calculating the wasted bed for that lower [[Level of care hierarchy| level of care]].  There will be another wasted bed to be calculated for the high Obs [[Level of care hierarchy| level of care]] from the [[Transfer Ready DtTm]] to the time the patient left the high obs bed (ie the [[Dispo DtTm]] or the next [[Boarding Loc]] start DtTm.  The sum of the two scenarios will be the total wasted bed for that patient.
** if the Med patient stays in more than one regular wards (or boarding location), all locations are considered with the same [[Level of care hierarchy| level of care]], the wasted bed is calculated from  the first [[Transfer Ready DtTm]] until [[Dispo DtTm]].


== Calculation when transfer time missing ==
===  [[Admit DtTm]] or [[Dispo DtTm]] >= 2020-10-01 00:00 ===
The following definitions are used by Julie in reporting from SAS, and by [[centralized_data_front_end.accdb]] to calculate the created_variables query.
* the transfer date and time is taken from the [[Transfer Ready DtTm tmp entry]].
 
* for each record, it is possible to have one or more entries of [[Transfer Ready DtTm]] corresponding to one or more [[Boarding Loc|boarding locations]], which may or may not be at a different level in the [[Level of care hierarchy]], namely regular wards (CTU or NTU) and [[High-Obs Wards]]
* if discharge time  < 1200 HR then dummy=0001 HR (12:01 am) ,
* for the purpose of Transfer Delay (Medicine), we will have a transfer delay for each group of [[Boarding Loc]]s at the same [[Level of care hierarchy| level of care]], i.e. there may be more than one per CCMDB record. To accommodate more than one line per record, this is stored in its own table.
* else if discharge time >= 1200 HR dummy=1200HR (12:00 noon)
* the '''first''' [[Transfer Ready DtTm]] from a [[Boarding Loc]]  with the '''same''' [[Level of care hierarchy| level of care]]  will be used
{{ex|
* for example, a Med patient stays in high obs bed and then move to regular ward bed and then another regular ward bed. There are two [[Level of care hierarchy| levels of care]] - one for high obs and another which is lower, for the regular ward. At least two [[Transfer Ready DtTm]] intent are expected here - first intent for high obs ready to go to a regular ward and the second intent is from a regular ward to be discharged to another lower [[Level of care hierarchy| level of care]] or home or PCH. Assuming that there are transfer orders both at regular ward 1 and regular ward 2 and both are with same [[Level of care hierarchy| level of care]], the ''first'' [[Transfer Ready DtTm]] time will be used in calculating the wasted bed for that lower [[Level of care hierarchy| level of care]]. There will be another wasted bed to be calculated for the high Obs [[Level of care hierarchy| level of care]] from the [[Transfer Ready DtTm]] to the time the patient left the high obs bed (ie the [[Dispo DtTm]] or the next [[Boarding Loc]] start DtTm.  Transfer delays for high obs and regular ward will be separately reported.
}}


This is as per approval by [[Dr. Dan Roberts]].
== Reporting of Transfer Delays ==
* Include all cases with transfer ready dttm  (who went to same/lower/higher level of care or died).
* Refer to indicator [[Beds occupied by transferrable patients (Medicine)|Beds occupied by transferrable patients]]


== SAS Program==
== SAS Program==
*S:\MED\MED_CCMED\Julie\SAS_CFE\CFE_macros\logphi.sas  
*S:\MED\MED_CCMED\Julie\SAS_CFE\CFE_macros\logphi_TR_Jan2023.sas
*S:\MED\MED_CCMED\Julie\SAS_CFE\CFE_macros\prep_Tmp_BoardServiceTransfer_15Sept2021.sas  (macro %boardtransf)
**  %Med_tready
*S:\MED\MED_CCMED\Julie\SAS_CFE\CFE_macros\prep_Tmp_BoardServiceTransfer.sas  (macro %boardtransf)


==Data use==
==Data use==
[[Beds occupied by transferrable patients (Medicine)|Beds occupied by transferrable patients]]
*[[Transfer Delay (Medicine)|Transfer Delay]]
*[[Beds occupied by transferrable patients (Medicine)|Beds occupied by transferrable patients]]


{{Data Integrity Check List}}
{{Data Integrity Check List}}

Latest revision as of 10:01, 2023 April 20

Transfer Delay is the difference between Dispo_DtTm and #Time patient is ready for transfer in decimal days. Other terms use to call it are Beds Occupied by transferable patients, Wasted Beds, Avoidable Days.

Indicators
Indicator: Transfer Delay (Medicine)
Created/Raw: created
Program: Medicine
Start Date: 2003-10-01
End Date:
Reports: Directors Quarterly and Annual Report (Medicine)


  • Cargo


  • SMW:
    • "created" is not in the list (Created, Raw) of allowed values for the "IndicatorCreatedRaw" property.
  • Categories
  • Default form:

See also Transfer Delay (Critical Care).

Use

  • The purpose is to determine the amount of time a patient is occupying a bed in at a given Level of care (High Observation ward or a regular ward) when the patient is no longer needing that Level of care.
  • This is relevant because:
    • If patients are at a higher level of care than they need this can indicate that beds at a lower level are not available and more might be needed.
    • It might also indicate that beds at a higher (and more expensive) level of care might be reduced if patients could consistently move to the appropriate level of care.
    • A patient who doesn't need to be in a hospital runs the risk of nosocomial complications if they remain in hospital.

Definition

Example:   
  • Scenario: arrive HOBS1 -> ready to transfer to reg ward -> regular ward -> ready to transfer out -> HOBS2 -> Home
    • first transfer delay is (start of reg ward) - (ready to transfer to reg ward)
    • second transfer delay is (start of hobs) - (ready to transfer out)
    • three is no transfer ready between HOBS2 and home, so no additional delay

Calculation of Transfer Delay

  • As agreed in JALT meeting March 22, 2023, transfer delays will be reported based on actual delays at each Level of care with no more allowances of less than n hours.
  • Before Jan 2023, Transfer delay calculation is done similarly with the Critical Care calculation which is substracting n hrs from all actual delay time and for Medicine, n is 4 hours.
  • In the meeting held Jan 11, 2023, Critical Care agreed to change the calculation of transfer delays which Medicine will do similarly for consistency as follows: (a) ignore such transfer delays < 4 hrs, but (b) for all delays >=4 hrs to use the actual delay time. The process is to be done on the transfer delay at each Level of care.

Implementation

Time patient is ready for transfer

The definition of this has changed between before and after PatientFollow Project.

Starting Oct 1, 2020, it will need to be calculated differently.

It is not reported by ward, it is reported only per episode / profile.

Julie sums up the multiple transfer delays that might be present and reports them all aggregated to their Dispo DtTm. It is done this way because only once we have a complete record with a Dispo DtTm we have reliable Transfer Ready data, so it's the only way we can report on this without becoming inconsistent with data reported earlier.

Start time is first transfer ready per level of care; end is either last of this level of care, or dispo.

  • Starting Oct 1, 2020, it will be added but haven't started.

Implementation in CFE

For now, a "Transfer Ready Med testing" button on the main form of CFE needs to be pressed to generate this data. Once we are comfortable with it this generating will be included in the Calc created variables button.

Sub populate_created_transferDelay() loads created_TransferReady query (which generates transfer ready dates) and created_BoardingLoc_plus_historical query and writes delays to created_transferDelay table.

Which Transfer Ready DtTm To Use?

This is now implemented in Created_TransferReady query.

Admit DtTm or Dispo DtTm < 2020-10-01 00:00

Admit DtTm or Dispo DtTm >= 2020-10-01 00:00

Example:   
  • for example, a Med patient stays in high obs bed and then move to regular ward bed and then another regular ward bed. There are two levels of care - one for high obs and another which is lower, for the regular ward. At least two Transfer Ready DtTm intent are expected here - first intent for high obs ready to go to a regular ward and the second intent is from a regular ward to be discharged to another lower level of care or home or PCH. Assuming that there are transfer orders both at regular ward 1 and regular ward 2 and both are with same level of care, the first Transfer Ready DtTm time will be used in calculating the wasted bed for that lower level of care. There will be another wasted bed to be calculated for the high Obs level of care from the Transfer Ready DtTm to the time the patient left the high obs bed (ie the Dispo DtTm or the next Boarding Loc start DtTm. Transfer delays for high obs and regular ward will be separately reported.

Reporting of Transfer Delays

SAS Program

  • S:\MED\MED_CCMED\Julie\SAS_CFE\CFE_macros\logphi_TR_Jan2023.sas
    • %Med_tready
  • S:\MED\MED_CCMED\Julie\SAS_CFE\CFE_macros\prep_Tmp_BoardServiceTransfer.sas (macro %boardtransf)

Data use

Data Integrity Checks (automatic list)

 AppStatus
Query check long transfer delayCCMDB.accdbneeds review

related fields

Related Articles

Related articles: