Comments (3)
Thanks for pointing this out! Indeed, the intended way was to use the last documented diagnosis, because typically that was a correction on the initial documentation (often by more 'junior' physicians) by staff (intensivists). However, I incorrectly used measuredat
instead of updatedat
for sorting. This, as you found out, lead to unpredictable sorting since measuredat
is not unique for a given admission diagnosis , while updatedat
should always be unique. I'll fix this shortly.
from amsterdamumcdb.
Great, that makes sense! Is it better to use updatedat
instead of measuredat
in other situations too?
from amsterdamumcdb.
Not necessarily. For most time series the time the measurement belongs to (measuredat
) is the most relevant one, because that allows us to see the correct order of sequential measurements. The updatedat
only documents when the record was last updated (or created), which is often slightly later, because nurses, performing most documentation and data validation, will document when they are less busy, but try to make sure that they put the values in the right ‘column’ (i.e. time @ 12:00 hours) of the flowsheet they are documenting on. However, for measurements/variables that are not really time series (such as the reason for admission) the measuredat
does not really have a meaning other than the time of the session in which it was created. In those cases the highest measuredat
(for the same admissionid
) suggests updates that improved or corrected previous documentation. Especially since APACHE II and IV reasons for admission are used in calculating standardized mortality ratios for national benchmarking, I am quite confident that the most recent value is the ‘correct’ one. Hope this makes the distinction between the two times more clear.
from amsterdamumcdb.
Related Issues (20)
- Destinations HOT 2
- How to get access using another email (different from the institutional email) to Google BigQuery HOT 5
- SOFA platelet calculation HOT 1
- Questions from reason for admission script HOT 1
- Questions from sofa script HOT 1
- Are these numbers reasonable? HOT 3
- can't find the blood urea nitrogen values HOT 1
- How do I obtain the patient's diagnosis?
- Where do I find the patients' medical history? HOT 2
- Teasing out analgesics from the sedatives/analgesics/CZS drug category HOT 1
- The role of Aspirin in clinical treatment in Netherlands HOT 1
- Identifying patients with a MI diagnosis HOT 1
- Is there a viggette to identify sepsis patients HOT 2
- Units for certain drug dosages (steroids) missing HOT 1
- Palliative/DNR/DNI orders HOT 2
- Vasopressin use HOT 2
- What does the item "UrineIncontinentie" output volume means? HOT 1
- Pre-ICU admission data
- Implausible amount of infused crystalloids
- Identifying cardiac surgery patients HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amsterdamumcdb.