There were a few scripts that weren't working in the MIMIC-III folder. This PR:
Adds a shell script which converts BigQuery syntax to PostgreSQL syntax, and outputs a postgres-make-concepts.sql script (this is the approach taken by MIMIC-IV)
Adds the postgres concepts to the repo (some of them are not automatically generated, which fixes bugs which have been raised to me outside this repo)
Fixes other misc bugs with the concept scripts I found
I tested the postgres-make-concepts.sql script and all the concepts build in postgres v14.
There were a few scripts that weren't working in the MIMIC-III folder. This PR:
I tested the postgres-make-concepts.sql script and all the concepts build in postgres v14.