Created Variables Common 2021 table: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
The Created_Variables_Common_2021 table in [[CFE]] contains the values created by [[Created_Variables_Common_maker_2021 query]]. They are stored rather than generated on the fly because the query is slow for the volume of data involved (many minutes on Tina's PC) and because SAS can not read some data from queries. It is used by the [[statistician]] for reporting and data extracts.
The Created_Variables_Common_2021 table in [[CFE]] contains the values created by [[Created_Variables_Common_maker_2021 query]] when the [[Calc created variables button]] is pressed. They are stored rather than generated on the fly because the query is slow for the volume of data involved (many minutes on Tina's PC) and because SAS can not read some data from queries. It is used by the [[statistician]] for reporting and data extracts.
 
== Testing ==
During Testing, the query will need to be filled by manually:
* open the table, delete contents
* then double-click [[Created_Variables_Common_maker_2021 query]]


== Update to [[PatientFollow Project]] structure ==
== Update to [[PatientFollow Project]] structure ==
=== ER Delay ===
* [[Created_AdmitDtTm query]]
Has been updated to <code>ER_Delay: Nz([created_FirstNonER_BoardingLoc].[dttm],[Arrive_dttm])-Nz([Admit_DtTm])</code>
* [[ER Delay]]


=== Transfer Ready DtTm ===
=== GCS ===
We will need to remove [[Transfer Delay]] from this query because there could be more than one per profile in [[Transfer Delay (Medicine)]] and we should only implement it once. See those pages for details.
No change to the GCS entries. They are in {{PAGENAME}} because they are also used by the [[ALERT Scale]].
 
=== GCS * ===
{{DJ|
* I need the rest for the ALERT Score in  Medicine report - these have no change, right? 
** No change to the GCS entries, do you mean anything else? [[User:Ttenbergen|Ttenbergen]] 16:44, 2022 January 11 (CST)
}}


== Data Structure ==
== Data Structure ==
Line 32: Line 21:
|-
|-
|| '''adm''' || DtTm || pulled in from [[Created AdmitDtTm query]]
|| '''adm''' || DtTm || pulled in from [[Created AdmitDtTm query]]
|-
|| '''trans''' || DtTm || Nz([[Created_FirstTransferReady query]].FirstTransferReady_DtTm,[[Transfer_Ready_DtTm]] )
|-
|-
|| '''dis''' || DtTm || [[Dispo DtTm]] || relational derived
|| '''dis''' || DtTm || [[Dispo DtTm]] || relational derived
Line 63: Line 50:


== Background ==
== Background ==
Replacement for the old [[Created Variables Common table]] to deal with process changes such as [[PatientFollow Project]]. A new table/query was set up instead of modifying the old one in order to allow for testing over a period of time.  
Replacement for the old "Created Variables Common" table to deal with process changes such as [[PatientFollow Project]]. A new table/query was set up instead of modifying the old one in order to allow for testing over a period of time.


== Log ==
== Log ==
* 2022-06-09 or before
** updated definition for [[ER Delay]]
** removed [[RecordStatus]] discontinued from the query
* 2022-04-27  
* 2022-04-27  
** removed [[Transfer Ready DtTm]]/[[Transfer Ready DtTm tmp entry]] resp [[Transfer Delay]] because there can be more than one of these per record; see those pages for how it will now be calculated
** removed [[Transfer Ready DtTm]]/[[Transfer Ready DtTm tmp entry]] resp [[Transfer Delay]] because there can be more than one of these per record; see those pages for how it will now be calculated
Line 77: Line 67:
{{Related Articles}}
{{Related Articles}}


[[Category:Created Variables Common table | *]]
[[Category:Created_Variables_Common_2021 table | *]]
[[Category:Created Variables]]
[[Category:Created Variables]]
[[Category:Centralized_data_front_end.accdb]]
[[Category:Centralized_data_front_end.accdb]]

Latest revision as of 08:39, 17 October 2024

The Created_Variables_Common_2021 table in CFE contains the values created by Created_Variables_Common_maker_2021 query when the Calc created variables button is pressed. They are stored rather than generated on the fly because the query is slow for the volume of data involved (many minutes on Tina's PC) and because SAS can not read some data from queries. It is used by the statistician for reporting and data extracts.

Update to PatientFollow Project structure

GCS

No change to the GCS entries. They are in Created Variables Common 2021 table because they are also used by the ALERT Scale.

Data Structure

field type description source
D_ID text link to L_Log table relational derived
age integer Age calculated
adm DtTm pulled in from Created AdmitDtTm query
dis DtTm Dispo DtTm relational derived
LOS Double LOS calculated
ER_Delay Single ER Delay calculated
GCS_Eye_pts byte from L Log table and s_GCS_eye query relational derived
GCS_Eye_text string from L Log table and s_GCS_eye query relational derived
GCS_Motor_pts byte from L Log table and s_GCS_motor query relational derived
GCS_Motor_text string from L Log table and s_GCS_motor query relational derived
GCS_Verbal_pts byte from L Log table and s_GCS_verbal query relational derived
GCS_Verbal_text string from L Log table and s_GCS_verbal query relational derived
GCS_Total byte sum of GCS_Eye_pts, GCS_Motor_pts, GCS_Verbal_pts calculated
Site string from L Log table and s_dispo table relational derived
Ward string from L Log table and s_dispo table relational derived
Program string from L Log table and s_dispo table relational derived

Background

Replacement for the old "Created Variables Common" table to deal with process changes such as PatientFollow Project. A new table/query was set up instead of modifying the old one in order to allow for testing over a period of time.

Log

Related articles

Related articles: