Comments (4)
Think of the diagnosis string as an "active problem". It is hierarchical and the pipes delimit the levels. Slashes are just regular characters here so the second level for the neurological example is "altered mental status / pain".
ICD codes are present for the diagnosis table where possible but often vague diagnoses do not have an ICD code (such as "diabetes" with no qualifier of type I or type II).
Finally, admitDxText is an admission diagnosis using a custom APACHE ontology (around 400 diagnoses or so). Likely that is your best option for determining admission diagnosis, when it's available.
from eicu-code.
Thanks for answering my questions.
The 'icd9code' from the diagnosis table appears to have multiple icd9 codes listed on each line separated by a comma. I initially thought the first code is icd9 and the next one is the equivalent icd10, but that doesn't appear to be the case. The tables appears to have some icd10 codes, even though the tables description says icd9 code.
I tried splitting the icd9 codes into separate columns, but I am not sure about its accuracy since the number of codes listed on each line varies. (I thought having the codes in distinct columns would make my queries simpler)
I used the following code assuming there are a maximum of 4 icd9 codes on each line.
SELECT patientunitstayid, diagnosisstring, diagnosispriority, icd9code,
split_part(icd9code, ',', 1) AS icd9_1 ,
split_part(icd9code, ',', 2) AS icd9_2,
split_part(icd9code, ',',3) AS icd9_3,
split_part(icd9code, ',',4) AS icd9_4
FROM eicu.diagnosis);
This approach however gives me a lot of missing values since a lot of rows have ditto signs instead of the actual icd codes.
Is copying the codes from the line above and then splitting the icd9code the only way to address this ?
If for instance I am interested in identifying admits related to suicide, I would have missed the below case if I searched based on icd9 code. Since the code for suicide (E950 & related ) are not listed.
Whereas if I search based on keywords I might get this hit.
I didn't see any notes section as with MIMIC-III data which might be used for keyword querying. Please correct me if wrong.
from eicu-code.
My understanding is that there may be ICD-9 codes and/or an ICD-10 codes. Although the codes are nice, I would recommend using them with the diagnosisstring. I have found that the codes are hit and miss, and you should definitely attempt to validate your methods.
You may also want to look in pasthistory.
Unfortunately there are no notes for eICU-CRD.
from eicu-code.
My understanding is that there may be ICD-9 codes and/or an ICD-10 codes.
This is correct, the column contains both ICD-9 and ICD-10 codes. We have talked about parsing the column into a view with separate columns for each, but haven't yet done this.
from eicu-code.
Related Issues (20)
- Identify patients with Cirrhosis HOT 4
- Identify patients who went through CABG in eicu database HOT 2
- Finding Pregnant Women in the dataset HOT 2
- Identify people who was electively admitted HOT 1
- What is the difference between eicu_derived and the original tables? HOT 1
- C-Reactive Protein value distribution is abnormal
- could not find LVEF(left ventricular ejection fraction) in eICU HOT 2
- FINDING ARTERIAL BLOOD GAS MEASUREMENT IN THE eICU Database HOT 1
- How to find patients who enter ICU due to specific diseases? HOT 5
- Derived tables with no queries in repo HOT 2
- What is the meaning of 'activetx' in the apache predvar table? HOT 1
- missing ventilation_events table in the pivoted-oasis.sql. HOT 12
- onsite and remote physicians data
- Critical Data MIT
- Meaning of negative offset in lab table. HOT 1
- Determining SAPS-II Admission Type from eICU data for patientunitstayids HOT 1
- Constraints are not loaded in Makefile and multiple primary keys are missing
- Differing Lab Results for rows with same patientunitstayid, labresultoffset, and labname HOT 1
- Find all antibiotic applications HOT 1
- Database data on the use of high-flow nasal cannula (HFNC) were not available 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 eicu-code.