nci-cidc-api-modules 1.2.18__py3-none-any.whl → 1.2.25__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. cidc_api/models/__init__.py +2 -0
  2. cidc_api/models/data.py +15 -0
  3. cidc_api/models/db/base_orm.py +25 -0
  4. cidc_api/models/db/stage2/__init__.py +78 -0
  5. cidc_api/models/db/stage2/additional_treatment_orm.py +22 -0
  6. cidc_api/models/db/stage2/administrative_person_orm.py +25 -0
  7. cidc_api/models/db/stage2/administrative_role_assignment_orm.py +28 -0
  8. cidc_api/models/db/stage2/adverse_event_orm.py +47 -0
  9. cidc_api/models/db/stage2/arm_orm.py +23 -0
  10. cidc_api/models/db/stage2/baseline_clinical_assessment_orm.py +23 -0
  11. cidc_api/models/db/stage2/cohort_orm.py +23 -0
  12. cidc_api/models/db/stage2/comorbidity_orm.py +24 -0
  13. cidc_api/models/db/stage2/consent_group_orm.py +31 -0
  14. cidc_api/models/db/stage2/contact_orm.py +32 -0
  15. cidc_api/models/db/stage2/demographic_orm.py +44 -0
  16. cidc_api/models/db/stage2/disease_orm.py +53 -0
  17. cidc_api/models/db/stage2/exposure_orm.py +21 -0
  18. cidc_api/models/db/stage2/file_orm.py +38 -0
  19. cidc_api/models/db/stage2/gvhd_diagnosis_acute_orm.py +33 -0
  20. cidc_api/models/db/stage2/gvhd_diagnosis_chronic_orm.py +37 -0
  21. cidc_api/models/db/stage2/gvhd_organ_acute_orm.py +20 -0
  22. cidc_api/models/db/stage2/gvhd_organ_chronic_orm.py +20 -0
  23. cidc_api/models/db/stage2/institution_orm.py +33 -0
  24. cidc_api/models/db/stage2/medical_history_orm.py +29 -0
  25. cidc_api/models/db/stage2/other_clinical_endpoint_orm.py +28 -0
  26. cidc_api/models/db/stage2/other_malignancy_orm.py +30 -0
  27. cidc_api/models/db/stage2/participant_orm.py +79 -0
  28. cidc_api/models/db/stage2/prior_treatment_orm.py +28 -0
  29. cidc_api/models/db/stage2/publication_orm.py +31 -0
  30. cidc_api/models/db/stage2/radiotherapy_dose_orm.py +39 -0
  31. cidc_api/models/db/stage2/response_by_system_orm.py +28 -0
  32. cidc_api/models/db/stage2/response_orm.py +27 -0
  33. cidc_api/models/db/stage2/shipment_orm.py +47 -0
  34. cidc_api/models/db/stage2/shipment_specimen_orm.py +24 -0
  35. cidc_api/models/db/stage2/specimen_orm.py +100 -0
  36. cidc_api/models/db/stage2/stem_cell_transplant_orm.py +25 -0
  37. cidc_api/models/db/stage2/surgery_orm.py +27 -0
  38. cidc_api/models/db/stage2/therapy_agent_dose_orm.py +31 -0
  39. cidc_api/models/db/stage2/treatment_orm.py +39 -0
  40. cidc_api/models/db/stage2/trial_orm.py +60 -0
  41. cidc_api/models/files/facets.py +5 -0
  42. cidc_api/models/migrations.py +12 -39
  43. cidc_api/models/models.py +12 -0
  44. cidc_api/models/pydantic/stage2/__init__.py +78 -0
  45. cidc_api/models/pydantic/stage2/additional_treatment.py +23 -0
  46. cidc_api/models/pydantic/stage2/administrative_person.py +30 -0
  47. cidc_api/models/pydantic/stage2/administrative_role_assignment.py +16 -0
  48. cidc_api/models/pydantic/stage2/adverse_event.py +100 -0
  49. cidc_api/models/pydantic/stage2/arm.py +16 -0
  50. cidc_api/models/pydantic/stage2/base.py +30 -0
  51. cidc_api/models/pydantic/stage2/baseline_clinical_assessment.py +23 -0
  52. cidc_api/models/pydantic/stage2/cohort.py +16 -0
  53. cidc_api/models/pydantic/stage2/comorbidity.py +36 -0
  54. cidc_api/models/pydantic/stage2/consent_group.py +30 -0
  55. cidc_api/models/pydantic/stage2/contact.py +35 -0
  56. cidc_api/models/pydantic/stage2/demographic.py +114 -0
  57. cidc_api/models/pydantic/stage2/disease.py +144 -0
  58. cidc_api/models/pydantic/stage2/exposure.py +32 -0
  59. cidc_api/models/pydantic/stage2/file.py +44 -0
  60. cidc_api/models/pydantic/stage2/gvhd_diagnosis_acute.py +33 -0
  61. cidc_api/models/pydantic/stage2/gvhd_diagnosis_chronic.py +32 -0
  62. cidc_api/models/pydantic/stage2/gvhd_organ_acute.py +22 -0
  63. cidc_api/models/pydantic/stage2/gvhd_organ_chronic.py +23 -0
  64. cidc_api/models/pydantic/stage2/institution.py +10 -0
  65. cidc_api/models/pydantic/stage2/medical_history.py +36 -0
  66. cidc_api/models/pydantic/stage2/other_clinical_endpoint.py +32 -0
  67. cidc_api/models/pydantic/stage2/other_malignancy.py +45 -0
  68. cidc_api/models/pydantic/stage2/participant.py +47 -0
  69. cidc_api/models/pydantic/stage2/prior_treatment.py +52 -0
  70. cidc_api/models/pydantic/stage2/publication.py +37 -0
  71. cidc_api/models/pydantic/stage2/radiotherapy_dose.py +79 -0
  72. cidc_api/models/pydantic/stage2/response.py +71 -0
  73. cidc_api/models/pydantic/stage2/response_by_system.py +109 -0
  74. cidc_api/models/pydantic/stage2/shipment.py +48 -0
  75. cidc_api/models/pydantic/stage2/shipment_specimen.py +15 -0
  76. cidc_api/models/pydantic/stage2/specimen.py +211 -0
  77. cidc_api/models/pydantic/stage2/stem_cell_transplant.py +35 -0
  78. cidc_api/models/pydantic/stage2/surgery.py +49 -0
  79. cidc_api/models/pydantic/stage2/therapy_agent_dose.py +67 -0
  80. cidc_api/models/pydantic/stage2/treatment.py +50 -0
  81. cidc_api/models/pydantic/stage2/trial.py +85 -0
  82. cidc_api/models/types.py +1439 -0
  83. cidc_api/shared/utils.py +4 -1
  84. {nci_cidc_api_modules-1.2.18.dist-info → nci_cidc_api_modules-1.2.25.dist-info}/METADATA +6 -4
  85. nci_cidc_api_modules-1.2.25.dist-info/RECORD +104 -0
  86. nci_cidc_api_modules-1.2.18.dist-info/RECORD +0 -26
  87. {nci_cidc_api_modules-1.2.18.dist-info → nci_cidc_api_modules-1.2.25.dist-info}/WHEEL +0 -0
  88. {nci_cidc_api_modules-1.2.18.dist-info → nci_cidc_api_modules-1.2.25.dist-info}/licenses/LICENSE +0 -0
  89. {nci_cidc_api_modules-1.2.18.dist-info → nci_cidc_api_modules-1.2.25.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,1439 @@
1
+ from typing import Annotated, Literal
2
+
3
+ from pydantic import AfterValidator
4
+ from sqlalchemy.types import TypeDecorator, Unicode
5
+
6
+ from cidc_api.reference.icdo3 import is_ICDO3_code, is_ICDO3_term
7
+ from cidc_api.reference.uberon import is_uberon_term
8
+ from cidc_api.reference.ctcae import (
9
+ is_ctcae_event_term,
10
+ is_ctcae_event_code,
11
+ is_ctcae_severity_grade,
12
+ is_ctcae_system_organ_class,
13
+ )
14
+ from cidc_api.reference.icd10cm import (
15
+ is_ICD10CM_code,
16
+ is_ICD10CM_term,
17
+ )
18
+ from cidc_api.reference.gvhd import is_gvhd_organ
19
+
20
+ # As python Enums are rather cumbersome when we only want a list of permissible values for a string, use Literal instead
21
+
22
+
23
+ TrialOrganization = Literal[
24
+ "ECOG-ACRIN",
25
+ "SWOG",
26
+ "NRG",
27
+ "ETCTN",
28
+ ]
29
+
30
+
31
+ TrialFundingAgency = Literal[
32
+ "Broad Institute",
33
+ "Center for Biomedical Informatics and Information Technology",
34
+ "Center for Inherited Disease Research",
35
+ "Department of Defense",
36
+ "Division of Cancer Control and Population Sciences",
37
+ "Evelyn H. Lauder Founder’s Fund for Metastatic Breast Cancer Research",
38
+ "Food and Drug Administration",
39
+ "Foundation Medicine Inc",
40
+ "Georgetown Lombardi Comprehensive Cancer Center",
41
+ "Knight Cancer Institute",
42
+ "Leukemia and Lymphoma Society",
43
+ "Multiple Myeloma Research Foundation",
44
+ "National Cancer Institute",
45
+ "National Clinical Trials Network",
46
+ "National Institutes of Health",
47
+ "National Library of Medicine",
48
+ "NCI Center for Cancer Research",
49
+ "Proteogenomic Translational Research Centers",
50
+ "Purdue University Center for Cancer Research",
51
+ "Transplant Recipients International Organization",
52
+ "UNC Lineberger Comprehensive Cancer Center",
53
+ ]
54
+
55
+
56
+ TrialStatus = Literal[
57
+ "Active Study",
58
+ "Completed Study",
59
+ "Provisional Study",
60
+ ]
61
+
62
+
63
+ AssayType = Literal[
64
+ "Olink",
65
+ "WES",
66
+ "BD Rhapsody",
67
+ "GeoMx",
68
+ "RNAseq",
69
+ "IHC",
70
+ "CyTOF",
71
+ "H&E",
72
+ "ELISA",
73
+ "EVP",
74
+ "mIF",
75
+ "mIHC",
76
+ "MALDI Glycan",
77
+ "TCRseq",
78
+ "ATACseq",
79
+ "ctDNA",
80
+ "Microbiome",
81
+ "Nanostring",
82
+ "NULISA",
83
+ "MIBI",
84
+ "scRNAseq",
85
+ "snRNA-Seq",
86
+ "Visium",
87
+ "Olink HT",
88
+ ]
89
+
90
+
91
+ AdministrativeRole = Literal[
92
+ "Principal Investigator",
93
+ "Contact",
94
+ "Staff",
95
+ ]
96
+
97
+
98
+ Sex = Literal[
99
+ "Male",
100
+ "Female",
101
+ "Unknown",
102
+ ]
103
+
104
+
105
+ AgeAtEnrollmentUnits = Literal["Days", "Years"]
106
+
107
+
108
+ Race = Literal[
109
+ "American Indian or Alaska Native",
110
+ "Asian",
111
+ "Black or African American",
112
+ "Native Hawaiian or other Pacific Islander",
113
+ "Not allowed to collect",
114
+ "Not Reported",
115
+ "Unknown",
116
+ "White",
117
+ ]
118
+
119
+
120
+ Ethnicity = Literal[
121
+ "Hispanic or Latino",
122
+ "Not allowed to collect",
123
+ "Not Hispanic or Latino",
124
+ "Not reported",
125
+ "Unknown",
126
+ ]
127
+
128
+
129
+ HeightUnits = Literal[
130
+ "ft",
131
+ "in",
132
+ "m",
133
+ "cm",
134
+ ]
135
+
136
+
137
+ WeightUnits = Literal[
138
+ "lb",
139
+ "g",
140
+ "kg",
141
+ ]
142
+
143
+
144
+ BodySurfaceAreaUnits = Literal[
145
+ "ft2",
146
+ "in2",
147
+ "m2",
148
+ "cm2",
149
+ ]
150
+
151
+
152
+ Occupation = Literal[
153
+ "Armed Forces Occupations",
154
+ "Clerical support workers",
155
+ "Craft and Related Trades Worker",
156
+ "Elementary Occupation",
157
+ "Manager",
158
+ "Other",
159
+ "Plant and Machine Operators and Assemblers",
160
+ "Professional",
161
+ "Service and Sales Workers",
162
+ "Skilled Agricultural, Forestry, and Fishery Workers",
163
+ "Technicians and Associate Professionals",
164
+ ]
165
+
166
+
167
+ Education = Literal[
168
+ "Bachelor's Degree",
169
+ "Choose not to disclose",
170
+ "Data not available",
171
+ "Doctoral degree or professional degree",
172
+ "Grade School",
173
+ "Graduate or professional degree",
174
+ "High school graduate (including equivalency)",
175
+ "Master's Degree",
176
+ "No formal education",
177
+ "Not Applicable",
178
+ "Not high school graduate",
179
+ "Some college or associate degree",
180
+ "Some training after high school",
181
+ ]
182
+
183
+
184
+ OffStudyReason = Literal[
185
+ "Completion of Follow-Up",
186
+ "Completion of Planned Therapy",
187
+ "Death",
188
+ "Disease Progression",
189
+ "Failure to Attain Remission",
190
+ "Ineligible",
191
+ "Lost to Follow-Up",
192
+ "Not Reported",
193
+ "Other",
194
+ "Physician Decision",
195
+ "Relapse",
196
+ "Secondary Malignancy",
197
+ "Study Discontinuation",
198
+ "Subject Non-Compliance",
199
+ "Subject/Guardian Refused Further Treatment",
200
+ "Toxicity",
201
+ "Unknown",
202
+ "Withdrawal of Consent",
203
+ ]
204
+
205
+
206
+ ChecksumType = Literal["md5",]
207
+
208
+
209
+ FileFormat = Literal[
210
+ "CSV",
211
+ "DOC",
212
+ "DOCX",
213
+ "TSV",
214
+ "TXT",
215
+ "XLS",
216
+ "XLSX",
217
+ ]
218
+
219
+
220
+ PrimaryDiagnosisDiseaseGroup = Literal[
221
+ "Ovarian epithelial cancer",
222
+ "Esophageal cancer, NOS",
223
+ "Primary peritoneal carcinoma",
224
+ "Gastric cancer, NOS",
225
+ "Fallopian tube carcinoma",
226
+ "Invasive breast carcinoma",
227
+ "Small cell lung cancer",
228
+ "Prostate cancer, NOS",
229
+ "Non-small cell lung cancer, NOS",
230
+ "Myeloma, NOS",
231
+ "Melanoma",
232
+ "Adenocarcinoma of the gastroesophageal junction",
233
+ "Acute myeloid leukemia, NOS",
234
+ "Colorectal cancer, NOS",
235
+ ]
236
+
237
+
238
+ TumorGrade = Literal[
239
+ "G1 Low Grade",
240
+ "G2 Intermediate Grade",
241
+ "G3 High Grade",
242
+ "G4 Anaplastic",
243
+ "GB Borderline",
244
+ "GX Grade Cannot Be Assessed",
245
+ "Not Applicable",
246
+ "Not Reported",
247
+ "Unknown",
248
+ ]
249
+
250
+ CancerStageSystem = Literal[
251
+ "AJCC",
252
+ "R-ISS",
253
+ "FIGO",
254
+ "Not Applicable",
255
+ ]
256
+
257
+
258
+ CancerStageSystemVersionAJCC = Literal["8",]
259
+
260
+ CancerStageSystemVersionRISS = Literal["2"]
261
+
262
+
263
+ CancerStageSystemVersionFIGO = Literal["2021"]
264
+
265
+ CancerStageSystemVersion = CancerStageSystemVersionAJCC | CancerStageSystemVersionFIGO | CancerStageSystemVersionRISS
266
+
267
+ CancerStageAJCC = Literal[
268
+ "Stage 0",
269
+ "Stage 0a",
270
+ "Stage 0is",
271
+ "Stage I",
272
+ "Stage IA",
273
+ "Stage IA1",
274
+ "Stage IA2",
275
+ "Stage IA3",
276
+ "Stage IB",
277
+ "Stage IB1",
278
+ "Stage IB2",
279
+ "Stage II",
280
+ "Stage IIA",
281
+ "Stage IIA1",
282
+ "Stage IIA2",
283
+ "Stage IIB",
284
+ "Stage IIC",
285
+ "Stage III",
286
+ "Stage IIIA",
287
+ "Stage IIIB",
288
+ "Stage IIIC",
289
+ "Stage IS",
290
+ "Stage IV",
291
+ "Stage IVA",
292
+ "Stage IVB",
293
+ "Stage IVC",
294
+ "Stage occult carcinoma",
295
+ ]
296
+
297
+
298
+ CancerStageFIGO = Literal[
299
+ "value",
300
+ "Stage I",
301
+ "Stage IA",
302
+ "Stage IA1",
303
+ "Stage IA2",
304
+ "Stage IA3",
305
+ "Stage IB",
306
+ "Stage IC",
307
+ "Stage II",
308
+ "Stage IIA",
309
+ "Stage IIB",
310
+ "Stage IIC",
311
+ "Stage III",
312
+ "Stage IIIA",
313
+ "Stage IIIA1",
314
+ "Stage IIIA2",
315
+ "Stage IIIB",
316
+ "Stage IIIB1",
317
+ "Stage IIIB2",
318
+ "Stage IIIC",
319
+ "Stage IIIC1",
320
+ "Stage IIIC1i",
321
+ "Stage IIIC1ii",
322
+ "Stage IIIC2",
323
+ "Stage IIIC2i",
324
+ "Stage IIIC2ii",
325
+ "Stage IV",
326
+ "Stage IVA",
327
+ "Stage IVB",
328
+ "Stage IVC",
329
+ "Stage IB1",
330
+ "Stage IB2",
331
+ "Stage IB3",
332
+ "Stage IIA1",
333
+ "Stage IIA2",
334
+ "Stage IC1",
335
+ "Stage IC2",
336
+ "Stage IC3",
337
+ "Stage IIIA1(i)",
338
+ "Stage IIIA1(ii)",
339
+ ]
340
+
341
+
342
+ CancerStageRISS = Literal["Stage I"] # TODO
343
+
344
+ CancerStage = CancerStageAJCC | CancerStageFIGO | CancerStageRISS
345
+
346
+
347
+ TCategory = Literal[
348
+ "cT0",
349
+ "cT4",
350
+ "cTis",
351
+ "cTX",
352
+ "pT2a",
353
+ "pT2b",
354
+ "pT3a",
355
+ "pT3b",
356
+ "T0",
357
+ "T1",
358
+ "T1a",
359
+ "T1a1",
360
+ "T1a2",
361
+ "T1b",
362
+ "T1b1",
363
+ "T1b2",
364
+ "T1c",
365
+ "T1d",
366
+ "T1mi",
367
+ "T2",
368
+ "T2a",
369
+ "T2a1",
370
+ "T2a2",
371
+ "T2b",
372
+ "T2c",
373
+ "T2d",
374
+ "T3",
375
+ "T3a",
376
+ "T3b",
377
+ "T3c",
378
+ "T3d",
379
+ "T4",
380
+ "T4a",
381
+ "T4b",
382
+ "T4c",
383
+ "T4d",
384
+ "T4e",
385
+ "Ta",
386
+ "Tis",
387
+ "Tis (DCIS)",
388
+ "Tis (Paget)",
389
+ "TX",
390
+ "Not Reported",
391
+ "Unknown",
392
+ ]
393
+
394
+
395
+ NCategory = Literal[
396
+ "cN0",
397
+ "cN1",
398
+ "cN1mi",
399
+ "cN2",
400
+ "cN2a",
401
+ "cN2b",
402
+ "cN3",
403
+ "cN3a",
404
+ "cN3b",
405
+ "cN3c",
406
+ "cNX",
407
+ "N0",
408
+ "N0(i+)",
409
+ "N0a",
410
+ "N0b",
411
+ "N1",
412
+ "N1a",
413
+ "N1b",
414
+ "N1c",
415
+ "N2",
416
+ "N2a",
417
+ "N2b",
418
+ "N2c",
419
+ "N3",
420
+ "N3a",
421
+ "N3b",
422
+ "N3c",
423
+ "NX",
424
+ "Not Reported",
425
+ "Unknown",
426
+ ]
427
+
428
+
429
+ MCategory = Literal[
430
+ "cM0",
431
+ "cM0(i+)",
432
+ "cM1",
433
+ "cM1a",
434
+ "cM1a(0)",
435
+ "cM1a(1)",
436
+ "cM1b",
437
+ "cM1b(0)",
438
+ "cM1b(1)",
439
+ "cM1c",
440
+ "cM1c(0)",
441
+ "cM1c(1)",
442
+ "cM1d",
443
+ "cM1d(0)",
444
+ "cM1d(1)",
445
+ "M0",
446
+ "M1",
447
+ "pM1",
448
+ "Not Reported",
449
+ "Unknown",
450
+ ]
451
+
452
+
453
+ YNU = Literal[
454
+ "Yes",
455
+ "No",
456
+ "Unknown",
457
+ ]
458
+
459
+
460
+ YNUNA = Literal[
461
+ "Yes",
462
+ "No",
463
+ "Unknown",
464
+ "Not Applicable",
465
+ ]
466
+
467
+
468
+ UberonAnatomicalTerm = Annotated[str, AfterValidator(is_uberon_term)]
469
+ ICDO3MorphologicalCode = Annotated[str, AfterValidator(is_ICDO3_code)]
470
+ ICDO3MorphologicalTerm = Annotated[str, AfterValidator(is_ICDO3_term)]
471
+
472
+
473
+ SurvivalStatus = Literal[
474
+ "Alive",
475
+ "Dead",
476
+ "Unknown",
477
+ ]
478
+
479
+
480
+ CauseOfDeath = Literal[
481
+ "Accidental death",
482
+ "Acute GVHD",
483
+ "Adult Respiratory Distress Syndrome (ARDS)",
484
+ "Adverse Event",
485
+ "APL Differentiation Syndrome",
486
+ "Aspiration Pneumonia",
487
+ "Bacterial infection",
488
+ "BCNU IP",
489
+ "Cancer Related",
490
+ "Cardiac Disease",
491
+ "Cardiac failure",
492
+ "Cardiopulmonary Arrest",
493
+ "Cardiovascular accident",
494
+ "Cardiovascular Disorder",
495
+ "Central nervous system(CNS) failure",
496
+ "Chronic GVHD",
497
+ "Chronic liver disease",
498
+ "Chronic Obstructive Pulmonary Disease",
499
+ "Congestive Heart Failure",
500
+ "Coronary artery disease (atherosclerosis)",
501
+ "Dementia (including Alzheimer's disease)",
502
+ "Diabetes Mellitus",
503
+ "Disseminated intravascular coagulation (DIC)",
504
+ "Drug Related",
505
+ "End-stage Renal Disease",
506
+ "Failure to Thrive",
507
+ "Fungal infection",
508
+ "Gastrointestinal (GI) failure (not liver)",
509
+ "Gastrointestinal hemorrhage",
510
+ "Graft rejection or failure",
511
+ "Graft Versus Host Disease",
512
+ "Hemorrhage",
513
+ "Hemorrhage, not otherwise specified",
514
+ "Hemorrhagic cystitis",
515
+ "Hepatitis",
516
+ "Herpes",
517
+ "HIV/AIDS",
518
+ "Immunotherapy-Related",
519
+ "Infection",
520
+ "Infection, NOS",
521
+ "Infection, organism not identified",
522
+ "Influenza",
523
+ "Interstitial Pneumonia (IP) NOS",
524
+ "Intracranial hemorrhage",
525
+ "IPS, idiopathic",
526
+ "IPS, viral, cytomegalovirus(CMV)",
527
+ "IPS, viral, other",
528
+ "Liver failure (not VOD)",
529
+ "Multiple Organ Failure",
530
+ "Myocardial infarction",
531
+ "Natural causes",
532
+ "Non-protocol cancer therapy",
533
+ "Not Cancer Related",
534
+ "Not Reported",
535
+ "Organ failure, not otherwise specified",
536
+ "Other cause",
537
+ "Parkinson's Disease",
538
+ "Persistence or recurrence of underlying disease",
539
+ "Pneumonia NOS",
540
+ "Prior malignancy",
541
+ "Protozoal infection",
542
+ "Pulmonary Disease",
543
+ "Pulmonary Embolism",
544
+ "Pulmonary failure",
545
+ "Pulmonary hemorrhage",
546
+ "Radiation IP",
547
+ "Recurrence/persistence/progression of disease reported for first HSCT",
548
+ "Renal Disorder, NOS",
549
+ "Renal failure",
550
+ "Respiratory failure",
551
+ "Sepsis",
552
+ "Sinusoidal Obstruction Syndrome",
553
+ "Spinal Muscular Atrophy",
554
+ "Suicide",
555
+ "Surgical Complication",
556
+ "Thromboembolic",
557
+ "Thrombosis",
558
+ "Thrombotic thrombocytopenic purpura (HUS/TTP)",
559
+ "Toxicity",
560
+ "Unacceptable Toxicity",
561
+ "Unclassified infection / Infection NOS",
562
+ "Unknown",
563
+ "Vascular, not otherwise specified",
564
+ "Veno-occlusive disease (VOD) / sinusodial obstruction syndrome (SOS)",
565
+ "Viral infection",
566
+ "VOD",
567
+ ]
568
+
569
+
570
+ ResponseSystem = Literal[
571
+ "RECIST",
572
+ "iRECIST",
573
+ ]
574
+
575
+
576
+ ResponseSystemVersionRecist = Literal["1.1"]
577
+ ResponseSystemVersionIrecist = Literal["10.1016/S1470-2045(17)30074-8"] # DOI version
578
+ ResponseSystemVersion = ResponseSystemVersionRecist | ResponseSystemVersionIrecist
579
+
580
+ BestOverallResponseRecist = Literal[
581
+ "Complete Response", "Partial Response", "Progressive Disease", "Stable Disease", "Not available", "Not assessed"
582
+ ]
583
+ BestOverallResponseIrecist = Literal[
584
+ "immune Complete Response",
585
+ "immune Partial Response",
586
+ "immune Stable Disease",
587
+ "immune Unconfirmed Progressive Disease",
588
+ "immune Confirmed Progressive Disease",
589
+ "Not available",
590
+ "Not assessed",
591
+ ]
592
+ BestOverallResponse = BestOverallResponseRecist | BestOverallResponseIrecist
593
+
594
+
595
+ SpecimenType = Literal[
596
+ "BAL Cells",
597
+ "BAL Cell Supernatant",
598
+ "BAL Fluid",
599
+ "BMMC",
600
+ "BMMC Supernatant",
601
+ "Bone Marrow Aspirate",
602
+ "Bone Marrow Core",
603
+ "Bone Marrow Film",
604
+ "Buccal Cells",
605
+ "Buffy Coat",
606
+ "CAR-T Cells",
607
+ "cfDNA",
608
+ "CSF",
609
+ "CSF Cells",
610
+ "CSF Cell Supernatant",
611
+ "CTC Cells",
612
+ "CTC Cell Supernatant",
613
+ "ctDNA",
614
+ "Cytospin Film",
615
+ "DNA",
616
+ "FFPE Block",
617
+ "FFPE Block Punch",
618
+ "FFPE Section",
619
+ "FFPE Tissue Core",
620
+ "FFPE Tissue Curl",
621
+ "FFPE Tissue Scroll",
622
+ "Fine Needle Aspirate",
623
+ "Fixed Tissue Slide",
624
+ "Formalin Fixed Tissue",
625
+ "Fresh Tissue",
626
+ "Fresh Tissue Core",
627
+ "Frozen Tissue",
628
+ "Frozen Tissue Block",
629
+ "Frozen Tissue Curl",
630
+ "Frozen Tissue Core",
631
+ "Frozen Tissue Section",
632
+ "Germline DNA",
633
+ "Germline Nucleic Acid",
634
+ "Germline RNA",
635
+ "H&E Fixed Tissue Slide",
636
+ "Leukapheresis Cells",
637
+ "Lymph Node Tissue",
638
+ "Nucleic Acid",
639
+ "OCT Frozen Tissue",
640
+ "OCT Frozen Tissue Block",
641
+ "OCT Frozen Tissue Core",
642
+ "OCT Frozen Tissue Curl",
643
+ "OCT Frozen Tissue Section",
644
+ "PBMC",
645
+ "PBMC Supernatant",
646
+ "PBSC",
647
+ "PBSC Supernatant",
648
+ "Peptides",
649
+ "Pericardial Fluid",
650
+ "Peritoneal Cells",
651
+ "Peritoneal Cell Supernatant",
652
+ "Peritoneal Fluid",
653
+ "Peritoneal Lavage Fluid",
654
+ "Plasma",
655
+ "Pleural Cells",
656
+ "Pleural Cell Supernatant",
657
+ "Pleural Fluid",
658
+ "Protein Lysate",
659
+ "RNA",
660
+ "Saliva",
661
+ "Serum",
662
+ "Skin Tissue",
663
+ "Stool",
664
+ "Synovial Fluid",
665
+ "Tissue Core",
666
+ "Urine",
667
+ "WBC",
668
+ "Whole Blood",
669
+ "Whole Blood Film",
670
+ "Other",
671
+ ]
672
+
673
+
674
+ SpecimenDescription = Literal["Tumor", "Normal"]
675
+
676
+
677
+ TumorType = Literal["Metastatic Tumor", "Primary Tumor", "Not Reported"]
678
+
679
+
680
+ CollectionProcedure = Literal[
681
+ "Fine Needle Aspiration",
682
+ "Phlebotomy",
683
+ "Bone Marrow Aspiration",
684
+ "Bone Marrow Core Biopsy",
685
+ "Core Biopsy",
686
+ "Endoscopic Biopsy",
687
+ "Surgical Excision",
688
+ "Fine Needle Aspiration",
689
+ "Lumbar Puncture",
690
+ "FFPE Block Punch Biopsy",
691
+ "Skin Biopsy",
692
+ "Apheresis",
693
+ "Bone Biopsy",
694
+ "Bronchoalveolar Lavage",
695
+ "Buccal Swab",
696
+ "Leukapheresis",
697
+ "Mid Stream Urine Collection",
698
+ "Peritoneal Lavage",
699
+ "Peritoneal Paracentesis",
700
+ "Pleural Thoracentesis",
701
+ "Saliva Collection",
702
+ "Stool Collection",
703
+ "Surgical Incision",
704
+ "Urine Voiding",
705
+ "Not Reported",
706
+ "Other",
707
+ ]
708
+
709
+
710
+ FixationStabilizationType = Literal[
711
+ "Ficoll",
712
+ "Formalin Fixation",
713
+ "Formalin-Fixed Paraffin-Embedded (FFPE)",
714
+ "Frozen",
715
+ "70% Ethanol",
716
+ "H&E",
717
+ "Liquid Nitrogen (Frozen)",
718
+ "OCT (Frozen)",
719
+ "Proteomic Stabilization",
720
+ "Thaw-Lyse",
721
+ "Not Reported",
722
+ "Other",
723
+ ]
724
+
725
+
726
+ PrimaryContainerType = Literal[
727
+ "ACD-A Tube",
728
+ "ACD-B Tube",
729
+ "Bag",
730
+ "Box",
731
+ "CellSave Tube",
732
+ "Conical Tube",
733
+ "Container",
734
+ "CPT Citrate Tube",
735
+ "CPT Heparin Tube",
736
+ "Cryovial",
737
+ "EDTA Tube",
738
+ "Fecal Collection Container with NA Stabilizer",
739
+ "FFPE Tissue Cassette",
740
+ "Formalin Jar",
741
+ "Lithium Heparin Tube",
742
+ "OMNIgene",
743
+ "OMNImet",
744
+ "PAXgene DNA Tube",
745
+ "PAXgene RNA Tube",
746
+ "Plain Red Top Tube",
747
+ "PPT Tube",
748
+ "Saliva Tube",
749
+ "Screw Top Jar",
750
+ "Slide",
751
+ "Slide Cassette",
752
+ "Smart Tube",
753
+ "Sodium Citrate Tube",
754
+ "Sodium Heparin Tube",
755
+ "SST Tube",
756
+ "Streck Tube",
757
+ "Other",
758
+ ]
759
+
760
+
761
+ VolumeUnits = Literal[
762
+ "Microliters",
763
+ "Milliliters",
764
+ "Not Reported",
765
+ "Other",
766
+ ]
767
+
768
+
769
+ ProcessedType = Literal[
770
+ "BAL Cells",
771
+ "BAL Cell Supernatant",
772
+ "BMMC",
773
+ "BMMC Supernatant",
774
+ "Bone Marrow Film",
775
+ "Buccal Cells",
776
+ "Buffy Coat",
777
+ "cfDNA",
778
+ "CSF Cell Supernatant",
779
+ "CSF Cells",
780
+ "CTC Cell Supernatant",
781
+ "CTC Cells",
782
+ "ctDNA",
783
+ "DNA",
784
+ "FFPE Block",
785
+ "FFPE Block Punch",
786
+ "FFPE Section",
787
+ "FFPE Tissue Core",
788
+ "FFPE Tissue Curl",
789
+ "FFPE Tissue Scroll",
790
+ "Formalin Fixed Tissue",
791
+ "Germline DNA",
792
+ "Germline RNA",
793
+ "Leukapheresis Cells",
794
+ "Other",
795
+ "PBMC",
796
+ "PBMC Supernatant",
797
+ "PBSC",
798
+ "PBSC Supernatant",
799
+ "Peritoneal Cell Supernatant",
800
+ "Peritoneal Cells",
801
+ "Plasma",
802
+ "Pleural Cell Supernatant",
803
+ "Pleural Cells",
804
+ "RNA",
805
+ "Serum",
806
+ "Whole Blood Film",
807
+ "Protein Lysate",
808
+ "Peptides",
809
+ "Germline Nucleic Acid",
810
+ "Nucleic Acid",
811
+ "H&E Fixed Tissue Slide",
812
+ "Fixed Tissue Slide",
813
+ "WBC",
814
+ ]
815
+
816
+
817
+ ConcentrationUnits = Literal[
818
+ "Nanogram per Microliter",
819
+ "Milligram per Milliliter",
820
+ "Micrograms per Microliter",
821
+ "Cells per Vial",
822
+ "Not Reported",
823
+ "Other",
824
+ ]
825
+
826
+
827
+ DerivativeType = Literal[
828
+ "cfDNA",
829
+ "ctDNA",
830
+ "Germline DNA",
831
+ "Germline RNA",
832
+ "Other",
833
+ "Protein Lysate",
834
+ "Peptides",
835
+ "Tumor DNA",
836
+ "Tumor RNA",
837
+ "Stool DNA",
838
+ ]
839
+
840
+ PBMCRestingPeriodUsed = Literal[
841
+ "Yes",
842
+ "No",
843
+ "Not Reported",
844
+ "Other",
845
+ ]
846
+
847
+
848
+ MaterialUnits = Literal[
849
+ "Microliters",
850
+ "Milligrams",
851
+ "Milliliters",
852
+ "Nanogram per Microliter",
853
+ "Milligram per Milliliter",
854
+ "Micrograms per Microliter",
855
+ "Cells per Vial",
856
+ "Slides",
857
+ "Not Reported",
858
+ "Other",
859
+ ]
860
+
861
+
862
+ MaterialStorageCondition = Literal[
863
+ "Ambient",
864
+ "RT",
865
+ "4 Celsius Degree",
866
+ "-20 Degrees Celsius Or Minus 20 Degrees Celsius",
867
+ "-80 Degrees Celsius Or Minus 80 Degrees Celsius",
868
+ "-150 Degrees Celsius Or Minus 150 Degrees Celsius",
869
+ "LN",
870
+ "Dry Ice",
871
+ "Not Reported",
872
+ "Other",
873
+ ]
874
+
875
+
876
+ QCCondition = Literal[
877
+ "QC Pass",
878
+ "Pass at Risk",
879
+ "QC Failed",
880
+ "QC Lost",
881
+ "QC Not Shipped",
882
+ ]
883
+
884
+
885
+ ReplacementRequested = Literal[
886
+ "Replacement Not Requested", "Replacement Requested", "Replacement Tested", "Not Reported", "Other"
887
+ ]
888
+
889
+
890
+ ResidualUse = Literal[
891
+ "Sample Returned", "Sample Sent to Another Lab", "Sample received from CIMAC", "Not Reported", "Other"
892
+ ]
893
+
894
+
895
+ DiagnosisVerification = Literal[
896
+ "Local pathology review was not consistent",
897
+ "Local pathology review was consistent with site of tissue procurement diagnostic pathology report",
898
+ "Not Available",
899
+ "Not Reported",
900
+ "Other",
901
+ ]
902
+
903
+
904
+ AssayPriority = Literal[
905
+ "1",
906
+ "2",
907
+ "3",
908
+ "4",
909
+ "5",
910
+ "6",
911
+ "7",
912
+ "8",
913
+ "9",
914
+ "10",
915
+ "11",
916
+ "12",
917
+ "13",
918
+ "14",
919
+ "15",
920
+ "Not Reported",
921
+ "Other",
922
+ ]
923
+
924
+
925
+ Courier = Literal["FedEx", "USPS", "UPS", "Inter-Site Delivery", "DHL"]
926
+
927
+
928
+ ShipmentCondition = Literal["Frozen Dry Ice", "Frozen Shipper", "Ice/Cold Pack", "Ambient", "Not Reported", "Other"]
929
+
930
+ ShipmentQuality = Literal["Normal", "Damaged", "Leakage", "Opened"]
931
+
932
+
933
+ CTCAEEventTerm = Annotated[str, AfterValidator(is_ctcae_event_term)]
934
+ CTCAEEventCode = Annotated[str, AfterValidator(is_ctcae_event_code)]
935
+
936
+
937
+ SeverityGradeSystem = Literal["CTCAE"]
938
+ SeverityGradeSystemVersionCTCAE = Literal["5.0", "6.0"]
939
+ SeverityGradeSystemVersion = SeverityGradeSystemVersionCTCAE
940
+
941
+
942
+ SeverityGradeCTCAE = Annotated[str, AfterValidator(is_ctcae_severity_grade)]
943
+ SeverityGrade = SeverityGradeCTCAE
944
+
945
+
946
+ SystemOrganClassCTCAE = Annotated[str, AfterValidator(is_ctcae_system_organ_class)]
947
+ SystemOrganClass = SystemOrganClassCTCAE
948
+
949
+
950
+ AttributionCause = Literal["Protocol as a whole", "Individual treatment"]
951
+ AttributionLikelihood = Literal["Unrelated", "Unlikely", "Possible", "Probable", "Definite", "Unknown"]
952
+
953
+
954
+ ECOGScore = Literal["0", "1", "2", "3", "4", "5"]
955
+ KarnofskyScore = Literal["0", "10", "20", "30", "40", "50", "60", "70", "80", "90", "100"]
956
+
957
+
958
+ ExposureType = Literal[
959
+ "Asbestos Exposure",
960
+ "Chemical Exposure",
961
+ "Marijuana Smoke Exposure",
962
+ "Radiation Exposure",
963
+ "Radon Exposure",
964
+ "Respirable Crystalline Silica Exposure",
965
+ "Smoke Exposure",
966
+ "Smokeless Tobacco Exposure",
967
+ "Tobacco Related Exposure",
968
+ "Wood Dust Exposure",
969
+ ]
970
+
971
+
972
+ TobaccoSmokingStatus = Literal[
973
+ "Current smoker",
974
+ "Former Smoker",
975
+ "Never Smoker",
976
+ "Unknown",
977
+ "Not reported",
978
+ ]
979
+
980
+
981
+ MalignancyStatus = Literal[
982
+ "Active",
983
+ "Partial remission",
984
+ "Complete remission",
985
+ "Recurrent/Relapsed",
986
+ "Unknown",
987
+ ]
988
+
989
+
990
+ ICD10CMCode = Annotated[str, AfterValidator(is_ICD10CM_code)]
991
+ ICD10CMTerm = Annotated[str, AfterValidator(is_ICD10CM_term)]
992
+
993
+
994
+ GVHDDiagnosisAcuteAssessmentSystem = Literal[
995
+ "Modified Glucksberg",
996
+ "MAGIC",
997
+ ]
998
+
999
+ GVHDDiagnosisAcuteAssessmentSystemVersionModifiedGlucksberg = Literal["10.1038/s41409-018-0204-7"]
1000
+
1001
+ GVHDDiagnosisAcuteAssessmentSystemVersionMagic = Literal["10.1038/s41409-018-0204-7"]
1002
+ GVHDDiagnosisAcuteAssessmentSystemVersion = (
1003
+ GVHDDiagnosisAcuteAssessmentSystemVersionModifiedGlucksberg | GVHDDiagnosisAcuteAssessmentSystemVersionMagic
1004
+ )
1005
+
1006
+ GVHDDiagnosisAcuteGradeModifiedGlucksberg = Literal["0", "I", "II", "III", "IV"]
1007
+ GVHDDiagnosisAcuteGradeMagic = Literal["0", "I", "II", "III", "IV"]
1008
+ GVHDDiagnosisAcuteGrade = GVHDDiagnosisAcuteGradeModifiedGlucksberg | GVHDDiagnosisAcuteGradeMagic
1009
+
1010
+
1011
+ PreOrPostEnrollment = Literal["Pre-enrollment", "Post-enrollment"]
1012
+
1013
+
1014
+ GVHDOrgan = Annotated[str, AfterValidator(is_gvhd_organ)]
1015
+
1016
+ # They use the same stage PVs but we're explicit here to accommodate changes
1017
+ GVHDOrganAcuteStageModifiedGlucksberg = Literal["0", "1", "2", "3", "4"]
1018
+ GVHDOrganAcuteStageMagic = Literal["0", "1", "2", "3", "4"]
1019
+ GVHDOrganAcuteStage = GVHDOrganAcuteStageModifiedGlucksberg | GVHDOrganAcuteStageMagic
1020
+
1021
+
1022
+ GVHDDiagnosisChronicAssessmentSystem = Literal["NIH Consensus Criteria"]
1023
+ GVHDDiagnosisChronicAssessmentSystemVersion = Literal["10.1016/j.bbmt.2014.12.001"]
1024
+ GVHDDiagnosisChronicGlobalSeverity = Literal["Mild", "Moderate", "Severe"]
1025
+
1026
+
1027
+ GVHDOrganChronicScore = Literal["0", "1", "2", "3"]
1028
+
1029
+
1030
+ PriorTreatmentType = Literal[
1031
+ "Surgery",
1032
+ "Radiotherapy",
1033
+ "Immunotherapy",
1034
+ "Chemotherapy",
1035
+ "Targeted therapy",
1036
+ "Other therapy",
1037
+ "Radiopharmaceutical",
1038
+ "Stem cell transplant",
1039
+ "Immunosuppressive therapy/GVHD prophylaxis for transplant",
1040
+ "Conditioning therapy",
1041
+ "Post-transplant salvage therapy",
1042
+ ]
1043
+
1044
+
1045
+ ConditioningRegimenType = Literal["Myeloablative", "Reduced-intensity", "Non-myeloablative", "Other"]
1046
+
1047
+ StemCellDonorType = Literal["Autologous", "Allogeneic"]
1048
+
1049
+
1050
+ OffTreatmentReason = Literal[
1051
+ "Completion of Follow-Up",
1052
+ "Completion of Planned Therapy",
1053
+ "Death",
1054
+ "Disease Progression",
1055
+ "Failure to Attain Remission",
1056
+ "Ineligible",
1057
+ "Lost to Follow-Up",
1058
+ "Not Reported",
1059
+ "Other",
1060
+ "Physician Decision",
1061
+ "Relapse",
1062
+ "Secondary Malignancy",
1063
+ "Study Discontinuation",
1064
+ "Subject Non-Compliance",
1065
+ "Subject/Guardian Refused Further Treatment",
1066
+ "Toxicity",
1067
+ "Unknown",
1068
+ "Withdrawal of Consent",
1069
+ ]
1070
+
1071
+
1072
+ TherapyAgentDoseUnits = Literal[
1073
+ "%",
1074
+ "10^8 IFU/mL",
1075
+ "10^9 IFU/mL",
1076
+ "10E10 Cell/kg",
1077
+ "10E10 Cells",
1078
+ "10E10 Viral Particles",
1079
+ "10E11 Cells",
1080
+ "10E11 Cells/kg",
1081
+ "10E11 Viral Particles",
1082
+ "10E13 Viral Particles",
1083
+ "10E3 Cell/kg",
1084
+ "10E3 Cells",
1085
+ "10E3 Cells/kg",
1086
+ "10E3 IU/kg",
1087
+ "10E4 Cell/kg",
1088
+ "10E4 Cells",
1089
+ "10E5 Cell/kg",
1090
+ "10E5 Cells",
1091
+ "10E6 Cell/kg",
1092
+ "10E6 Cells",
1093
+ "10E6 PFU",
1094
+ "10E7 Cell/kg",
1095
+ "10E7 Cells",
1096
+ "10E7 PFU",
1097
+ "10E8 Cell/kg",
1098
+ "10E8 Cells",
1099
+ "10E8 PFU",
1100
+ "10E9 Cell/kg",
1101
+ "10E9 Cells",
1102
+ "10E9 IU/mL",
1103
+ "10E9 PFU",
1104
+ "Ampule",
1105
+ "Applcatn",
1106
+ "au",
1107
+ "AUC",
1108
+ "bill PFU",
1109
+ "Bottle",
1110
+ "BPM",
1111
+ "Capful",
1112
+ "Caplet",
1113
+ "Capsule",
1114
+ "Cells",
1115
+ "Cells/kg",
1116
+ "cGy",
1117
+ "Ci",
1118
+ "Course",
1119
+ "Course",
1120
+ "Degree Celsius",
1121
+ "dL",
1122
+ "Dose",
1123
+ "E+10 Cells",
1124
+ "E+11 Cells",
1125
+ "E+3 Cells",
1126
+ "E+4 Cells",
1127
+ "E+5 Cells",
1128
+ "E+6 Cells",
1129
+ "E+7 Cells",
1130
+ "E+8 Cells",
1131
+ "E+9 Cells",
1132
+ "Eq",
1133
+ "g",
1134
+ "g/m2",
1135
+ "Gallon",
1136
+ "gtts",
1137
+ "Gy",
1138
+ "Hz",
1139
+ "Inch",
1140
+ "Inhalatn",
1141
+ "IU Vit A",
1142
+ "IU/mg",
1143
+ "IU/mg A-TE",
1144
+ "IUnit",
1145
+ "IUnit/kg",
1146
+ "IUnit/L",
1147
+ "IV Bag",
1148
+ "IVRP",
1149
+ "Jcm2",
1150
+ "KeV",
1151
+ "kg",
1152
+ "kHz",
1153
+ "kPa",
1154
+ "kU",
1155
+ "kU/kg",
1156
+ "kU/L",
1157
+ "L",
1158
+ "L/h/mg",
1159
+ "L/min",
1160
+ "mBq",
1161
+ "MBq",
1162
+ "mcg",
1163
+ "mcg/24h",
1164
+ "mcg/cm2",
1165
+ "mcg/hr",
1166
+ "mcg/kg",
1167
+ "mcg/m2",
1168
+ "mcg/min",
1169
+ "mCi",
1170
+ "Measure",
1171
+ "mEq",
1172
+ "mEq/24hr",
1173
+ "mEq/dL",
1174
+ "mEq/hr",
1175
+ "mEq/L",
1176
+ "MeV",
1177
+ "mg",
1178
+ "mg/24hr",
1179
+ "mg/dL",
1180
+ "mg/hr",
1181
+ "mg/inh",
1182
+ "mg/kg",
1183
+ "mg/kg/day",
1184
+ "mg/m2",
1185
+ "mg/mL",
1186
+ "mg/unit",
1187
+ "mg/wk",
1188
+ "MHz",
1189
+ "microCi",
1190
+ "microL",
1191
+ "micromol",
1192
+ "mill PFU",
1193
+ "Million",
1194
+ "millunit",
1195
+ "miu",
1196
+ "miu/m2",
1197
+ "mL",
1198
+ "mL",
1199
+ "mL/hr",
1200
+ "mL/kg",
1201
+ "mM/L",
1202
+ "mmol",
1203
+ "Mole",
1204
+ "mosmol",
1205
+ "Mrad",
1206
+ "MU",
1207
+ "mV",
1208
+ "MVP",
1209
+ "nCi",
1210
+ "ng",
1211
+ "ng/kg",
1212
+ "ng/L",
1213
+ "ng/mL",
1214
+ "nm light",
1215
+ "nmol",
1216
+ "No Srce",
1217
+ "osmol",
1218
+ "Other",
1219
+ "oz",
1220
+ "Pa",
1221
+ "packet",
1222
+ "Patch",
1223
+ "PFU",
1224
+ "pg",
1225
+ "psi",
1226
+ "puff",
1227
+ "Rad",
1228
+ "RAE",
1229
+ "RE",
1230
+ "Seed",
1231
+ "Session",
1232
+ "Spray",
1233
+ "Suppstry",
1234
+ "Sv",
1235
+ "Tablet",
1236
+ "Tbsp",
1237
+ "TCID",
1238
+ "Thousand",
1239
+ "Troche",
1240
+ "tsp",
1241
+ "uCi/kg",
1242
+ "umol/L/min",
1243
+ "Unit",
1244
+ "Unit/g",
1245
+ "Unit/kg",
1246
+ "Unit/m2",
1247
+ "Unit/mcg",
1248
+ "Unit/mL",
1249
+ "Unknown",
1250
+ "VP",
1251
+ "YU",
1252
+ ]
1253
+
1254
+
1255
+ RadiotherapyProcedure = Literal[
1256
+ "3-Dimensional Conformal Radiation Therapy",
1257
+ "Brachytherapy",
1258
+ "Conventional Radiotherapy",
1259
+ "Electron Beam Radiation Therapy",
1260
+ "External Beam Radiation Therapy",
1261
+ "High-Dose Rate Brachytherapy",
1262
+ "Intensity-Modulated Radiation Therapy",
1263
+ "Low-Dose Rate Brachytherapy",
1264
+ "Not Reported",
1265
+ "Photon Beam Radiation Therapy",
1266
+ "Proton Beam Radiation Therapy",
1267
+ "Radiation Therapy",
1268
+ "Stereotactic Body Radiation Therapy",
1269
+ "Stereotactic Radiosurgery",
1270
+ "Unknown",
1271
+ ]
1272
+
1273
+ SurgicalProcedure = Literal[
1274
+ "Amputation",
1275
+ "Appendectomy",
1276
+ "Arterial Embolization",
1277
+ "Aspiration",
1278
+ "Bilateral Salpingo-oophorectomy (BSO)",
1279
+ "Bilobectomy",
1280
+ "Biopsy",
1281
+ "Cervical conization",
1282
+ "Chest wall resection",
1283
+ "Colectomy",
1284
+ "Continent Catheterizable Diversion",
1285
+ "Core biopsy",
1286
+ "Cryosurgery",
1287
+ "Cystoprostatectomy",
1288
+ "Deep lymphadenectomy",
1289
+ "Diaphram stripping",
1290
+ "Distal Pancreatectomy",
1291
+ "Endoscopic",
1292
+ "Esophagectomy",
1293
+ "EUA-bronchoscopy",
1294
+ "EUA-esophagoscopy",
1295
+ "EUA-laryngoscopy",
1296
+ "EUA-nasal endoscopy",
1297
+ "Excisional biopsy",
1298
+ "Exenteration",
1299
+ "Exploration",
1300
+ "Extrapulmonary Metastasis Resection",
1301
+ "Fine Needle Aspiration under CT Guidance",
1302
+ "Gastric Venting Tube",
1303
+ "Gross total resection with neck dissection",
1304
+ "Gross total resection without neck dissection",
1305
+ "Hemi vulvectomy",
1306
+ "Interval debulking",
1307
+ "Intracardial pneumonectomy",
1308
+ "Laparoscopic/Thoracoscopic",
1309
+ "Laparotomy",
1310
+ "Large Bowel resection",
1311
+ "Lobectomy",
1312
+ "Lung Segmentectomy",
1313
+ "Lymphadenectomy",
1314
+ "Mastectomy NOS",
1315
+ "Mediastinoscopy",
1316
+ "Mediastinotomy (Chamberlain procedure)",
1317
+ "Metastasectomy ",
1318
+ "Modified Radical Mastectomy",
1319
+ "Modified radical mastectomy after partial mastectomy as first attempt",
1320
+ "Modified radical neck dissection",
1321
+ "Neck Dissection",
1322
+ "Neck dissection level 1 to 4",
1323
+ "Neck dissection level 2 to 4",
1324
+ "Neobladder",
1325
+ "Nipple-Sparing Mastectomy",
1326
+ "Omentectomy",
1327
+ "Oncoplastic Partial Mastectomy/Lumpectomy with Oncoplastic Closure",
1328
+ "Open",
1329
+ "Other, specify",
1330
+ "Pancreatectomy",
1331
+ "Paraaortic lymph node sampling/dissection",
1332
+ "Partial Colectomy",
1333
+ "Partial Cystectomy",
1334
+ "Partial Hysterectomy",
1335
+ "Partial Mastectomy (Lumpectomy)",
1336
+ "Partial mastectomy with re-excision",
1337
+ "Partial mastectomy without re-excision",
1338
+ "Partial mastectomy/lumpectomy/excisional biopsy",
1339
+ "Partial Nephrectomy",
1340
+ "Partial Thyroidectomy",
1341
+ "Pelvic lymphadenectomy",
1342
+ "Pelvic node sampling",
1343
+ "Percutaneous",
1344
+ "Peritoneal Sampling",
1345
+ "Peritoneal catheter insertion",
1346
+ "Peritonectomy  / Peritoneal stripping",
1347
+ "Pneumonectomy",
1348
+ "Primary debulking",
1349
+ "Prostatectomy",
1350
+ "Quadrantectomy",
1351
+ "Radical Cystectomy",
1352
+ "Radical Hysterectomy",
1353
+ "Radical Mastectomy",
1354
+ "Radical Nephrectomy",
1355
+ "Radical Trachelectomy",
1356
+ "Radical vulvectomy",
1357
+ "Re-excision",
1358
+ "Reassessment laparotomy",
1359
+ "Resection with reconstruction",
1360
+ "Resection without reconstruction",
1361
+ "Rotationplasty",
1362
+ "Segmentectomy",
1363
+ "Sentinel Lymph Node Biopsy",
1364
+ "Sentinel Lymph Node Mapping And Pelvic Lymphadenectomy",
1365
+ "Simple Nephrectomy",
1366
+ "Skin-sparing mastectomy",
1367
+ "Sleeve lobectomy",
1368
+ "Small Bowel resection",
1369
+ "Splenectomy",
1370
+ "Stent",
1371
+ "Stereotactic Biopsy",
1372
+ "Sternotomy",
1373
+ "Sublobar segmentectomy",
1374
+ "Superficial lymphadenectomy",
1375
+ "Surgical resection",
1376
+ "Thoracoabdominal Esophagectomy",
1377
+ "Thoracoscopy",
1378
+ "Thoracotomy",
1379
+ "Thyroidectomy",
1380
+ "TORS deep tonsil biopsy",
1381
+ "TORS lingual tonsillectomy",
1382
+ "TORS palatine tonsillectomy",
1383
+ "TORS radical tonsillectomy",
1384
+ "Total Abdominal Hysterectomy",
1385
+ "Total Abdominal Hysterectomy with Bilateral Salpingo-Oophorectomy",
1386
+ "Total Hysterectomy",
1387
+ "Total Mastectomy",
1388
+ "Total Mesorectal Excision",
1389
+ "Total Pancreatectomy",
1390
+ "Total Vaginal Hysterectomy",
1391
+ "Tracheotomy",
1392
+ "Transanal Endoscopic",
1393
+ "Transbronchial needle biopsy (TBNA)",
1394
+ "Transurethral Resection",
1395
+ "Transurethral resection of bladder tumor (TURBT)",
1396
+ "Unilateral Salpingo-oophorectomy",
1397
+ "Vein Resection",
1398
+ "Wedge Resection",
1399
+ "Whipple",
1400
+ ]
1401
+
1402
+
1403
+ RadiotherapyDoseUnits = Literal[
1404
+ "%",
1405
+ "CGE",
1406
+ "cGY",
1407
+ "Gy",
1408
+ "IU",
1409
+ "IU/m2",
1410
+ "mg",
1411
+ "mg/kg",
1412
+ "mg/m2",
1413
+ "mL",
1414
+ "Not Reported",
1415
+ "oz",
1416
+ "Unknown",
1417
+ ]
1418
+
1419
+
1420
+ RadiationExtent = Literal["Extensive Radiation", "Limited Radiation", "Radiation, NOS"]
1421
+
1422
+
1423
+ AllogeneicDonorType = Literal[
1424
+ "Haploidentical",
1425
+ "Matched related",
1426
+ "Matched unrelated",
1427
+ "Mismatched related",
1428
+ "Mismatched unrelated",
1429
+ "Syngeneic",
1430
+ ]
1431
+
1432
+
1433
+ StemCellSource = Literal[
1434
+ "Peripheral blood",
1435
+ "Bone marrow",
1436
+ "Umbilical cord blood",
1437
+ "Unknown",
1438
+ "Other",
1439
+ ]