MIT-LCP / mimic-website

Website for the MIMIC Critical Care Database (currently version MIMIC-III)
https://mimic.mit.edu
MIT License
100 stars 108 forks source link

MIMIC-IV services hadm_id same length with admission hadm_id #186

Open albarabimakasa opened 1 year ago

albarabimakasa commented 1 year ago

Documentation issues only

i want to ask why service hadm_id same length with admission hadm_id. with some of service hadm_id value have multiple value and admission hadm_id have unique service i'am confuse why it's have same length.

service hadm_id length = 523739 admission hadm_id length = 523740

services['hadm_id'].value_counts() output: 28755811 10 23344494 9 25317420 9 23200913 9 26510507 9 .. 23327325 1 28749425 1 25937938 1 26582560 1 24967395 1

it's make sense when service hadm_id value have multiple value because one patients maybe requaire several service. but i am confuse why they length are same ? i am just guessing that there is some patient service in admission that not recorded ?

SichengH commented 1 year ago

In medical databases, missing data are fairing common. I would highly suggest you work with someone with clinical knowledge.

In the future, I would suggest putting questions like this in the "mimic-code" repo.