Skip to content

mahmoodsoltani/mimiciv_OCEL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

mimiciv_OCEL

Create OCEL from MIMICIV dataset

To reduce the size of dataset base on N patients ...

In folder Filter_Dataset:

  1. Run Create.sql
         Psql -d mimiciv -f create.sql
  1. Run Insert.sql
         Psql -d mimiciv -f insert.sql
    

Repaire_transfer.sql

In this query, we merge events with the same subject_id, hadm_id, careunit, eventtype value, and they occur sequentially.

steps:

1) Remove repeated rows
2) Update Intime of last row

Sample repaire for subject_id = 10021395 and hadm_id=20075017

Original table: image

Merged table: image

About

Create OCEL from MIMICIV dataset

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published