Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,14 @@ you must clone this github repository to a directory, which here we assume is st
variable `$MIMIC_CODE_DIR`. After cloning, follow these instructions:

```
cd $MIMIC_CODE_DIR/concepts
cd $MIMIC_CODE_DIR/concepts_postgres
psql -d mimic -f postgres-functions.sql
bash postgres_make_concepts.sh
psql -d mimic -f postgres-make-concepts.sql
```

*Note:*
You may need to edit those 2 files and add `SET search_path TO mimiciii;`

Next, you'll need to build 3 additional materialized views necessary for this pipeline. To do this (again with
schema edit permission), navigate to `utils` and run `bash postgres_make_extended_concepts.sh` followed by
`psql -d mimic -f niv-durations.sql`.
Expand Down