UCL-Chimera / bellerophon

data flows
0 stars 0 forks source link

Blood gas data #24

Closed docsteveharris closed 11 months ago

docsteveharris commented 1 year ago

This ticket tracks the 'completeness' of the data request Requesters = Gevic and Alex

Initial description (via @samiranray )

Suggest we partition this list into those which are 1:1 straightforwards and the rest which should be separate issues

docsteveharris commented 1 year ago

This is not specific enough We need help from @aasiyah and @clairejblack to provide the relevant concept_ids so that Sarah can provide the extract

clairejblack commented 1 year ago

@skeating can you just let me know which concept_ids you need. Is this LOINC/SNOMED and/or the EPIC Row ID

skeating commented 1 year ago

thanks @clairejblack I need the SNOMED ID number

clairejblack commented 1 year ago

@skeating have added a file with the easy ones. Still working on where transfusions are. Please let me know if the fields are not populated.

docsteveharris commented 1 year ago

Data not yet been passed through to the OMOP-ES so impossible to assess whether it's correct We're waiting for Baptiste to update the extract Claire is actively chasing

clairejblack commented 1 year ago

Just found out there has been an EPIC change freeze. None of the mapping changed required to add the remaining ABG items have happened and probably wont until the end of March.

docsteveharris commented 1 year ago

Need to keep the Epic source field as some of the mapping is too abstract Claire to add in

We think that there are 27 measurements of which 3 are missing Sarah to follow-up and see if fixed.

skeating commented 1 year ago

@clairejblack IGNORE MY EMAIL This is missing data

From hic_cc_003

BG concepts

No measurements for

45537652 | Blood Transfusion (Without reported diagnosis)


From hic_cc_003

Twin lung concepts

No measurements for

4119048 | Inspiratory/expiratory ratio (attribute)

4230167 | Artificial respiration

clairejblack commented 1 year ago

@skeating I think this is mostly complete except the Blood transfusions and the morbidities which are in the condition_occurence table. I am not sure if we just want to pull the specific ones @samiranray wants or all of them. perhaps we can discuss

clairejblack commented 1 year ago

@skeating the other column that need to come through is modifier_source_value from the procedure occurrence table (where it exists) this is where mode of ventilation lives

skeating commented 1 year ago

@clairejblack looking at getting modifier_source_value This is horrible as the only thing that can be used to join is time.

Question:

If I have

Image

does this mean at 08.28 the person came off the ventilator and went back on at 21.00 ??

clairejblack commented 1 year ago

I’m sure I managed a different join, but will have to go back and look. Unfortunately no, it is not reliable, If they have an ETT which hasn’t been removed then it might, But you would expect it to tbe replaced by something else. Generally it means it just hasn’t been complted in the HER. Sorry!

From: Sarah Keating @.> Date: Monday, 12 June 2023 at 08:53 To: UCL-Chimera/bellerophon @.> Cc: Black, Claire @.>, Mention @.> Subject: Re: [UCL-Chimera/bellerophon] Define blood gas data request (Issue #24)

⚠ Caution: External sender

@clairejblackhttps://github.com/clairejblack looking at getting modifier_source_value This is horrible as the only thing that can be used to join is time.

Question:

If I have

[Image removed by sender. Image]https://user-images.githubusercontent.com/1736558/245068644-cb5732c9-9f5e-478b-ab1c-46dbac22eb90.png

does this mean at 08.28 the person came off the ventilator and went back on at 21.00 ??

— Reply to this email directly, view it on GitHubhttps://github.com/UCL-Chimera/bellerophon/issues/24#issuecomment-1586776624, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEYOR7XOEXWQTZLE3HB6NNLXK3DFVANCNFSM6AAAAAAUHOL57Y. You are receiving this because you were mentioned.Message ID: @.***>

skeating commented 1 year ago

@clairejblack if you can remember what you did join on that would be great because I cannot see anything that gives a clean join for each of the measurements.

docsteveharris commented 1 year ago

@skeating what's the join task? are you trying to create a table that describes the 'procedure' (ventilator) mode for the times that match the blood gas sample? I don't think (but maybe I'm wrong) this has to be your task. I'd drop the two tables separately into the ABG 'project' and let the CHIMERA folk (and future data scientists) decide how they want to do this.

skeating commented 1 year ago

@docsteveharris Yes I was trying to have a col in my measurements table that said what type of ventilator the person was on when the measurement was taken but I can easily supply a table that gives you a list of times and dates with the person ID and a type of ventilator and let the people interested work it out for themselves

docsteveharris commented 1 year ago

Sounds good. Was only suggesting to constrain the work that you have to do.

On Tue, 13 Jun 2023, at 1:01 PM, Sarah Keating wrote:

@docsteveharris https://github.com/docsteveharris Yes I was trying to have a col in my measurements table that said what type of ventilator the person was on when the measurement was taken but I can easily supply a table that gives you a list of times and dates with the person ID and a type of ventilator and let the people interested work it out for themselves

— Reply to this email directly, view it on GitHub https://github.com/UCL-Chimera/bellerophon/issues/24#issuecomment-1589163655, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIHXTBZATX7MVGVVXWGAC3XLBJBVANCNFSM6AAAAAAUHOL57Y. You are receiving this because you were mentioned.Message ID: @.***>

docsteveharris commented 1 year ago

Blocked by #36

skeating commented 1 year ago

Now unblocked and first 1000 patients data is in DSH