From 947be8175700d6f10170e966f0201c015c2816cb Mon Sep 17 00:00:00 2001 From: PranavHerur Date: Sat, 15 Mar 2025 20:06:52 -1000 Subject: [PATCH] Update readme Updating read me with updated instructions for mimic-code scripts --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b753b55..5af3179 100644 --- a/README.md +++ b/README.md @@ -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`.