From adb81c394f1cf1da4171c4794edd6d23fac2da7e Mon Sep 17 00:00:00 2001 From: Alireza Manashty Date: Thu, 23 Mar 2017 11:50:07 -0300 Subject: [PATCH] Added query folders to their path. Sorted by dependency. Added the query folders. It wasn't clear where the queries are located. Two were in the concepts folder and others were in firstday folder. Also, another dependency was observed and added (ventilation-durations). Sorted by folder then dependency. --- concepts/severityscores/README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/concepts/severityscores/README.md b/concepts/severityscores/README.md index 0da4c12..f74a7db 100644 --- a/concepts/severityscores/README.md +++ b/concepts/severityscores/README.md @@ -4,15 +4,15 @@ This folder generates materialized views for a variety of severity of illness sc The queries make use of materialized views which aggregate data from the first day of a patient's ICU stay. To run the code, it is necessary to: 1. Run the scripts which generate the constituent materialized views - * uofirstday - generated by urine-output-first-day.sql - * ventfirstday - generated by ventilated-first-day.sql - * vitalsfirstday - generated by vitals-first-day.sql - * gcsfirstday - generated by gcs-first-day.sql - * labsfirstday - generated by labs-first-day.sql - * bloodgasfirstday - generated by blood-gas-first-day.sql (needed for subsequent view) - * bloodgasfirstdayarterial - generated by blood-gas-first-day-arterial.sql - * echodata - generated by echo-data.sql - * ventdurations - generated by ventilation-durations.sql + * echodata - generated by /concepts/echo-data.sql + * ventdurations - generated by /concepts/ventilation-durations.sql - (needed for subsequent view) + * vitalsfirstday - generated by /concepts/firstday/vitals-first-day.sql + * uofirstday - generated by /concepts/firstday/urine-output-first-day.sql + * ventfirstday - generated by /concepts/firstday/ventilated-first-day.sql + * gcsfirstday - generated by /concepts/firstday/gcs-first-day.sql + * labsfirstday - generated by /concepts/firstday/labs-first-day.sql + * bloodgasfirstday - generated by /concepts/firstday/blood-gas-first-day.sql - (needed for subsequent view) + * bloodgasfirstdayarterial - generated by /concepts/firstday/blood-gas-first-day-arterial.sql 2. Run the script for the severity of illness score you are interested in * OASIS - oasis.sql * SAPS - saps.sql