Skip to content

Commit 092e34f

Browse files
committed
add readme for mimic-iv-note
1 parent 9109b0c commit 092e34f

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

mimic-iv-note/README.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# MIMIC-IV-Note
2+
3+
* [buildmimic](/mimic-iv-note/buildmimic) - Scripts to build MIMIC-IV-Note in various database systems
4+
* [postgres](/mimic-iv-note/buildmimic/postgres) - PostgreSQL (v10+)
5+
* [duckdb](/mimic-iv-note/buildmimic/duckdb) - DuckDB (serverless, single-file)
6+
* [bigquery](/mimic-iv-note/buildmimic/bigquery) - BigQuery schemas
7+
8+
MIMIC-IV-Note contains deidentified free-text clinical notes for patients in MIMIC-IV, including discharge summaries and radiology reports. It is a separate download from MIMIC-IV and is available on [PhysioNet](https://physionet.org/content/mimic-iv-note/).
9+
10+
There are currently no derived concept scripts for MIMIC-IV-Note.
11+
12+
## Building the database
13+
14+
### PostgreSQL
15+
16+
```sh
17+
psql -d mimiciv -f mimic-iv-note/buildmimic/postgres/create.sql
18+
psql -d mimiciv -v ON_ERROR_STOP=1 -v mimic_data_dir=<path to mimic-iv-note>/note \
19+
-f mimic-iv-note/buildmimic/postgres/load_gz.sql
20+
```
21+
22+
See the [postgres README](/mimic-iv-note/buildmimic/postgres/README.md) for full details.
23+
24+
### DuckDB
25+
26+
```sh
27+
cd mimic-iv-note/buildmimic/duckdb
28+
./import_duckdb.sh <path to mimic-iv-note>
29+
```
30+
31+
See the [duckdb README](/mimic-iv-note/buildmimic/duckdb/README.md) for full details.

0 commit comments

Comments
 (0)