endoreg-db 0.8.8.0__py3-none-any.whl → 0.8.9.2__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.
- endoreg_db/data/__init__.py +22 -8
- endoreg_db/data/ai_model_meta/default_multilabel_classification.yaml +0 -1
- endoreg_db/data/examination/examinations/data.yaml +114 -14
- endoreg_db/data/examination/time-type/data.yaml +0 -3
- endoreg_db/data/examination_indication/endoscopy.yaml +108 -173
- endoreg_db/data/examination_indication_classification/endoscopy.yaml +0 -70
- endoreg_db/data/examination_indication_classification_choice/endoscopy.yaml +33 -37
- endoreg_db/data/finding/00_generic.yaml +35 -0
- endoreg_db/data/finding/00_generic_complication.yaml +9 -0
- endoreg_db/data/finding/01_gastroscopy_baseline.yaml +88 -0
- endoreg_db/data/finding/01_gastroscopy_observation.yaml +113 -0
- endoreg_db/data/finding/02_colonoscopy_baseline.yaml +53 -0
- endoreg_db/data/finding/02_colonoscopy_hidden.yaml +119 -0
- endoreg_db/data/finding/02_colonoscopy_observation.yaml +152 -0
- endoreg_db/data/finding_classification/00_generic.yaml +44 -0
- endoreg_db/data/finding_classification/00_generic_histology.yaml +28 -0
- endoreg_db/data/finding_classification/00_generic_lesion.yaml +52 -0
- endoreg_db/data/finding_classification/{colonoscopy_bowel_preparation.yaml → 02_colonoscopy_baseline.yaml} +35 -20
- endoreg_db/data/finding_classification/02_colonoscopy_histology.yaml +13 -0
- endoreg_db/data/finding_classification/02_colonoscopy_other.yaml +12 -0
- endoreg_db/data/finding_classification/02_colonoscopy_polyp.yaml +101 -0
- endoreg_db/data/finding_classification_choice/{yes_no_na.yaml → 00_generic.yaml} +5 -1
- endoreg_db/data/finding_classification_choice/{examination_setting_generic_types.yaml → 00_generic_baseline.yaml} +10 -2
- endoreg_db/data/finding_classification_choice/{complication_generic_types.yaml → 00_generic_complication.yaml} +1 -1
- endoreg_db/data/finding_classification_choice/{histology.yaml → 00_generic_histology.yaml} +1 -4
- endoreg_db/data/finding_classification_choice/00_generic_lesion.yaml +158 -0
- endoreg_db/data/finding_classification_choice/{bowel_preparation.yaml → 02_colonoscopy_bowel_preparation.yaml} +1 -30
- endoreg_db/data/{_examples/finding_classification_choice/colonoscopy_not_complete_reason.yaml → finding_classification_choice/02_colonoscopy_generic.yaml} +1 -1
- endoreg_db/data/finding_classification_choice/{histology_polyp.yaml → 02_colonoscopy_histology.yaml} +1 -1
- endoreg_db/data/{_examples/finding_classification_choice/colonoscopy_location.yaml → finding_classification_choice/02_colonoscopy_location.yaml} +23 -4
- endoreg_db/data/finding_classification_choice/02_colonoscopy_other.yaml +34 -0
- endoreg_db/data/finding_classification_choice/02_colonoscopy_polyp_advanced_imaging.yaml +76 -0
- endoreg_db/data/{_examples/finding_classification_choice/colon_lesion_paris.yaml → finding_classification_choice/02_colonoscopy_polyp_morphology.yaml} +26 -8
- endoreg_db/data/finding_classification_choice/02_colonoscopy_size.yaml +27 -0
- endoreg_db/data/finding_classification_type/{colonoscopy_basic.yaml → 00_generic.yaml} +18 -13
- endoreg_db/data/finding_classification_type/02_colonoscopy.yaml +9 -0
- endoreg_db/data/finding_intervention/00_generic_endoscopy.yaml +59 -0
- endoreg_db/data/finding_intervention/00_generic_endoscopy_ablation.yaml +44 -0
- endoreg_db/data/finding_intervention/00_generic_endoscopy_bleeding.yaml +55 -0
- endoreg_db/data/finding_intervention/00_generic_endoscopy_resection.yaml +85 -0
- endoreg_db/data/finding_intervention/00_generic_endoscopy_stenosis.yaml +17 -0
- endoreg_db/data/finding_intervention/00_generic_endoscopy_stent.yaml +9 -0
- endoreg_db/data/finding_intervention/01_gastroscopy.yaml +19 -0
- endoreg_db/data/finding_intervention/04_eus.yaml +39 -0
- endoreg_db/data/finding_intervention/05_ercp.yaml +3 -0
- endoreg_db/data/finding_type/data.yaml +8 -12
- endoreg_db/data/requirement/01_patient_data.yaml +93 -0
- endoreg_db/data/requirement_operator/new_operators.yaml +36 -0
- endoreg_db/data/requirement_set/01_endoscopy_generic.yaml +0 -2
- endoreg_db/data/requirement_set/90_coloreg.yaml +20 -8
- endoreg_db/exceptions.py +0 -1
- endoreg_db/forms/examination_form.py +1 -1
- endoreg_db/helpers/data_loader.py +124 -52
- endoreg_db/helpers/default_objects.py +116 -81
- endoreg_db/import_files/__init__.py +27 -0
- endoreg_db/import_files/context/__init__.py +7 -0
- endoreg_db/import_files/context/default_sensitive_meta.py +81 -0
- endoreg_db/import_files/context/ensure_center.py +17 -0
- endoreg_db/import_files/context/file_lock.py +66 -0
- endoreg_db/import_files/context/import_context.py +43 -0
- endoreg_db/import_files/context/validate_directories.py +56 -0
- endoreg_db/import_files/file_storage/__init__.py +15 -0
- endoreg_db/import_files/file_storage/create_report_file.py +76 -0
- endoreg_db/import_files/file_storage/create_video_file.py +75 -0
- endoreg_db/import_files/file_storage/sensitive_meta_storage.py +39 -0
- endoreg_db/import_files/file_storage/state_management.py +496 -0
- endoreg_db/import_files/file_storage/storage.py +36 -0
- endoreg_db/import_files/import_service.md +26 -0
- endoreg_db/import_files/processing/__init__.py +11 -0
- endoreg_db/import_files/processing/report_processing/report_anonymization.py +94 -0
- endoreg_db/import_files/processing/sensitive_meta_adapter.py +51 -0
- endoreg_db/import_files/processing/video_processing/video_anonymization.py +107 -0
- endoreg_db/import_files/pseudonymization/fake.py +52 -0
- endoreg_db/import_files/pseudonymization/k_anonymity.py +182 -0
- endoreg_db/import_files/pseudonymization/k_pseudonymity.py +128 -0
- endoreg_db/import_files/pseudonymization/pseudonymize.py +0 -0
- endoreg_db/import_files/report_import_service.py +141 -0
- endoreg_db/import_files/video_import_service.py +150 -0
- endoreg_db/management/commands/import_report.py +130 -65
- endoreg_db/management/commands/import_video_with_classification.py +1 -1
- endoreg_db/management/commands/load_ai_model_data.py +5 -5
- endoreg_db/management/commands/load_ai_model_label_data.py +9 -7
- endoreg_db/management/commands/load_base_db_data.py +5 -134
- endoreg_db/management/commands/load_contraindication_data.py +14 -16
- endoreg_db/management/commands/load_disease_classification_choices_data.py +15 -18
- endoreg_db/management/commands/load_disease_classification_data.py +15 -18
- endoreg_db/management/commands/load_disease_data.py +25 -28
- endoreg_db/management/commands/load_endoscope_data.py +20 -27
- endoreg_db/management/commands/load_event_data.py +14 -16
- endoreg_db/management/commands/load_examination_data.py +31 -44
- endoreg_db/management/commands/load_examination_indication_data.py +20 -21
- endoreg_db/management/commands/load_finding_data.py +52 -80
- endoreg_db/management/commands/load_information_source.py +21 -23
- endoreg_db/management/commands/load_lab_value_data.py +17 -26
- endoreg_db/management/commands/load_medication_data.py +13 -12
- endoreg_db/management/commands/load_organ_data.py +15 -19
- endoreg_db/management/commands/load_pdf_type_data.py +19 -18
- endoreg_db/management/commands/load_profession_data.py +14 -17
- endoreg_db/management/commands/load_qualification_data.py +20 -23
- endoreg_db/management/commands/load_report_reader_flag_data.py +17 -19
- endoreg_db/management/commands/load_requirement_data.py +14 -20
- endoreg_db/management/commands/load_risk_data.py +7 -6
- endoreg_db/management/commands/load_shift_data.py +20 -23
- endoreg_db/management/commands/load_tag_data.py +8 -11
- endoreg_db/management/commands/load_unit_data.py +17 -19
- endoreg_db/management/commands/start_filewatcher.py +46 -37
- endoreg_db/management/commands/validate_video_files.py +1 -5
- endoreg_db/migrations/0001_initial.py +1360 -1812
- endoreg_db/models/administration/person/patient/patient.py +72 -46
- endoreg_db/models/label/__init__.py +2 -2
- endoreg_db/models/label/annotation/video_segmentation_annotation.py +18 -26
- endoreg_db/models/label/label_video_segment/label_video_segment.py +23 -1
- endoreg_db/models/media/pdf/raw_pdf.py +136 -64
- endoreg_db/models/media/pdf/report_reader/report_reader_config.py +34 -10
- endoreg_db/models/media/processing_history/__init__.py +5 -0
- endoreg_db/models/media/processing_history/processing_history.py +96 -0
- endoreg_db/models/media/video/create_from_file.py +101 -31
- endoreg_db/models/media/video/video_file.py +125 -105
- endoreg_db/models/media/video/video_file_io.py +31 -26
- endoreg_db/models/medical/contraindication/README.md +1 -0
- endoreg_db/models/medical/examination/examination.py +28 -8
- endoreg_db/models/medical/examination/examination_indication.py +13 -79
- endoreg_db/models/medical/examination/examination_time.py +8 -3
- endoreg_db/models/medical/finding/finding.py +5 -12
- endoreg_db/models/medical/finding/finding_classification.py +18 -37
- endoreg_db/models/medical/finding/finding_intervention.py +7 -9
- endoreg_db/models/medical/hardware/endoscope.py +6 -0
- endoreg_db/models/medical/patient/medication_examples.py +5 -1
- endoreg_db/models/medical/patient/patient_finding.py +1 -1
- endoreg_db/models/metadata/pdf_meta.py +22 -10
- endoreg_db/models/metadata/sensitive_meta.py +3 -0
- endoreg_db/models/metadata/sensitive_meta_logic.py +200 -124
- endoreg_db/models/other/information_source.py +27 -6
- endoreg_db/models/report/__init__.py +0 -0
- endoreg_db/models/report/images.py +0 -0
- endoreg_db/models/report/report.py +6 -0
- endoreg_db/models/requirement/requirement.py +59 -399
- endoreg_db/models/requirement/requirement_operator.py +86 -98
- endoreg_db/models/state/audit_ledger.py +4 -5
- endoreg_db/models/state/raw_pdf.py +69 -30
- endoreg_db/models/state/video.py +65 -49
- endoreg_db/models/upload_job.py +33 -9
- endoreg_db/models/utils.py +27 -23
- endoreg_db/queries/__init__.py +3 -1
- endoreg_db/schemas/examination_evaluation.py +1 -1
- endoreg_db/serializers/__init__.py +2 -8
- endoreg_db/serializers/label_video_segment/label_video_segment.py +2 -29
- endoreg_db/serializers/meta/__init__.py +1 -6
- endoreg_db/serializers/misc/sensitive_patient_data.py +50 -26
- endoreg_db/serializers/patient_examination/patient_examination.py +3 -3
- endoreg_db/serializers/pdf/anony_text_validation.py +39 -23
- endoreg_db/serializers/video/video_file_list.py +65 -34
- endoreg_db/services/__old/pdf_import.py +1487 -0
- endoreg_db/services/__old/video_import.py +1306 -0
- endoreg_db/services/anonymization.py +63 -26
- endoreg_db/services/lookup_service.py +28 -28
- endoreg_db/services/lookup_store.py +2 -2
- endoreg_db/services/pdf_import.py +0 -1480
- endoreg_db/services/report_import.py +10 -0
- endoreg_db/services/video_import.py +6 -1165
- endoreg_db/tasks/upload_tasks.py +79 -70
- endoreg_db/tasks/video_ingest.py +8 -4
- endoreg_db/urls/__init__.py +0 -14
- endoreg_db/urls/ai.py +32 -0
- endoreg_db/urls/media.py +21 -24
- endoreg_db/utils/dataloader.py +87 -57
- endoreg_db/utils/paths.py +110 -46
- endoreg_db/utils/pipelines/Readme.md +1 -1
- endoreg_db/utils/requirement_operator_logic/new_operator_logic.py +97 -0
- endoreg_db/utils/video/ffmpeg_wrapper.py +217 -52
- endoreg_db/views/__init__.py +85 -173
- endoreg_db/views/ai/__init__.py +8 -0
- endoreg_db/views/ai/label.py +155 -0
- endoreg_db/views/anonymization/media_management.py +8 -7
- endoreg_db/views/anonymization/overview.py +97 -68
- endoreg_db/views/anonymization/validate.py +25 -21
- endoreg_db/views/media/__init__.py +5 -20
- endoreg_db/views/media/pdf_media.py +109 -65
- endoreg_db/views/media/sensitive_metadata.py +163 -148
- endoreg_db/views/meta/__init__.py +0 -8
- endoreg_db/views/misc/__init__.py +1 -7
- endoreg_db/views/misc/upload_views.py +94 -93
- endoreg_db/views/report/__init__.py +7 -0
- endoreg_db/views/{pdf → report}/reimport.py +45 -24
- endoreg_db/views/{pdf/pdf_stream.py → report/report_stream.py} +40 -32
- endoreg_db/views/requirement/lookup_store.py +22 -90
- endoreg_db/views/video/__init__.py +23 -22
- endoreg_db/views/video/correction.py +201 -172
- endoreg_db/views/video/reimport.py +1 -1
- endoreg_db/views/{media/video_segments.py → video/segments_crud.py} +75 -37
- endoreg_db/views/video/{video_meta.py → video_meta_stats.py} +2 -2
- endoreg_db/views/video/video_stream.py +7 -8
- {endoreg_db-0.8.8.0.dist-info → endoreg_db-0.8.9.2.dist-info}/METADATA +2 -2
- {endoreg_db-0.8.8.0.dist-info → endoreg_db-0.8.9.2.dist-info}/RECORD +217 -335
- {endoreg_db-0.8.8.0.dist-info → endoreg_db-0.8.9.2.dist-info}/WHEEL +1 -1
- endoreg_db/data/_examples/disease.yaml +0 -55
- endoreg_db/data/_examples/disease_classification.yaml +0 -13
- endoreg_db/data/_examples/disease_classification_choice.yaml +0 -62
- endoreg_db/data/_examples/event.yaml +0 -64
- endoreg_db/data/_examples/examination.yaml +0 -72
- endoreg_db/data/_examples/finding/anatomy_colon.yaml +0 -128
- endoreg_db/data/_examples/finding/colonoscopy.yaml +0 -40
- endoreg_db/data/_examples/finding/colonoscopy_bowel_prep.yaml +0 -56
- endoreg_db/data/_examples/finding/complication.yaml +0 -16
- endoreg_db/data/_examples/finding/data.yaml +0 -105
- endoreg_db/data/_examples/finding/examination_setting.yaml +0 -16
- endoreg_db/data/_examples/finding/medication_related.yaml +0 -18
- endoreg_db/data/_examples/finding/outcome.yaml +0 -12
- endoreg_db/data/_examples/finding_classification/colonoscopy_bowel_preparation.yaml +0 -68
- endoreg_db/data/_examples/finding_classification/colonoscopy_jnet.yaml +0 -22
- endoreg_db/data/_examples/finding_classification/colonoscopy_kudo.yaml +0 -25
- endoreg_db/data/_examples/finding_classification/colonoscopy_lesion_circularity.yaml +0 -20
- endoreg_db/data/_examples/finding_classification/colonoscopy_lesion_planarity.yaml +0 -24
- endoreg_db/data/_examples/finding_classification/colonoscopy_lesion_size.yaml +0 -68
- endoreg_db/data/_examples/finding_classification/colonoscopy_lesion_surface.yaml +0 -20
- endoreg_db/data/_examples/finding_classification/colonoscopy_location.yaml +0 -80
- endoreg_db/data/_examples/finding_classification/colonoscopy_lst.yaml +0 -21
- endoreg_db/data/_examples/finding_classification/colonoscopy_nice.yaml +0 -20
- endoreg_db/data/_examples/finding_classification/colonoscopy_paris.yaml +0 -26
- endoreg_db/data/_examples/finding_classification/colonoscopy_sano.yaml +0 -22
- endoreg_db/data/_examples/finding_classification/colonoscopy_summary.yaml +0 -53
- endoreg_db/data/_examples/finding_classification/complication_generic.yaml +0 -25
- endoreg_db/data/_examples/finding_classification/examination_setting_generic.yaml +0 -40
- endoreg_db/data/_examples/finding_classification/histology_colo.yaml +0 -51
- endoreg_db/data/_examples/finding_classification/intervention_required.yaml +0 -26
- endoreg_db/data/_examples/finding_classification/medication_related.yaml +0 -23
- endoreg_db/data/_examples/finding_classification/visualized.yaml +0 -33
- endoreg_db/data/_examples/finding_classification_choice/bowel_preparation.yaml +0 -78
- endoreg_db/data/_examples/finding_classification_choice/colon_lesion_circularity_default.yaml +0 -32
- endoreg_db/data/_examples/finding_classification_choice/colon_lesion_jnet.yaml +0 -15
- endoreg_db/data/_examples/finding_classification_choice/colon_lesion_kudo.yaml +0 -23
- endoreg_db/data/_examples/finding_classification_choice/colon_lesion_lst.yaml +0 -15
- endoreg_db/data/_examples/finding_classification_choice/colon_lesion_nice.yaml +0 -17
- endoreg_db/data/_examples/finding_classification_choice/colon_lesion_planarity_default.yaml +0 -49
- endoreg_db/data/_examples/finding_classification_choice/colon_lesion_sano.yaml +0 -14
- endoreg_db/data/_examples/finding_classification_choice/colon_lesion_surface_intact_default.yaml +0 -36
- endoreg_db/data/_examples/finding_classification_choice/colonoscopy_size.yaml +0 -82
- endoreg_db/data/_examples/finding_classification_choice/colonoscopy_summary_worst_finding.yaml +0 -15
- endoreg_db/data/_examples/finding_classification_choice/complication_generic_types.yaml +0 -15
- endoreg_db/data/_examples/finding_classification_choice/examination_setting_generic_types.yaml +0 -15
- endoreg_db/data/_examples/finding_classification_choice/histology.yaml +0 -24
- endoreg_db/data/_examples/finding_classification_choice/histology_polyp.yaml +0 -20
- endoreg_db/data/_examples/finding_classification_choice/outcome.yaml +0 -19
- endoreg_db/data/_examples/finding_classification_choice/yes_no_na.yaml +0 -11
- endoreg_db/data/_examples/finding_classification_type/colonoscopy_basic.yaml +0 -48
- endoreg_db/data/_examples/finding_intervention/endoscopy.yaml +0 -43
- endoreg_db/data/_examples/finding_intervention/endoscopy_colonoscopy.yaml +0 -168
- endoreg_db/data/_examples/finding_intervention/endoscopy_egd.yaml +0 -128
- endoreg_db/data/_examples/finding_intervention/endoscopy_ercp.yaml +0 -32
- endoreg_db/data/_examples/finding_intervention/endoscopy_eus_lower.yaml +0 -9
- endoreg_db/data/_examples/finding_intervention/endoscopy_eus_upper.yaml +0 -36
- endoreg_db/data/_examples/finding_intervention_type/endoscopy.yaml +0 -15
- endoreg_db/data/_examples/finding_type/data.yaml +0 -43
- endoreg_db/data/_examples/requirement/age.yaml +0 -26
- endoreg_db/data/_examples/requirement/gender.yaml +0 -25
- endoreg_db/data/_examples/requirement_set/01_endoscopy_generic.yaml +0 -48
- endoreg_db/data/_examples/requirement_set/colonoscopy_austria_screening.yaml +0 -57
- endoreg_db/data/_examples/requirement_set/endoscopy_bleeding_risk.yaml +0 -52
- endoreg_db/data/_examples/yaml_examples.xlsx +0 -0
- endoreg_db/data/finding/anatomy_colon.yaml +0 -128
- endoreg_db/data/finding/colonoscopy.yaml +0 -40
- endoreg_db/data/finding/colonoscopy_bowel_prep.yaml +0 -56
- endoreg_db/data/finding/complication.yaml +0 -16
- endoreg_db/data/finding/data.yaml +0 -105
- endoreg_db/data/finding/examination_setting.yaml +0 -16
- endoreg_db/data/finding/medication_related.yaml +0 -18
- endoreg_db/data/finding/outcome.yaml +0 -12
- endoreg_db/data/finding_classification/colonoscopy_jnet.yaml +0 -22
- endoreg_db/data/finding_classification/colonoscopy_kudo.yaml +0 -25
- endoreg_db/data/finding_classification/colonoscopy_lesion_circularity.yaml +0 -20
- endoreg_db/data/finding_classification/colonoscopy_lesion_planarity.yaml +0 -24
- endoreg_db/data/finding_classification/colonoscopy_lesion_size.yaml +0 -38
- endoreg_db/data/finding_classification/colonoscopy_lesion_surface.yaml +0 -20
- endoreg_db/data/finding_classification/colonoscopy_location.yaml +0 -49
- endoreg_db/data/finding_classification/colonoscopy_lst.yaml +0 -21
- endoreg_db/data/finding_classification/colonoscopy_nice.yaml +0 -20
- endoreg_db/data/finding_classification/colonoscopy_paris.yaml +0 -26
- endoreg_db/data/finding_classification/colonoscopy_sano.yaml +0 -22
- endoreg_db/data/finding_classification/colonoscopy_summary.yaml +0 -53
- endoreg_db/data/finding_classification/complication_generic.yaml +0 -25
- endoreg_db/data/finding_classification/examination_setting_generic.yaml +0 -40
- endoreg_db/data/finding_classification/histology_colo.yaml +0 -43
- endoreg_db/data/finding_classification/intervention_required.yaml +0 -26
- endoreg_db/data/finding_classification/medication_related.yaml +0 -23
- endoreg_db/data/finding_classification/visualized.yaml +0 -33
- endoreg_db/data/finding_classification_choice/colon_lesion_circularity_default.yaml +0 -32
- endoreg_db/data/finding_classification_choice/colon_lesion_jnet.yaml +0 -15
- endoreg_db/data/finding_classification_choice/colon_lesion_kudo.yaml +0 -23
- endoreg_db/data/finding_classification_choice/colon_lesion_lst.yaml +0 -15
- endoreg_db/data/finding_classification_choice/colon_lesion_nice.yaml +0 -17
- endoreg_db/data/finding_classification_choice/colon_lesion_paris.yaml +0 -57
- endoreg_db/data/finding_classification_choice/colon_lesion_planarity_default.yaml +0 -49
- endoreg_db/data/finding_classification_choice/colon_lesion_sano.yaml +0 -14
- endoreg_db/data/finding_classification_choice/colon_lesion_surface_intact_default.yaml +0 -36
- endoreg_db/data/finding_classification_choice/colonoscopy_location.yaml +0 -229
- endoreg_db/data/finding_classification_choice/colonoscopy_not_complete_reason.yaml +0 -19
- endoreg_db/data/finding_classification_choice/colonoscopy_size.yaml +0 -82
- endoreg_db/data/finding_classification_choice/colonoscopy_summary_worst_finding.yaml +0 -15
- endoreg_db/data/finding_classification_choice/outcome.yaml +0 -19
- endoreg_db/data/finding_intervention/endoscopy.yaml +0 -43
- endoreg_db/data/finding_intervention/endoscopy_colonoscopy.yaml +0 -168
- endoreg_db/data/finding_intervention/endoscopy_egd.yaml +0 -128
- endoreg_db/data/finding_intervention/endoscopy_ercp.yaml +0 -32
- endoreg_db/data/finding_intervention/endoscopy_eus_lower.yaml +0 -9
- endoreg_db/data/finding_intervention/endoscopy_eus_upper.yaml +0 -36
- endoreg_db/data/finding_morphology_classification_type/colonoscopy.yaml +0 -79
- endoreg_db/data/requirement/age.yaml +0 -26
- endoreg_db/data/requirement/colonoscopy_baseline_austria.yaml +0 -45
- endoreg_db/data/requirement/disease_cardiovascular.yaml +0 -79
- endoreg_db/data/requirement/disease_classification_choice_cardiovascular.yaml +0 -41
- endoreg_db/data/requirement/disease_hepatology.yaml +0 -12
- endoreg_db/data/requirement/disease_misc.yaml +0 -12
- endoreg_db/data/requirement/disease_renal.yaml +0 -96
- endoreg_db/data/requirement/endoscopy_bleeding_risk.yaml +0 -59
- endoreg_db/data/requirement/event_cardiology.yaml +0 -251
- endoreg_db/data/requirement/event_requirements.yaml +0 -145
- endoreg_db/data/requirement/finding_colon_polyp.yaml +0 -50
- endoreg_db/data/requirement/gender.yaml +0 -25
- endoreg_db/data/requirement/lab_value.yaml +0 -441
- endoreg_db/data/requirement/medication.yaml +0 -93
- endoreg_db/data/requirement_operator/age.yaml +0 -13
- endoreg_db/data/requirement_operator/lab_operators.yaml +0 -129
- endoreg_db/data/requirement_operator/model_operators.yaml +0 -96
- endoreg_db/management/commands/init_default_ai_model.py +0 -112
- endoreg_db/management/commands/reset_celery_schedule.py +0 -9
- endoreg_db/management/commands/validate_video.py +0 -204
- endoreg_db/migrations/0002_requirementset_depends_on.py +0 -18
- endoreg_db/migrations/_old/0001_initial.py +0 -1857
- endoreg_db/migrations/_old/0002_add_video_correction_models.py +0 -52
- endoreg_db/migrations/_old/0003_add_center_display_name.py +0 -30
- endoreg_db/migrations/_old/0004_employee_city_employee_post_code_employee_street_and_more.py +0 -68
- endoreg_db/migrations/_old/0004_remove_casetemplate_rules_and_more.py +0 -77
- endoreg_db/migrations/_old/0005_merge_20251111_1003.py +0 -14
- endoreg_db/migrations/_old/0006_sensitivemeta_anonymized_text_and_more.py +0 -68
- endoreg_db/migrations/_old/0007_remove_rule_attribute_dtype_remove_rule_rule_type_and_more.py +0 -89
- endoreg_db/migrations/_old/0008_remove_event_event_classification_and_more.py +0 -27
- endoreg_db/migrations/_old/0009_alter_modelmeta_options_and_more.py +0 -21
- endoreg_db/renames.yml +0 -8
- endoreg_db/serializers/_old/raw_pdf_meta_validation.py +0 -223
- endoreg_db/serializers/_old/raw_video_meta_validation.py +0 -179
- endoreg_db/serializers/_old/video.py +0 -71
- endoreg_db/serializers/meta/pdf_file_meta_extraction.py +0 -115
- endoreg_db/serializers/meta/report_meta.py +0 -53
- endoreg_db/serializers/report/__init__.py +0 -9
- endoreg_db/serializers/report/mixins.py +0 -45
- endoreg_db/serializers/report/report.py +0 -105
- endoreg_db/serializers/report/report_list.py +0 -22
- endoreg_db/serializers/report/secure_file_url.py +0 -26
- endoreg_db/services/requirements_object.py +0 -147
- endoreg_db/services/storage_aware_video_processor.py +0 -370
- endoreg_db/urls/files.py +0 -6
- endoreg_db/urls/label_video_segment_validate.py +0 -33
- endoreg_db/urls/label_video_segments.py +0 -46
- endoreg_db/views/label/__init__.py +0 -5
- endoreg_db/views/label/label.py +0 -15
- endoreg_db/views/label_video_segment/__init__.py +0 -16
- endoreg_db/views/label_video_segment/create_lvs_from_annotation.py +0 -44
- endoreg_db/views/label_video_segment/get_lvs_by_name_and_video.py +0 -50
- endoreg_db/views/label_video_segment/label_video_segment.py +0 -77
- endoreg_db/views/label_video_segment/label_video_segment_by_label.py +0 -174
- endoreg_db/views/label_video_segment/label_video_segment_detail.py +0 -73
- endoreg_db/views/label_video_segment/update_lvs_from_annotation.py +0 -46
- endoreg_db/views/label_video_segment/validate.py +0 -226
- endoreg_db/views/media/segments.py +0 -71
- endoreg_db/views/meta/available_files_list.py +0 -146
- endoreg_db/views/meta/report_meta.py +0 -53
- endoreg_db/views/meta/sensitive_meta_detail.py +0 -85
- endoreg_db/views/misc/secure_file_serving_view.py +0 -80
- endoreg_db/views/misc/secure_file_url_view.py +0 -84
- endoreg_db/views/misc/secure_url_validate.py +0 -79
- endoreg_db/views/patient_examination/DEPRECATED_video_backup.py +0 -164
- endoreg_db/views/patient_finding_location/__init__.py +0 -5
- endoreg_db/views/patient_finding_location/pfl_create.py +0 -70
- endoreg_db/views/patient_finding_morphology/__init__.py +0 -5
- endoreg_db/views/patient_finding_morphology/pfm_create.py +0 -70
- endoreg_db/views/pdf/__init__.py +0 -8
- endoreg_db/views/video/segmentation.py +0 -274
- endoreg_db/views/video/task_status.py +0 -49
- endoreg_db/views/video/timeline.py +0 -46
- endoreg_db/views/video/video_analyze.py +0 -52
- /endoreg_db/data/requirement/{colon_polyp_intervention.yaml → old/colon_polyp_intervention.yaml} +0 -0
- /endoreg_db/data/{_examples/requirement → requirement/old}/colonoscopy_baseline_austria.yaml +0 -0
- /endoreg_db/data/requirement/{coloreg_colon_polyp.yaml → old/coloreg_colon_polyp.yaml} +0 -0
- /endoreg_db/data/{_examples/requirement → requirement/old}/disease_cardiovascular.yaml +0 -0
- /endoreg_db/data/{_examples/requirement → requirement/old}/disease_classification_choice_cardiovascular.yaml +0 -0
- /endoreg_db/data/{_examples/requirement → requirement/old}/disease_hepatology.yaml +0 -0
- /endoreg_db/data/{_examples/requirement → requirement/old}/disease_misc.yaml +0 -0
- /endoreg_db/data/{_examples/requirement → requirement/old}/disease_renal.yaml +0 -0
- /endoreg_db/data/{_examples/requirement → requirement/old}/endoscopy_bleeding_risk.yaml +0 -0
- /endoreg_db/data/{_examples/requirement → requirement/old}/event_cardiology.yaml +0 -0
- /endoreg_db/data/{_examples/requirement → requirement/old}/event_requirements.yaml +0 -0
- /endoreg_db/data/{_examples/requirement → requirement/old}/finding_colon_polyp.yaml +0 -0
- /endoreg_db/{urls/sensitive_meta.py → data/requirement/old/gender.yaml} +0 -0
- /endoreg_db/data/{_examples/requirement → requirement/old}/lab_value.yaml +0 -0
- /endoreg_db/data/{_examples/requirement → requirement/old}/medication.yaml +0 -0
- /endoreg_db/data/{_examples/requirement_operator → requirement_operator/_old}/age.yaml +0 -0
- /endoreg_db/data/{_examples/requirement_operator → requirement_operator/_old}/lab_operators.yaml +0 -0
- /endoreg_db/data/{_examples/requirement_operator → requirement_operator/_old}/model_operators.yaml +0 -0
- /endoreg_db/{views/pdf/pdf_stream_views.py → import_files/pseudonymization/__init__.py} +0 -0
- /endoreg_db/utils/requirement_operator_logic/{lab_value_operators.py → _old/lab_value_operators.py} +0 -0
- /endoreg_db/utils/requirement_operator_logic/{model_evaluators.py → _old/model_evaluators.py} +0 -0
- {endoreg_db-0.8.8.0.dist-info → endoreg_db-0.8.9.2.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
- model: endoreg_db.finding_intervention
|
|
2
|
-
fields:
|
|
3
|
-
name: egd_lesion_biopsy
|
|
4
|
-
# ...existing code...
|
|
5
|
-
- model: endoreg_db.finding_intervention
|
|
6
|
-
fields:
|
|
7
|
-
name: egd_hp_biopsy
|
|
8
|
-
# ...existing code...
|
|
9
|
-
- model: endoreg_db.finding_intervention
|
|
10
|
-
fields:
|
|
11
|
-
name: egd_lesion_injection_vasoactive
|
|
12
|
-
# ...existing code...
|
|
13
|
-
- model: endoreg_db.finding_intervention
|
|
14
|
-
fields:
|
|
15
|
-
name: egd_lesion_clip
|
|
16
|
-
# ...existing code...
|
|
17
|
-
- model: endoreg_db.finding_intervention
|
|
18
|
-
fields:
|
|
19
|
-
name: egd_lesion_over_the_scope_clip
|
|
20
|
-
# ...existing code...
|
|
21
|
-
- model: endoreg_db.finding_intervention
|
|
22
|
-
fields:
|
|
23
|
-
name: egd_varice_band_ligation
|
|
24
|
-
# ...existing code...
|
|
25
|
-
- model: endoreg_db.finding_intervention
|
|
26
|
-
fields:
|
|
27
|
-
name: egd_varice_sclerotherapy
|
|
28
|
-
# ...existing code...
|
|
29
|
-
- model: endoreg_db.finding_intervention
|
|
30
|
-
fields:
|
|
31
|
-
name: egd_argon_plasma_coagulation
|
|
32
|
-
# ...existing code...
|
|
33
|
-
- model: endoreg_db.finding_intervention
|
|
34
|
-
fields:
|
|
35
|
-
name: egd_percutaneous_gastroenterostomy
|
|
36
|
-
# ...existing code...
|
|
37
|
-
- model: endoreg_db.finding_intervention
|
|
38
|
-
fields:
|
|
39
|
-
name: egd_percutaneous_jejunostomy
|
|
40
|
-
# ...existing code...
|
|
41
|
-
- model: endoreg_db.finding_intervention
|
|
42
|
-
fields:
|
|
43
|
-
name: egd_clip
|
|
44
|
-
# ...existing code...
|
|
45
|
-
- model: endoreg_db.finding_intervention
|
|
46
|
-
fields:
|
|
47
|
-
name: egd_varicosis_band_ligation
|
|
48
|
-
# ...existing code...
|
|
49
|
-
- model: endoreg_db.finding_intervention
|
|
50
|
-
fields:
|
|
51
|
-
name: egd_varicosis_sclerotherapy
|
|
52
|
-
# ...existing code...
|
|
53
|
-
- model: endoreg_db.finding_intervention
|
|
54
|
-
fields:
|
|
55
|
-
name: egd_injection_vasoactive
|
|
56
|
-
# ...existing code...
|
|
57
|
-
- model: endoreg_db.finding_intervention
|
|
58
|
-
fields:
|
|
59
|
-
name: egd_injection_varicosis
|
|
60
|
-
# ...existing code...
|
|
61
|
-
- model: endoreg_db.finding_intervention
|
|
62
|
-
fields:
|
|
63
|
-
name: egd_lesion_polypectomy_cold_snare
|
|
64
|
-
# ...existing code...
|
|
65
|
-
- model: endoreg_db.finding_intervention
|
|
66
|
-
fields:
|
|
67
|
-
name: egd_lesion_polypectomy_hot_snare
|
|
68
|
-
# ...existing code...
|
|
69
|
-
- model: endoreg_db.finding_intervention
|
|
70
|
-
fields:
|
|
71
|
-
name: egd_lesion_polypectomy_forceps
|
|
72
|
-
# ...existing code...
|
|
73
|
-
- model: endoreg_db.finding_intervention
|
|
74
|
-
fields:
|
|
75
|
-
name: egd_lesion_injection_liftup
|
|
76
|
-
# ...existing code...
|
|
77
|
-
- model: endoreg_db.finding_intervention
|
|
78
|
-
fields:
|
|
79
|
-
name: egd_lesion_emr
|
|
80
|
-
# ...existing code...
|
|
81
|
-
- model: endoreg_db.finding_intervention
|
|
82
|
-
fields:
|
|
83
|
-
name: egd_lesion_esd
|
|
84
|
-
# ...existing code...
|
|
85
|
-
- model: endoreg_db.finding_intervention
|
|
86
|
-
fields:
|
|
87
|
-
name: egd_eftr
|
|
88
|
-
# ...existing code...
|
|
89
|
-
- model: endoreg_db.finding_intervention
|
|
90
|
-
fields:
|
|
91
|
-
name: egd_poem
|
|
92
|
-
# ...existing code...
|
|
93
|
-
- model: endoreg_db.finding_intervention
|
|
94
|
-
fields:
|
|
95
|
-
name: egd_stepwise_biopsy
|
|
96
|
-
# ...existing code...
|
|
97
|
-
- model: endoreg_db.finding_intervention
|
|
98
|
-
fields:
|
|
99
|
-
name: egd_esophagus_injection_botox
|
|
100
|
-
# ...existing code...
|
|
101
|
-
- model: endoreg_db.finding_intervention
|
|
102
|
-
fields:
|
|
103
|
-
name: egd_stenosis_dilation
|
|
104
|
-
# ...existing code...
|
|
105
|
-
- model: endoreg_db.finding_intervention
|
|
106
|
-
fields:
|
|
107
|
-
name: egd_stenosis_bougie
|
|
108
|
-
# ...existing code...
|
|
109
|
-
- model: endoreg_db.finding_intervention
|
|
110
|
-
fields:
|
|
111
|
-
name: egd_stenosis_balloon
|
|
112
|
-
# ...existing code...
|
|
113
|
-
- model: endoreg_db.finding_intervention
|
|
114
|
-
fields:
|
|
115
|
-
name: egd_stenosis_stent
|
|
116
|
-
# ...existing code...
|
|
117
|
-
- model: endoreg_db.finding_intervention
|
|
118
|
-
fields:
|
|
119
|
-
name: egd_lesion_radiofrequency_ablation
|
|
120
|
-
# ...existing code...
|
|
121
|
-
- model: endoreg_db.finding_intervention
|
|
122
|
-
fields:
|
|
123
|
-
name: egd_lesion_cryotherapy
|
|
124
|
-
# ...existing code...
|
|
125
|
-
- model: endoreg_db.finding_intervention
|
|
126
|
-
fields:
|
|
127
|
-
name: egd_stenosis_laser
|
|
128
|
-
# ...existing code...
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
- model: endoreg_db.finding_intervention
|
|
2
|
-
fields:
|
|
3
|
-
name: ercp
|
|
4
|
-
# ...existing code...
|
|
5
|
-
- model: endoreg_db.finding_intervention
|
|
6
|
-
fields:
|
|
7
|
-
name: ercp_sphincterotomy
|
|
8
|
-
# ...existing code...
|
|
9
|
-
- model: endoreg_db.finding_intervention
|
|
10
|
-
fields:
|
|
11
|
-
name: ercp_stent
|
|
12
|
-
# ...existing code...
|
|
13
|
-
- model: endoreg_db.finding_intervention
|
|
14
|
-
fields:
|
|
15
|
-
name: ercp_extraction
|
|
16
|
-
# ...existing code...
|
|
17
|
-
- model: endoreg_db.finding_intervention
|
|
18
|
-
fields:
|
|
19
|
-
name: ercp_biopsy
|
|
20
|
-
# ...existing code...
|
|
21
|
-
- model: endoreg_db.finding_intervention
|
|
22
|
-
fields:
|
|
23
|
-
name: erc
|
|
24
|
-
# ...existing code...
|
|
25
|
-
- model: endoreg_db.finding_intervention
|
|
26
|
-
fields:
|
|
27
|
-
name: erp
|
|
28
|
-
# ...existing code...
|
|
29
|
-
- model: endoreg_db.finding_intervention
|
|
30
|
-
fields:
|
|
31
|
-
name: ercp_radiofrequency_ablation
|
|
32
|
-
# ...existing code...
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
# (currently no interventions)
|
|
2
|
-
- model: endoreg_db.finding_intervention
|
|
3
|
-
fields:
|
|
4
|
-
name: endosonography_lower_gi_solid_lesion_fna
|
|
5
|
-
|
|
6
|
-
# endosonography_lower_gi_lymph_node_fna
|
|
7
|
-
- model: endoreg_db.finding_intervention
|
|
8
|
-
fields:
|
|
9
|
-
name: endosonography_lower_gi_lymph_node_fna
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
- model: endoreg_db.finding_intervention
|
|
2
|
-
fields:
|
|
3
|
-
name: endosonography_upper_gi_solid_lesion_fna
|
|
4
|
-
# ...existing code...
|
|
5
|
-
- model: endoreg_db.finding_intervention
|
|
6
|
-
fields:
|
|
7
|
-
name: endosonography_upper_gi_cyst_fna
|
|
8
|
-
# ...existing code...
|
|
9
|
-
- model: endoreg_db.finding_intervention
|
|
10
|
-
fields:
|
|
11
|
-
name: endosonography_upper_gi_pseudocyst_fna
|
|
12
|
-
# ...existing code...
|
|
13
|
-
- model: endoreg_db.finding_intervention
|
|
14
|
-
fields:
|
|
15
|
-
name: endosonography_upper_gi_biliary_drainage
|
|
16
|
-
# ...existing code...
|
|
17
|
-
- model: endoreg_db.finding_intervention
|
|
18
|
-
fields:
|
|
19
|
-
name: endosonography_upper_gi_pancreatic_drainage
|
|
20
|
-
# ...existing code...
|
|
21
|
-
- model: endoreg_db.finding_intervention
|
|
22
|
-
fields:
|
|
23
|
-
name: endosonography_upper_gi_cyst_gastrostomy
|
|
24
|
-
# ...existing code...
|
|
25
|
-
- model: endoreg_db.finding_intervention
|
|
26
|
-
fields:
|
|
27
|
-
name: endosonography_upper_gi_pancreaticogastrostomy
|
|
28
|
-
# ...existing code...
|
|
29
|
-
- model: endoreg_db.finding_intervention
|
|
30
|
-
fields:
|
|
31
|
-
name: endosonography_upper_gi_cholangioduodenostomy
|
|
32
|
-
# ...existing code...
|
|
33
|
-
- model: endoreg_db.finding_intervention
|
|
34
|
-
fields:
|
|
35
|
-
name: endosonography_upper_gi_pancreaticoduodenostomy
|
|
36
|
-
# ...existing code...
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
- model: endoreg_db.finding_classification_type
|
|
2
|
-
fields:
|
|
3
|
-
name: "colon_lesion_size"
|
|
4
|
-
name_de: "Größenklassifikation Kolonläsion"
|
|
5
|
-
name_en: "Colon Lesion Size Classification"
|
|
6
|
-
|
|
7
|
-
required_by_findings: [
|
|
8
|
-
"colon_polyp"
|
|
9
|
-
]
|
|
10
|
-
optional_for_findings: [
|
|
11
|
-
"tumor"
|
|
12
|
-
]
|
|
13
|
-
|
|
14
|
-
- model: endoreg_db.finding_classification_type
|
|
15
|
-
fields:
|
|
16
|
-
name: "colon_lesion_shape"
|
|
17
|
-
name_de: "Formklassifikation Kolonläsion"
|
|
18
|
-
name_en: "Colon Lesion Shape Classification"
|
|
19
|
-
|
|
20
|
-
required_by_findings: [
|
|
21
|
-
"colon_polyp"
|
|
22
|
-
]
|
|
23
|
-
optional_for_findings: [
|
|
24
|
-
"tumor"
|
|
25
|
-
]
|
|
26
|
-
|
|
27
|
-
- model: endoreg_db.finding_classification_type
|
|
28
|
-
fields:
|
|
29
|
-
name: "colon_lesion_surface_intact"
|
|
30
|
-
name_de: "Oberflächenklassifikation Kolonläsion"
|
|
31
|
-
name_en: "Colon Lesion Surface Classification"
|
|
32
|
-
|
|
33
|
-
required_by_findings: [
|
|
34
|
-
"colon_polyp"
|
|
35
|
-
]
|
|
36
|
-
optional_for_findings: [
|
|
37
|
-
"tumor"
|
|
38
|
-
]
|
|
39
|
-
|
|
40
|
-
- model: endoreg_db.finding_classification_type
|
|
41
|
-
fields:
|
|
42
|
-
name: "colon_lesion_planarity"
|
|
43
|
-
name_de: "Planaritätsklassifikation Kolonläsion"
|
|
44
|
-
name_en: "Colon Lesion Planarity Classification"
|
|
45
|
-
|
|
46
|
-
required_by_findings: [
|
|
47
|
-
"colon_polyp"
|
|
48
|
-
]
|
|
49
|
-
optional_for_findings: [
|
|
50
|
-
|
|
51
|
-
]
|
|
52
|
-
|
|
53
|
-
# Circularity
|
|
54
|
-
- model: endoreg_db.finding_classification_type
|
|
55
|
-
fields:
|
|
56
|
-
name: "colon_lesion_circularity"
|
|
57
|
-
name_de: "Kolonläsion - Zirkularität"
|
|
58
|
-
name_en: "Colon lesion - circularity"
|
|
59
|
-
|
|
60
|
-
required_by_findings: [
|
|
61
|
-
"colon_polyp"
|
|
62
|
-
]
|
|
63
|
-
optional_for_findings: [
|
|
64
|
-
"tumor"
|
|
65
|
-
]
|
|
66
|
-
|
|
67
|
-
# colon_lesion_advanced_imaging
|
|
68
|
-
- model: endoreg_db.finding_classification_type
|
|
69
|
-
fields:
|
|
70
|
-
name: "colon_lesion_advanced_imaging"
|
|
71
|
-
name_de: "Kolonläsion - Advanced Imaging"
|
|
72
|
-
name_en: "Colon lesion - Advanced Imaging"
|
|
73
|
-
|
|
74
|
-
required_by_findings: [
|
|
75
|
-
"colon_polyp"
|
|
76
|
-
]
|
|
77
|
-
optional_for_findings: [
|
|
78
|
-
"tumor"
|
|
79
|
-
]
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# patient_age_gte_18
|
|
2
|
-
- model: endoreg_db.requirement
|
|
3
|
-
fields:
|
|
4
|
-
name: "patient_age_gte_18"
|
|
5
|
-
name_de: "Patientenalter >= 18 Jahre"
|
|
6
|
-
name_en: "Patient age >= 18 years"
|
|
7
|
-
description: "This requirement is used to indicate that the patient must be at least 18 years old."
|
|
8
|
-
requirement_types:
|
|
9
|
-
- "patient"
|
|
10
|
-
operators:
|
|
11
|
-
- age_gte
|
|
12
|
-
numeric_value: 18
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
- model: endoreg_db.requirement
|
|
16
|
-
fields:
|
|
17
|
-
name: "patient_age_lte_100"
|
|
18
|
-
name_de: "Patientenalter <= 100 Jahre"
|
|
19
|
-
name_en: "Patient age <= 100 years"
|
|
20
|
-
description: "This requirement is used to indicate that the patient must be at most 100 years old."
|
|
21
|
-
requirement_types:
|
|
22
|
-
- "patient"
|
|
23
|
-
operators:
|
|
24
|
-
- age_lte
|
|
25
|
-
numeric_value: 100
|
|
26
|
-
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
- model: endoreg_db.requirement
|
|
2
|
-
fields:
|
|
3
|
-
name: "colonoscopy_austria_screening_bowel_prep"
|
|
4
|
-
requirement_types:
|
|
5
|
-
- "patient_examination"
|
|
6
|
-
operators:
|
|
7
|
-
- "models_match_any"
|
|
8
|
-
finding_classifications:
|
|
9
|
-
- "bowel_prep_screening_austria"
|
|
10
|
-
|
|
11
|
-
- model: endoreg_db.requirement
|
|
12
|
-
fields:
|
|
13
|
-
name: "colonoscopy_austria_screening_sedation"
|
|
14
|
-
requirement_types:
|
|
15
|
-
- "patient_examination"
|
|
16
|
-
operators:
|
|
17
|
-
- "models_match_any"
|
|
18
|
-
finding_classifications:
|
|
19
|
-
- "sedation_performed"
|
|
20
|
-
|
|
21
|
-
- model: endoreg_db.requirement
|
|
22
|
-
fields:
|
|
23
|
-
name: "colonoscopy_austria_screening_examination_cecum_visualized"
|
|
24
|
-
requirement_types:
|
|
25
|
-
- "patient_finding"
|
|
26
|
-
operators:
|
|
27
|
-
- "models_match_all"
|
|
28
|
-
findings:
|
|
29
|
-
- "cecum"
|
|
30
|
-
finding_classifications: [
|
|
31
|
-
"visualized"
|
|
32
|
-
]
|
|
33
|
-
finding_classification_choices: [
|
|
34
|
-
"yes"
|
|
35
|
-
]
|
|
36
|
-
|
|
37
|
-
- model: endoreg_db.requirement
|
|
38
|
-
fields:
|
|
39
|
-
name: "colonoscopy_austria_screening_examination_reason_incomplete"
|
|
40
|
-
requirement_types:
|
|
41
|
-
- "patient_examination"
|
|
42
|
-
operators:
|
|
43
|
-
- "models_match_all"
|
|
44
|
-
finding_classifications:
|
|
45
|
-
- "colonoscopy_not_complete_reason"
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
# KHK
|
|
2
|
-
- model: endoreg_db.requirement
|
|
3
|
-
fields:
|
|
4
|
-
name: "disease_is_coronary_artery_disease"
|
|
5
|
-
name_de: "Koronare Gefäßerkrankung"
|
|
6
|
-
name_en: "Coronary artery disease"
|
|
7
|
-
description: "Coronary artery disease"
|
|
8
|
-
requirement_types:
|
|
9
|
-
- "patient"
|
|
10
|
-
operators:
|
|
11
|
-
- models_match_all
|
|
12
|
-
diseases:
|
|
13
|
-
- "coronary_artery_disease"
|
|
14
|
-
|
|
15
|
-
# Hypertension
|
|
16
|
-
- model: endoreg_db.requirement
|
|
17
|
-
fields:
|
|
18
|
-
name: "disease_is_hypertension"
|
|
19
|
-
name_de: "Arterielle Hypertonie"
|
|
20
|
-
name_en: "Hypertension"
|
|
21
|
-
description: "Hypertension"
|
|
22
|
-
requirement_types:
|
|
23
|
-
- "patient"
|
|
24
|
-
operators:
|
|
25
|
-
- models_match_all
|
|
26
|
-
diseases:
|
|
27
|
-
- "hypertension"
|
|
28
|
-
|
|
29
|
-
- model: endoreg_db.requirement
|
|
30
|
-
fields:
|
|
31
|
-
name: "disease_is_congestive_heart_failure"
|
|
32
|
-
name_de: "Chron. Herzinsuffizienz"
|
|
33
|
-
name_en: "Congestive heart failure"
|
|
34
|
-
description: "Congestive heart failure"
|
|
35
|
-
requirement_types:
|
|
36
|
-
- "patient"
|
|
37
|
-
operators:
|
|
38
|
-
- models_match_all
|
|
39
|
-
diseases:
|
|
40
|
-
- "congestive_heart_failure"
|
|
41
|
-
|
|
42
|
-
- model: endoreg_db.requirement
|
|
43
|
-
fields:
|
|
44
|
-
name: "disease_is_diabetes_mellitus_I"
|
|
45
|
-
name_de: "Diabetes mellitus Typ I"
|
|
46
|
-
name_en: "Diabetes mellitus type I"
|
|
47
|
-
description: "Diabetes mellitus type I"
|
|
48
|
-
requirement_types:
|
|
49
|
-
- "patient"
|
|
50
|
-
operators:
|
|
51
|
-
- models_match_all
|
|
52
|
-
diseases:
|
|
53
|
-
- "diabetes_mellitus_I"
|
|
54
|
-
|
|
55
|
-
- model: endoreg_db.requirement
|
|
56
|
-
fields:
|
|
57
|
-
name: "disease_is_diabetes_mellitus_II"
|
|
58
|
-
name_de: "Diabetes mellitus Typ II"
|
|
59
|
-
name_en: "Diabetes mellitus type II"
|
|
60
|
-
description: "Diabetes mellitus type II"
|
|
61
|
-
requirement_types:
|
|
62
|
-
- "patient"
|
|
63
|
-
operators:
|
|
64
|
-
- models_match_all
|
|
65
|
-
diseases:
|
|
66
|
-
- "diabetes_mellitus_II"
|
|
67
|
-
|
|
68
|
-
- model: endoreg_db.requirement
|
|
69
|
-
fields:
|
|
70
|
-
name: "disease_is_non_valvular_atrial_fibrillation"
|
|
71
|
-
name_de: "Nicht valvuläres Vorhofflimmern"
|
|
72
|
-
name_en: "Non valvular atrial fibrillation"
|
|
73
|
-
description: "Non valvular atrial fibrillation"
|
|
74
|
-
requirement_types:
|
|
75
|
-
- "patient"
|
|
76
|
-
operators:
|
|
77
|
-
- models_match_all
|
|
78
|
-
diseases:
|
|
79
|
-
- "non_valvular_atrial_fibrillation"
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
- model: endoreg_db.requirement
|
|
2
|
-
fields:
|
|
3
|
-
name: "disease_classification_choice_is_coronary_artery_disease_1_vessel"
|
|
4
|
-
name_de: "Koronare Gefäßerkrankung (1-Gefäß-Erkrankung)"
|
|
5
|
-
name_en: "Coronary artery disease (1-vessel disease)"
|
|
6
|
-
description: "Coronary artery disease (1-vessel disease)"
|
|
7
|
-
requirement_types:
|
|
8
|
-
- "patient"
|
|
9
|
-
- "patient_disease"
|
|
10
|
-
operators:
|
|
11
|
-
- models_match_all
|
|
12
|
-
disease_classification_choices:
|
|
13
|
-
- "khk_1_ge"
|
|
14
|
-
|
|
15
|
-
- model: endoreg_db.requirement
|
|
16
|
-
fields:
|
|
17
|
-
name: "disease_classification_choice_is_coronary_artery_disease_2_vessel"
|
|
18
|
-
name_de: "Koronare Gefäßerkrankung (2-Gefäß-Erkrankung)"
|
|
19
|
-
name_en: "Coronary artery disease (2-vessel disease)"
|
|
20
|
-
description: "Coronary artery disease (2-vessel disease)"
|
|
21
|
-
requirement_types:
|
|
22
|
-
- "patient"
|
|
23
|
-
- "patient_disease"
|
|
24
|
-
operators:
|
|
25
|
-
- models_match_all
|
|
26
|
-
disease_classification_choices:
|
|
27
|
-
- "khk_2_ge"
|
|
28
|
-
|
|
29
|
-
- model: endoreg_db.requirement
|
|
30
|
-
fields:
|
|
31
|
-
name: "disease_classification_choice_is_coronary_artery_disease_3_vessel"
|
|
32
|
-
name_de: "Koronare Gefäßerkrankung (3-Gefäß-Erkrankung)"
|
|
33
|
-
name_en: "Coronary artery disease (3-vessel disease)"
|
|
34
|
-
description: "Coronary artery disease (3-vessel disease)"
|
|
35
|
-
requirement_types:
|
|
36
|
-
- "patient"
|
|
37
|
-
- "patient_disease"
|
|
38
|
-
operators:
|
|
39
|
-
- models_match_all
|
|
40
|
-
disease_classification_choices:
|
|
41
|
-
- "khk_3_ge"
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
- model: endoreg_db.requirement
|
|
2
|
-
fields:
|
|
3
|
-
name: "disease_is_liver_cirrhosis"
|
|
4
|
-
name_de: "Erkrankung Leberzirrhose"
|
|
5
|
-
name_en: "Disease Liver Cirrhosis"
|
|
6
|
-
description: "Disease Liver Cirrhosis"
|
|
7
|
-
requirement_types:
|
|
8
|
-
- "patient"
|
|
9
|
-
operators:
|
|
10
|
-
- models_match_all
|
|
11
|
-
diseases:
|
|
12
|
-
- "liver_cirrhosis"
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
- model: endoreg_db.requirement
|
|
2
|
-
fields:
|
|
3
|
-
name: "disease_is_malignoma_unspecified"
|
|
4
|
-
name_de: "Malignom, nicht näher bezeichnet"
|
|
5
|
-
name_en: "Malignoma, unspecified"
|
|
6
|
-
description: "Malignoma, unspecified"
|
|
7
|
-
requirement_types:
|
|
8
|
-
- "patient"
|
|
9
|
-
operators:
|
|
10
|
-
- models_match_all
|
|
11
|
-
diseases:
|
|
12
|
-
- "disease_is_malignoma_unspecified"
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
- model: endoreg_db.requirement
|
|
2
|
-
fields:
|
|
3
|
-
name: "disease_is_chronic_kidney_disease"
|
|
4
|
-
name_de: "Erkrankung chronische Nierenerkrankung"
|
|
5
|
-
name_en: "Disease Chronic Kidney Disease"
|
|
6
|
-
description: "Disease Chronic Kidney Disease"
|
|
7
|
-
requirement_types:
|
|
8
|
-
- "patient"
|
|
9
|
-
operators:
|
|
10
|
-
- models_match_all
|
|
11
|
-
diseases:
|
|
12
|
-
- "chronic_kidney_disease"
|
|
13
|
-
|
|
14
|
-
- model: endoreg_db.requirement
|
|
15
|
-
fields:
|
|
16
|
-
name: "disease_classification_choice_is_ckd_kdigo_1"
|
|
17
|
-
name_de: "Erkrankung Klassifikation chronische Nierenerkrankung (KDIGO) (Stadium 1)"
|
|
18
|
-
name_en: "Disease Classification Chronic Kidney Disease (KDIGO) (Stage 1)"
|
|
19
|
-
description: "Disease Classification Chronic Kidney Disease (KDIGO) (Stage 1)"
|
|
20
|
-
requirement_types:
|
|
21
|
-
- "patient_disease"
|
|
22
|
-
- "patient"
|
|
23
|
-
operators:
|
|
24
|
-
- models_match_all
|
|
25
|
-
disease_classification_choices:
|
|
26
|
-
- "ckd_kdigo_1"
|
|
27
|
-
|
|
28
|
-
- model: endoreg_db.requirement
|
|
29
|
-
fields:
|
|
30
|
-
name: "disease_classification_choice_is_ckd_kdigo_2"
|
|
31
|
-
name_de: "Erkrankung Klassifikation chronische Nierenerkrankung (KDIGO) (Stadium 2)"
|
|
32
|
-
name_en: "Disease Classification Chronic Kidney Disease (KDIGO) (Stage 2)"
|
|
33
|
-
description: "Disease Classification Chronic Kidney Disease (KDIGO) (Stage 2)"
|
|
34
|
-
requirement_types:
|
|
35
|
-
- "patient_disease"
|
|
36
|
-
- "patient"
|
|
37
|
-
operators:
|
|
38
|
-
- models_match_all
|
|
39
|
-
disease_classification_choices:
|
|
40
|
-
- "ckd_kdigo_2"
|
|
41
|
-
|
|
42
|
-
- model: endoreg_db.requirement
|
|
43
|
-
fields:
|
|
44
|
-
name: "disease_classification_choice_is_ckd_kdigo_3a"
|
|
45
|
-
name_de: "Erkrankung Klassifikation chronische Nierenerkrankung (KDIGO) (Stadium 3a)"
|
|
46
|
-
name_en: "Disease Classification Chronic Kidney Disease (KDIGO) (Stage 3a)"
|
|
47
|
-
description: "Disease Classification Chronic Kidney Disease (KDIGO) (Stage 3a)"
|
|
48
|
-
requirement_types:
|
|
49
|
-
- "patient_disease"
|
|
50
|
-
- "patient"
|
|
51
|
-
operators:
|
|
52
|
-
- models_match_all
|
|
53
|
-
disease_classification_choices:
|
|
54
|
-
- "ckd_kdigo_3a"
|
|
55
|
-
|
|
56
|
-
- model: endoreg_db.requirement
|
|
57
|
-
fields:
|
|
58
|
-
name: "disease_classification_choice_is_ckd_kdigo_3b"
|
|
59
|
-
name_de: "Erkrankung Klassifikation chronische Nierenerkrankung (KDIGO) (Stadium 3b)"
|
|
60
|
-
name_en: "Disease Classification Chronic Kidney Disease (KDIGO) (Stage 3b)"
|
|
61
|
-
description: "Disease Classification Chronic Kidney Disease (KDIGO) (Stage 3b)"
|
|
62
|
-
requirement_types:
|
|
63
|
-
- "patient_disease"
|
|
64
|
-
- "patient"
|
|
65
|
-
operators:
|
|
66
|
-
- models_match_all
|
|
67
|
-
disease_classification_choices:
|
|
68
|
-
- "ckd_kdigo_3b"
|
|
69
|
-
|
|
70
|
-
- model: endoreg_db.requirement
|
|
71
|
-
fields:
|
|
72
|
-
name: "disease_classification_choice_is_ckd_kdigo_4"
|
|
73
|
-
name_de: "Erkrankung Klassifikation chronische Nierenerkrankung (KDIGO) (Stadium 4)"
|
|
74
|
-
name_en: "Disease Classification Chronic Kidney Disease (KDIGO) (Stage 4)"
|
|
75
|
-
description: "Disease Classification Chronic Kidney Disease (KDIGO) (Stage 4)"
|
|
76
|
-
requirement_types:
|
|
77
|
-
- "patient_disease"
|
|
78
|
-
- "patient"
|
|
79
|
-
operators:
|
|
80
|
-
- models_match_all
|
|
81
|
-
disease_classification_choices:
|
|
82
|
-
- "ckd_kdigo_4"
|
|
83
|
-
|
|
84
|
-
- model: endoreg_db.requirement
|
|
85
|
-
fields:
|
|
86
|
-
name: "disease_classification_choice_is_ckd_kdigo_5"
|
|
87
|
-
name_de: "Erkrankung Klassifikation chronische Nierenerkrankung (KDIGO) (Stadium 5)"
|
|
88
|
-
name_en: "Disease Classification Chronic Kidney Disease (KDIGO) (Stage 5)"
|
|
89
|
-
description: "Disease Classification Chronic Kidney Disease (KDIGO) (Stage 5)"
|
|
90
|
-
requirement_types:
|
|
91
|
-
- "patient_disease"
|
|
92
|
-
- "patient"
|
|
93
|
-
operators:
|
|
94
|
-
- models_match_all
|
|
95
|
-
disease_classification_choices:
|
|
96
|
-
- "ckd_kdigo_5"
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
- model: endoreg_db.requirement
|
|
2
|
-
fields:
|
|
3
|
-
name: "endoscopy_intervention_bleeding_risk_high"
|
|
4
|
-
name_de: "Endoskopische Intervention - Blutungsrisiko: hoch"
|
|
5
|
-
name_en: "Endoscopy Intervention - Bleeding Risk: High"
|
|
6
|
-
description: "Endoskopische Intervention - Blutungsrisiko: hoch"
|
|
7
|
-
requirement_types:
|
|
8
|
-
- "examination_indication"
|
|
9
|
-
operators:
|
|
10
|
-
- "models_match_any"
|
|
11
|
-
finding_interventions:
|
|
12
|
-
- "egd_lesion_polypectomy_cold_snare"
|
|
13
|
-
- "egd_lesion_polypectomy_hot_snare"
|
|
14
|
-
- "colon_lesion_polypectomy_cold_snare"
|
|
15
|
-
- "colon_lesion_polypectomy_hot_snare"
|
|
16
|
-
- "colon_lesion_emr"
|
|
17
|
-
- "colon_lesion_esd"
|
|
18
|
-
- "colon_lesion_eftr"
|
|
19
|
-
- "egd_lesion_emr"
|
|
20
|
-
- "egd_lesion_esd"
|
|
21
|
-
- "egd_poem"
|
|
22
|
-
- "ercp_sphincterotomy"
|
|
23
|
-
- "egd_varice_band_ligation"
|
|
24
|
-
- "egd_varice_sclerotherapy"
|
|
25
|
-
- "egd_percutaneous_gastroenterostomy"
|
|
26
|
-
- "percutaneous_transhepatic_cholangiography"
|
|
27
|
-
- "percutaneous_transhepatic_biliary_drainage"
|
|
28
|
-
- "ercp_radiofrequency_ablation"
|
|
29
|
-
|
|
30
|
-
- model: endoreg_db.requirement
|
|
31
|
-
fields:
|
|
32
|
-
name: "endoscopy_intervention_bleeding_risk_low"
|
|
33
|
-
name_de: "Endoskopische Intervention - Blutungsrisiko: niedrig"
|
|
34
|
-
name_en: "Endoscopy Intervention - Bleeding Risk: Low"
|
|
35
|
-
description: "Endoskopische Intervention - Blutungsrisiko: niedrig"
|
|
36
|
-
requirement_types:
|
|
37
|
-
- "examination_indication"
|
|
38
|
-
operators:
|
|
39
|
-
- "models_match_any"
|
|
40
|
-
finding_interventions:
|
|
41
|
-
- "egd_lesion_biopsy"
|
|
42
|
-
- "colon_lesion_biopsy"
|
|
43
|
-
- "ercp"
|
|
44
|
-
- "egd_argon_plasma_coagulation"
|
|
45
|
-
|
|
46
|
-
- model: endoreg_db.requirement
|
|
47
|
-
fields:
|
|
48
|
-
name: "indication_is_colon_emr"
|
|
49
|
-
name_de: "Indikation Kolon EMR"
|
|
50
|
-
name_en: "Indication colon EMR"
|
|
51
|
-
description: "This functions evaluates whether the input ()"
|
|
52
|
-
requirement_types:
|
|
53
|
-
- "examination_indication"
|
|
54
|
-
operators:
|
|
55
|
-
- "models_match_any"
|
|
56
|
-
# when creating a requirement involving other models,
|
|
57
|
-
# we need to create the relationship here:
|
|
58
|
-
examination_indications:
|
|
59
|
-
- "colonoscopy_lesion_removal_emr"
|