MIMIC2 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.