MIT-LCP / mimic-code

MIMIC Code Repository: Code shared by the research community for the MIMIC family of databases
https://mimic.mit.edu
MIT License
2.59k stars 1.52k forks source link

Link between labevents and poe table? #1378

Closed lkervezee closed 2 years ago

lkervezee commented 2 years ago

Prerequisites

Description

I'm wondering if there's a way to link the 'poe' table to labevents, i.e. is there a way to know which poe_id with order_type == "Lab" belongs to any given labevent_id? Or is there another way to find out when a lab test was ordered?

alistairewj commented 2 years ago

There's no link as far as I'm aware - the identifier for poe was not in the labevents table (and vice-versa).

whiskey0504 commented 3 months ago

There's no link as far as I'm aware - the identifier for poe was not in the labevents table (and vice-versa).

Hi, I'm also interested in retrieving when a lab is ordered from the poe table, and wonder if there is any update on this. Right now it looks like even if I track down to the same stay_id and same order_provider_id, there is no exact way to match each lab event to order time. Relying on the ordering of lab events can be inaccurate since a lab might be the first to be ordered but second to be collected. I wonder if there is any other way around this. Thanks!