Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Antibiotics in inputevents_cv #236
Comments
|
In fact I have been looking into this. I could not find any antibiotic documentation for CareVue patients. I think they simply didn't document it in the ICU clinical information system. I believe the prescription table can be used as a surrogate. As I have access to the year, I've been able to make a useful plot over time which elucidates things: Here I am replicating the Sepsis-3 "suspicion of infection" algorithm: blood culture + anitbiotics. Focus on the middle of the graph: there are three methods presented. The top one (green) is using the prescriptions table, the middle one (pink) is using the prescriptions table but only those with the route specified as IV, and finally the bottom line (orange) is using INPUTEVENTS_MV. As you can see, the bottom line is only available for MetaVision patients, which starts throughout 2008. However, for years after 2008, there is an excellent match between the the IV administration (which we 100% know was delivered to the patient) and the prescription methods (which indicate the antibiotic was ordered but can't guarantee it was administered). From this, I'd pretty confidently conclude that we can use the prescriptions table for determining onset of antibiotics. I have been told by the pharmacy that the prescriptions data was not perfect until around 2007 - but looking at the data I can't see why they state that. It may be that antibiotics were well incorporated but other drugs were not. As always, caveat emptor. |
khamidova
commented
Jun 27, 2017
•
|
Dear Alistair, Thank you for your answer! |
|
Have you checked if these |
khamidova
commented
Jul 12, 2017
|
I think neither these You can check these |

khamidova commentedJun 20, 2017
Hi,
I would like to calculate for each patient the time when he/she first received antibiotics.
For "metavision" patients I select this information from the table "inputevents_mv" with itemids that have category "Antibiotics" in the "d_items" table:
SELECT hadm_id, min(starttime) as first_antibiotics FROM inputevents_mv WHERE itemid IN ( SELECT itemid FROM d_items WHERE category = 'Antibiotics' ) AND statusdescription != 'Rewritten' GROUP BY hadm_idBut for "carevue" patients I cannot find relevant items in the "d_items" table to filter "inputevents_cv" records.
Are there antibiotics in the "d_items" table sourced from carevue database?
Is there a way to calculate the time when the patient first received antibiotics for "carevue" patients? Could be the "prescriptions" table useful?
Thanks!