The file mimic2_setup.py enables to create the PostgreSQL database from the flat files.
Basically it provides the functionalities of prep.sh and import.sh (MIMIC-Importer) using Python.
Simply call the script from command line.
Conversion of prep.sh and import.sh in python, enabling to set up the MIMIC2 database from the flat files in Windows
Python