endoreg-db 0.6.2__py3-none-any.whl → 0.6.4__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.

Potentially problematic release.


This version of endoreg-db might be problematic. Click here for more details.

Files changed (97) hide show
  1. endoreg_db/data/__init__.py +14 -0
  2. endoreg_db/data/disease_classification/chronic_kidney_disease.yaml +2 -2
  3. endoreg_db/data/disease_classification_choice/chronic_kidney_disease.yaml +6 -6
  4. endoreg_db/data/distribution/numeric/data.yaml +1 -1
  5. endoreg_db/data/examination/examinations/data.yaml +22 -21
  6. endoreg_db/data/examination/type/data.yaml +12 -0
  7. endoreg_db/data/examination_indication/endoscopy.yaml +417 -1
  8. endoreg_db/data/examination_indication_classification/endoscopy.yaml +157 -5
  9. endoreg_db/data/finding/data.yaml +18 -11
  10. endoreg_db/data/finding_intervention/endoscopy.yaml +26 -121
  11. endoreg_db/data/finding_intervention/endoscopy_colonoscopy.yaml +163 -0
  12. endoreg_db/data/finding_intervention/endoscopy_egd.yaml +128 -0
  13. endoreg_db/data/finding_intervention/endoscopy_ercp.yaml +32 -0
  14. endoreg_db/data/finding_intervention/endoscopy_eus_lower.yaml +9 -0
  15. endoreg_db/data/finding_intervention/endoscopy_eus_upper.yaml +36 -0
  16. endoreg_db/data/information_source/endoscopy_guidelines.yaml +7 -0
  17. endoreg_db/data/medication_indication/anticoagulation.yaml +4 -4
  18. endoreg_db/data/pdf_type/data.yaml +9 -16
  19. endoreg_db/data/requirement/colonoscopy_indications.yaml +56 -0
  20. endoreg_db/data/requirement/disease_cardiovascular.yaml +79 -0
  21. endoreg_db/data/requirement/disease_classification_choice_cardiovascular.yaml +38 -0
  22. endoreg_db/data/requirement/disease_hepatology.yaml +12 -0
  23. endoreg_db/data/requirement/disease_misc.yaml +12 -0
  24. endoreg_db/data/requirement/disease_renal.yaml +80 -0
  25. endoreg_db/data/requirement/event_cardiology.yaml +251 -0
  26. endoreg_db/data/requirement/lab_value.yaml +120 -0
  27. endoreg_db/data/requirement_operator/lab_operators.yaml +128 -0
  28. endoreg_db/data/requirement_operator/model_operators.yaml +90 -0
  29. endoreg_db/data/requirement_set/endoscopy_bleeding_risk.yaml +12 -0
  30. endoreg_db/data/requirement_set_type/data.yaml +20 -0
  31. endoreg_db/data/requirement_type/requirement_types.yaml +83 -0
  32. endoreg_db/data/risk/bleeding.yaml +26 -0
  33. endoreg_db/data/risk/thrombosis.yaml +37 -0
  34. endoreg_db/data/risk_type/data.yaml +27 -0
  35. endoreg_db/data/unit/time.yaml +36 -1
  36. endoreg_db/management/commands/load_base_db_data.py +14 -1
  37. endoreg_db/management/commands/load_center_data.py +46 -21
  38. endoreg_db/management/commands/load_examination_indication_data.py +49 -27
  39. endoreg_db/management/commands/load_requirement_data.py +156 -0
  40. endoreg_db/management/commands/load_risk_data.py +56 -0
  41. endoreg_db/mermaid/Overall_flow_patient_finding_intervention.md +10 -0
  42. endoreg_db/mermaid/anonymized_image_annotation.md +20 -0
  43. endoreg_db/mermaid/binary_classification_annotation.md +50 -0
  44. endoreg_db/mermaid/classification.md +8 -0
  45. endoreg_db/mermaid/examination.md +8 -0
  46. endoreg_db/mermaid/findings.md +7 -0
  47. endoreg_db/mermaid/image_classification.md +28 -0
  48. endoreg_db/mermaid/interventions.md +8 -0
  49. endoreg_db/mermaid/morphology.md +8 -0
  50. endoreg_db/mermaid/patient_creation.md +14 -0
  51. endoreg_db/mermaid/video_segmentation_annotation.md +17 -0
  52. endoreg_db/migrations/0009_requirementoperator_requirementsettype_and_more.py +154 -0
  53. endoreg_db/models/__init__.py +20 -0
  54. endoreg_db/models/ai_model/ai_model.py +0 -13
  55. endoreg_db/models/ai_model/model_meta.py +2 -12
  56. endoreg_db/models/data_file/base_classes/abstract_frame.py +0 -2
  57. endoreg_db/models/data_file/base_classes/abstract_pdf.py +0 -9
  58. endoreg_db/models/data_file/base_classes/abstract_video.py +7 -8
  59. endoreg_db/models/data_file/base_classes/utils.py +0 -22
  60. endoreg_db/models/data_file/frame.py +1 -1
  61. endoreg_db/models/data_file/import_classes/raw_pdf.py +5 -11
  62. endoreg_db/models/data_file/import_classes/raw_video.py +6 -4
  63. endoreg_db/models/data_file/video/video.py +3 -3
  64. endoreg_db/models/disease.py +88 -19
  65. endoreg_db/models/event.py +108 -21
  66. endoreg_db/models/examination/examination_indication.py +108 -29
  67. endoreg_db/models/examination/examination_type.py +20 -6
  68. endoreg_db/models/information_source.py +37 -1
  69. endoreg_db/models/laboratory/lab_value.py +83 -32
  70. endoreg_db/models/requirement/__init__.py +11 -0
  71. endoreg_db/models/requirement/requirement.py +325 -0
  72. endoreg_db/models/requirement/requirement_evaluation/__init__.py +134 -0
  73. endoreg_db/models/requirement/requirement_evaluation/requirement_type_parser.py +102 -0
  74. endoreg_db/models/requirement/requirement_operator.py +58 -0
  75. endoreg_db/models/requirement/requirement_set.py +127 -0
  76. endoreg_db/models/risk/__init__.py +7 -0
  77. endoreg_db/models/risk/risk.py +72 -0
  78. endoreg_db/models/risk/risk_type.py +55 -0
  79. endoreg_db/serializers/raw_pdf_anony_text_validation.py +137 -0
  80. endoreg_db/serializers/raw_pdf_meta_validation.py +223 -0
  81. endoreg_db/serializers/raw_video_meta_validation.py +163 -1
  82. endoreg_db/serializers/video_segmentation.py +208 -126
  83. endoreg_db/urls.py +127 -14
  84. endoreg_db/utils/__init__.py +43 -0
  85. endoreg_db/utils/dataloader.py +38 -19
  86. endoreg_db/utils/hashs.py +1 -0
  87. endoreg_db/utils/paths.py +86 -0
  88. endoreg_db/views/raw_pdf_anony_text_validation_views.py +95 -0
  89. endoreg_db/views/raw_pdf_meta_validation_views.py +111 -0
  90. endoreg_db/views/raw_video_meta_validation_views.py +128 -18
  91. endoreg_db/views/video_segmentation_views.py +28 -11
  92. endoreg_db/views/views.py +107 -0
  93. {endoreg_db-0.6.2.dist-info → endoreg_db-0.6.4.dist-info}/METADATA +1 -1
  94. {endoreg_db-0.6.2.dist-info → endoreg_db-0.6.4.dist-info}/RECORD +96 -46
  95. endoreg_db/management/commands/load_name_data.py +0 -37
  96. {endoreg_db-0.6.2.dist-info → endoreg_db-0.6.4.dist-info}/WHEEL +0 -0
  97. {endoreg_db-0.6.2.dist-info → endoreg_db-0.6.4.dist-info}/licenses/LICENSE +0 -0
@@ -17,6 +17,9 @@ REPORT_READER_FLAG_DATA_DIR = DATA_DIR / "report_reader_flag"
17
17
  EVENT_DATA_DIR = DATA_DIR / "event"
18
18
  GENDER_DATA_DIR = DATA_DIR / "gender"
19
19
  ORGAN_DATA_DIR = DATA_DIR / "organ"
20
+ NAMES_FIRST_DATA_DIR = DATA_DIR / "names_first"
21
+ NAMES_LAST_DATA_DIR = DATA_DIR / "names_last"
22
+
20
23
 
21
24
  # Contraindication
22
25
  CONTRAINDICATION_DATA_DIR = DATA_DIR / "contraindication"
@@ -102,6 +105,17 @@ LABEL_DATA_DIR = DATA_DIR / "ai_model_label"
102
105
  VIDEO_SEGMENTATION_LABEL_DATA_DIR = DATA_DIR / "ai_model_video_segmentation_label"
103
106
  VIDEO_SEGMENTATION_LABELSET_DATA_DIR = DATA_DIR / "ai_model_video_segmentation_labelset"
104
107
 
108
+ # RISK
109
+ RISK_DATA_DIR = DATA_DIR / "risk"
110
+ RISK_TYPE_DATA_DIR = DATA_DIR / "risk_type"
111
+
112
+ # REQUIREMENT
113
+ REQUIREMENT_DATA_DIR = DATA_DIR / "requirement"
114
+ REQUIREMENT_OPERATOR_DATA_DIR = DATA_DIR / "requirement_operator"
115
+ REQUIREMENT_SET_DATA_DIR = DATA_DIR / "requirement_set"
116
+ REQUIREMENT_SET_TYPE_DATA_DIR = DATA_DIR / "requirement_set_type"
117
+ REQUIREMENT_TYPE_DATA_DIR = DATA_DIR / "requirement_type"
118
+
105
119
  # To Do
106
120
  LAB_VALUE_DATA_DIR = DATA_DIR / "lab_value"
107
121
  PATIENT_LAB_SAMPLE_TYPE_DATA_DIR = DATA_DIR / "patient_lab_sample_type"
@@ -1,6 +1,6 @@
1
1
  - model: endoreg_db.disease_classification
2
2
  fields:
3
- name: "chronic_kideny_disease_kdigo"
3
+ name: "chronic_kidney_disease_kdigo"
4
4
  name_de: "Chronische Nierenerkrankung (KDIGO)"
5
5
  name_en: "Chronic Kidney Disease (KDIGO)"
6
- disease: "chronic_kidney_disease"
6
+ disease: "chronic_kidney_disease"
@@ -3,39 +3,39 @@
3
3
  name: "ckd_kdigo_1"
4
4
  name_de: "Chronische Nierenerkrankung (KDIGO) (Stadium 1)"
5
5
  name_en: "Chronic Kidney Disease (KDIGO) (Stage 1)"
6
- disease_classification: "chronic_kideny_disease_kdigo"
6
+ disease_classification: "chronic_kidney_disease_kdigo"
7
7
 
8
8
  - model: endoreg_db.disease_classification_choice
9
9
  fields:
10
10
  name: "ckd_kdigo_2"
11
11
  name_de: "Chronische Nierenerkrankung (KDIGO) (Stadium 2)"
12
12
  name_en: "Chronic Kidney Disease (KDIGO) (Stage 2)"
13
- disease_classification: "chronic_kideny_disease_kdigo"
13
+ disease_classification: "chronic_kidney_disease_kdigo"
14
14
 
15
15
  - model: endoreg_db.disease_classification_choice
16
16
  fields:
17
17
  name: "ckd_kdigo_3a"
18
18
  name_de: "Chronische Nierenerkrankung (KDIGO) (Stadium 3a)"
19
19
  name_en: "Chronic Kidney Disease (KDIGO) (Stage 3a)"
20
- disease_classification: "chronic_kideny_disease_kdigo"
20
+ disease_classification: "chronic_kidney_disease_kdigo"
21
21
 
22
22
  - model: endoreg_db.disease_classification_choice
23
23
  fields:
24
24
  name: "ckd_kdigo_3b"
25
25
  name_de: "Chronische Nierenerkrankung (KDIGO) (Stadium 3b)"
26
26
  name_en: "Chronic Kidney Disease (KDIGO) (Stage 3b)"
27
- disease_classification: "chronic_kideny_disease_kdigo"
27
+ disease_classification: "chronic_kidney_disease_kdigo"
28
28
 
29
29
  - model: endoreg_db.disease_classification_choice
30
30
  fields:
31
31
  name: "ckd_kdigo_4"
32
32
  name_de: "Chronische Nierenerkrankung (KDIGO) (Stadium 4)"
33
33
  name_en: "Chronic Kidney Disease (KDIGO) (Stage 4)"
34
- disease_classification: "chronic_kideny_disease_kdigo"
34
+ disease_classification: "chronic_kidney_disease_kdigo"
35
35
 
36
36
  - model: endoreg_db.disease_classification_choice
37
37
  fields:
38
38
  name: "ckd_kdigo_5"
39
39
  name_de: "Chronische Nierenerkrankung (KDIGO) (Stadium 5)"
40
40
  name_en: "Chronic Kidney Disease (KDIGO) (Stage 5)"
41
- disease_classification: "chronic_kideny_disease_kdigo"
41
+ disease_classification: "chronic_kidney_disease_kdigo"
@@ -10,5 +10,5 @@
10
10
  fields:
11
11
  name: "uniform_high_x1.5"
12
12
  distribution_type: "uniform"
13
- min_descriptor: "max_x_1"
13
+ min_descriptor: "min_x_1"
14
14
  max_descriptor: "max_x_1.5"
@@ -3,18 +3,14 @@
3
3
  name: "colonoscopy"
4
4
  name_de: "Koloskopie"
5
5
  name_en: "Colonoscopy"
6
- examination_types: [
7
- "endoscopy"
8
- ]
6
+ examination_types: ["endoscopy"]
9
7
 
10
8
  - model: report.Examination
11
9
  fields:
12
10
  name: "gastroscopy"
13
11
  name_de: "Gastroskopie"
14
12
  name_en: "Gastroscopy"
15
- examination_types: [
16
- "endoscopy"
17
- ]
13
+ examination_types: ["endoscopy"]
18
14
 
19
15
  # endosonography_upper_gi
20
16
  - model: report.Examination
@@ -22,18 +18,14 @@
22
18
  name: "endosonography_upper_gi"
23
19
  name_de: "Endosonographie oberer GI-Trakt"
24
20
  name_en: "Endosonography Upper GI Tract"
25
- examination_types: [
26
- "endoscopy"
27
- ]
21
+ examination_types: ["endoscopy"]
28
22
 
29
23
  - model: report.Examination
30
24
  fields:
31
25
  name: "endosonography_lower_gi"
32
26
  name_de: "Endosonographie unterer GI-Trakt"
33
27
  name_en: "Endosonography Lower GI Tract"
34
- examination_types: [
35
- "endoscopy"
36
- ]
28
+ examination_types: ["endoscopy"]
37
29
 
38
30
  # ERCP
39
31
  - model: report.Examination
@@ -41,9 +33,7 @@
41
33
  name: "ercp"
42
34
  name_de: "ERCP"
43
35
  name_en: "ERCP"
44
- examination_types: [
45
- "endoscopy"
46
- ]
36
+ examination_types: ["endoscopy"]
47
37
 
48
38
  # small bowel endoscopy
49
39
  - model: report.Examination
@@ -51,9 +41,7 @@
51
41
  name: "small_bowel_endoscopy"
52
42
  name_de: "Dünndarmendoskopie"
53
43
  name_en: "Small Bowel Endoscopy"
54
- examination_types: [
55
- "endoscopy"
56
- ]
44
+ examination_types: ["endoscopy"]
57
45
 
58
46
  # capsule endoscopy
59
47
  - model: report.Examination
@@ -61,6 +49,19 @@
61
49
  name: "capsule_endoscopy"
62
50
  name_de: "Kapselendoskopie"
63
51
  name_en: "Capsule Endoscopy"
64
- examination_types: [
65
- "endoscopy"
66
- ]
52
+ examination_types: ["endoscopy"]
53
+
54
+ - model: report.Examination
55
+ fields:
56
+ name: "percutaneous_transhepatic_biliary_drainage"
57
+ name_de: "Perkutane transhepatische Gallengangdrainage"
58
+ name_en: "Percutaneous Transhepatic Biliary Drainage"
59
+ examination_types: ["endoscopy", "sonography", "xray"]
60
+
61
+ # percutaneous_transhepatic_cholangiography
62
+ - model: report.Examination
63
+ fields:
64
+ name: "percutaneous_transhepatic_cholangiography"
65
+ name_de: "Perkutane transhepatische Cholangiographie"
66
+ name_en: "Percutaneous Transhepatic Cholangiography"
67
+ examination_types: ["endoscopy", "sonography", "xray"]
@@ -3,3 +3,15 @@
3
3
  name: "endoscopy"
4
4
  name_de: "Endoskopie"
5
5
  name_en: "Endoscopy"
6
+
7
+ - model: report.ExaminationType
8
+ fields:
9
+ name: "sonography"
10
+ name_de: "Sonographie"
11
+ name_en: "Sonography"
12
+
13
+ - model: report.ExaminationType
14
+ fields:
15
+ name: "xray"
16
+ name_de: "Röntgen"
17
+ name_en: "X-ray"
@@ -1,8 +1,424 @@
1
+ # Colonoscopy
2
+ ## Generic
1
3
  - model: endoreg_db.examination_indication
2
4
  fields:
3
5
  name: "colonoscopy"
4
6
  name_de: "Koloskopie"
5
7
  name_en: "Colonoscopy"
6
- classification: "endoscopy_colonoscopy"
7
8
  examination: "colonoscopy"
9
+ description: "Colonoscopy without further specification"
8
10
 
11
+ ## Colonoscopy elective
12
+ - model: endoreg_db.examination_indication
13
+ fields:
14
+ name: "colonoscopy_screening"
15
+ name_de: "Koloskopie (Screening)"
16
+ name_en: "Colonoscopy (Screening)"
17
+ examination: "colonoscopy"
18
+ description: "Colonoscopy for screening purposes"
19
+ expected_interventions: # Many2Many to finding intervention
20
+ [
21
+ "colon_lesion_polypectomy_cold_snare",
22
+ "colon_lesion_injection_liftup",
23
+ "colon_lesion_biopsy",
24
+ "colon_lesion_clip",
25
+ ]
26
+
27
+ - model: endoreg_db.examination_indication
28
+ fields:
29
+ name: "colonoscopy_lesion_removal_small"
30
+ name_de: "Koloskopie (Läsionsentfernung, klein (< 10 mm), elektiv)"
31
+ name_en: "Colonoscopy (Lesion removal, small (< 10 mm), elective)"
32
+ examination: "colonoscopy"
33
+ description: "Elective colonoscopy for removal of small lesions (< 10 mm)"
34
+ expected_interventions:
35
+ [
36
+ "colon_lesion_polypectomy_cold_snare",
37
+ "colon_lesion_polypectomy_hot_snare",
38
+ "colon_lesion_injection_liftup",
39
+ "colon_lesion_injection_vasoactive",
40
+ "colon_lesion_biopsy",
41
+ "colon_lesion_clip",
42
+ ]
43
+
44
+ # colonoscopy_lesion_removal_emr
45
+ - model: endoreg_db.examination_indication
46
+ fields:
47
+ name: "colonoscopy_lesion_removal_emr"
48
+ name_de: "Koloskopie (Läsionsentfernung, EMR, elektiv)"
49
+ name_en: "Colonoscopy (Lesion removal, EMR, elective)"
50
+ examination: "colonoscopy"
51
+ description: "Elective colonoscopy for removal of lesions using EMR"
52
+ expected_interventions:
53
+ [
54
+ "colon_lesion_emr",
55
+ "colon_lesion_injection_vasoactive",
56
+ "colon_lesion_injection_liftup",
57
+ "colon_lesion_clip",
58
+ "colon_lesion_over_the_scope_clip",
59
+ ]
60
+
61
+ - model: endoreg_db.examination_indication
62
+ fields:
63
+ name: "colonoscopy_lesion_removal_large"
64
+ name_de: "Koloskopie (Läsionsentfernung, groß (≥ 10 mm), elektiv)"
65
+ name_en: "Colonoscopy (Lesion removal, large (≥ 10 mm), elective)"
66
+ examination: "colonoscopy"
67
+ description: "Elective colonoscopy for removal of large lesions (≥ 10 mm)"
68
+ expected_interventions:
69
+ [
70
+ "colon_lesion_injection_vasoactive",
71
+ "colon_lesion_injection_liftup",
72
+ "colon_lesion_clip",
73
+ "colon_lesion_over_the_scope_clip",
74
+ "colon_lesion_emr",
75
+ "colon_lesion_esd",
76
+ "colon_eftr",
77
+ ]
78
+
79
+ ## Colonoscopy Acute
80
+ - model: endoreg_db.examination_indication
81
+ fields:
82
+ name: "colonoscopy_diagnostic_acute_symptomatic"
83
+ name_de: "Koloskopie (Diagnostik, akut-symptomatisch)"
84
+ name_en: "Colonoscopy (Diagnostic, Acute Symptomatic)"
85
+ examination: "colonoscopy"
86
+ description: "Colonoscopy for diagnostic purposes in acute symptomatic patients"
87
+ expected_interventions:
88
+ ["colon_lesion_clip", "colon_lesion_injection_vasoactive"]
89
+
90
+ # Gastroscopy
91
+ - model: endoreg_db.examination_indication
92
+ fields:
93
+ name: "gastroscopy"
94
+ name_de: "Gastroskopie"
95
+ name_en: "Gastroscopy"
96
+ examination: "gastroscopy"
97
+ description: "Gastroscopy without further specification"
98
+ expected_interventions: # Many2Many to finding intervention
99
+ [
100
+ "egd_lesion_polypectomy_cold_snare",
101
+ "egd_lesion_injection_liftup",
102
+ "egd_lesion_biopsy",
103
+ "egd_lesion_clip",
104
+ "egd_lesion_over_the_scope_clip",
105
+ ]
106
+
107
+ - model: endoreg_db.examination_indication
108
+ fields:
109
+ name: "gastroscopy_baseline"
110
+ name_de: "Gastroskopie (Basis)"
111
+ name_en: "Gastroscopy (Baseline)"
112
+ examination: "gastroscopy"
113
+ description: "Baseline gastroscopy"
114
+ expected_interventions: ["egd_lesion_biopsy"]
115
+
116
+ ## Gastroscopy Acute
117
+ - model: endoreg_db.examination_indication
118
+ fields:
119
+ name: "gastroscopy_diagnostic_acute_symptomatic"
120
+ name_de: "Gastroskopie (Diagnostik, akut-symptomatisch)"
121
+ name_en: "Gastroscopy (Diagnostic, Acute Symptomatic)"
122
+ examination: "gastroscopy"
123
+ description: "Gastroscopy for diagnostic purposes in acute symptomatic patients"
124
+ expected_interventions: [
125
+ "egd_hp_biopsy", # default
126
+ ]
127
+
128
+ - model: endoreg_db.examination_indication
129
+ fields:
130
+ name: "gastroscopy_acute_bleeding"
131
+ name_de: "Gastroskopie (akute Blutung)"
132
+ name_en: "Gastroscopy (acute bleeding)"
133
+ examination: "gastroscopy"
134
+ description: "Gastroscopy for acute bleeding"
135
+ expected_interventions: [
136
+ "egd_lesion_injection_vasoactive",
137
+ "egd_lesion_clip", # default
138
+ "egd_lesion_over_the_scope_clip",
139
+ "egd_varice_band_ligation",
140
+ "egd_varice_sclerotherapy",
141
+ "egd_argon_plasma_coagulation",
142
+ ]
143
+
144
+ ## Gastroscopy Elective
145
+ - model: endoreg_db.examination_indication
146
+ fields:
147
+ name: "gastroscopy_diagnostic_elective"
148
+ name_de: "Gastroskopie (Diagnostik, elektiv)"
149
+ name_en: "Gastroscopy (Diagnostic, Elective)"
150
+ examination: "gastroscopy"
151
+ description: "Gastroscopy for diagnostic purposes in elective patients"
152
+ expected_interventions: ["egd_hp_biopsy"]
153
+
154
+ - model: endoreg_db.examination_indication
155
+ fields:
156
+ name: "gastroscopy_percutane_enterostomy"
157
+ name_de: "Gastroskopie (perkutane Enterostomie)"
158
+ name_en: "Gastroscopy (percutaneous enterostomy)"
159
+ examination: "gastroscopy"
160
+ description: "Gastroscopy for percutaneous enterostomy"
161
+ expected_interventions:
162
+ [
163
+ "egd_percutaneous_gastroenterostomy",
164
+ "egd_percutaneous_jejunostomy",
165
+ "egd_lesion_biopsy",
166
+ "egd_clip",
167
+ ]
168
+
169
+ - model: endoreg_db.examination_indication
170
+ fields:
171
+ name: "gastroscopy_therapeutic_varicosis_esophagus"
172
+ name_de: "Gastroskopie (Therapie, Varikosis Ösophagus, elektiv)"
173
+ name_en: "Gastroscopy (Therapeutic, Varicosis Esophagus, elective)"
174
+ examination: "gastroscopy"
175
+ description: "Elective gastroscopy for therapeutic purposes in elective patients with varicosis of the esophagus"
176
+ expected_interventions:
177
+ [
178
+ "egd_varicosis_band_ligation",
179
+ "egd_varicosis_sclerotherapy",
180
+ "egd_injection_vasoactive",
181
+ "egd_clip",
182
+ ]
183
+
184
+ - model: endoreg_db.examination_indication
185
+ fields:
186
+ name: "gastroscopy_therapeutic_varicosis_stomach"
187
+ name_de: "Gastroskopie (Therapie, Varikosis Magen, elektiv)"
188
+ name_en: "Gastroscopy (Therapeutic, Varicosis Stomach, elective)"
189
+ examination: "gastroscopy"
190
+ description: "Elective gastroscopy for therapeutic purposes in elective patients with varicosis of the stomach"
191
+ expected_interventions:
192
+ [
193
+ "egd_varicosis_band_ligation",
194
+ "egd_clip",
195
+ "egd_injection_varicosis",
196
+ "egd_injection_vasoactive",
197
+ ]
198
+
199
+ - model: endoreg_db.examination_indication
200
+ fields:
201
+ name: "gastroscopy_therapeutic_varicosis_intestine"
202
+ name_de: "Gastroskopie (Therapie, Varikosis Darm, elektiv)"
203
+ name_en: "Gastroscopy (Therapeutic, Varicosis Intestine, elective)"
204
+ examination: "gastroscopy"
205
+ description: "Elective gastroscopy for therapeutic purposes in elective patients with varicosis of the intestine"
206
+ expected_interventions:
207
+ [
208
+ "egd_varicosis_band_ligation",
209
+ "egd_clip",
210
+ "egd_injection_varicosis",
211
+ "egd_injection_vasoactive",
212
+ ]
213
+
214
+ - model: endoreg_db.examination_indication
215
+ fields:
216
+ name: "gastroscopy_lesion_removal_small"
217
+ name_de: "Gastroskopie (Läsionsentfernung, klein (< 10 mm), elektiv)"
218
+ name_en: "Gastroscopy (Lesion removal, small (< 10 mm), elective)"
219
+ examination: "gastroscopy"
220
+ description: "Elective gastroscopy for removal of small lesions (< 10 mm)"
221
+ expected_interventions:
222
+ [
223
+ "egd_lesion_polypectomy_cold_snare",
224
+ "egd_lesion_polypectomy_hot_snare",
225
+ "egd_lesion_polypectomy_forceps",
226
+ "egd_lesion_injection_vasoactive",
227
+ "egd_lesion_injection_liftup",
228
+ "egd_lesion_clip",
229
+ "egd_lesion_over_the_scope_clip",
230
+ ]
231
+
232
+ - model: endoreg_db.examination_indication
233
+ fields:
234
+ name: "gastroscopy_lesion_removal_large"
235
+ name_de: "Gastroskopie (Läsionsentfernung, groß (≥ 10 mm), elektiv)"
236
+ name_en: "Gastroscopy (Lesion removal, large (≥ 10 mm), elective)"
237
+ examination: "gastroscopy"
238
+ description: "Elective gastroscopy for removal of large lesions (≥ 10 mm)"
239
+ expected_interventions:
240
+ [
241
+ "egd_lesion_injection_vasoactive",
242
+ "egd_lesion_injection_liftup",
243
+ "egd_lesion_clip",
244
+ "egd_lesion_over_the_scope_clip",
245
+ "egd_lesion_emr",
246
+ "egd_lesion_esd",
247
+ "egd_eftr",
248
+ "egd_poem",
249
+ ]
250
+
251
+ - model: endoreg_db.examination_indication
252
+ fields:
253
+ name: "gastroscopy_obstruction_generic"
254
+ name_de: "Gastroskopie (Obstruktion / Dysphagie, generisch, elektiv)"
255
+ name_en: "Gastroscopy (Obstruction / Dysphagia, generic, elective)"
256
+ examination: "gastroscopy"
257
+ description: "Elective gastroscopy for patients with obstruction / dysphagia"
258
+ expected_interventions:
259
+ [
260
+ "egd_stepwise_biopsy",
261
+ "egd_lesion_biopsy",
262
+ "egd_clip",
263
+ "egd_esophagus_injection_botox",
264
+ "egd_stenosis_dilation",
265
+ "egd_stenosis_bougie",
266
+ "egd_stenosis_balloon",
267
+ "egd_stenosis_stent",
268
+ "egd_lesion_radiofrequency_ablation",
269
+ "egd_lesion_cryotherapy",
270
+ "egd_stenosis_laser",
271
+ ]
272
+
273
+ # Endosonography
274
+ - model: endoreg_db.examination_indication
275
+ fields:
276
+ name: "endosonography_upper_gi"
277
+ name_de: "Endosonographie oberer GI-Trakt"
278
+ name_en: "Endosonography Upper GI Tract"
279
+ examination: "endosonography_upper_gi"
280
+ description: "Endosonography of the upper GI tract without further specification"
281
+ expected_interventions: []
282
+
283
+ - model: endoreg_db.examination_indication
284
+ fields:
285
+ name: "endosonography_upper_gi_invasive"
286
+ name_de: "Endosonographie oberer GI-Trakt (invasiv)"
287
+ name_en: "Endosonography Upper GI Tract (invasive)"
288
+ examination: "endosonography_upper_gi"
289
+ description: "Invasive endosonography of the upper GI tract"
290
+ expected_interventions:
291
+ [
292
+ "endosonography_upper_gi_solid_lesion_fna",
293
+ "endosonography_upper_gi_cyst_fna",
294
+ "endosonography_upper_gi_pseudocyst_fna",
295
+ "endosonography_upper_gi_biliary_drainage",
296
+ "endosonography_upper_gi_pancreatic_drainage",
297
+ "endosonography_upper_gi_cyst_gastrostomy",
298
+ "endosonography_upper_gi_pancreaticogastrostomy",
299
+ "endosonography_upper_gi_cholangioduodenostomy",
300
+ "endosonography_upper_gi_pancreaticoduodenostomy",
301
+ ]
302
+
303
+ - model: endoreg_db.examination_indication
304
+ fields:
305
+ name: "endosonography_lower_gi"
306
+ name_de: "Endosonographie unterer GI-Trakt"
307
+ name_en: "Endosonography Lower GI Tract"
308
+ examination: "endosonography_lower_gi"
309
+ description: "Endosonography of the lower GI tract without further specification"
310
+ expected_interventions: []
311
+
312
+ - model: endoreg_db.examination_indication
313
+ fields:
314
+ name: "endosonography_lower_gi_invasive"
315
+ name_de: "Endosonographie unterer GI-Trakt (invasiv)"
316
+ name_en: "Endosonography Lower GI Tract (invasive)"
317
+ examination: "endosonography_lower_gi"
318
+ description: "Invasive endosonography of the lower GI tract"
319
+ expected_interventions:
320
+ [
321
+ "endosonography_lower_gi_solid_lesion_fna",
322
+ "endosonography_lower_gi_lymph_node_fna",
323
+ ]
324
+
325
+ # PTC(D)
326
+ - model: endoreg_db.examination_indication
327
+ fields:
328
+ name: "percutaneous_transhepatic_cholangiography"
329
+ name_de: "Perkutane transhepatische Cholangiographie"
330
+ name_en: "Percutaneous Transhepatic Cholangiography"
331
+ examination: "percutaneous_transhepatic_cholangiography"
332
+ description: "Percutaneous transhepatic cholangiography without further specification"
333
+ expected_interventions:
334
+ [
335
+ "percutaneous_transhepatic_cholangiography",
336
+ "sonography_guided_liver_punction",
337
+ "xray_guided_liver_punction",
338
+ ]
339
+
340
+ - model: endoreg_db.examination_indication
341
+ fields:
342
+ name: "percutaneous_transhepatic_biliary_drainage"
343
+ name_de: "Perkutane transhepatische Gallengangdrainage"
344
+ name_en: "Percutaneous Transhepatic Biliary Drainage"
345
+ examination: "percutaneous_transhepatic_cholangiography"
346
+ description: "Percutaneous transhepatic biliary drainage without further specification"
347
+ expected_interventions:
348
+ [
349
+ "percutaneous_transhepatic_cholangiography",
350
+ "percutaneous_transhepatic_biliary_drainage",
351
+ "biliary_stent",
352
+ ]
353
+
354
+ # ERCP
355
+ - model: endoreg_db.examination_indication
356
+ fields:
357
+ name: "erc"
358
+ name_de: "Endoskopische retrograde Cholangiographie"
359
+ name_en: "Endoscopic Retrograde Cholangiography"
360
+ examination: "ercp"
361
+ description: "ERC without further specification"
362
+ expected_interventions:
363
+ [
364
+ "ercp",
365
+ "ercp_sphincterotomy",
366
+ "ercp_stent",
367
+ "ercp_extraction",
368
+ "ercp_biopsy",
369
+ ]
370
+
371
+ - model: endoreg_db.examination_indication
372
+ fields:
373
+ name: "erc_no_est"
374
+ name_de: "ERC (ohne EST)"
375
+ name_en: "ERC (without EST)"
376
+ examination: "ercp"
377
+ description: "ERC without endoscopic sphincterotomy"
378
+ expected_interventions:
379
+ ["erc", "ercp_stent", "ercp_extraction", "ercp_biopsy"]
380
+
381
+ - model: endoreg_db.examination_indication
382
+ fields:
383
+ name: "ERCP"
384
+ name_de: "Endoskopische retrograde Cholangiopankreatikographie"
385
+ name_en: "Endoscopic Retrograde Cholangiopancreatography"
386
+ examination: "ercp"
387
+ description: "ERCP without further specification"
388
+ expected_interventions:
389
+ [
390
+ "erp",
391
+ "erc",
392
+ "ercp_sphincterotomy",
393
+ "ercp_stent",
394
+ "ercp_extraction",
395
+ "ercp_biopsy",
396
+ ]
397
+
398
+ - model: endoreg_db.examination_indication
399
+ fields:
400
+ name: "ercp_no_est"
401
+ name_de: "ERCP (ohne EST)"
402
+ name_en: "ERCP (without EST)"
403
+ examination: "ercp"
404
+ description: "ERCP without endoscopic sphincterotomy"
405
+ expected_interventions:
406
+ ["erc", "erp", "ercp_stent", "ercp_extraction", "ercp_biopsy"]
407
+
408
+ - model: endoreg_db.examination_indication
409
+ fields:
410
+ name: "ercp_therapeutic_stenosis"
411
+ name_de: "ERC(P) (Therapie, Stenose)"
412
+ name_en: "ERC(P) (Therapeutic, Stenosis)"
413
+ examination: "ercp"
414
+ description: "ERC(P) for therapeutic purposes in patients with stenosis"
415
+ expected_interventions:
416
+ [
417
+ "erc",
418
+ "erp",
419
+ "ercp_sphincterotomy",
420
+ "ercp_stent",
421
+ "ercp_extraction",
422
+ "ercp_biopsy",
423
+ "ercp_radiofrequency_ablation",
424
+ ]