Conversation
|
Nice - this is a good idea - I'd like your opinion on a change of approach. Initially, I wrote the first day queries, then later wrote "pivoted" queries: https://github.com/MIT-LCP/mimic-code/tree/master/concepts/pivot Pivoted queries are essentially charttime with sensible columns like heart rate, blood pressure, temperature, etc. Tables are grouped to minimize nulls (vitals table, blood gas table, etc). Now, we can easily see that first day data can be derived from pivoted tables. And in fact I like this approach a lot better, because you can change to 48 hours, or load the pivoted data directly into memory and use the entire time series. What do you think? |
|
Hello Alistair, |
|
Is there a plan to merge this PR? |
As did here : https://github.com/MIT-LCP/mimic-code/tree/master/concepts/firstday, this pull request introduces firstday concepts to help collaborative works on MIMIC-OMOP.
There are 3 files to create materialized views :