ER Delay: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
(40 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Data_element
{{Data_element
| field_name = ER Delay
| field_name = ER Delay
| element_description = The ER Delay is the difference between the [[Accept DtTm]] and [[Arrive_DtTm]] for patients arriving from the ER.
| element_description = The ER Delay is the difference between the pre-ER [[Boarding Loc]] and first post-ER [[Boarding Loc]], for patients arriving from the ER.
| in_table = Created_variables_common table
| in_table = Created_Variables_Common_2021 table
| data_type = date
| data_type = date
| datafield_length = n/a
| datafield_length = n/a
Line 10: Line 10:
}}
}}


It's is calculated by [[created_variables_common_maker query |''created_variables_common_maker'' query]] and stored in [[created_variables_common table |''created_variables_common'' table]] in [[CFE]].  
It's is calculated by [[Created_Variables_Common_maker_2021 query]] and stored in [[Created_Variables_Common_2021 table]] in [[CFE]]. It is related to one of our [[Indicators]], [[Length_of_Time_for_Transfer_from_ED_to_ICU_within_same_facility]].  


== data use ==
== Data use ==
* Measure the time spent using ER bed/facilities/staff while already accepted under a Medicine or Critical Care Service.
* Measure the time spent using ER bed/facilities/staff while already accepted under a Medicine or Critical Care Service.
*Measure the delay of movement of patient from ER bed to Medicine or Critical Care bed.
* Measure the delay of movement of patient from ER bed to Medicine or Critical Care bed.


==Integrity checks ==
== ER Delay Calculation ==
{{Data Integrity Check
* Before Oct 2020 : If [[Previous Location]] is own ER 
| DIC_summary = Unusually long [[ER Delay]]
** Non-EMIP / Non-ECIP :  [[Arrive DtTm]] - [[Accept DtTm]]  and  [[Accept DtTm missing]] is not marked
| DIC_related_concepts = [[ER Delay]], [[Service/Location]]
*** if [[Accept DtTm missing]] is marked then ER Delay is missing.
| DIC_firmness = soft check
** EMIP/ECIP: [[Dispo DtTm]] - [[Accept DtTm]]
| DIC_app = CCMDB.mdb
*Starting Oct 2020 : if first [[Boarding Loc]] is own ER
| DIC_coding = query ''check_ER_Delay_not_too_big''
** Only one ER [[Boarding Loc]]: [[Dispo DtTm]] - first ER  [[Boarding Loc]] start Dttm
| DIC_status = implemented
** At least two  [[Boarding Loc]]: First NonER [[Boarding Loc]] start Dttm  - first ER [[Boarding Loc]] start Dttm
| DIC_implementation_date = date change was rolled out / first applied
 
}}
Implemented as
The data collector will receive an error if:
:: ER_Delay:
::: IIf(Not [PatientFollow],
:::: IIf([location_name] Like "*EMIP*",[Dispo_DtTm],[Arrive_DtTm])-Nz([Accept_dttm],
:::: [Arrive_dttm]),Nz([created_FirstNonER_BoardingLoc].[dttm],[Dispo_DtTm])-[created_FirstER_BoardingLoc].[dttm])
 
== Log ==
{{DT |  
* I have re-updated [[Created_Variables_Common_maker_2021 query]], for some reason the change I had made was not reflected in the master version. Ready to test. [[User:Ttenbergen|Ttenbergen]] 13:25, 2022 June 28 (CDT)
** emailed Tina some inconsistencies found in ER Delays Aug 15,2022. --[[User:JMojica|JMojica]] 13:21, 2022 August 29 (CDT)}}
 
* 2022-06-28 - previous change got lost somehow, re-applied it; updated query to use [[query created_PatientFollow]] rather than in-query definition
* 2022-06-09 - updated [[Created_Variables_Common_maker_2021 query]] with the new definition.


* ER Delay is greater than: 
{{Data Integrity Check List}}
** CC  - 8 hours
** Med – 44 hours
* Patient came from ER at own hospital
* [[Service/Location]] is not an [[EMIP]]


== related fields ==
== related fields ==
* [[Accept DtTm]]
* [[Boarding Loc]] DtTms
* [[Arrive_DtTm]]  
* [[LOS]]
* [[LOS]]
* [[Transfer Delay]]
* [[Transfer Delay]]


== Reporting and Analysis ==
== Reporting and Analysis ==
The SAS Program to read the data is in X:\Julie\SAS_CFE\CFE_macros\CFE_ERWait_Moves.sas
The SAS Program to read the data is in X:\Julie\SAS_CFE\CFE_macros\datetimes.sas


== Legacy ==
== Legacy ==
Used to be collected as [[ER Wait]] and before that as [[Moves for Medicine]].  
* Used to be just the difference between the ''Accept DtTm'' and ''Arrive_DtTm'' for patients arriving from the ER.
* Used to be collected as [[ER Wait]] and before that as [[Moves for Medicine]].  


== Related articles ==
== Related articles ==
Line 50: Line 57:




[[Category: Reporting]]
[[Category:Reporting]]
[[Category: Admit/Discharge]]
[[Category:Admit/Discharge]]
[[Category:Created Variables]]

Revision as of 15:52, 2023 April 19

Data Element (edit)
Field Name: ER Delay
CCMDB Label: not stated
CCMDB tab: not stated
Table: Created_Variables_Common_2021 table
Data type: date
Length: n/a
Program: Med and CC
Created/Raw: Created
Start Date: 1988-07-11
End Date: 2300-01-01
Sort Index: 8

The ER Delay is the difference between the pre-ER Boarding Loc and first post-ER Boarding Loc, for patients arriving from the ER.

  • SMW

Legacy implementation right in the table

  • Cargo


  • Categories
  • Forms


It's is calculated by Created_Variables_Common_maker_2021 query and stored in Created_Variables_Common_2021 table in CFE. It is related to one of our Indicators, Length_of_Time_for_Transfer_from_ED_to_ICU_within_same_facility.

Data use

  • Measure the time spent using ER bed/facilities/staff while already accepted under a Medicine or Critical Care Service.
  • Measure the delay of movement of patient from ER bed to Medicine or Critical Care bed.

ER Delay Calculation

Implemented as

ER_Delay:
IIf(Not [PatientFollow],
IIf([location_name] Like "*EMIP*",[Dispo_DtTm],[Arrive_DtTm])-Nz([Accept_dttm],
[Arrive_dttm]),Nz([created_FirstNonER_BoardingLoc].[dttm],[Dispo_DtTm])-[created_FirstER_BoardingLoc].[dttm])

Log

  • I have re-updated Created_Variables_Common_maker_2021 query, for some reason the change I had made was not reflected in the master version. Ready to test. Ttenbergen 13:25, 2022 June 28 (CDT)
    • emailed Tina some inconsistencies found in ER Delays Aug 15,2022. --JMojica 13:21, 2022 August 29 (CDT)
  • SMW


  • Cargo


  • Categories

Data Integrity Checks (automatic list)

 AppStatus
Query s tmp Boarding Loc ER delay reasonableCCMDB.accdbimplemented

related fields

Reporting and Analysis

The SAS Program to read the data is in X:\Julie\SAS_CFE\CFE_macros\datetimes.sas

Legacy

  • Used to be just the difference between the Accept DtTm and Arrive_DtTm for patients arriving from the ER.
  • Used to be collected as ER Wait and before that as Moves for Medicine.

Related articles

Related articles: