-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathrti.py
5760 lines (5359 loc) · 321 KB
/
rti.py
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
"""
Road traffic injury module.
"""
from __future__ import annotations
from pathlib import Path
from typing import TYPE_CHECKING, List
import numpy as np
import pandas as pd
from tlo import DateOffset, Module, Parameter, Property, Types, logging
from tlo.events import Event, IndividualScopeEventMixin, PopulationScopeEventMixin, RegularEvent
from tlo.lm import LinearModel, LinearModelType, Predictor
from tlo.methods import Metadata
from tlo.methods.causes import Cause
from tlo.methods.hsi_event import HSI_Event
from tlo.methods.hsi_generic_first_appts import GenericFirstAppointmentsMixin
from tlo.methods.symptommanager import Symptom
from tlo.util import read_csv_files
if TYPE_CHECKING:
from tlo.methods.hsi_generic_first_appts import HSIEventScheduler
from tlo.population import IndividualProperties
# ---------------------------------------------------------------------------------------------------------
# MODULE DEFINITIONS
# ---------------------------------------------------------------------------------------------------------
logger = logging.getLogger(__name__)
logger.setLevel(logging.DEBUG)
class RTI(Module, GenericFirstAppointmentsMixin):
"""
The road traffic injuries module for the TLO model, handling all injuries related to road traffic accidents.
"""
def __init__(self, name=None, resourcefilepath=None):
# NB. Parameters passed to the module can be inserted in the __init__ definition.
super().__init__(name)
self.resourcefilepath = resourcefilepath
self.ASSIGN_INJURIES_AND_DALY_CHANGES = None
self.cons_item_codes = None # (Will store consumable item codes)
INIT_DEPENDENCIES = {"SymptomManager",
"HealthBurden"}
ADDITIONAL_DEPENDENCIES = {
'Demography',
'Lifestyle',
'HealthSystem',
}
INJURY_INDICES = range(1, 9)
INJURY_COLUMNS = [f'rt_injury_{i}' for i in INJURY_INDICES]
DATE_TO_REMOVE_DALY_COLUMNS = [f'rt_date_to_remove_daly_{i}' for i in INJURY_INDICES]
# Bi-directional map from/to injury columns to/from date to remove daly columns
INJURY_DATE_COLUMN_MAP = {
**{f'rt_injury_{i}': f'rt_date_to_remove_daly_{i}' for i in INJURY_INDICES},
**{f'rt_date_to_remove_daly_{i}': f'rt_injury_{i}' for i in INJURY_INDICES},
}
INJURY_CODES = ['none', '112', '113', '133a', '133b', '133c', '133d', '134a', '134b', '135', '1101', '1114', '211',
'212', '241', '2101', '2114', '291', '342', '343', '361', '363', '322', '323', '3101', '3113',
'412', '414', '461', '463', '453a', '453b', '441', '442', '443', '4101', '4113', '552', '553',
'554', '5101', '5113', '612', '673a', '673b', '674a', '674b', '675a', '675b', '676', '712a',
'712b', '712c', '722', '782a', '782b', '782c', '783', '7101', '7113', '811', '813do', '812',
'813eo', '813a', '813b', '813bo', '813c', '813co', '822a', '822b', '882', '883', '884', '8101',
'8113', 'P133a', 'P133b', 'P133c', 'P133d', 'P134a', 'P134b', 'P135', 'P673a', 'P673b', 'P674a',
'P674b', 'P675a', 'P675b', 'P676', 'P782a', 'P782b', 'P782c', 'P783', 'P882', 'P883', 'P884']
SWAPPING_CODES = ['712b', '812', '3113', '4113', '5113', '7113', '8113', '813a', '813b', 'P673a', 'P673b', 'P674a',
'P674b', 'P675a', 'P675b', 'P676', 'P782b', 'P783', 'P883', 'P884', '813bo', '813co', '813do',
'813eo']
INJURIES_REQ_IMAGING = ['112', '113', '211', '212', '412', '414', '612', '712a', '712b', '712c', '811', '812',
'813a', '813b', '813c', '822a', '822b', '813bo', '813co', '813do', '813eo', '673', '674',
'675', '676', '322', '323', '722', '342', '343', '441', '443', '453', '133', '134', '135',
'552', '553', '554', '342', '343', '441', '443', '453', '361', '363', '461', '463']
FRACTURE_CODES = ['112', '113', '211', '212', '412', '414', '612', '712', '811', '812', '813']
NO_TREATMENT_RECOVERY_TIMES_IN_DAYS = {
'112': 49,
'113': 49,
'1101': 7,
'211': 49,
'212': 49,
'241': 7,
'2101': 7,
'291': 7,
'342': 42,
'343': 42,
'361': 7,
'363': 14,
'322': 42,
'323': 42,
'3101': 7,
'3113': 56,
'412': 35,
'414': 365,
'461': 7,
'463': 14,
'453a': 84,
'453b': 84,
'441': 14,
'442': 14,
'4101': 7,
'552': 90,
'553': 90,
'554': 90,
'5101': 7,
'5113': 56,
'612': 63,
'712a': 70,
'712b': 70,
'722': 84,
'7101': 7,
'7113': 56,
'813do': 240,
'811': 70,
'812': 70,
'813eo': 240,
'813bo': 240,
'813co': 240,
'822a': 60,
'822b': 180,
'8101': 7,
'8113': 56
}
# Module parameters
PARAMETERS = {
'base_rate_injrti': Parameter(
Types.REAL,
'Base rate of RTI per year',
),
'rr_injrti_age04': Parameter(
Types.REAL,
'risk ratio of RTI in age 0-4 compared to base rate of RTI'
),
'rr_injrti_age59': Parameter(
Types.REAL,
'risk ratio of RTI in age 5-9 compared to base rate of RTI'
),
'rr_injrti_age1017': Parameter(
Types.REAL,
'risk ratio of RTI in age 10-17 compared to base rate of RTI'
),
'rr_injrti_age1829': Parameter(
Types.REAL,
'risk ratio of RTI in age 18-29 compared to base rate of RTI',
),
'rr_injrti_age3039': Parameter(
Types.REAL,
'risk ratio of RTI in age 30-39 compared to base rate of RTI',
),
'rr_injrti_age4049': Parameter(
Types.REAL,
'risk ratio of RTI in age 40-49 compared to base rate of RTI',
),
'rr_injrti_age5059': Parameter(
Types.REAL,
'risk ratio of RTI in age 50-59 compared to base rate of RTI',
),
'rr_injrti_age6069': Parameter(
Types.REAL,
'risk ratio of RTI in age 60-69 compared to base rate of RTI',
),
'rr_injrti_age7079': Parameter(
Types.REAL,
'risk ratio of RTI in age 70-79 compared to base rate of RTI',
),
'rr_injrti_male': Parameter(
Types.REAL,
'risk ratio of RTI when male compared to females',
),
'rr_injrti_excessalcohol': Parameter(
Types.REAL,
'risk ratio of RTI in those that consume excess alcohol compared to those who do not'
),
'imm_death_proportion_rti': Parameter(
Types.REAL,
'Proportion of those involved in an RTI that die at site of accident or die before seeking medical '
'intervention'
),
'prob_bleeding_leads_to_shock': Parameter(
Types.REAL,
'The proportion of those with heavily bleeding injuries who go into shock'
),
'prob_death_iss_less_than_9': Parameter(
Types.REAL,
'Proportion of people who pass away in the following month after medical treatment for injuries with an ISS'
'score less than or equal to 9'
),
'prob_death_iss_10_15': Parameter(
Types.REAL,
'Proportion of people who pass away in the following month after medical treatment for injuries with an ISS'
'score from 10 to 15'
),
'prob_death_iss_16_24': Parameter(
Types.REAL,
'Proportion of people who pass away in the following month after medical treatment for injuries with an ISS'
'score from 16 to 24'
),
'prob_death_iss_25_35': Parameter(
Types.REAL,
'Proportion of people who pass away in the following month after medical treatment for injuries with an ISS'
'score from 25 to 34'
),
'prob_death_iss_35_plus': Parameter(
Types.REAL,
'Proportion of people who pass away in the following month after medical treatment for injuries with an ISS'
'score 35 and above'
),
'prob_perm_disability_with_treatment_severe_TBI': Parameter(
Types.REAL,
'probability that someone with a treated severe TBI is permanently disabled'
),
'prob_death_TBI_SCI_no_treatment': Parameter(
Types.REAL,
'probability that someone with a spinal cord injury will die without treatment'
),
'prop_death_burns_no_treatment': Parameter(
Types.REAL,
'probability that someone with a burn injury will die without treatment'
),
'prob_death_fractures_no_treatment': Parameter(
Types.REAL,
'probability that someone with a fracture injury will die without treatment'
),
'prob_TBI_require_craniotomy': Parameter(
Types.REAL,
'probability that someone with a traumatic brain injury will require a craniotomy surgery'
),
'prob_exploratory_laparotomy': Parameter(
Types.REAL,
'probability that someone with an internal organ injury will require a exploratory_laparotomy'
),
'prob_depressed_skull_fracture': Parameter(
Types.REAL,
'Probability that a skull fracture will be depressed and therefore require surgery'
),
'prob_mild_burns': Parameter(
Types.REAL,
'Probability that a burn within a region will result in < 10% total body surface area'
),
'prob_dislocation_requires_surgery': Parameter(
Types.REAL,
'Probability that a dislocation will require surgery to relocate the joint.'
),
'number_of_injured_body_regions_distribution': Parameter(
Types.LIST,
'The distribution of number of injured AIS body regions, used to decide how many injuries a person has'
),
'injury_location_distribution': Parameter(
Types.LIST,
'The distribution of where injuries are located in the body, based on the AIS body region definition'
),
# Length of stay
'mean_los_ISS_less_than_4': Parameter(
Types.REAL,
'Mean length of stay for someone with an ISS score < 4'
),
'sd_los_ISS_less_than_4': Parameter(
Types.REAL,
'Standard deviation in length of stay for someone with an ISS score < 4'
),
'mean_los_ISS_4_to_8': Parameter(
Types.REAL,
'Mean length of stay for someone with an ISS score between 4 and 8'
),
'sd_los_ISS_4_to_8': Parameter(
Types.REAL,
'Standard deviation in length of stay for someone with an ISS score between 4 and 8'
),
'mean_los_ISS_9_to_15': Parameter(
Types.REAL,
'Mean length of stay for someone with an ISS score between 9 and 15'
),
'sd_los_ISS_9_to_15': Parameter(
Types.REAL,
'Standard deviation in length of stay for someone with an ISS score between 9 and 15'
),
'mean_los_ISS_16_to_24': Parameter(
Types.REAL,
'Mean length of stay for someone with an ISS score between 16 and 24'
),
'sd_los_ISS_16_to_24': Parameter(
Types.REAL,
'Standard deviation in length of stay for someone with an ISS score between 16 and 24'
),
'mean_los_ISS_more_than_25': Parameter(
Types.REAL,
'Mean length of stay for someone with an ISS score between 16 and 24'
),
'sd_los_ISS_more_that_25': Parameter(
Types.REAL,
'Standard deviation in length of stay for someone with an ISS score between 16 and 24'
),
# DALY weights
'daly_wt_unspecified_skull_fracture': Parameter(
Types.REAL,
'daly_wt_unspecified_skull_fracture - code 1674'
),
'daly_wt_basilar_skull_fracture': Parameter(
Types.REAL,
'daly_wt_basilar_skull_fracture - code 1675'
),
'daly_wt_epidural_hematoma': Parameter(
Types.REAL,
'daly_wt_epidural_hematoma - code 1676'
),
'daly_wt_subdural_hematoma': Parameter(
Types.REAL,
'daly_wt_subdural_hematoma - code 1677'
),
'daly_wt_subarachnoid_hematoma': Parameter(
Types.REAL,
'daly_wt_subarachnoid_hematoma - code 1678'
),
'daly_wt_brain_contusion': Parameter(
Types.REAL,
'daly_wt_brain_contusion - code 1679'
),
'daly_wt_intraventricular_haemorrhage': Parameter(
Types.REAL,
'daly_wt_intraventricular_haemorrhage - code 1680'
),
'daly_wt_diffuse_axonal_injury': Parameter(
Types.REAL,
'daly_wt_diffuse_axonal_injury - code 1681'
),
'daly_wt_subgaleal_hematoma': Parameter(
Types.REAL,
'daly_wt_subgaleal_hematoma - code 1682'
),
'daly_wt_midline_shift': Parameter(
Types.REAL,
'daly_wt_midline_shift - code 1683'
),
'daly_wt_facial_fracture': Parameter(
Types.REAL,
'daly_wt_facial_fracture - code 1684'
),
'daly_wt_facial_soft_tissue_injury': Parameter(
Types.REAL,
'daly_wt_facial_soft_tissue_injury - code 1685'
),
'daly_wt_eye_injury': Parameter(
Types.REAL,
'daly_wt_eye_injury - code 1686'
),
'daly_wt_neck_soft_tissue_injury': Parameter(
Types.REAL,
'daly_wt_neck_soft_tissue_injury - code 1687'
),
'daly_wt_neck_internal_bleeding': Parameter(
Types.REAL,
'daly_wt_neck_internal_bleeding - code 1688'
),
'daly_wt_neck_dislocation': Parameter(
Types.REAL,
'daly_wt_neck_dislocation - code 1689'
),
'daly_wt_chest_wall_bruises_hematoma': Parameter(
Types.REAL,
'daly_wt_chest_wall_bruises_hematoma - code 1690'
),
'daly_wt_hemothorax': Parameter(
Types.REAL,
'daly_wt_hemothorax - code 1691'
),
'daly_wt_lung_contusion': Parameter(
Types.REAL,
'daly_wt_lung_contusion - code 1692'
),
'daly_wt_diaphragm_rupture': Parameter(
Types.REAL,
'daly_wt_diaphragm_rupture - code 1693'
),
'daly_wt_rib_fracture': Parameter(
Types.REAL,
'daly_wt_rib_fracture - code 1694'
),
'daly_wt_flail_chest': Parameter(
Types.REAL,
'daly_wt_flail_chest - code 1695'
),
'daly_wt_chest_wall_laceration': Parameter(
Types.REAL,
'daly_wt_chest_wall_laceration - code 1696'
),
'daly_wt_closed_pneumothorax': Parameter(
Types.REAL,
'daly_wt_closed_pneumothorax - code 1697'
),
'daly_wt_open_pneumothorax': Parameter(
Types.REAL,
'daly_wt_open_pneumothorax - code 1698'
),
'daly_wt_surgical_emphysema': Parameter(
Types.REAL,
'daly_wt_surgical_emphysema aka subcuteal emphysema - code 1699'
),
'daly_wt_abd_internal_organ_injury': Parameter(
Types.REAL,
'daly_wt_abd_internal_organ_injury - code 1700'
),
'daly_wt_spinal_cord_lesion_neck_with_treatment': Parameter(
Types.REAL,
'daly_wt_spinal_cord_lesion_neck_with_treatment - code 1701'
),
'daly_wt_spinal_cord_lesion_neck_without_treatment': Parameter(
Types.REAL,
'daly_wt_spinal_cord_lesion_neck_without_treatment - code 1702'
),
'daly_wt_spinal_cord_lesion_below_neck_with_treatment': Parameter(
Types.REAL,
'daly_wt_spinal_cord_lesion_below_neck_with_treatment - code 1703'
),
'daly_wt_spinal_cord_lesion_below_neck_without_treatment': Parameter(
Types.REAL,
'daly_wt_spinal_cord_lesion_below_neck_without_treatment - code 1704'
),
'daly_wt_vertebrae_fracture': Parameter(
Types.REAL,
'daly_wt_vertebrae_fracture - code 1705'
),
'daly_wt_clavicle_scapula_humerus_fracture': Parameter(
Types.REAL,
'daly_wt_clavicle_scapula_humerus_fracture - code 1706'
),
'daly_wt_hand_wrist_fracture_with_treatment': Parameter(
Types.REAL,
'daly_wt_hand_wrist_fracture_with_treatment - code 1707'
),
'daly_wt_hand_wrist_fracture_without_treatment': Parameter(
Types.REAL,
'daly_wt_hand_wrist_fracture_without_treatment - code 1708'
),
'daly_wt_radius_ulna_fracture_short_term_with_without_treatment': Parameter(
Types.REAL,
'daly_wt_radius_ulna_fracture_short_term_with_without_treatment - code 1709'
),
'daly_wt_radius_ulna_fracture_long_term_without_treatment': Parameter(
Types.REAL,
'daly_wt_radius_ulna_fracture_long_term_without_treatment - code 1710'
),
'daly_wt_dislocated_shoulder': Parameter(
Types.REAL,
'daly_wt_dislocated_shoulder - code 1711'
),
'daly_wt_amputated_finger': Parameter(
Types.REAL,
'daly_wt_amputated_finger - code 1712'
),
'daly_wt_amputated_thumb': Parameter(
Types.REAL,
'daly_wt_amputated_thumb - code 1713'
),
'daly_wt_unilateral_arm_amputation_with_treatment': Parameter(
Types.REAL,
'daly_wt_unilateral_arm_amputation_with_treatment - code 1714'
),
'daly_wt_unilateral_arm_amputation_without_treatment': Parameter(
Types.REAL,
'daly_wt_unilateral_arm_amputation_without_treatment - code 1715'
),
'daly_wt_bilateral_arm_amputation_with_treatment': Parameter(
Types.REAL,
'daly_wt_bilateral_arm_amputation_with_treatment - code 1716'
),
'daly_wt_bilateral_arm_amputation_without_treatment': Parameter(
Types.REAL,
'daly_wt_bilateral_arm_amputation_without_treatment - code 1717'
),
'daly_wt_foot_fracture_short_term_with_without_treatment': Parameter(
Types.REAL,
'daly_wt_foot_fracture_short_term_with_without_treatment - code 1718'
),
'daly_wt_foot_fracture_long_term_without_treatment': Parameter(
Types.REAL,
'daly_wt_foot_fracture_long_term_without_treatment - code 1719'
),
'daly_wt_patella_tibia_fibula_fracture_with_treatment': Parameter(
Types.REAL,
'daly_wt_patella_tibia_fibula_fracture_with_treatment - code 1720'
),
'daly_wt_patella_tibia_fibula_fracture_without_treatment': Parameter(
Types.REAL,
'daly_wt_patella_tibia_fibula_fracture_without_treatment - code 1721'
),
'daly_wt_hip_fracture_short_term_with_without_treatment': Parameter(
Types.REAL,
'daly_wt_hip_fracture_short_term_with_without_treatment - code 1722'
),
'daly_wt_hip_fracture_long_term_with_treatment': Parameter(
Types.REAL,
'daly_wt_hip_fracture_long_term_with_treatment - code 1723'
),
'daly_wt_hip_fracture_long_term_without_treatment': Parameter(
Types.REAL,
'daly_wt_hip_fracture_long_term_without_treatment - code 1724'
),
'daly_wt_pelvis_fracture_short_term': Parameter(
Types.REAL,
'daly_wt_pelvis_fracture_short_term - code 1725'
),
'daly_wt_pelvis_fracture_long_term': Parameter(
Types.REAL,
'daly_wt_pelvis_fracture_long_term - code 1726'
),
'daly_wt_femur_fracture_short_term': Parameter(
Types.REAL,
'daly_wt_femur_fracture_short_term - code 1727'
),
'daly_wt_femur_fracture_long_term_without_treatment': Parameter(
Types.REAL,
'daly_wt_femur_fracture_long_term_without_treatment - code 1728'
),
'daly_wt_dislocated_hip': Parameter(
Types.REAL,
'daly_wt_dislocated_hip - code 1729'
),
'daly_wt_dislocated_knee': Parameter(
Types.REAL,
'daly_wt_dislocated_knee - code 1730'
),
'daly_wt_amputated_toes': Parameter(
Types.REAL,
'daly_wt_amputated_toes - code 1731'
),
'daly_wt_unilateral_lower_limb_amputation_with_treatment': Parameter(
Types.REAL,
'daly_wt_unilateral_lower_limb_amputation_with_treatment - code 1732'
),
'daly_wt_unilateral_lower_limb_amputation_without_treatment': Parameter(
Types.REAL,
'daly_wt_unilateral_lower_limb_amputation_without_treatment - code 1733'
),
'daly_wt_bilateral_lower_limb_amputation_with_treatment': Parameter(
Types.REAL,
'daly_wt_bilateral_lower_limb_amputation_with_treatment - code 1734'
),
'daly_wt_bilateral_lower_limb_amputation_without_treatment': Parameter(
Types.REAL,
'daly_wt_bilateral_lower_limb_amputation_without_treatment - code 1735'
),
'rt_emergency_care_ISS_score_cut_off': Parameter(
Types.INT,
'A parameter to determine which level of injury severity corresponds to the emergency health care seeking '
'symptom and which to the non-emergency generic injury symptom'
),
'prob_death_MAIS3': Parameter(
Types.REAL,
'A parameter to determine the probability of death without medical intervention with a military AIS'
'score of 3'
),
'prob_death_MAIS4': Parameter(
Types.REAL,
'A parameter to determine the probability of death without medical intervention with a military AIS'
'score of 4'
),
'prob_death_MAIS5': Parameter(
Types.REAL,
'A parameter to determine the probability of death without medical intervention with a military AIS'
'score of 5'
),
'prob_death_MAIS6': Parameter(
Types.REAL,
'A parameter to determine the probability of death without medical intervention with a military AIS'
'score of 6'
),
'femur_fracture_skeletal_traction_mean_los': Parameter(
Types.INT,
'The mean length of stay for a person with a femur fracture being treated with skeletal traction'
),
'other_skeletal_traction_los': Parameter(
Types.INT,
'The mean length of stay for a person with a non-femur fracture being treated with skeletal traction'
),
'prob_foot_frac_require_cast': Parameter(
Types.REAL,
'The probability that a person with a foot fracture will be treated with a plaster cast'
),
'prob_foot_frac_require_maj_surg': Parameter(
Types.REAL,
'The probability that a person with a foot fracture will be treated with a major surgery'
),
'prob_foot_frac_require_min_surg': Parameter(
Types.REAL,
'The probability that a person with a foot fracture will be treated with a major surgery'
),
'prob_foot_frac_require_amp': Parameter(
Types.REAL,
'The probability that a person with a foot fracture will be treated with amputation via a major surgery'
),
'prob_tib_fib_frac_require_cast': Parameter(
Types.REAL,
'The probability that a person with a tibia/fibula fracture will be treated with a plaster cast'
),
'prob_tib_fib_frac_require_maj_surg': Parameter(
Types.REAL,
'The probability that a person with a tibia/fibula fracture will be treated with a major surgery'
),
'prob_tib_fib_frac_require_min_surg': Parameter(
Types.REAL,
'The probability that a person with a tibia/fibula fracture will be treated with a minor surgery'
),
'prob_tib_fib_frac_require_amp': Parameter(
Types.REAL,
'The probability that a person with a tibia/fibula fracture will be treated with an amputation via major '
'surgery'
),
'prob_tib_fib_frac_require_traction': Parameter(
Types.REAL,
'The probability that a person with a tibia/fibula fracture will be treated with skeletal traction'
),
'prob_femural_fracture_require_major_surgery': Parameter(
Types.REAL,
'The probability that a person with a femur fracture will be treated with major surgery'
),
'prob_femural_fracture_require_minor_surgery': Parameter(
Types.REAL,
'The probability that a person with a femur fracture will be treated with minor surgery'
),
'prob_femural_fracture_require_cast': Parameter(
Types.REAL,
'The probability that a person with a femur fracture will be treated with a plaster cast'
),
'prob_femural_fracture_require_amputation': Parameter(
Types.REAL,
'The probability that a person with a femur fracture will be treated with amputation via major surgery'
),
'prob_femural_fracture_require_traction': Parameter(
Types.REAL,
'The probability that a person with a femur fracture will be treated with skeletal traction'
),
'prob_pelvis_fracture_traction': Parameter(
Types.REAL,
'The probability that a person with a pelvis fracture will be treated with skeletal traction'
),
'prob_pelvis_frac_major_surgery': Parameter(
Types.REAL,
'The probability that a person with a pelvis fracture will be treated with major surgery'
),
'prob_pelvis_frac_minor_surgery': Parameter(
Types.REAL,
'The probability that a person with a pelvis fracture will be treated with minor surgery'
),
'prob_pelvis_frac_cast': Parameter(
Types.REAL,
'The probability that a person with a pelvis fracture will be treated with a cast'
),
'prob_dis_hip_require_maj_surg': Parameter(
Types.REAL,
'The probability that a person with a dislocated hip will be treated with a major surgery'
),
'prob_dis_hip_require_cast': Parameter(
Types.REAL,
'The probability that a person with a dislocated hip will be treated with a plaster cast'
),
'prob_hip_dis_require_traction': Parameter(
Types.REAL,
'The probability that a person with a dislocated hip will be treated with skeletal traction'
),
'hdu_cut_off_iss_score': Parameter(
Types.INT,
'The ISS score used as a criteria to admit patients to the HDU/ICU units'
),
'mean_icu_days': Parameter(
Types.REAL,
'The mean length of stay in the ICUfor those without TBI'
),
'sd_icu_days': Parameter(
Types.REAL,
'The standard deviation in length of stay in the ICU for those without TBI'
),
'mean_tbi_icu_days': Parameter(
Types.REAL,
'The mean length of stay in the ICU for those with TBI'
),
'sd_tbi_icu_days': Parameter(
Types.REAL,
'The standard deviation in length of stay in the ICU for those with TBI'
),
'prob_open_fracture_contaminated': Parameter(
Types.REAL,
'The probability that an open fracture will be contaminated'
),
'allowed_interventions': Parameter(
Types.LIST,
'List of additional interventions that can be included when performing model analysis'
),
'head_prob_112': Parameter(
Types.REAL,
"The probability that this person's head injury is a skull fracture"
),
'head_prob_113': Parameter(
Types.REAL,
"The probability that this person's head injury is a basilar skull fracture"
),
'head_prob_133a': Parameter(
Types.REAL,
"The probability that this person's head injury is a Subarachnoid hematoma"
),
'head_prob_133b': Parameter(
Types.REAL,
"The probability that this person's head injury is a Brain contusion"
),
'head_prob_133c': Parameter(
Types.REAL,
"The probability that this person's head injury is an Intraventricular haemorrhage"
),
'head_prob_133d': Parameter(
Types.REAL,
"The probability that this person's head injury is a Subgaleal hematoma"
),
'head_prob_134a': Parameter(
Types.REAL,
"The probability that this person's head injury is an Epidural hematoma"
),
'head_prob_134b': Parameter(
Types.REAL,
"The probability that this person's head injury is a Subdural hematoma"
),
'head_prob_135': Parameter(
Types.REAL,
"The probability that this person's head injury is a Diffuse axonal injury/midline shift"
),
'head_prob_1101': Parameter(
Types.REAL,
"The probability that this person's head injury is a laceration"
),
'head_prob_1114': Parameter(
Types.REAL,
"The probability that this person's head injury is a burn"
),
'face_prob_211': Parameter(
Types.REAL,
"The probability that this person's face injury is a Facial fracture (nasal/unspecified)"
),
'face_prob_212': Parameter(
Types.REAL,
"The probability that this person's face injury is a Facial fracture (mandible/zygomatic)"
),
'face_prob_241': Parameter(
Types.REAL,
"The probability that this person's face injury is a soft tissue injury"
),
'face_prob_2101': Parameter(
Types.REAL,
"The probability that this person's face injury is a laceration"
),
'face_prob_2114': Parameter(
Types.REAL,
"The probability that this person's face injury is a burn"
),
'face_prob_291': Parameter(
Types.REAL,
"The probability that this person's face injury is an eye injury"
),
'neck_prob_3101': Parameter(
Types.REAL,
"The probability that this person's neck injury is a laceration"
),
'neck_prob_3113': Parameter(
Types.REAL,
"The probability that this person's neck injury is a burn"
),
'neck_prob_342': Parameter(
Types.REAL,
"The probability that this person's neck injury is a Soft tissue injury in neck (vertebral artery "
"laceration)"
),
'neck_prob_343': Parameter(
Types.REAL,
"The probability that this person's neck injury is a Soft tissue injury in neck (pharynx contusion)"
),
'neck_prob_361': Parameter(
Types.REAL,
"The probability that this person's neck injury is a Sternomastoid m. hemorrhage/ Hemorrhage, "
"supraclavicular triangle/Hemorrhage, posterior triangle/Anterior vertebral vessel hemorrhage/ Neck muscle "
"hemorrhage"
),
'neck_prob_363': Parameter(
Types.REAL,
"The probability that this person's neck injury is a Hematoma in carotid sheath/Carotid sheath hemorrhage"
),
'neck_prob_322': Parameter(
Types.REAL,
"The probability that this person's neck injury is an Atlanto-occipital subluxation"
),
'neck_prob_323': Parameter(
Types.REAL,
"The probability that this person's neck injury is an Atlanto-axial subluxation"
),
'thorax_prob_4101': Parameter(
Types.REAL,
"The probability that this person's thorax injury is a laceration"
),
'thorax_prob_4113': Parameter(
Types.REAL,
"The probability that this person's thorax injury is a burn"
),
'thorax_prob_461': Parameter(
Types.REAL,
"The probability that this person's thorax injury is Chest wall bruises/haematoma"
),
'thorax_prob_463': Parameter(
Types.REAL,
"The probability that this person's thorax injury is Haemothorax"
),
'thorax_prob_453a': Parameter(
Types.REAL,
"The probability that this person's thorax injury is a Lung contusion"
),
'thorax_prob_453b': Parameter(
Types.REAL,
"The probability that this person's thorax injury is a Diaphragm rupture"
),
'thorax_prob_412': Parameter(
Types.REAL,
"The probability that this person's thorax injury is a rib fracture"
),
'thorax_prob_414': Parameter(
Types.REAL,
"The probability that this person's thorax injury is flail chest"
),
'thorax_prob_441': Parameter(
Types.REAL,
"The probability that this person's thorax injury is a Chest wall lacerations/avulsions"
),
'thorax_prob_442': Parameter(
Types.REAL,
"The probability that this person's thorax injury is a Surgical emphysema"
),
'thorax_prob_443': Parameter(
Types.REAL,
"The probability that this person's thorax injury is a Closed pneumothorax/ open pneumothorax"
),
'abdomen_prob_5101': Parameter(
Types.REAL,
"The probability that this person's abdomen injury is a laceration"
),
'abdomen_prob_5113': Parameter(
Types.REAL,
"The probability that this person's thorax injury is a burn"
),
'abdomen_prob_552': Parameter(
Types.REAL,
"The probability that this person's thorax injury is a skull fracture"
),
'abdomen_prob_553': Parameter(
Types.REAL,
"The probability that this person's thorax injury is an Injury to stomach/intestines/colon"
),
'abdomen_prob_554': Parameter(
Types.REAL,
"The probability that this person's thorax injury is an Injury to spleen/Urinary bladder/Liver/Urethra/"
"Diaphragm"
),
'spine_prob_612': Parameter(
Types.REAL,
"The probability that this person's spine injury is a vertabrae fracture"
),
'spine_prob_673a': Parameter(
Types.REAL,
"The probability that this person's spine injury is a Spinal cord injury at neck level"
),
'spine_prob_673b': Parameter(
Types.REAL,
"The probability that this person's spine injury is a Spinal cord injury below neck level"
),
'spine_prob_674a': Parameter(
Types.REAL,
"The probability that this person's spine injury is a Spinal cord injury at neck level"
),
'spine_prob_674b': Parameter(
Types.REAL,
"The probability that this person's spine injury is a Spinal cord injury below neck level"
),
'spine_prob_675a': Parameter(
Types.REAL,
"The probability that this person's spine injury is a Spinal cord injury at neck level"
),
'spine_prob_675b': Parameter(
Types.REAL,
"The probability that this person's spine injury is a Spinal cord injury below neck level"
),
'spine_prob_676': Parameter(
Types.REAL,
"The probability that this person's spine injury is a Spinal cord injury at neck level"
),
'upper_ex_prob_7101': Parameter(
Types.REAL,
"The probability that this person's upper extremity injury is a laceration"
),
'upper_ex_prob_7113': Parameter(
Types.REAL,
"The probability that this person's upper extremity injury is a burn"
),
'upper_ex_prob_712a': Parameter(
Types.REAL,
"The probability that this person's upper extremity injury is a Fracture to Clavicle, scapula, humerus"
),
'upper_ex_prob_712b': Parameter(
Types.REAL,
"The probability that this person's upper extremity injury is a Fracture to Hand/wrist"
),
'upper_ex_prob_712c': Parameter(
Types.REAL,
"The probability that this person's upper extremity injury is a Fracture to Radius/ulna"
),
'upper_ex_prob_722': Parameter(
Types.REAL,
"The probability that this person's upper extremity injury is a dislocated shoulder"
),
'upper_ex_prob_782a': Parameter(
Types.REAL,
"The probability that this person's upper extremity injury is an Amputated finger"
),
'upper_ex_prob_782b': Parameter(
Types.REAL,
"The probability that this person's upper extremity injury is a Unilateral arm amputation"
),
'upper_ex_prob_782c': Parameter(
Types.REAL,
"The probability that this person's upper extremity injury is a Thumb amputation"
),
'upper_ex_prob_783': Parameter(
Types.REAL,
"The probability that this person's upper extremity injury is a bilateral arm amputation"
),
'lower_ex_prob_8101': Parameter(
Types.REAL,
"The probability that this person's lower extremity injury is a laceration"
),
'lower_ex_prob_8113': Parameter(
Types.REAL,
"The probability that this person's lower extremity injury is a burn"
),
'lower_ex_prob_811': Parameter(
Types.REAL,
"The probability that this person's lower extremity injury is a foot fracture"
),
'lower_ex_prob_813do': Parameter(
Types.REAL,
"The probability that this person's lower extremity injury is an open foot fracture"
),
'lower_ex_prob_812': Parameter(
Types.REAL,
"The probability that this person's lower extremity injury is a Fracture to patella, tibia, fibula, ankle"
),
'lower_ex_prob_813eo': Parameter(
Types.REAL,
"The probability that this person's lower extremity injury is an open Fracture to patella, tibia, fibula, "
"ankle"
),
'lower_ex_prob_813a': Parameter(
Types.REAL,
"The probability that this person's lower extremity injury is a Hip fracture"
),
'lower_ex_prob_813b': Parameter(
Types.REAL,
"The probability that this person's lower extremity injury is a Pelvis fracture"
),
'lower_ex_prob_813bo': Parameter(
Types.REAL,
"The probability that this person's lower extremity injury is an open Pelvis fracture"
),
'lower_ex_prob_813c': Parameter(
Types.REAL,
"The probability that this person's lower extremity injury is a Femur fracture"
),
'lower_ex_prob_813co': Parameter(
Types.REAL,
"The probability that this person's lower extremity injury is an open Femur fracture"
),
'lower_ex_prob_822a': Parameter(
Types.REAL,
"The probability that this person's lower extremity injury is a Dislocated hip"
),
'lower_ex_prob_822b': Parameter(
Types.REAL,
"The probability that this person's lower extremity injury is a Dislocated knee"
),
'lower_ex_prob_882': Parameter(
Types.REAL,
"The probability that this person's lower extremity injury is an Amputation of toes"
),
'lower_ex_prob_883': Parameter(
Types.REAL,