DSM Lab Extract: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
m (u)
m (flagged as a DT so it won't get lost.)
 
(67 intermediate revisions by 4 users not shown)
Line 1: Line 1:
We are working on a way to get DSM to extract Labs for import to our DB.
The DSM Lab Extract is a set of data we receive from Diagnostic Services of Manitoba. It is requested and processed by [[DSM Labs Consistency check.accdb]] and stored in the [[L_Labs_DSM table]].
It is requested via [[Instructions for requesting a batch of data from DSM]] and imported via  [[Instructions for importing a batch of DSM Data]].
See [[DSM data]] for more info on the data once imported.  


== Log ==
== Things we still want to implement/fix ==
*did an initial analysis which doesn't look good. emailed to Allan and Julie for comment Ttenbergen 17:00, 2014 September 8 (CDT)
{{DT|
*discussed labs list with Allan, now need to do some more validationTtenbergen 17:09, 2014 September 4 (CDT)
* A possibility to change the current [[Chart]] entry to be the same with SH format  (see [[#DSM Inclusion Criteria/ Process]] for reason why in details).
*2014/aug/25 started to review data, stuck on matching labs now, will need to talk with Trish when back. Also emailed Allan with some weirdness in the data. Ttenbergen 19:38, 2014 August 25 (CDT)
}}
*2014/Aug/21 we received data last week, but have not formally reviewed it. Ttenbergen 10:39, 2014 August 21 (CDT) Sent list of labs to Allan, he offered to review... Ttenbergen 20:59, 2014 August 21 (CDT)
== DSM Inclusion Criteria/ Process ==
*2014/Aug/14 phone call with Loretta to confirm what is needed. Requested early sample data so we can start our processing... Ttenbergen 13:17, 2014 August 14 (CDT)
*Must Match using the [[PHIN]] and/or [[Chart]] (provided and/or modified)
*2014/Aug/07 submitted test data at Loretta’s request
**There is an issue that the [[Chart]] format (i.e. without leading zeroes) at SBGH  being  provided to the [[#DSM Contacts]] is not the same with SH format. Because of this, then [[#DSM Contacts]] needs to add a step of adding 1x 0 or 2x 00 before the chart number to all SBGH records to help improve the matched results and refer to them as modified MRN.
*2014/Jul/31 emailed Loretta again, since no news from Alun; ooomsg says back Tue Aug 5
***The database will move to a new platform and the idea of changing the current [[Chart]] to the SH format on the new platform came up. Needs to be discussed further if to be implemented.
*2014/Jul/21 We have a file share. Alun will hopefully have test data by end of week, or early next week
*Date range
*2014/Jul/17 Email from Chad Kitching re. share folder description
** The minimum timestamp across all timestamps within the test, and across all tests within the request must >= admitted timestamp minus 2x days
*2014-07-14 emailed Alun and Loretta re progress
** The maximum timestamp across all timestamps within the test, and across all tests within the request must <= discharge timestamp plus 2x days
*2014-06-16 talked with Loretta on Friday. She said Alun Carter is the data guy we will work with. She suggested a different format and requested a list of labs we want, which I gave her. Also emailed Alun to get this moving. However, he is on vacation for 3 weeks, will f/u when he is back
*Must include all tests performed.
*2014-06-12 emailed Loretta a test extract;
*2014-06-12 emailed Loretta a sample request file. Ttenbergen 17:47, 2014 June 12 (CDT)


== Outstanding Issues ==
== Known Issues ==
=== additional labs ===
=== Aliases ===
we want at least NA, K, Lactate but Allan Garland is consulting with colleagues to find out if we need additional
There might be some inconsistencies in how the labs are re-linked to patients who arrive as Jon Doe or have aliases in PHIN or Chart for other reason. If we want to include all patients with Aliases, we will need to do something to reconcile with [[Alias ID collection]].
 
=== Unmatched Cases ===
=== cultures ===
The patients with aliases when the list was earlier sent will be known after receiving back the extracted Lab because they will be included to the unmatched cases in addition to those who have real no lab data. Below is the action to take:
When DSM sent the original batch of data they were not sure yet about how to extract cultures. We discussed this on the phone on our meeting on Aug 14 but I have not followed this up with an email and will not right now because the data looks so bad I don't know if we will want to pursue this.  
* Patients with LOS < 1day will be accepted as no lab data.
 
* Patients with LOS >= 1 day - 5 random samples will be cross checked in EPR by the [[Data Processor]] if indeed have no Lab Data. if any lab data  is found, then check the PHIN or CHART if there are any changes (or a case with aliases).
=== missing PHINs ===
** Re-check some more samples as time permits and do the same step above.  
We did not receive data for patients where we don't have PHINs. Emailed Loretta...  
** Any unmatched records confirmed having labs present in the crosschecking will be re-send together in the next batch of sending.
 
=== missing collecteddate field in returned data ===
Some of the data that was returned had blank collecteddate field. this means we can't match it to distinct admission. Emailed Loretta...


== Requesting data ==
== Requesting data ==
Query ''Labs_requester'' in [[Centralized data front end.mdb]] will generate a list of patients we have encountered in '''<what cycle time?>'''.
A file is exported to [[#File Share]], and we ask [[#DSM Contacts]] to provide a new extract. See [[Instructions for requesting a batch of data from DSM]] for details.
 
The list includes:
*Hosp mrn
*Phin
*Admit date time
*Discharge date time
 
The file will need to be extracted to the [[#File Share]]. We could automate the process but it'll be manual for now.


== Actions by DSM ==
== Actions by DSM ==
DSM will take our file and generate an output of all labs for those patients for the admission. They will return it to us via the file share.  
DSM will take our file and generate an output of all labs for those patients for the admission. They will return it to us via the file share.  


== Data we will receive ==
== Processing data received from DSM ==
The ABGs will not be complete, are only entered at STB and used to be at HSC but flakey lately. More info to come. Ttenbergen 13:17, 2014 August 14 (CDT)
See
 
* [[Instructions for importing a batch of DSM Data]]
See also [[DSM exchange file details]]
* [[Lab identification in the DSM data]]
 
== Processing data on receipt ==
Will need to work out this part... I will need an import mechanism, and we may end up changing the lab structure to make this "clean".Ttenbergen 17:06, 2014 June 12 (CDT)


== File Share ==
== File Share ==
2014-07-10 email exchange with Sergio Pardini who said that Citrix group needs to set up the share... asked him why since that has never been required before, no reply yet Ttenbergen 09:59, 2014 July 14 (CDT)
\\ad.wrha.mb.ca\wrha\REGION\Shared\CCMDB_Lab_Exchange


Requested from eHealth 2014-06-09, ticket 685698
== DSM Contacts ==
* main contact: Alun Carter
* Loretta Eng 9261406 Leng @ dsmanitoba.CA


== Contacts ==
== Related articles ==  
*Mark Curtis 9267014
{{Related Articles}}
*Loretta Eng 9261406 Leng @ dsmanitoba.CA
* data guy is Alun Carter




[[Category:Labs]]
[[Category: DSM Labs Extract]]
[[Category: Data Sources]]

Latest revision as of 12:36, 2023 July 5

The DSM Lab Extract is a set of data we receive from Diagnostic Services of Manitoba. It is requested and processed by DSM Labs Consistency check.accdb and stored in the L_Labs_DSM table. It is requested via Instructions for requesting a batch of data from DSM and imported via Instructions for importing a batch of DSM Data. See DSM data for more info on the data once imported.

Things we still want to implement/fix

  • SMW


  • Cargo


  • Categories

DSM Inclusion Criteria/ Process

  • Must Match using the PHIN and/or Chart (provided and/or modified)
    • There is an issue that the Chart format (i.e. without leading zeroes) at SBGH being provided to the #DSM Contacts is not the same with SH format. Because of this, then #DSM Contacts needs to add a step of adding 1x 0 or 2x 00 before the chart number to all SBGH records to help improve the matched results and refer to them as modified MRN.
      • The database will move to a new platform and the idea of changing the current Chart to the SH format on the new platform came up. Needs to be discussed further if to be implemented.
  • Date range
    • The minimum timestamp across all timestamps within the test, and across all tests within the request must >= admitted timestamp minus 2x days
    • The maximum timestamp across all timestamps within the test, and across all tests within the request must <= discharge timestamp plus 2x days
  • Must include all tests performed.

Known Issues

Aliases

There might be some inconsistencies in how the labs are re-linked to patients who arrive as Jon Doe or have aliases in PHIN or Chart for other reason. If we want to include all patients with Aliases, we will need to do something to reconcile with Alias ID collection.

Unmatched Cases

The patients with aliases when the list was earlier sent will be known after receiving back the extracted Lab because they will be included to the unmatched cases in addition to those who have real no lab data. Below is the action to take:

  • Patients with LOS < 1day will be accepted as no lab data.
  • Patients with LOS >= 1 day - 5 random samples will be cross checked in EPR by the Data Processor if indeed have no Lab Data. if any lab data is found, then check the PHIN or CHART if there are any changes (or a case with aliases).
    • Re-check some more samples as time permits and do the same step above.
    • Any unmatched records confirmed having labs present in the crosschecking will be re-send together in the next batch of sending.

Requesting data

A file is exported to #File Share, and we ask #DSM Contacts to provide a new extract. See Instructions for requesting a batch of data from DSM for details.

Actions by DSM

DSM will take our file and generate an output of all labs for those patients for the admission. They will return it to us via the file share.

Processing data received from DSM

See

File Share

\\ad.wrha.mb.ca\wrha\REGION\Shared\CCMDB_Lab_Exchange

DSM Contacts

  • main contact: Alun Carter
  • Loretta Eng 9261406 Leng @ dsmanitoba.CA

Related articles

Related articles: