Original Repository : https://github.com/YerevaNN/mimic3-benchmarks
First run this, for constructing the benchmark follow the next step as descibed in original repos.
python -m mimic3benchmark.scripts.extract_subjects /data/mimic/CSVs data/root/ --itemids_file /data/mimic/mimic3-benchmarks/mimic3benchmark/resources/itemtokeep.csv