mimic-website icon indicating copy to clipboard operation
mimic-website copied to clipboard

MIMIC-IV services hadm_id same length with admission hadm_id

Open albarabimakasa opened this issue 1 year ago • 1 comments

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 ?

albarabimakasa avatar Sep 27 '22 07:09 albarabimakasa

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.

SichengH avatar Oct 04 '22 13:10 SichengH