generated from opensafely/research-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
project.yaml
1187 lines (1059 loc) · 49.7 KB
/
project.yaml
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
version: '3.0'
expectations:
population_size: 50000
actions:
generate_study_population:
run: cohortextractor:latest generate_cohort --study-definition study_definition
outputs:
highly_sensitive:
cohort: output/input.csv
generate_study_population_update_Abdominal:
run: cohortextractor:latest generate_cohort --study-definition study_definition_update_all
--param name_op = 'Abdominal'
--param indexdate = '2022-03-01'
--output-file output/input_Abdominal.csv
outputs:
highly_sensitive:
cohort: output/input_Abdominal.csv
generate_study_population_update_Cardiac:
run: cohortextractor:latest generate_cohort --study-definition study_definition_update_all
--param name_op = 'Cardiac'
--param indexdate = '2022-03-01'
--output-file output/input_Cardiac.csv
outputs:
highly_sensitive:
cohort: output/input_Cardiac.csv
generate_study_population_update_Obstetrics:
run: cohortextractor:latest generate_cohort --study-definition study_definition_update_all
--param name_op = 'Obstetrics'
--param indexdate = '2022-03-01'
--output-file output/input_Obstetrics.csv
outputs:
highly_sensitive:
cohort: output/input_Obstetrics.csv
generate_study_population_update_Orthopaedic:
run: cohortextractor:latest generate_cohort --study-definition study_definition_update_all
--param name_op = 'Orthopaedic'
--param indexdate = '2022-03-01'
--output-file output/input_Orthopaedic.csv
outputs:
highly_sensitive:
cohort: output/input_Orthopaedic.csv
generate_study_population_update_Thoracic:
run: cohortextractor:latest generate_cohort --study-definition study_definition_update_all
--param name_op = 'Thoracic'
--param indexdate = '2022-03-01'
--output-file output/input_Thoracic.csv
outputs:
highly_sensitive:
cohort: output/input_Thoracic.csv
generate_study_population_update_Vascular:
run: cohortextractor:latest generate_cohort --study-definition study_definition_update_all
--param name_op = 'Vascular'
--param indexdate = '2022-03-01'
--output-file output/input_Vascular.csv
outputs:
highly_sensitive:
cohort: output/input_Vascular.csv
generate_study_population_COD:
run: cohortextractor:latest generate_cohort --study-definition study_definition_COD
needs: [generate_study_population]
outputs:
highly_sensitive:
cohort: output/input_COD.csv
data_manage:
run: r:latest analysis/data_manage.R
needs: [generate_study_population,generate_study_population_COD,data_manage_update_outcomes]
outputs:
highly_sensitive:
cohort: output/cohort_long.feather
data_manage_update_outcomes:
run: r:latest analysis/data_manage_update_outcomes.R
needs: [generate_study_population_update_Abdominal,generate_study_population_update_Cardiac,generate_study_population_update_Obstetrics,generate_study_population_update_Orthopaedic,generate_study_population_update_Thoracic,generate_study_population_update_Vascular,update_study_population_Abdominal_1,update_study_population_Abdominal_2,update_study_population_Abdominal_3,update_study_population_Abdominal_4 ,update_study_population_Abdominal_5,update_study_population_Cardiac_1,update_study_population_Cardiac_2,update_study_population_Cardiac_3,update_study_population_Cardiac_4,update_study_population_Cardiac_5,update_study_population_Obstetrics_1,update_study_population_Obstetrics_2,update_study_population_Obstetrics_3, update_study_population_Obstetrics_4,update_study_population_Obstetrics_5,update_study_population_Orthopaedic_1,update_study_population_Orthopaedic_2,update_study_population_Orthopaedic_3,update_study_population_Orthopaedic_4,update_study_population_Orthopaedic_5,update_study_population_Thoracic_1,update_study_population_Thoracic_2,update_study_population_Thoracic_3,update_study_population_Thoracic_4,update_study_population_Thoracic_5,update_study_population_Vascular_1,update_study_population_Vascular_2,update_study_population_Vascular_3,update_study_population_Vascular_4,update_study_population_Vascular_5,update_study_population_Abdominal_1_majorminor,update_study_population_Abdominal_2_majorminor,update_study_population_Abdominal_3_majorminor,update_study_population_Abdominal_4_majorminor,update_study_population_Abdominal_5_majorminor,update_study_population_Cardiac_1_majorminor,update_study_population_Cardiac_2_majorminor,update_study_population_Cardiac_3_majorminor,update_study_population_Cardiac_4_majorminor,update_study_population_Cardiac_5_majorminor,update_study_population_Obstetrics_1_majorminor,update_study_population_Obstetrics_4_majorminor,update_study_population_Obstetrics_5_majorminor,update_study_population_Orthopaedic_1_majorminor,update_study_population_Orthopaedic_2_majorminor,update_study_population_Orthopaedic_3_majorminor,update_study_population_Orthopaedic_4_majorminor,update_study_population_Orthopaedic_5_majorminor,update_study_population_Thoracic_1_majorminor,update_study_population_Thoracic_2_majorminor,update_study_population_Thoracic_3_majorminor,update_study_population_Thoracic_4_majorminor,update_study_population_Thoracic_5_majorminor,update_study_population_Vascular_1_majorminor,update_study_population_Vascular_2_majorminor,update_study_population_Vascular_3_majorminor,update_study_population_Vascular_4_majorminor,update_study_population_Vascular_5_majorminor]
outputs:
highly_sensitive:
cohort_outcomes: output/update_outcomes.feather
cohort_major: output/update_major.feather
cohort_6m: output/update_Sep22.feather
data_manage_postdisch_week:
run: r:latest analysis/data_manage_postdisch_weeks.R
needs: [generate_study_population,data_manage]
outputs:
highly_sensitive:
cohort_splits: output/cohort_postdisch_week_splits.feather
flowchart:
run: r:latest analysis/FlowChart.R
needs: [generate_study_population, data_manage]
outputs:
highly_sensitive:
flowchart_data: output/flowchart.RData
moderately_sensitive:
flowchart_fig: output/Flowchart.pdf
flowchart_png: output/Flowchart.png
table_demo:
run: r:latest analysis/Table_demo.R
needs: [generate_study_population, data_manage]
outputs:
moderately_sensitive:
table_demo: output/table_demo.csv
table_postopcovid_crude:
run: r:latest analysis/Table_postopcovid_crude.R
needs: [generate_study_population, data_manage]
outputs:
highly_sensitive:
table_crude: output/postopcovid_crude.RData
moderately_sensitive:
table_crude_csv: output/postopcovid_crude.csv
table_postopcovid_crude_sub:
run: r:latest analysis/Table_postopcovid_crude_sub.R
needs: [generate_study_population, data_manage]
outputs:
highly_sensitive:
table_crude: output/postopcovid_crude_sub.RData
moderately_sensitive:
table_crude_csv: output/postopcovid_crude_sub.csv
table_postopcovid_adjusted:
run: r:latest analysis/Table_postopcovid_adjusted.R
needs: [generate_study_population, data_manage]
outputs:
highly_sensitive:
table_adjusted: output/postopcovid_adjusted.RData
moderately_sensitive:
table_adjusted_csv: output/postopcovid_adjusted.csv
model_adjusted: output/postopcovidmodel.csv
model_adjusted_waves: output/postopcovidmodelwaves.csv
plot_adjusted_waves: output/adjusted_waves_plot.png
# table_postopcovid_adjusted_per_op:
# run: r:latest analysis/Table_postopcovid_adjusted_per_op.R
# needs: [generate_study_population, data_manage]
# outputs:
# moderately_sensitive:
# table_adjusted: output/postopcovid_adjusted_per_op.RData
# table_adjusted_csv: output/postopcovid_adjusted_per_op*.csv
#
# table_postopcovid_adjusted_bootstrap:
# run: r:latest analysis/Table_postopcovid_adjusted_bootstrap.R
# needs: [generate_study_population, data_manage]
# outputs:
# moderately_sensitive:
# samples_adjusted: output/postopcovid_adjusted_bootstrappedIQR.RData
# summary_boot_adjusted_csv: output/postopcovid_adjusted_bootstrappedIQR.csv
#
#
# table_postopcovid_adjusted_bootstrap_sub:
# run: r:latest analysis/Table_postopcovid_adjusted_bootstrap_sub.R
# needs: [generate_study_population, data_manage]
# outputs:
# moderately_sensitive:
# samples_adjusted: output/postopcovid_adjusted_bootstrappedIQR_sub.RData
# summary_boot_adjusted_csv: output/postopcovid_adjusted_bootstrappedIQR_sub.csv
table_postopcovid_adjusted_sub:
run: r:latest analysis/Table_postopcovid_adjusted_sub.R
needs: [generate_study_population, data_manage]
outputs:
highly_sensitive:
table_adjusted_sub: output/postopcovid_adjusted_sub.RData
moderately_sensitive:
table_adjusted_sub_csv: output/postopcovid_adjusted_sub.csv
model_adjusted_sub: output/postopcovidmodelsub.csv
model_adjusted_waves_sub: output/postopcovidmodelwavessub.csv
plot_adjusted_waves_sub: output/adjusted_waves_sub_plot.png
table_postopcovid_tv:
run: r:latest analysis/Table_postopcovid_tv.R
needs: [generate_study_population, data_manage,data_manage_postdisch_week]
outputs:
highly_sensitive:
table_tv: output/postopcovid_tv.RData
moderately_sensitive:
table_tv_csv: output/postopcovid_tv.csv
model_COVID_tv: output/postopcovidmodelsplit.html
model_COVID_tv_txt: output/postopcovidmodelsplit.txt
model_VTE_tv: output/postopVTEmodelsplit.html
model_VTE_tv_txt: output/postopVTEmodelsplit.txt
table_tv_VTE_csv: output/postopcovid_VTE_tv.csv
# table_postopcovid_tv_daily:
# run: r:latest analysis/Table_postopcovid_tv_continuous.R
# needs: [generate_study_population, data_manage,data_manage_postdisch_week]
# outputs:
# moderately_sensitive:
# table_tv_daily: output/postopcovid_tv_daily.RData
# table_tv_csv_daily: output/daily_postopcovid_tv.csv
# model_tv_daily: output/postopcovidmodeldaily.html
# plot_tv_daily: output/dailyCovidRisk.pdf
# table_tv_VTE_csv_daily: output/daily_postopcovid_VTE_tv.csv
# plot_tv_VTE_daily: output/dailyVTERisk.pdf
# model_tv_VTE_daily: output/postopVTEmodeldaily.html
table_postopcovid_tv_sub:
run: r:latest analysis/Table_postopcovid_tv_sub.R
needs: [generate_study_population, data_manage,data_manage_postdisch_week]
outputs:
highly_sensitive:
table_tv_sub: output/postopcovid_tv_sub.RData
moderately_sensitive:
table_tv_sub_csv: output/postopcovid_tv_sub.csv
model_COVID_tv_sub: output/postopcovidmodelsplitsub.html
model_COVID_tv_sub_txt: output/postopcovidmodelsplitsub.txt
model_VTE_tv_sub: output/postopVTEmodelsplitsub.html
model_VTE_tv_sub_txt: output/postopVTEmodelsplitsub.txt
table_VTE_tv_sub_csv: output/postopcovid_VTE_tv_sub.csv
# table_postopcovid_tv_daily_sub:
# run: r:latest analysis/Table_postopcovid_tv_continuous_sub.R
# needs: [generate_study_population, data_manage,data_manage_postdisch_week]
# outputs:
# moderately_sensitive:
# table_tv_daily_sub: output/postopcovid_tv_daily_sub.RData
# table_tv_csv_daily_sub: output/daily_postopcovid_tv_sub.csv
# model_tv_daily_sub: output/postopcovidmodeldailysub.html
# plot_tv_daily_sub: output/dailyCovidRiskSub.pdf
# table_tv_VTE_csv_daily_sub: output/daily_postopcovid_VTE_tv_sub.csv
# plot_tv_VTE_daily_sub: output/dailyVTERiskSub.pdf
# model_tv_VTE_daily_sub: output/postopVTEmodeldailysub.html
table_postopLOS:
run: r:latest analysis/Table_postoplos.R
needs: [generate_study_population, data_manage]
outputs:
highly_sensitive:
table_los: output/postoplos.RData
moderately_sensitive:
table_los_csv: output/postoplos.csv
model_los: output/postopLOSmodel.csv
plot_los: output/LOSplot.png
table_postopLOS_sub:
run: r:latest analysis/Table_postoplos_sub.R
needs: [generate_study_population, data_manage]
outputs:
highly_sensitive:
table_los_sub: output/postoplos_sub.RData
moderately_sensitive:
table_los_sub_csv: output/postoplos_sub.csv
model_los_sub: output/postopLOSmodel_sub.csv
plot_los_sub: output/LOSplotsub.png
table_postopVTE:
run: r:latest analysis/Table_postopVTE.R
needs: [generate_study_population, data_manage]
outputs:
highly_sensitive:
table_VTE: output/postopVTE.RData
moderately_sensitive:
table_VTE_csv: output/postopVTE.csv
model_VTE: output/postopVTEmodel.html
model_VTE_txt: output/postopVTEmodel.txt
plot_VTE_waves: output/VTE_waves_plot.png
table_postopVTE_major_emergency:
run: r:latest analysis/coxmodel_major_emergency.R
needs: [generate_study_population, data_manage]
outputs:
highly_sensitive:
table_VTE: output/postopVTE_major_emergency.RData
moderately_sensitive:
table_VTE_csv: output/postopVTE_major_emergency.csv
table_VTE_csv_unvac: output/postopVTE_major_emergency_unvac.csv
table_VTE_csv_recentcovid: output/recentcovid_postopVTE_major_emergency.csv
table_VTE_csv_recent_unvac: output/recentcovid_postopVTE_major_emergency_unvac.csv
model_VTE: output/postopVTEmodel_major_emergency.html
model_VTE_txt: output/postopVTEmodel_major_emergency.txt
plot_VTE_waves: output/VTE_waves_major_emergency.png
plot_VTE_waves_unvac: output/VTE_waves_major_emergency_unvac.png
plot_VTE_waves_recentcovid: output/recentcovid_VTE_waves_major_emergency.png
plot_VTE_waves_recent_unvac: output/recentcovid_VTE_waves_major_emergency_unvac.png
table_postopVTE_minor_emergency:
run: r:latest analysis/coxmodel_minor_emergency.R
needs: [generate_study_population, data_manage]
outputs:
highly_sensitive:
table_VTE: output/postopVTE_minor_emergency.RData
moderately_sensitive:
table_VTE_csv: output/postopVTE_minor_emergency.csv
table_VTE_csv_unvac: output/postopVTE_minor_emergency_unvac.csv
table_VTE_csv_recentcovid: output/recentcovid_postopVTE_minor_emergency.csv
table_VTE_csv_recent_unvac: output/recentcovid_postopVTE_minor_emergency_unvac.csv
model_VTE: output/postopVTEmodel_minor_emergency.html
model_VTE_txt: output/postopVTEmodel_minor_emergency.txt
plot_VTE_waves: output/VTE_waves_minor_emergency.png
plot_VTE_waves_unvac: output/VTE_waves_minor_emergency_unvac.png
plot_VTE_waves_recentcovid: output/recentcovid_VTE_waves_minor_emergency.png
plot_VTE_waves_recent_unvac: output/recentcovid_VTE_waves_minor_emergency_unvac.png
table_postopVTE_major_elective:
run: r:latest analysis/coxmodel_major_elective.R
needs: [generate_study_population, data_manage]
outputs:
highly_sensitive:
table_VTE: output/postopVTE_major_elective.RData
moderately_sensitive:
table_VTE_csv: output/postopVTE_major_elective.csv
table_VTE_csv_unvac: output/postopVTE_major_elective_unvac.csv
table_VTE_csv_recentcovid: output/recentcovid_postopVTE_major_elective.csv
table_VTE_csv_recent_unvac: output/recentcovid_postopVTE_major_elective_unvac.csv
model_VTE: output/postopVTEmodel_major_elective.html
model_VTE_txt: output/postopVTEmodel_major_elective.txt
plot_VTE_waves: output/VTE_waves_major_elective.png
plot_VTE_waves_unvac: output/VTE_waves_major_elective_unvac.png
plot_VTE_waves_recentcovid: output/recentcovid_VTE_waves_major_elective.png
plot_VTE_waves_recent_unvac: output/recentcovid_VTE_waves_major_elective_unvac.png
table_postopVTE_minor_elective:
run: r:latest analysis/coxmodel_minor_elective.R
needs: [generate_study_population, data_manage]
outputs:
highly_sensitive:
table_VTE: output/postopVTE_minor_elective.RData
moderately_sensitive:
table_VTE_csv: output/postopVTE_minor_elective.csv
table_VTE_csv_unvac: output/postopVTE_minor_elective_unvac.csv
table_VTE_csv_recentcovid: output/recentcovid_postopVTE_minor_elective.csv
table_VTE_csv_recent_unvac: output/recentcovid_postopVTE_minor_elective_unvac.csv
model_VTE: output/postopVTEmodel_minor_elective.html
model_VTE_txt: output/postopVTEmodel_minor_elective.txt
plot_VTE_waves: output/VTE_waves_minor_elective.png
plot_VTE_waves_unvac: output/VTE_waves_minor_elective_unvac.png
plot_VTE_waves_recentcovid: output/recentcovid_VTE_waves_minor_elective.png
plot_VTE_waves_recent_unvac: output/recentcovid_VTE_waves_minor_elective_unvac.png
table_postopVTE_procedure_specific:
run: r:latest analysis/coxmodel_procedure_specific.R
needs: [generate_study_population, data_manage]
outputs:
highly_sensitive:
table_VTE: output/postopVTEmodel_procedure_specific.RData
moderately_sensitive:
table_VTE_csv: output/postopVTEmodel_procedure_specific.csv
table_VTE_csv_unvac: output/postopVTE_procedure_specific_unvac.csv
table_VTE_csv_recentcovid: output/recentcovid_procedure_specific.csv
table_VTE_csv_recent_unvac: output/recentcovid_postopVTE_procedure_specific_unvac.csv
model_VTE: output/postopVTEmodel_procedure_specific.html
model_VTE_txt: output/postopVTEmodel_procedure_specific.txt
plot_VTE_waves: output/VTE_waves_procedure_specific.png
plot_VTE_waves_unvac: output/VTE_waves_procedure_specific_unvac.png
plot_VTE_waves_recentcovid: output/recentcovid_VTE_procedure_specific.png
plot_VTE_waves_recent_unvac: output/recentcovid_VTE_waves_procedure_specific_unvac.png
table_postopVTErates:
run: r:latest analysis/Crude30dayVTE_Rates.R
needs: [generate_study_population, data_manage]
outputs:
moderately_sensitive:
table_MajElectiveVTErates: output/Major.op_Elective30_day_Crude_VTE_Rates.csv
table_MajEmergVTErates: output/Major.op_Emergency30_day_Crude_VTE_Rates.csv
table_MinElectiveVTErates: output/Intermediate.or.Minor.op_Elective30_day_Crude_VTE_Rates.csv
table_MinEmergVTErates: output/Intermediate.or.Minor.op_Emergency30_day_Crude_VTE_Rates.csv
table_unadjusted_30dayvte:
run: r:latest analysis/table_unadjusted_30dayvte.R
needs: [generate_study_population, data_manage]
outputs:
moderately_sensitive:
table_MajElectiveadjustedrates: output/Major.op_Elective_30_day_adjusted_Analysis.csv
table_MajEmergadjustedrates: output/Major.op_Emergency_30_day_adjusted_Analysis.csv
table_MinElectiveadjustedrates: output/Intermediate.or.Minor.op_Elective_30_day_adjusted_Analysis.csv
table_MinEmergadjustedrates: output/Intermediate.or.Minor.op_Emergency_30_day_adjusted_Analysis.csv
# ##
# Table_30day_unadjustedVTEanalysis:
# run: r:latest analysis/Table_30day_unadjustedVTEanalysis.R
# needs: [generate_study_population, data_manage]
# outputs:
# moderately_sensitive:
# table_30day_unadjustedVTEanalysis_csv: output/postopvte_unadjusted30dayanalysis.csv
# table_30day_unadjustedVTEanalysis: output/postopvte_unadjusted30dayanalysis.RData ##
table_30day_adjustedVTEanalysis:
run: r:latest analysis/Table_30day_adjustedVTEanalysis.R
needs: [generate_study_population, data_manage]
outputs:
moderately_sensitive:
table_30day_adjustedVTEanalysis_csv: output/postopvte_fullyadjusted30dayanalysis.csv
table_90day_adjustedVTEanalysis:
run: r:latest analysis/Table_90day_adjustedVTEanalysis.R
needs: [generate_study_population, data_manage]
outputs:
moderately_sensitive:
table_90day_adjustedVTEanalysis_csv: output/postopvte_fullyadjusted90dayanalysis.csv
table_emergency_elective_30dayVTE:
run: r:latest analysis/Table_emergency_elective_30dayVTE.R
needs: [generate_study_population, data_manage]
outputs:
highly_sensitive:
table_postopvte_fullyadjusted30dayanalysis_emergency: postopvte_fullyadjusted30dayanalysis_emergency.RData
table_postopvte_fullyadjusted30dayanalysis_elective: postopvte_fullyadjusted30dayanalysis_elective.RData
moderately_sensitive:
table_postopvte_fullyadjusted30dayanalysis_emergency: output/postopvte_fullyadjusted30dayanalysis_emergency.csv
table_30day_cumulative_incidence_waves:
run: r:latest analysis/table_30day_cumulative_incidence_waves.R
needs: [generate_study_population, data_manage]
outputs:
moderately_sensitive:
table_30day_adjustedVTEanalysis_csv: output/table_postop_VTEincidence_by_procedure_wave.csv
table_postopVTE_sub:
run: r:latest analysis/Table_postopVTE_sub.R
needs: [generate_study_population, data_manage]
outputs:
highly_sensitive:
table_VTE_sub: output/postopVTE_sub.RData
moderately_sensitive:
table_VTE_sub_csv: output/postopVTE_sub.csv
model_VTE_sub: output/postopVTEmodelsub.html
model_VTE_sub_txt: output/postopVTEmodelsub.txt
plot_VTE_sub_waves: output/VTE_waves_sub_plot.png
table_postopVTE_recent:
run: r:latest analysis/Table_postopVTE_recent.R
needs: [generate_study_population, data_manage]
outputs:
highly_sensitive:
table_VTE_recent: output/postopVTErecent.RData
moderately_sensitive:
table_VTE_recent_csv: output/postopVTE_recentCOVID.csv
model_VTE_recent: output/postopVTEmodelrecentCOVID.html
model_VTE_recent_txt: output/postopVTEmodelrecentCOVID.txt
plot_VTE_recent_waves: output/VTE_waves_recentCOVID_plot.png
table_postopVTE_recent_sub:
run: r:latest analysis/Table_postopVTE_recent_sub.R
needs: [generate_study_population, data_manage]
outputs:
highly_sensitive:
table_VTE_recent_sub: output/postopVTErecent_sub.RData
moderately_sensitive:
table_VTE_recent_sub_csv: output/postopVTE_recentCOVID_sub.csv
model_VTE_recent_sub: output/postopVTEmodelrecentCOVIDsub.html
model_VTE_recent_sub_txt: output/postopVTEmodelrecentCOVIDsub.txt
plot_VTE_recent_sub_waves: output/VTE_waves_recentCOVID_sub_plot.png
table_postopmortality:
run: r:latest analysis/Table_postopmortality.R
needs: [generate_study_population, data_manage]
outputs:
highly_sensitive:
table_mortality: output/postopmortality.RData
moderately_sensitive:
table_mortality_csv: output/postopmortality.csv
model_mortality: output/postopdiedmodel.html
model_mortality_txt: output/postopdiedmodel.txt
plot_mortality: output/mortality_waves_plot.png
table_postopmortality_sub:
run: r:latest analysis/Table_postopmortality_sub.R
needs: [generate_study_population, data_manage]
outputs:
highly_sensitive:
table_mortality_sub: output/postopmortality_sub.RData
moderately_sensitive:
table_mortality_sub_csv: output/postopmortality_sub.csv
model_mortality_sub: output/postopdiedmodelsub.html
model_mortality_sub_txt: output/postopdiedmodelsub.txt
plot_mortality_sub: output/mortality_waves_sub_plot.png
table_postopmort_crude:
run: r:latest analysis/Table_postopcovid_mort_crude.R
needs: [generate_study_population, data_manage]
outputs:
highly_sensitive:
table_crudemort: output/postopmort_crude.RData
moderately_sensitive:
table_crudemort_csv: output/postopmort_crude.csv
table_postopmort_crude_sub:
run: r:latest analysis/Table_postopcovid_mort_crude_sub.R
needs: [generate_study_population, data_manage]
outputs:
highly_sensitive:
table_crudemort: output/postopmort_crude_sub.RData
moderately_sensitive:
table_crudemort_csv: output/postopmort_crude_sub.csv
table_postopmort_adjusted:
run: r:latest analysis/Table_postopcovid_mort_adjusted.R
needs: [generate_study_population, data_manage]
outputs:
highly_sensitive:
table_adjustedmort: output/postopmort_adjusted.RData
moderately_sensitive:
table_adjustedmort_csv: output/postopmort_adjusted.csv
table_postopmort_adjusted_sub:
run: r:latest analysis/Table_postopcovid_mort_adjusted_sub.R
needs: [generate_study_population, data_manage]
outputs:
highly_sensitive:
table_adjustedmort_sub: output/postopmort_adjusted_sub.RData
moderately_sensitive:
table_adjustedmort_sub_csv: output/postopmort_adjusted_sub.csv
table_postopreadmit:
run: r:latest analysis/Table_postop_readmit.R
needs: [generate_study_population, data_manage]
outputs:
highly_sensitive:
table_readmit: output/postopreadmit.RData
moderately_sensitive:
table_readmit_csv: output/postopreadmit.csv
model_readmit: output/postopreadmitmodel.html
model_readmit_txt: output/postopreadmitmodel.txt
plot_readmit: output/readmit_waves_plot.png
table_postopreadmit_sub:
run: r:latest analysis/Table_postop_readmit_sub.R
needs: [generate_study_population, data_manage]
outputs:
highly_sensitive:
table_readmit_sub: output/postopreadmit_sub.RData
moderately_sensitive:
table_readmit_sub_csv: output/postopreadmit_sub.csv
model_readmit_sub: output/postopreadmitmodelsub.html
model_readmit_sub_txt: output/postopreadmitmodelsub.txt
plot_readmit_sub: output/readmit_waves_sub_plot.png
report:
run: r:latest -e 'rmarkdown::render("analysis/Report.rmd", output_dir = "/workspace/output/",knit_root_dir = "/workspace",)'
needs: [generate_study_population, data_manage, data_manage_postdisch_week,
flowchart,
table_demo,
table_postopcovid_crude,
table_postopcovid_adjusted,
table_postopcovid_tv,
# table_postopcovid_tv_daily,
table_postopLOS,
table_postopVTE,
table_postopVTE_recent,
table_postopmortality,
table_postopreadmit,
table_postopcovid_crude_sub,
table_postopcovid_adjusted_sub,
table_postopcovid_tv_sub,
# table_postopcovid_tv_daily_sub,
table_postopLOS_sub,
table_postopVTE_sub,
table_postopVTE_recent_sub,
table_postopmortality_sub,
table_postopmort_crude,
table_postopmort_adjusted,
table_postopmort_crude_sub,
table_postopmort_adjusted_sub,
table_postopreadmit_sub]
outputs:
moderately_sensitive:
results_report: output/Report.html
update_study_population_Abdominal_1:
run: cohortextractor:latest generate_cohort --study-definition study_definition_update
--param n_op = '1'
--param name_op = 'Abdominal'
--output-file output/input_Abdominal_1.csv
needs: [generate_study_population]
outputs:
highly_sensitive:
cohort: output/input_Abdominal_1.csv
update_study_population_Abdominal_2:
run: cohortextractor:latest generate_cohort --study-definition study_definition_update
--param n_op = '2'
--param name_op = 'Abdominal'
--output-file output/input_Abdominal_2.csv
needs: [generate_study_population]
outputs:
highly_sensitive:
cohort: output/input_Abdominal_2.csv
update_study_population_Abdominal_3:
run: cohortextractor:latest generate_cohort --study-definition study_definition_update
--param n_op = '3'
--param name_op = 'Abdominal'
--output-file output/input_Abdominal_3.csv
needs: [generate_study_population]
outputs:
highly_sensitive:
cohort: output/input_Abdominal_3.csv
update_study_population_Abdominal_4:
run: cohortextractor:latest generate_cohort --study-definition study_definition_update
--param n_op = '4'
--param name_op = 'Abdominal'
--output-file output/input_Abdominal_4.csv
needs: [generate_study_population]
outputs:
highly_sensitive:
cohort: output/input_Abdominal_4.csv
update_study_population_Abdominal_5:
run: cohortextractor:latest generate_cohort --study-definition study_definition_update
--param n_op = '5'
--param name_op = 'Abdominal'
--output-file output/input_Abdominal_5.csv
needs: [generate_study_population]
outputs:
highly_sensitive:
cohort: output/input_Abdominal_5.csv
update_study_population_Cardiac_1:
run: cohortextractor:latest generate_cohort --study-definition study_definition_update
--param n_op = '1'
--param name_op = 'Cardiac'
--output-file output/input_Cardiac_1.csv
needs: [generate_study_population]
outputs:
highly_sensitive:
cohort: output/input_Cardiac_1.csv
update_study_population_Cardiac_2:
run: cohortextractor:latest generate_cohort --study-definition study_definition_update
--param n_op = '2'
--param name_op = 'Cardiac'
--output-file output/input_Cardiac_2.csv
needs: [generate_study_population]
outputs:
highly_sensitive:
cohort: output/input_Cardiac_2.csv
update_study_population_Cardiac_3:
run: cohortextractor:latest generate_cohort --study-definition study_definition_update
--param n_op = '3'
--param name_op = 'Cardiac'
--output-file output/input_Cardiac_3.csv
needs: [generate_study_population]
outputs:
highly_sensitive:
cohort: output/input_Cardiac_3.csv
update_study_population_Cardiac_4:
run: cohortextractor:latest generate_cohort --study-definition study_definition_update
--param n_op = '4'
--param name_op = 'Cardiac'
--output-file output/input_Cardiac_4.csv
needs: [generate_study_population]
outputs:
highly_sensitive:
cohort: output/input_Cardiac_4.csv
update_study_population_Cardiac_5:
run: cohortextractor:latest generate_cohort --study-definition study_definition_update
--param n_op = '5'
--param name_op = 'Cardiac'
--output-file output/input_Cardiac_5.csv
needs: [generate_study_population]
outputs:
highly_sensitive:
cohort: output/input_Cardiac_5.csv
update_study_population_Obstetrics_1:
run: cohortextractor:latest generate_cohort --study-definition study_definition_update
--param n_op = '1'
--param name_op = 'Obstetrics'
--output-file output/input_Obstetrics_1.csv
needs: [generate_study_population]
outputs:
highly_sensitive:
cohort: output/input_Obstetrics_1.csv
update_study_population_Obstetrics_2:
run: cohortextractor:latest generate_cohort --study-definition study_definition_update
--param n_op = '2'
--param name_op = 'Obstetrics'
--output-file output/input_Obstetrics_2.csv
needs: [generate_study_population]
outputs:
highly_sensitive:
cohort: output/input_Obstetrics_2.csv
update_study_population_Obstetrics_3:
run: cohortextractor:latest generate_cohort --study-definition study_definition_update
--param n_op = '3'
--param name_op = 'Obstetrics'
--output-file output/input_Obstetrics_3.csv
needs: [generate_study_population]
outputs:
highly_sensitive:
cohort: output/input_Obstetrics_3.csv
update_study_population_Obstetrics_4:
run: cohortextractor:latest generate_cohort --study-definition study_definition_update
--param n_op = '4'
--param name_op = 'Obstetrics'
--output-file output/input_Obstetrics_4.csv
needs: [generate_study_population]
outputs:
highly_sensitive:
cohort: output/input_Obstetrics_4.csv
update_study_population_Obstetrics_5:
run: cohortextractor:latest generate_cohort --study-definition study_definition_update
--param n_op = '5'
--param name_op = 'Obstetrics'
--output-file output/input_Obstetrics_5.csv
needs: [generate_study_population]
outputs:
highly_sensitive:
cohort: output/input_Obstetrics_5.csv
update_study_population_Orthopaedic_1:
run: cohortextractor:latest generate_cohort --study-definition study_definition_update
--param n_op = '1'
--param name_op = 'Orthopaedic'
--output-file output/input_Orthopaedic_1.csv
needs: [generate_study_population]
outputs:
highly_sensitive:
cohort: output/input_Orthopaedic_1.csv
update_study_population_Orthopaedic_2:
run: cohortextractor:latest generate_cohort --study-definition study_definition_update
--param n_op = '2'
--param name_op = 'Orthopaedic'
--output-file output/input_Orthopaedic_2.csv
needs: [generate_study_population]
outputs:
highly_sensitive:
cohort: output/input_Orthopaedic_2.csv
update_study_population_Orthopaedic_3:
run: cohortextractor:latest generate_cohort --study-definition study_definition_update
--param n_op = '3'
--param name_op = 'Orthopaedic'
--output-file output/input_Orthopaedic_3.csv
needs: [generate_study_population]
outputs:
highly_sensitive:
cohort: output/input_Orthopaedic_3.csv
update_study_population_Orthopaedic_4:
run: cohortextractor:latest generate_cohort --study-definition study_definition_update
--param n_op = '4'
--param name_op = 'Orthopaedic'
--output-file output/input_Orthopaedic_4.csv
needs: [generate_study_population]
outputs:
highly_sensitive:
cohort: output/input_Orthopaedic_4.csv
update_study_population_Orthopaedic_5:
run: cohortextractor:latest generate_cohort --study-definition study_definition_update
--param n_op = '5'
--param name_op = 'Orthopaedic'
--output-file output/input_Orthopaedic_5.csv
needs: [generate_study_population]
outputs:
highly_sensitive:
cohort: output/input_Orthopaedic_5.csv
update_study_population_Thoracic_1:
run: cohortextractor:latest generate_cohort --study-definition study_definition_update
--param n_op = '1'
--param name_op = 'Thoracic'
--output-file output/input_Thoracic_1.csv
needs: [generate_study_population]
outputs:
highly_sensitive:
cohort: output/input_Thoracic_1.csv
update_study_population_Thoracic_2:
run: cohortextractor:latest generate_cohort --study-definition study_definition_update
--param n_op = '2'
--param name_op = 'Thoracic'
--output-file output/input_Thoracic_2.csv
needs: [generate_study_population]
outputs:
highly_sensitive:
cohort: output/input_Thoracic_2.csv
update_study_population_Thoracic_3:
run: cohortextractor:latest generate_cohort --study-definition study_definition_update
--param n_op = '3'
--param name_op = 'Thoracic'
--output-file output/input_Thoracic_3.csv
needs: [generate_study_population]
outputs:
highly_sensitive:
cohort: output/input_Thoracic_3.csv
update_study_population_Thoracic_4:
run: cohortextractor:latest generate_cohort --study-definition study_definition_update
--param n_op = '4'
--param name_op = 'Thoracic'
--output-file output/input_Thoracic_4.csv
needs: [generate_study_population]
outputs:
highly_sensitive:
cohort: output/input_Thoracic_4.csv
update_study_population_Thoracic_5:
run: cohortextractor:latest generate_cohort --study-definition study_definition_update
--param n_op = '5'
--param name_op = 'Thoracic'
--output-file output/input_Thoracic_5.csv
needs: [generate_study_population]
outputs:
highly_sensitive:
cohort: output/input_Thoracic_5.csv
update_study_population_Vascular_1:
run: cohortextractor:latest generate_cohort --study-definition study_definition_update
--param n_op = '1'
--param name_op = 'Vascular'
--output-file output/input_Vascular_1.csv
needs: [generate_study_population]
outputs:
highly_sensitive:
cohort: output/input_Vascular_1.csv
update_study_population_Vascular_2:
run: cohortextractor:latest generate_cohort --study-definition study_definition_update
--param n_op = '2'
--param name_op = 'Vascular'
--output-file output/input_Vascular_2.csv
needs: [generate_study_population]
outputs:
highly_sensitive:
cohort: output/input_Vascular_2.csv
update_study_population_Vascular_3:
run: cohortextractor:latest generate_cohort --study-definition study_definition_update
--param n_op = '3'
--param name_op = 'Vascular'
--output-file output/input_Vascular_3.csv
needs: [generate_study_population]
outputs:
highly_sensitive:
cohort: output/input_Vascular_3.csv
update_study_population_Vascular_4:
run: cohortextractor:latest generate_cohort --study-definition study_definition_update
--param n_op = '4'
--param name_op = 'Vascular'
--output-file output/input_Vascular_4.csv
needs: [generate_study_population]
outputs:
highly_sensitive:
cohort: output/input_Vascular_4.csv
update_study_population_Vascular_5:
run: cohortextractor:latest generate_cohort --study-definition study_definition_update
--param n_op = '5'
--param name_op = 'Vascular'
--output-file output/input_Vascular_5.csv
needs: [generate_study_population]
outputs:
highly_sensitive:
cohort: output/input_Vascular_5.csv
## Update for major minor
update_study_population_Abdominal_1_majorminor :
run: cohortextractor:latest generate_cohort --study-definition study_definition_MajorMinor
--param n_op = '1'
--param name_op = 'Abdominal'
--output-file output/input_Abdominal_1_majorminor.csv
needs: [generate_study_population]
outputs:
highly_sensitive:
cohort: output/input_Abdominal_1_majorminor.csv
update_study_population_Abdominal_2_majorminor:
run: cohortextractor:latest generate_cohort --study-definition study_definition_MajorMinor
--param n_op = '2'
--param name_op = 'Abdominal'
--output-file output/input_Abdominal_2_majorminor.csv
needs: [generate_study_population]
outputs:
highly_sensitive:
cohort: output/input_Abdominal_2_majorminor.csv
update_study_population_Abdominal_3_majorminor:
run: cohortextractor:latest generate_cohort --study-definition study_definition_MajorMinor
--param n_op = '3'
--param name_op = 'Abdominal'
--output-file output/input_Abdominal_3_majorminor.csv
needs: [generate_study_population]
outputs:
highly_sensitive:
cohort: output/input_Abdominal_3_majorminor.csv
update_study_population_Abdominal_4_majorminor:
run: cohortextractor:latest generate_cohort --study-definition study_definition_MajorMinor
--param n_op = '4'
--param name_op = 'Abdominal'
--output-file output/input_Abdominal_4_majorminor.csv
needs: [generate_study_population]
outputs:
highly_sensitive:
cohort: output/input_Abdominal_4_majorminor.csv
update_study_population_Abdominal_5_majorminor:
run: cohortextractor:latest generate_cohort --study-definition study_definition_MajorMinor
--param n_op = '5'
--param name_op = 'Abdominal'
--output-file output/input_Abdominal_5_majorminor.csv
needs: [generate_study_population]
outputs:
highly_sensitive:
cohort: output/input_Abdominal_5_majorminor.csv
update_study_population_Cardiac_1_majorminor:
run: cohortextractor:latest generate_cohort --study-definition study_definition_MajorMinor
--param n_op = '1'
--param name_op = 'Cardiac'
--output-file output/input_Cardiac_1_majorminor.csv
needs: [generate_study_population]
outputs:
highly_sensitive:
cohort: output/input_Cardiac_1_majorminor.csv
update_study_population_Cardiac_2_majorminor:
run: cohortextractor:latest generate_cohort --study-definition study_definition_MajorMinor
--param n_op = '2'
--param name_op = 'Cardiac'
--output-file output/input_Cardiac_2_majorminor.csv
needs: [generate_study_population]
outputs:
highly_sensitive:
cohort: output/input_Cardiac_2_majorminor.csv
update_study_population_Cardiac_3_majorminor:
run: cohortextractor:latest generate_cohort --study-definition study_definition_MajorMinor
--param n_op = '3'
--param name_op = 'Cardiac'
--output-file output/input_Cardiac_3_majorminor.csv
needs: [generate_study_population]
outputs:
highly_sensitive:
cohort: output/input_Cardiac_3_majorminor.csv
update_study_population_Cardiac_4_majorminor:
run: cohortextractor:latest generate_cohort --study-definition study_definition_MajorMinor
--param n_op = '4'
--param name_op = 'Cardiac'
--output-file output/input_Cardiac_4_majorminor.csv
needs: [generate_study_population]
outputs:
highly_sensitive:
cohort: output/input_Cardiac_4_majorminor.csv
update_study_population_Cardiac_5_majorminor:
run: cohortextractor:latest generate_cohort --study-definition study_definition_MajorMinor
--param n_op = '5'
--param name_op = 'Cardiac'
--output-file output/input_Cardiac_5_majorminor.csv
needs: [generate_study_population]
outputs:
highly_sensitive:
cohort: output/input_Cardiac_5_majorminor.csv
update_study_population_Obstetrics_1_majorminor:
run: cohortextractor:latest generate_cohort --study-definition study_definition_MajorMinor
--param n_op = '1'
--param name_op = 'Obstetrics'
--output-file output/input_Obstetrics_1_majorminor.csv
needs: [generate_study_population]
outputs:
highly_sensitive:
cohort: output/input_Obstetrics_1_majorminor.csv
update_study_population_Obstetrics_2_majorminor:
run: cohortextractor:latest generate_cohort --study-definition study_definition_MajorMinor
--param n_op = '2'
--param name_op = 'Obstetrics'
--output-file output/input_Obstetrics_2_majorminor.csv
needs: [generate_study_population]