Instructions for importing a batch of DSM Data: Difference between revisions

JMojica (talk | contribs)
JMojica (talk | contribs)
Line 8: Line 8:
# Run the SAS program and the following outputs are generated:
# Run the SAS program and the following outputs are generated:
## an excel file containing New labs is exported. The list has to be emailed to Allan Garland for confirmation. If new labs appear, Julie will add them to the SAS codes and re-run the SAS program.
## an excel file containing New labs is exported. The list has to be emailed to Allan Garland for confirmation. If new labs appear, Julie will add them to the SAS codes and re-run the SAS program.
## an excel file containing the matching DSM labs using the criteria that either the LAB dttm or Collect dttm  is between the [[Admit date and time]] and [[Dispo DtTm]].   
## an excel file containing the matching DSM labs using the criteria that either the LAB dttm or Collect dttm  is between the [[Admit date and time]] and [[Dispo DtTm]] in worksheet '''MatchDSM'''.   
## an excel file containing the unmatched D_IDs
## an excel file containing the unmatched D_IDs
### the worksheet DSM_NoDID contains the D_ID where PHIN or chart number are not present in the dumped DSM data file.
### the worksheet '''DSM_NoDID''' contains the D_ID where PHIN or chart number are not present in the dumped DSM data file.
### the worksheet Log_NoDID contains the D_ID in the requestor list but not found in the L_LOG table of CFE.  This happens when the D_ID has been changed for some reason after the request has been sent already. if no D_ID label changing happens, then the worksheet will be empty. If not empty, then the SAS program must be modified to incorporate the D_ID label change.
### the worksheet '''Log_NoDID''' contains the D_ID in the requestor list but not found in the L_LOG table of CFE.  This happens when the D_ID has been changed for some reason after the request has been sent already. if no D_ID label changing happens, then the worksheet will be empty. If not empty, then the SAS program must be modified to incorporate the D_ID label change.
### the worksheet  nomatchDSMLab contains the D_ID present in the dumped but no LAB dttm or Collect dttm  fall  between the [[Admit date and time]] and [[Dispo DtTm]].  The file has the same columns with the requestor list plus the LOS sorted from highest to lowest.  Shorter LOS (<=2days) may possibly have no lab requests but those with longer LOS may have just missed. Thus, those with longer LOS >= 3d  is going to be included on the next batch of sending to confirm if really has no lab data.  
### the worksheet  '''nomatchDSMLab''' contains the D_ID present in the dumped but no LAB dttm or Collect dttm  fall  between the [[Admit date and time]] and [[Dispo DtTm]].  The file has the same columns with the requestor list plus the LOS sorted from highest to lowest.  Shorter LOS (<=2days) may possibly have no lab requests but those with longer LOS may have just missed. Thus, those with longer LOS >= 3d  is going to be included on the next batch of sending to confirm if really has no lab data.
 
=== Step 2 - done by Pagasa ===
=== Step 2 - done by Pagasa ===
# Open the DSM_Labs_data.accdb  
# Open the DSM_Labs_data.accdb