forked from arnepeine/ventai
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun_all.sh
executable file
·54 lines (48 loc) · 1.18 KB
/
run_all.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#!/bin/bash
declare -a qryfiles=(
# stage 0
"postgres-functions.sql"
"echo_data.sql"
# stage 1
"Vasopressors/weight_durations.sql"
"Vasopressors/dopamine-dose.sql"
"Vasopressors/epinephrine_dose.sql"
"Vasopressors/norepinephrine_dose.sql"
"Vasopressors/phenylephrine_dose.sql"
"Vasopressors/vasopressin-dose.sql"
"getGCS.sql"
"getVitalSigns.sql"
"getLabValues.sql"
"getOthers.sql"
"getVentilationParams.sql"
"getVentilationParams2.sql"
"vent_parameters.sql"
"getIntravenous.sql"
"getVasopressors.sql"
"getUrineOutput.sql"
"getCumFluid.sql"
"getElixhauser_score.sql"
"demographics.sql"
"getWeight.sql"
"getHeight.sql"
"getAdultIdealBodyWeight.sql"
# stage 2
"overalltable_Lab_withventparams.sql"
"overalltable_withoutLab_withventparams.sql"
# stage 3
"sampling_lab_withventparams.sql"
"sampling_withoutlab_withventparams.sql"
"sampling_all_withventparams.sql"
# stage 4
"getSIRS_withventparams.sql"
"getSOFA_withventparams.sql"
# stage 5
"sampled_data_with_scdem_withventparams.sql"
"sampled_with_ventdurations.sql"
# stage 6 -- not present
# "cohort_withventparams_all.sql"
)
for f in "${qryfiles[@]}"; do
echo $f;
./runquery.sh $f
done