MIT-LCP / eicu-code

Code and website related to the eICU Collaborative Research Database
https://eicu-crd.mit.edu
MIT License
308 stars 215 forks source link

Identify patients who went through CABG in eicu database #208

Open yugangjia opened 1 year ago

yugangjia commented 1 year ago

Here is my code, any comments?

select distinct patientunitstayid from physionet-data.eicu_crd.patient where apacheadmissiondx in ("CABG alone, coronary artery bypass grafting","CABG redo with valve repair/replacement", "CABG with mitral valve replacement","CABG alone, redo","CABG with double valve repair/replacement", "CABG with aortic valve replacement","CABG with other operation","CABG with mitral valve repair","CABG redo with other operation","CABG with pulmonic or tricuspid valve repair or replacement ONLY.","CABG, minimally invasive; mid-CABG")

jraffa commented 1 year ago

Possible to pickup some more in the diagnosis table.

yugangjia commented 1 year ago

I searched cabg in diagnosis table and got the following items. It seems to be CABG patients before this admission.

cardiovascular|cardiac surgery|s/p CABG < 7 days cardiovascular|cardiac surgery|CABG < 7days cardiovascular|cardiac surgery|s/p CABG < 7 days|with CPB cardiovascular|chest pain / ASHD|coronary artery disease|s/p CABG cardiovascular|cardiac surgery|s/p CABG >= 7 days cardiovascular|chest pain / ASHD|coronary artery disease|no previous CABG cardiovascular|cardiac surgery|s/p CABG < 7 days|minimally invasive