endoreg-db 0.3.3__py3-none-any.whl → 0.3.5__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.
- endoreg_db/data/__init__.py +50 -1
- endoreg_db/data/case_template/rule/00_patient_lab_sample_add_default_value.yaml +167 -0
- endoreg_db/data/case_template/rule/01_patient-set-age.yaml +8 -0
- endoreg_db/data/case_template/rule/01_patient-set-gender.yaml +9 -0
- endoreg_db/data/case_template/rule/11_create_patient_lab_sample.yaml +23 -0
- endoreg_db/data/case_template/rule/12_create-patient_medication-anticoagulation.yaml +19 -0
- endoreg_db/data/case_template/rule/13_create-patient_medication_schedule-anticoagulation.yaml +19 -0
- endoreg_db/data/case_template/rule/19_create_patient.yaml +17 -0
- endoreg_db/data/case_template/rule_type/base_types.yaml +35 -0
- endoreg_db/data/case_template/rule_value_type/base_types.yaml +59 -0
- endoreg_db/data/case_template/template/base.yaml +8 -0
- endoreg_db/data/case_template/template_type/pre_endoscopy.yaml +3 -0
- endoreg_db/data/case_template/tmp/_rule_value +13 -0
- endoreg_db/data/case_template/tmp/rule/01_atrial_fibrillation.yaml +21 -0
- endoreg_db/data/case_template/tmp/rule/02_create_object.yaml +10 -0
- endoreg_db/data/case_template/tmp/template/atrial_fibrillation_low_risk.yaml +7 -0
- endoreg_db/data/center/data.yaml +8 -0
- endoreg_db/data/center_resource/green_endoscopy_dashboard_CenterResource.yaml +144 -0
- endoreg_db/data/center_waste/green_endoscopy_dashboard_CenterWaste.yaml +48 -0
- endoreg_db/data/disease/cardiovascular.yaml +37 -0
- endoreg_db/data/disease/hepatology.yaml +5 -0
- endoreg_db/data/disease/misc.yaml +6 -0
- endoreg_db/data/disease/renal.yaml +5 -0
- endoreg_db/data/disease_classification/chronic_kidney_disease.yaml +6 -0
- endoreg_db/data/disease_classification/coronary_vessel_disease.yaml +6 -0
- endoreg_db/data/disease_classification_choice/chronic_kidney_disease.yaml +41 -0
- endoreg_db/data/disease_classification_choice/coronary_vessel_disease.yaml +20 -0
- endoreg_db/data/distribution/date/patient.yaml +7 -0
- endoreg_db/data/distribution/single_categorical/patient.yaml +7 -0
- endoreg_db/data/emission_factor/green_endoscopy_dashboard_EmissionFactor.yaml +132 -0
- endoreg_db/data/event/cardiology.yaml +28 -0
- endoreg_db/data/event/neurology.yaml +14 -0
- endoreg_db/data/event/surgery.yaml +13 -0
- endoreg_db/data/event/thrombembolism.yaml +20 -0
- endoreg_db/data/examination/examinations/data.yaml +49 -0
- endoreg_db/data/gender/data.yaml +18 -0
- endoreg_db/data/information_source/medication.yaml +6 -0
- endoreg_db/data/lab_value/cardiac_enzymes.yaml +31 -0
- endoreg_db/data/lab_value/coagulation.yaml +49 -0
- endoreg_db/data/lab_value/electrolytes.yaml +190 -0
- endoreg_db/data/lab_value/gastrointestinal_function.yaml +121 -0
- endoreg_db/data/lab_value/hematology.yaml +169 -0
- endoreg_db/data/lab_value/hormones.yaml +53 -0
- endoreg_db/data/lab_value/lipids.yaml +44 -0
- endoreg_db/data/lab_value/misc.yaml +30 -0
- endoreg_db/data/lab_value/renal_function.yaml +11 -0
- endoreg_db/data/material/material.yaml +91 -0
- endoreg_db/data/medication/anticoagulation.yaml +65 -0
- endoreg_db/data/medication/tah.yaml +70 -0
- endoreg_db/data/medication_indication/anticoagulation.yaml +120 -0
- endoreg_db/data/medication_indication_type/data.yaml +11 -0
- endoreg_db/data/medication_indication_type/thrombembolism.yaml +41 -0
- endoreg_db/data/medication_intake_time/base.yaml +31 -0
- endoreg_db/data/medication_schedule/apixaban.yaml +95 -0
- endoreg_db/data/medication_schedule/ass.yaml +12 -0
- endoreg_db/data/medication_schedule/enoxaparin.yaml +26 -0
- endoreg_db/data/patient_lab_sample_type/generic.yaml +6 -0
- endoreg_db/data/product/green_endoscopy_dashboard_Product.yaml +66 -0
- endoreg_db/data/product_group/green_endoscopy_dashboard_ProductGroup.yaml +33 -0
- endoreg_db/data/product_material/green_endoscopy_dashboard_ProductMaterial.yaml +308 -0
- endoreg_db/data/product_weight/green_endoscopy_dashboard_ProductWeight.yaml +88 -0
- endoreg_db/data/reference_product/green_endoscopy_dashboard_ReferenceProduct.yaml +55 -0
- endoreg_db/data/resource/green_endoscopy_dashboard_Resource.yaml +15 -0
- endoreg_db/data/tmp/chronic_kidney_disease.yaml +0 -0
- endoreg_db/data/tmp/congestive_heart_failure.yaml +0 -0
- endoreg_db/data/transport_route/green_endoscopy_dashboard_TransportRoute.yaml +12 -0
- endoreg_db/data/unit/concentration.yaml +92 -0
- endoreg_db/data/unit/length.yaml +4 -4
- endoreg_db/data/unit/misc.yaml +20 -0
- endoreg_db/data/unit/rate.yaml +6 -0
- endoreg_db/data/unit/time.yaml +13 -0
- endoreg_db/data/unit/volume.yaml +13 -4
- endoreg_db/data/unit/weight.yaml +11 -4
- endoreg_db/data/waste/data.yaml +12 -0
- endoreg_db/forms/__init__.py +2 -1
- endoreg_db/forms/questionnaires/__init__.py +1 -0
- endoreg_db/forms/questionnaires/tto_questionnaire.py +23 -0
- endoreg_db/management/commands/load_base_db_data.py +58 -1
- endoreg_db/management/commands/load_disease_classification_choices_data.py +41 -0
- endoreg_db/management/commands/load_disease_classification_data.py +41 -0
- endoreg_db/management/commands/load_disease_data.py +40 -0
- endoreg_db/management/commands/load_distribution_data.py +66 -0
- endoreg_db/management/commands/load_event_data.py +41 -0
- endoreg_db/management/commands/load_g_play_data.py +113 -0
- endoreg_db/management/commands/load_gender_data.py +44 -0
- endoreg_db/management/commands/load_green_endoscopy_wuerzburg_data.py +133 -0
- endoreg_db/management/commands/load_lab_value_data.py +50 -0
- endoreg_db/management/commands/load_medication_data.py +41 -0
- endoreg_db/management/commands/load_medication_indication_data.py +63 -0
- endoreg_db/management/commands/load_medication_indication_type_data.py +41 -0
- endoreg_db/management/commands/load_medication_intake_time_data.py +41 -0
- endoreg_db/management/commands/load_medication_schedule_data.py +55 -0
- endoreg_db/migrations/0023_ttoquestionnaire_alter_pdftype_endoscope_info_line.py +59 -0
- endoreg_db/migrations/0024_remove_ttoquestionnaire_infections_and_more.py +27 -0
- endoreg_db/migrations/0025_event_alter_rawpdffile_file_patientevent.py +42 -0
- endoreg_db/migrations/0026_disease_diseaseclassification_and_more.py +166 -0
- endoreg_db/migrations/0027_labvalue_abbreviation_labvalue_default_normal_range_and_more.py +38 -0
- endoreg_db/migrations/0028_alter_unit_abbreviation.py +18 -0
- endoreg_db/migrations/0029_medicationintaketime_and_more.py +75 -0
- endoreg_db/migrations/0030_medicationindicationtype_and_more.py +101 -0
- endoreg_db/migrations/0031_rename_adapt_to_liver_function_medication_adapt_to_age_and_more.py +38 -0
- endoreg_db/migrations/0032_alter_medicationschedule_therapy_duration_d.py +18 -0
- endoreg_db/migrations/0033_medicationindication_sources.py +18 -0
- endoreg_db/migrations/0034_alter_rawpdffile_file.py +20 -0
- endoreg_db/migrations/0035_alter_medicationindication_sources.py +18 -0
- endoreg_db/migrations/0036_alter_rawpdffile_file.py +20 -0
- endoreg_db/migrations/0037_alter_medicationindication_sources.py +18 -0
- endoreg_db/migrations/0038_emissionfactor_material_product_productgroup_and_more.py +164 -0
- endoreg_db/migrations/0039_referenceproduct_name.py +19 -0
- endoreg_db/migrations/0040_quizanswertype_quizquestiontype_quizquestion_and_more.py +50 -0
- endoreg_db/migrations/0041_gender_patientmedication_medication_indication_and_more.py +40 -0
- endoreg_db/migrations/0042_casetemplateruletype_casetemplaterulevalue_and_more.py +74 -0
- endoreg_db/migrations/0043_casetemplatetype_name_de_casetemplatetype_name_en.py +23 -0
- endoreg_db/migrations/0044_casetemplateruletype_name_de_and_more.py +23 -0
- endoreg_db/migrations/0045_casetemplaterulevalue_value_type.py +19 -0
- endoreg_db/migrations/0046_casetemplaterulevalue_target_field.py +18 -0
- endoreg_db/migrations/0047_casetemplaterule_target_model.py +18 -0
- endoreg_db/migrations/0048_remove_casetemplaterule_chained_rules_and_more.py +22 -0
- endoreg_db/migrations/0049_remove_casetemplaterule_rule_values.py +17 -0
- endoreg_db/migrations/0050_casetemplaterule_rule_values.py +18 -0
- endoreg_db/migrations/0051_remove_casetemplaterule_calling_rules_and_more.py +27 -0
- endoreg_db/migrations/0052_rename_case_template_type_casetemplate_template_type.py +18 -0
- endoreg_db/migrations/0053_patientlabsampletype_patientlabsample_and_more.py +38 -0
- endoreg_db/migrations/0054_multiplecategoricalvaluedistribution_and_more.py +69 -0
- endoreg_db/migrations/0055_remove_casetemplaterule_rule_values_and_more.py +59 -0
- endoreg_db/migrations/0056_datevaluedistribution_and_more.py +32 -0
- endoreg_db/migrations/0057_remove_datevaluedistribution_max_date_and_more.py +72 -0
- endoreg_db/migrations/0058_datevaluedistribution_description_and_more.py +28 -0
- endoreg_db/migrations/0059_casetemplaterule_rule_values.py +18 -0
- endoreg_db/migrations/0060_labvalue__default_date_value_distribution_and_more.py +44 -0
- endoreg_db/migrations/0061_remove_patientlabvalue_date_patientlabvalue_datetime.py +24 -0
- endoreg_db/migrations/0062_labvalue_numeric_precision.py +18 -0
- endoreg_db/migrations/0063_alter_labvalue_numeric_precision.py +18 -0
- endoreg_db/migrations/0064_casetemplaterule_extra_parameters_and_more.py +23 -0
- endoreg_db/migrations/0065_rename__date_value_distribution_casetemplaterule_date_value_distribution_and_more.py +58 -0
- endoreg_db/migrations/0066_alter_patientlabvalue_patient_and_more.py +29 -0
- endoreg_db/migrations/0067_alter_medicationindication_indication_type.py +19 -0
- endoreg_db/models/__init__.py +30 -11
- endoreg_db/models/case_template/__init__.py +6 -0
- endoreg_db/models/case_template/case_template.py +81 -0
- endoreg_db/models/case_template/case_template_rule.py +276 -0
- endoreg_db/models/case_template/case_template_rule_value.py +73 -0
- endoreg_db/models/case_template/case_template_type.py +28 -0
- endoreg_db/models/center/__init__.py +4 -0
- endoreg_db/models/center/center_product.py +34 -0
- endoreg_db/models/center/center_resource.py +19 -0
- endoreg_db/models/center/center_waste.py +11 -0
- endoreg_db/models/data_file/import_classes/raw_pdf.py +4 -1
- endoreg_db/models/data_file/metadata/video_meta.py +4 -3
- endoreg_db/models/disease.py +56 -0
- endoreg_db/models/emission/__init__.py +1 -0
- endoreg_db/models/emission/emission_factor.py +20 -0
- endoreg_db/models/event.py +22 -0
- endoreg_db/models/information_source.py +7 -0
- endoreg_db/models/laboratory/__init__.py +1 -0
- endoreg_db/models/laboratory/lab_value.py +102 -0
- endoreg_db/models/medication/__init__.py +1 -0
- endoreg_db/models/medication/medication.py +148 -0
- endoreg_db/models/other/__init__.py +5 -0
- endoreg_db/models/other/distribution.py +215 -0
- endoreg_db/models/other/material.py +16 -0
- endoreg_db/models/other/resource.py +18 -0
- endoreg_db/models/other/transport_route.py +21 -0
- endoreg_db/models/other/waste.py +20 -0
- endoreg_db/models/persons/__init__.py +3 -2
- endoreg_db/models/persons/gender.py +22 -0
- endoreg_db/models/persons/patient/__init__.py +8 -0
- endoreg_db/models/persons/patient/case/__init__.py +0 -0
- endoreg_db/models/persons/patient/case/case.py +30 -0
- endoreg_db/models/persons/patient/patient.py +216 -0
- endoreg_db/models/persons/patient/patient_disease.py +16 -0
- endoreg_db/models/persons/patient/patient_event.py +22 -0
- endoreg_db/models/persons/patient/patient_lab_sample.py +106 -0
- endoreg_db/models/persons/patient/patient_lab_value.py +176 -0
- endoreg_db/models/persons/patient/patient_medication.py +44 -0
- endoreg_db/models/persons/patient/patient_medication_schedule.py +28 -0
- endoreg_db/models/persons/person.py +1 -4
- endoreg_db/models/persons/portal_user_information.py +0 -2
- endoreg_db/models/product/__init__.py +5 -0
- endoreg_db/models/product/product.py +97 -0
- endoreg_db/models/product/product_group.py +19 -0
- endoreg_db/models/product/product_material.py +24 -0
- endoreg_db/models/product/product_weight.py +26 -0
- endoreg_db/models/product/reference_product.py +99 -0
- endoreg_db/models/questionnaires/__init__.py +114 -0
- endoreg_db/models/quiz/__init__.py +2 -0
- endoreg_db/models/quiz/quiz_answer.py +41 -0
- endoreg_db/models/quiz/quiz_question.py +54 -0
- endoreg_db/models/rules/__init__.py +5 -0
- endoreg_db/models/rules/rule.py +24 -0
- endoreg_db/models/rules/rule_applicator.py +224 -0
- endoreg_db/models/rules/rule_attribute_dtype.py +19 -0
- endoreg_db/models/rules/rule_type.py +22 -0
- endoreg_db/models/rules/ruleset.py +19 -0
- endoreg_db/models/unit.py +6 -4
- endoreg_db/utils/dataloader.py +13 -106
- {endoreg_db-0.3.3.dist-info → endoreg_db-0.3.5.dist-info}/METADATA +1 -1
- endoreg_db-0.3.5.dist-info/RECORD +357 -0
- {endoreg_db-0.3.3.dist-info → endoreg_db-0.3.5.dist-info}/WHEEL +1 -1
- endoreg_db/models/persons/patient.py +0 -58
- endoreg_db/models.py +0 -3
- endoreg_db-0.3.3.dist-info/RECORD +0 -180
- /endoreg_db/models/{center.py → center/center.py} +0 -0
- {endoreg_db-0.3.3.dist-info → endoreg_db-0.3.5.dist-info}/LICENSE +0 -0
endoreg_db/utils/dataloader.py
CHANGED
|
@@ -19,7 +19,10 @@ def load_model_data_from_yaml(command, model_name, metadata, verbose):
|
|
|
19
19
|
foreign_keys = metadata["foreign_keys"]
|
|
20
20
|
foreign_key_models = metadata["foreign_key_models"]
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
_files = [f for f in os.listdir(dir_path) if f.endswith('.yaml')]
|
|
23
|
+
# sort
|
|
24
|
+
_files.sort()
|
|
25
|
+
for file in _files:
|
|
23
26
|
with open(os.path.join(dir_path, file), 'r') as file:
|
|
24
27
|
yaml_data = yaml.safe_load(file)
|
|
25
28
|
|
|
@@ -41,9 +44,11 @@ def load_data_with_foreign_keys(command, model, yaml_data, foreign_keys, foreign
|
|
|
41
44
|
fields = entry.get('fields', {})
|
|
42
45
|
name = fields.pop('name', None)
|
|
43
46
|
m2m_relationships = {} # Store many-to-many relationships
|
|
47
|
+
print(entry)
|
|
44
48
|
|
|
45
49
|
# Handle foreign keys and many-to-many relationships
|
|
46
50
|
for fk_field, fk_model in zip(foreign_keys, foreign_key_models):
|
|
51
|
+
print(fk_field, fk_model)
|
|
47
52
|
target_keys = fields.pop(fk_field, None)
|
|
48
53
|
|
|
49
54
|
# Ensure the foreign key exists
|
|
@@ -63,15 +68,20 @@ def load_data_with_foreign_keys(command, model, yaml_data, foreign_keys, foreign
|
|
|
63
68
|
m2m_relationships[fk_field] = related_objects
|
|
64
69
|
else: # Single foreign key relationship
|
|
65
70
|
try:
|
|
71
|
+
if model == "endoreg_db.case_template_rule":
|
|
72
|
+
print(fk_model, target_keys)
|
|
66
73
|
obj = fk_model.objects.get_by_natural_key(target_keys)
|
|
67
74
|
except ObjectDoesNotExist:
|
|
68
75
|
if verbose:
|
|
69
76
|
command.stdout.write(command.style.WARNING(f"{fk_model.__name__} with key {target_keys} not found"))
|
|
70
77
|
continue
|
|
71
78
|
fields[fk_field] = obj
|
|
72
|
-
|
|
79
|
+
|
|
73
80
|
# Create or update the main object
|
|
74
|
-
|
|
81
|
+
if name is None:
|
|
82
|
+
obj, created = model.objects.get_or_create(**fields)
|
|
83
|
+
else:
|
|
84
|
+
obj, created = model.objects.update_or_create(defaults=fields, name=name)
|
|
75
85
|
if created and verbose:
|
|
76
86
|
command.stdout.write(command.style.SUCCESS(f'Created {model.__name__} {name}'))
|
|
77
87
|
elif verbose:
|
|
@@ -80,106 +90,3 @@ def load_data_with_foreign_keys(command, model, yaml_data, foreign_keys, foreign
|
|
|
80
90
|
# Set many-to-many relationships
|
|
81
91
|
for field_name, related_objs in m2m_relationships.items():
|
|
82
92
|
getattr(obj, field_name).set(related_objs)
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
# def load_model_data_from_yaml(
|
|
86
|
-
# command,
|
|
87
|
-
# model_name,
|
|
88
|
-
# metadata,
|
|
89
|
-
# verbose,
|
|
90
|
-
# ):
|
|
91
|
-
|
|
92
|
-
# if verbose:
|
|
93
|
-
# command.stdout.write(f"Start Loading {model_name}")
|
|
94
|
-
# model = metadata["model"]
|
|
95
|
-
# dir = metadata["dir"]
|
|
96
|
-
# foreign_keys = metadata["foreign_keys"]
|
|
97
|
-
# foreign_key_models = metadata["foreign_key_models"]
|
|
98
|
-
|
|
99
|
-
# for file in [f for f in os.listdir(dir) if f.endswith('.yaml')]:
|
|
100
|
-
# with open(os.path.join(dir, file), 'r') as f:
|
|
101
|
-
# yaml_data = yaml.safe_load(f)
|
|
102
|
-
|
|
103
|
-
# load_data_with_foreign_keys(
|
|
104
|
-
# command,
|
|
105
|
-
# model,
|
|
106
|
-
# yaml_data,
|
|
107
|
-
# foreign_keys,
|
|
108
|
-
# foreign_key_models,
|
|
109
|
-
# verbose
|
|
110
|
-
# )
|
|
111
|
-
|
|
112
|
-
# def load_data_with_foreign_keys(command, model, yaml_data, foreign_keys, foreign_key_models, verbose):
|
|
113
|
-
# # Since pathology types is a ManyToMany field, we need to hack arount
|
|
114
|
-
# for entry in yaml_data:
|
|
115
|
-
# fields = entry.get('fields', {})
|
|
116
|
-
# name = fields.pop('name', None)
|
|
117
|
-
# many_to_many_tuples = []
|
|
118
|
-
# foreign_key_tuples = zip(foreign_keys, foreign_key_models)
|
|
119
|
-
# for foreign_key, foreign_key_model in foreign_key_tuples:
|
|
120
|
-
# # target_natural_key = fields.pop(foreign_key, None)
|
|
121
|
-
# # get the target natural key, if it exists, should not alter fields
|
|
122
|
-
# target_natural_key = fields.get(foreign_key, None)
|
|
123
|
-
# assert target_natural_key, f"Foreign Key {foreign_key} not found in fields {fields}"
|
|
124
|
-
|
|
125
|
-
# if (foreign_key == "first_names") or (foreign_key == "last_names"):
|
|
126
|
-
# if isinstance(target_natural_key, list):
|
|
127
|
-
# # For first_names and last_names, the field is a Many to Many field
|
|
128
|
-
# # if names dont exist yet, we create them
|
|
129
|
-
# fk_objects = []
|
|
130
|
-
# for __name in target_natural_key:
|
|
131
|
-
# obj, created = foreign_key_model.objects.get_or_create(name=__name)
|
|
132
|
-
# if created:
|
|
133
|
-
# command.stdout.write(command.style.SUCCESS(f'Created {foreign_key_model.__name__} {__name}'))
|
|
134
|
-
# # fk_objects.append(obj)
|
|
135
|
-
|
|
136
|
-
# fk_tuple = (foreign_key, fk_objects)
|
|
137
|
-
# many_to_many_tuples.append(fk_tuple)
|
|
138
|
-
# continue
|
|
139
|
-
|
|
140
|
-
# if isinstance(target_natural_key, list):
|
|
141
|
-
# # the field is a Many to X field.
|
|
142
|
-
# fk_objects = [foreign_key_model.objects.get_by_natural_key(_) for _ in target_natural_key]
|
|
143
|
-
# fk_tuple = (foreign_key, fk_objects)
|
|
144
|
-
# many_to_many_tuples.append(fk_tuple)
|
|
145
|
-
# continue
|
|
146
|
-
# # Use the natural key to look up the related object
|
|
147
|
-
# try:
|
|
148
|
-
# obj = foreign_key_model.objects.get_by_natural_key(target_natural_key)
|
|
149
|
-
# except:
|
|
150
|
-
# # commandline log that the object was not found
|
|
151
|
-
# command.stdout.write(command.style.WARNING(f'Object {foreign_key_model.__name__} {target_natural_key} not found'))
|
|
152
|
-
# # commandline log entry
|
|
153
|
-
# command.stdout.write(command.style.WARNING(_log))
|
|
154
|
-
# # try to create by name if name is available
|
|
155
|
-
# # create defaults dict from fields using the models fields
|
|
156
|
-
# _field_names = [_.name for _ in foreign_key_model._meta.fields]
|
|
157
|
-
# _defaults = {k: v for k, v in fields.items() if (k in _field_names) and v}
|
|
158
|
-
|
|
159
|
-
# if target_natural_key:
|
|
160
|
-
# # commandlie log
|
|
161
|
-
# command.stdout.write(command.style.SUCCESS(f'Creating {foreign_key_model.__name__} {name} with defaults {_defaults}'))
|
|
162
|
-
# obj, created = model.objects.get_or_create(
|
|
163
|
-
# name = target_natural_key,
|
|
164
|
-
# defaults=_defaults
|
|
165
|
-
# )
|
|
166
|
-
# # Assign the related object to the field
|
|
167
|
-
# fields[foreign_key] = obj
|
|
168
|
-
|
|
169
|
-
# if name:
|
|
170
|
-
# try:
|
|
171
|
-
# obj, created = model.objects.get_or_create(name=name, defaults=fields)
|
|
172
|
-
# except:
|
|
173
|
-
# # commandlinelog to print name, fields, target foreign key
|
|
174
|
-
# command.stdout.write(command.style.WARNING(f'Object {model.__name__} {name} not found'))
|
|
175
|
-
# else:
|
|
176
|
-
# obj, created = model.objects.get_or_create(**fields)
|
|
177
|
-
# if many_to_many_tuples:
|
|
178
|
-
|
|
179
|
-
# for fk, fk_objects in many_to_many_tuples:
|
|
180
|
-
# getattr(obj, fk).set(fk_objects)
|
|
181
|
-
|
|
182
|
-
# if created and verbose:
|
|
183
|
-
# command.stdout.write(command.style.SUCCESS(f'Created {model.__name__} {name}'))
|
|
184
|
-
# elif verbose:
|
|
185
|
-
# command.stdout.write(command.style.WARNING(f'Skipped {model.__name__} {name}, already exists'))
|
|
@@ -0,0 +1,357 @@
|
|
|
1
|
+
endoreg_db/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
endoreg_db/admin.py,sha256=suMo4x8I3JBxAFBVIdE-5qnqZ6JAZV0FESABHOSc-vg,63
|
|
3
|
+
endoreg_db/apps.py,sha256=zYb2_RiEGIsLS6_OMWzCxcTHSNkF28CqF4xcd_6NHUg,151
|
|
4
|
+
endoreg_db/data/__init__.py,sha256=HAoWjIVw8aO_lgArCZwXRr0Llt1is4JzPurJEy_FTCA,2994
|
|
5
|
+
endoreg_db/data/active_model/data.yaml,sha256=G7PvKmGDm_Gt6Tzf99s18b5vlE5qWruvClzlcINqDQE,86
|
|
6
|
+
endoreg_db/data/case_template/rule/00_patient_lab_sample_add_default_value.yaml,sha256=H3kTALJ_6GJrY-4EYemeTCaa81NkyI-8LcNJFuEp5zs,4100
|
|
7
|
+
endoreg_db/data/case_template/rule/01_patient-set-age.yaml,sha256=lXfgKtirkQMHfAQtp9y9mojNnYx2KskGvdK-C1GEmtc,281
|
|
8
|
+
endoreg_db/data/case_template/rule/01_patient-set-gender.yaml,sha256=mZqygZ7lhjfSOO9M2m-ax1hmH2ztSXLsJwMEqJnj7e4,300
|
|
9
|
+
endoreg_db/data/case_template/rule/11_create_patient_lab_sample.yaml,sha256=AWSRRith2u-0zDKvf87OCK_KoG8pmlR8jNmFVsrK7S8,775
|
|
10
|
+
endoreg_db/data/case_template/rule/12_create-patient_medication-anticoagulation.yaml,sha256=Ep4BAa19E8MvXrEvmVoKpXZoaopmqxiJh7ijMMaTpd0,482
|
|
11
|
+
endoreg_db/data/case_template/rule/13_create-patient_medication_schedule-anticoagulation.yaml,sha256=QJ3fVapFhwf2N6InL7KFeANvZglf-NN3ozPOCZe2Oac,490
|
|
12
|
+
endoreg_db/data/case_template/rule/19_create_patient.yaml,sha256=xo563JMa-S59v3DrMuLW9EbVlTbu4dZdBGFMLAYzeaY,436
|
|
13
|
+
endoreg_db/data/case_template/rule_type/base_types.yaml,sha256=SOxV4SslNAx0DZoknWlKKLb3R1Ng2nlMDK2gfiVS_1M,1253
|
|
14
|
+
endoreg_db/data/case_template/rule_value_type/base_types.yaml,sha256=0flEVxBKOegNxJnc2EOhaf950BNxC7WujrLV2aPncYM,1414
|
|
15
|
+
endoreg_db/data/case_template/template/base.yaml,sha256=lRrvLma0jW57qZEAuWWFQAtTWL8TaRpYiXFenlbTQJE,251
|
|
16
|
+
endoreg_db/data/case_template/template_type/pre_endoscopy.yaml,sha256=pJdvcaxpZsciK3Ok4Z3yCVPBG465v4bISmq1Gmgn2mI,74
|
|
17
|
+
endoreg_db/data/case_template/tmp/_rule_value,sha256=IJ3mdifZdfaWXI4sfYGYX0be_SvLdJSBKDnDx-gCLcI,464
|
|
18
|
+
endoreg_db/data/case_template/tmp/rule/01_atrial_fibrillation.yaml,sha256=zZsgZhfY4sgaA23q3EKDM9XTbtjUCG16H6waheIssRs,663
|
|
19
|
+
endoreg_db/data/case_template/tmp/rule/02_create_object.yaml,sha256=ZsKtkLTOp_9ThcITico-v2Ggw6Pwi_6mqCzqf-hf4Ro,263
|
|
20
|
+
endoreg_db/data/case_template/tmp/template/atrial_fibrillation_low_risk.yaml,sha256=zHa-SZLjJTcRgZuxuBiuAeb7OXk9VhWVgInUWBrXbLU,201
|
|
21
|
+
endoreg_db/data/center/data.yaml,sha256=QWBmNmMIRzOLTx3ampa1fqtb_2WXP0TA2F11iwZUHMU,1248
|
|
22
|
+
endoreg_db/data/center_resource/green_endoscopy_dashboard_CenterResource.yaml,sha256=VUv4hjOqA4ubWlga5h_e5Kp3oA_HfSuPBoh2HMP6zVQ,4513
|
|
23
|
+
endoreg_db/data/center_waste/green_endoscopy_dashboard_CenterWaste.yaml,sha256=OWusRQgfT1oGIPalbL-82GUKezESZYdr8aFl-bbVTUg,1242
|
|
24
|
+
endoreg_db/data/disease/cardiovascular.yaml,sha256=MVePTrd0ia2Aeo9kdIIYdz5MF6qtlub2Dw2JYHTwIrY,963
|
|
25
|
+
endoreg_db/data/disease/hepatology.yaml,sha256=oDYKRPZXQD_NKB7ruHFrpWDaoqnXqQblPyKwme1l97o,125
|
|
26
|
+
endoreg_db/data/disease/misc.yaml,sha256=YB8xqemnO9Xn56KSjQxz6wXjdqTECIMMsRw7A1_TSTc,163
|
|
27
|
+
endoreg_db/data/disease/renal.yaml,sha256=hUFjn8KiEZ7oYW2uY-JfufR6N9Fk_0otKbwfZPWyFJQ,153
|
|
28
|
+
endoreg_db/data/disease_classification/chronic_kidney_disease.yaml,sha256=1iae5lxPsH0AKfyUFSlXaF1WUz4LdfZdPyWEGp-foJ0,228
|
|
29
|
+
endoreg_db/data/disease_classification/coronary_vessel_disease.yaml,sha256=olKtHAmSqDrBAvpuBcH5JwSD3scd_KliGLpT_cEFkTs,270
|
|
30
|
+
endoreg_db/data/disease_classification_choice/chronic_kidney_disease.yaml,sha256=jgZVuHUp_ZGhvnl552-XgBZlFl2Uv_s1YNTgcGtW5do,1582
|
|
31
|
+
endoreg_db/data/disease_classification_choice/coronary_vessel_disease.yaml,sha256=Z_MG6bbx_zI4C8qV-U_Yqvn1K3KYbvG-ElFaXbYAMNQ,835
|
|
32
|
+
endoreg_db/data/distribution/date/patient.yaml,sha256=I3fr98VNCja6a4qtf9YnjoFPlqH67LPbDlssQKY_cPE,210
|
|
33
|
+
endoreg_db/data/distribution/single_categorical/patient.yaml,sha256=R7beZDRqdOWNaFu-8Bd88E6j3eBc9mqhOW_265EA0e0,156
|
|
34
|
+
endoreg_db/data/emission_factor/green_endoscopy_dashboard_EmissionFactor.yaml,sha256=bBLmr3_uSLXdsbtRa9707WK1Z7Xy8TpBGKOfzWcfC_M,2968
|
|
35
|
+
endoreg_db/data/endoscope_type/data.yaml,sha256=k8uF94svJsU02O-ceaLnQBoozJ6cT3iY_s_aKrvJZqg,242
|
|
36
|
+
endoreg_db/data/endoscopy_processor/data.yaml,sha256=iu02flPMyz0YKjqDWS5KLp8We6DSsHtJcGvJMWvCV-s,1044
|
|
37
|
+
endoreg_db/data/event/cardiology.yaml,sha256=c2SfXXU8_hOBibNqidxxkZoEaKGGh0UWUTYudjG-Sqo,804
|
|
38
|
+
endoreg_db/data/event/neurology.yaml,sha256=AdpGHQxfBAOuUbKQ234T1MtE3bfHdgKA47HUoyFB5KE,282
|
|
39
|
+
endoreg_db/data/event/surgery.yaml,sha256=hyZWxg8LUNOwf3iybVj0Muta7pUdWhZXmLuuOh7hjek,428
|
|
40
|
+
endoreg_db/data/event/thrombembolism.yaml,sha256=TvpllrcpTV-kOxsttcPIxeRAZ1JKdoN_Nu0LSPatOZc,556
|
|
41
|
+
endoreg_db/data/examination/examinations/data.yaml,sha256=ZEs-bUdEtaz2aC0eu5vUbE970yVEDF3vUJyWX4MZVB0,1362
|
|
42
|
+
endoreg_db/data/examination/time/data.yaml,sha256=YQ2VFpmNoUwDf4cCSx35hj46YG2_JeRm_t86RTodVsI,1010
|
|
43
|
+
endoreg_db/data/examination/time-type/data.yaml,sha256=-RUaF7zUtuIFttLpu_Cb-cVZMN8_Y9bSHTozI6a69LA,156
|
|
44
|
+
endoreg_db/data/examination/type/data.yaml,sha256=Iimo4B2oIAkYTiTsFtrGr6RjLoegYV-ijP8mN2SHKH8,115
|
|
45
|
+
endoreg_db/data/gender/data.yaml,sha256=PlkPtofoaDg3G-IDQbaJZrzJDRdLgD2qp6QHy_wBg5w,365
|
|
46
|
+
endoreg_db/data/information_source/data.yaml,sha256=ZJULuYMz7FzkKaC76hor6sCW_P43KoZ_ncEN0grjegk,765
|
|
47
|
+
endoreg_db/data/information_source/medication.yaml,sha256=S4MJ1w87IX0TSCCW5gpcXcMs-hIlhWss6wo4rvSMI5g,285
|
|
48
|
+
endoreg_db/data/lab_value/cardiac_enzymes.yaml,sha256=0dSUPOAf2C4aLzcTiAIxiqHyvaz-QkzzM022zV0ju7g,757
|
|
49
|
+
endoreg_db/data/lab_value/coagulation.yaml,sha256=OwNEk6r7GfuHHMj7F59pHsQsQqHVUF4GuPPf172g5m8,1480
|
|
50
|
+
endoreg_db/data/lab_value/electrolytes.yaml,sha256=OnquWW2Op4-uRenxoER3KTZZWoG74ew6Ld0gFFEbSY0,5255
|
|
51
|
+
endoreg_db/data/lab_value/gastrointestinal_function.yaml,sha256=yFuqby37fSQy-k7W1YnJpqu9ri64AyhR6seKZww23r8,3329
|
|
52
|
+
endoreg_db/data/lab_value/hematology.yaml,sha256=TWk20-So9mYzyEQeg8r91p5HYyTecAzlJksa3dBfidI,4603
|
|
53
|
+
endoreg_db/data/lab_value/hormones.yaml,sha256=R18jFySn-43sR_rxEYTlvXiYrS4fKjt5A0JLlo7z8-k,1611
|
|
54
|
+
endoreg_db/data/lab_value/lipids.yaml,sha256=L6XxxId1pMluT3dwB_dQnDzZO8pTv_pfH9H71XBv9qw,1203
|
|
55
|
+
endoreg_db/data/lab_value/misc.yaml,sha256=-FONxAnzpNHEkFs2hQq1P4z2mLsHIyxRm7yBxxbNw-Q,836
|
|
56
|
+
endoreg_db/data/lab_value/renal_function.yaml,sha256=HS5oWQ_31mkahABKMvNjhmfspiQNDF_ldVgUiLgHJco,342
|
|
57
|
+
endoreg_db/data/label/label/data.yaml,sha256=fwBiybtizA_hSGJWWCWNfKoHncy4s5ObxhKfjm9xEb8,1274
|
|
58
|
+
endoreg_db/data/label/label-set/data.yaml,sha256=wpAxOPbpZzZWLM95yjoKXhhjMk6mOKcGQdoLtcDXCZ4,339
|
|
59
|
+
endoreg_db/data/label/label-type/data.yaml,sha256=vffKYpTae_gu63_wza6LONs5ys4pna1EbrUUO6CafQs,136
|
|
60
|
+
endoreg_db/data/material/material.yaml,sha256=GUY0l4DSm1OQtgExNbTMqAuUMPvUBlTvNWvrtJKhXiY,2035
|
|
61
|
+
endoreg_db/data/medication/anticoagulation.yaml,sha256=NfAXuD9hQqHE2knWl51JGJnyjJvh_I1xRxaF8VS5-Us,1635
|
|
62
|
+
endoreg_db/data/medication/tah.yaml,sha256=UDuY9tn9e8806KdZ3AL1LooGPdxqoPHNz6IX38yk-6g,1701
|
|
63
|
+
endoreg_db/data/medication_indication/anticoagulation.yaml,sha256=PNtsJcGxP7yhWuB7AVWhTHwW3kyLw7PAsdAF4UYMjbQ,3914
|
|
64
|
+
endoreg_db/data/medication_indication_type/data.yaml,sha256=5A3JuEO6INqv-eeLuqbRi30klC_qD13riApzLUHVlLo,245
|
|
65
|
+
endoreg_db/data/medication_indication_type/thrombembolism.yaml,sha256=9zPWk-1pnb4fFCHueVlXX90x6z7V_dJlN3pz2kMl6BE,1691
|
|
66
|
+
endoreg_db/data/medication_intake_time/base.yaml,sha256=wkN4UKt_KY2bLnfwyPbar5-CSHTbsNRmoMOg4dtDZik,682
|
|
67
|
+
endoreg_db/data/medication_schedule/apixaban.yaml,sha256=TjmoBu4ian9ZwiSN5qBKtivzesJC0cdWkE1JP5DRmwE,2366
|
|
68
|
+
endoreg_db/data/medication_schedule/ass.yaml,sha256=ECiHbQcahbZP9B8IDOYRB6vHKj3yl7cBY9QasIHJ7sM,295
|
|
69
|
+
endoreg_db/data/medication_schedule/enoxaparin.yaml,sha256=lI8WfFBspEXhTxnTEfyq1a_VBKbdNAcj34PIF2_X3cQ,653
|
|
70
|
+
endoreg_db/data/model_type/data.yaml,sha256=vCMMo8wiI5uL2zrQROmgsHq1GrC8IdagGIgNdQunUeQ,149
|
|
71
|
+
endoreg_db/data/patient_lab_sample_type/generic.yaml,sha256=nbtummOrGUeBkM7sVpqq48txkC-bmxn4_h40oS4VloY,162
|
|
72
|
+
endoreg_db/data/pdf_type/data.yaml,sha256=0eMCb3-j2_zY0NkyIFFM7H9658kILpd5mt_OgrXxs64,990
|
|
73
|
+
endoreg_db/data/product/green_endoscopy_dashboard_Product.yaml,sha256=PzQGTSXJ-UwtXkOGdI0nsGGDo0HO1KwZKpCfiEqmdt0,1898
|
|
74
|
+
endoreg_db/data/product_group/green_endoscopy_dashboard_ProductGroup.yaml,sha256=RMkNyM0eDJ9yqUIflirWT5V108p3o8Yp6MoDr6eQg-c,685
|
|
75
|
+
endoreg_db/data/product_material/green_endoscopy_dashboard_ProductMaterial.yaml,sha256=jFGcc9Z0fqPHc9rHbju9PpwPNuacUsZMDZB-j2cfmBE,7225
|
|
76
|
+
endoreg_db/data/product_weight/green_endoscopy_dashboard_ProductWeight.yaml,sha256=O1eQJ5iKAu29hewIXAp-gRKUzvILQviR10FDrfn5x7c,2200
|
|
77
|
+
endoreg_db/data/profession/data.yaml,sha256=3lRQ-SEiJHjmuQWXVLBoL7tpfO2t82NgGc3PpKIayQg,2151
|
|
78
|
+
endoreg_db/data/reference_product/green_endoscopy_dashboard_ReferenceProduct.yaml,sha256=sSvySBfb6RgEwp2Gcq-HuS8_34HFbcQt1rg34DZdNnA,1643
|
|
79
|
+
endoreg_db/data/report_reader_flag/ukw-examination-generic.yaml,sha256=AbYLl4D3BvEhvmXdjDECYIrf3eli9cg-MhPlb_jC6nM,742
|
|
80
|
+
endoreg_db/data/report_reader_flag/ukw-histology-generic.yaml,sha256=1iaUFiVt_ldCPGqud_znD2-AFgSfrZr_oncAONM9Ic0,493
|
|
81
|
+
endoreg_db/data/resource/green_endoscopy_dashboard_Resource.yaml,sha256=hjmrFJn_-SbVkX9Nsa3Vo9YItUmje5aVLraKGI8BiZM,288
|
|
82
|
+
endoreg_db/data/tmp/chronic_kidney_disease.yaml,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
83
|
+
endoreg_db/data/tmp/congestive_heart_failure.yaml,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
84
|
+
endoreg_db/data/transport_route/green_endoscopy_dashboard_TransportRoute.yaml,sha256=Q7JeSHHYEOtlYsIs44XQEjWd19eZIOdUHkaTLq115ik,349
|
|
85
|
+
endoreg_db/data/unit/concentration.yaml,sha256=7V2_Xoellhtalv38RpuRyEOjJWpSkEcBlfOlJG94eA4,2578
|
|
86
|
+
endoreg_db/data/unit/data.yaml,sha256=t9D7xepTm_7g6q6MUacCigoCLI3_6R6WS3BaowI6tok,393
|
|
87
|
+
endoreg_db/data/unit/length.yaml,sha256=sNbyr1bFd5JzQxSjuDU2HbcCvM4WepxZRxrquENpAAQ,629
|
|
88
|
+
endoreg_db/data/unit/misc.yaml,sha256=_zNA_5AmGaaYpTqFloRob3abPdjiT_GSC-apyhptw1Q,365
|
|
89
|
+
endoreg_db/data/unit/rate.yaml,sha256=PcJiFwPtZVBDwhcfNE_hYjG9cUh6LvHt0ObrX8F7tSM,174
|
|
90
|
+
endoreg_db/data/unit/time.yaml,sha256=uXSFVDoVbhm60_182qVU2uDLdy0WGHugbbJwYGEIv4M,250
|
|
91
|
+
endoreg_db/data/unit/volume.yaml,sha256=mkrWixjRJJ0Ob2s9jwU69wW6u4QqdOcw12BWqhf6X3g,685
|
|
92
|
+
endoreg_db/data/unit/weight.yaml,sha256=o1PvHk-4GhKxstCozhDYQNMMYcTXvwmqx4hlQXO2U8o,747
|
|
93
|
+
endoreg_db/data/waste/data.yaml,sha256=A8dUOdzsxhICHViXmbcLtOmtqkBX_CkZaRNo-ePAyEA,245
|
|
94
|
+
endoreg_db/forms/__init__.py,sha256=671Idr7RzUdY5pKii1h9sNul6LVx_exT9d73pzU77HE,90
|
|
95
|
+
endoreg_db/forms/questionnaires/__init__.py,sha256=q7V33XpmOJj5brhcaNbuXMZYsAj2r4HYchJebRIhiNc,75
|
|
96
|
+
endoreg_db/forms/questionnaires/tto_questionnaire.py,sha256=_7PqqyUlffBkTGqZj_ZaKCwYWJ9kdfh_fO9jwRqt8Nw,890
|
|
97
|
+
endoreg_db/forms/settings/__init__.py,sha256=xKCYyRS1tEAWsm5C9OrG0Btqgitzuh_s31Oa_W6Os0I,259
|
|
98
|
+
endoreg_db/forms/unit.py,sha256=rywaSXT6E18RwPdGXhDr94Q9_lP-fauY1XAPhj0D7Dc,116
|
|
99
|
+
endoreg_db/management/commands/_load_model_template.py,sha256=2ELH07EbvcXs4Wdpj9rixm6rggNFJp3P0gb_zDQwNLQ,1379
|
|
100
|
+
endoreg_db/management/commands/delete_all.py,sha256=AA5f5GRAyMdzOdOT7qj-Ox7nbioKMJfjAZCgqd839NI,974
|
|
101
|
+
endoreg_db/management/commands/delete_legacy_images.py,sha256=gJWkwqSFNVSBceivMYia93l0tN1FDqlQTxTDwQlzjvY,639
|
|
102
|
+
endoreg_db/management/commands/delete_legacy_videos.py,sha256=T_e0lhsHVEgtgjfK9ORXgh77OXZpHoZ7p6PqjP5BqO0,574
|
|
103
|
+
endoreg_db/management/commands/extract_legacy_video_frames.py,sha256=YiWRytW8EKqDgvy-wxt3JstHK2ErhokOIL4mzQmouVw,600
|
|
104
|
+
endoreg_db/management/commands/fetch_legacy_image_dataset.py,sha256=8QJyw25AOdCVLtbBvn7bTiIlZctEuxRmvRuNVqP7_iw,1153
|
|
105
|
+
endoreg_db/management/commands/fix_auth_permission.py,sha256=f7RFMH4ET4ee5ODZtvTP0RmgJcT3JclPW1OGHLfMMoc,947
|
|
106
|
+
endoreg_db/management/commands/import_legacy_images.py,sha256=IcBmihG9rvqC37XgMgwCwrIkYfHVFjQEWEWZaHtnMuc,3558
|
|
107
|
+
endoreg_db/management/commands/import_legacy_videos.py,sha256=OHFTNb53RtznRyVay88vo83fkfafTiwTgUMieI70NX4,2732
|
|
108
|
+
endoreg_db/management/commands/load_active_model_data.py,sha256=NpWIksrVQIyrd-ZhI_B_34NFbLJI1_vhwuN6gXc8hgQ,1337
|
|
109
|
+
endoreg_db/management/commands/load_ai_model_data.py,sha256=rjC-yK8NNr0a0TDqvGHufI27ANQYTWDkWlSEWRkubGY,1329
|
|
110
|
+
endoreg_db/management/commands/load_base_db_data.py,sha256=bhL9q2FDdYQQ25ZdEiYvl7McLq8Bzu3h2dyC7z9LGF0,6111
|
|
111
|
+
endoreg_db/management/commands/load_center_data.py,sha256=Ra7BikibHJF4Ks72WNGwJqtbIw-9MieCxKlZG_RUA-s,1339
|
|
112
|
+
endoreg_db/management/commands/load_disease_classification_choices_data.py,sha256=zSwNVmI56myFtOBUxV9kD_-4NKh0Z4nWuvFN3RSSulU,1361
|
|
113
|
+
endoreg_db/management/commands/load_disease_classification_data.py,sha256=B0sIgDq35e8Js3cqBCpRBoDuKRoDy7YvPbaZ4jjJS2I,1305
|
|
114
|
+
endoreg_db/management/commands/load_disease_data.py,sha256=Qy8JHMBa2yvk_9nOaRO6bChaM0oh9Am2eLqWvEuIeRs,1222
|
|
115
|
+
endoreg_db/management/commands/load_distribution_data.py,sha256=d0KpJF9E519PsJvGJk6Lcxr4ZGMLCtw0WuvTaiJhO7E,2059
|
|
116
|
+
endoreg_db/management/commands/load_endoscope_type_data.py,sha256=zZbjSmsRxT5arZsi9TRh5sBFNyM99dywOFmYPMcL7Cw,1345
|
|
117
|
+
endoreg_db/management/commands/load_endoscopy_processor_data.py,sha256=j-lVR624IGTl5NXfePggQW6Qx0AOaSxvmVUjEtTEImw,1365
|
|
118
|
+
endoreg_db/management/commands/load_event_data.py,sha256=WYT8GRzrJ3JgGaSi7l-8sF1rrL-7NnvlDj262Fux47g,1223
|
|
119
|
+
endoreg_db/management/commands/load_examination_data.py,sha256=kGGSRpHxvhugpKXpUMrttWYe9y81XOzyjgiBqV492KU,2748
|
|
120
|
+
endoreg_db/management/commands/load_g_play_data.py,sha256=uPfTx8aGqU7U8bsQz7rR9fsLQZEVEQ7kJk_nGW6ScAA,3399
|
|
121
|
+
endoreg_db/management/commands/load_gender_data.py,sha256=skg1EcE5EIYAVDO-jNx8qjmJNaFXaOaqILgmJ6j6CLY,1137
|
|
122
|
+
endoreg_db/management/commands/load_green_endoscopy_wuerzburg_data.py,sha256=rjWFTB9nWN1cohsN7n7ZEb2E2_W2FDuauoBNiaGAT3g,3968
|
|
123
|
+
endoreg_db/management/commands/load_information_source.py,sha256=3sL906AMa7FGO3bgrNbfJlptrEwv925n-X_XB4PDZ_Q,1347
|
|
124
|
+
endoreg_db/management/commands/load_lab_value_data.py,sha256=NC3wCo7cnd7l1uyVa7LQzsYXTLVTIuGnRu8z5pgzrck,1609
|
|
125
|
+
endoreg_db/management/commands/load_label_data.py,sha256=0vSBzBweO-M7mjXJotg4q_W7gbcaBoilrnA9e7dyp8o,2217
|
|
126
|
+
endoreg_db/management/commands/load_medication_data.py,sha256=8x-tLE7UrZDcrVFEKHUWe8EWFhJbXju6PANjxYWon6U,1262
|
|
127
|
+
endoreg_db/management/commands/load_medication_indication_data.py,sha256=lR3zJdTjtKeVmXUrb3AyAcTwyutUteppfD-GbkgXRG0,1783
|
|
128
|
+
endoreg_db/management/commands/load_medication_indication_type_data.py,sha256=CJ3zyFv7DnTuhBfG6TAdU9uZ0c2aHd31Y33g3X-SYVA,1282
|
|
129
|
+
endoreg_db/management/commands/load_medication_intake_time_data.py,sha256=Qln3plozYsADcS0gKLdnLzAjbVLxC6N9h3ja-pS5CiI,1270
|
|
130
|
+
endoreg_db/management/commands/load_medication_schedule_data.py,sha256=UTnCGF2gFUsdDb76cYrntaHGFazz4tUWg9ulF8bOVKY,1514
|
|
131
|
+
endoreg_db/management/commands/load_pdf_type_data.py,sha256=sJeGI1M4Xwkagi7rModwUJH3MuQckZXdOkHekoAvRAw,1650
|
|
132
|
+
endoreg_db/management/commands/load_profession_data.py,sha256=oF3OF7zRqxA-SVpMW6e7LJ3MSfEc5Hoz1XlcvcFACRg,1321
|
|
133
|
+
endoreg_db/management/commands/load_report_reader_flag.py,sha256=pvqRgtcjaYTgx2Ce7HYnNzsUB48yJe9lXTk-lzfJUPI,1371
|
|
134
|
+
endoreg_db/management/commands/load_unit_data.py,sha256=tcux-iL-ByT2ApgmHEkLllZSEA3AGMK5l-ze2Mtty1Y,1319
|
|
135
|
+
endoreg_db/management/commands/load_user_groups.py,sha256=D7SK2FvZEHoE4TIXNGCjDw5_12MH9bpGZvoS7eEv0Os,1031
|
|
136
|
+
endoreg_db/management/commands/register_ai_model.py,sha256=e5hgEyLS-E98XWzINcZ79mgtHvZltmbmAmLYaNrcfQs,2544
|
|
137
|
+
endoreg_db/management/commands/reset_celery_schedule.py,sha256=U-m_FNRTw6LAwJoT9RUE4qrhmQXm7AyFToPcHYyJpIE,386
|
|
138
|
+
endoreg_db/migrations/0001_initial.py,sha256=dVrXpuzaaHkollKimmBl5WUw1ZTIx91AWXJ3wRr2mlI,33643
|
|
139
|
+
endoreg_db/migrations/0002_rawvideofile.py,sha256=EazXiUm61IJUxVi24pmzTFQJbfe-rzkfN5ZDULe-BLY,935
|
|
140
|
+
endoreg_db/migrations/0003_rawvideofile_frames_required.py,sha256=wrHZQs6QZjjjO4yfSVQPc_47ksO7z_TwT9drWPJy5uk,399
|
|
141
|
+
endoreg_db/migrations/0004_rename_hash_rawvideofile_video_hash.py,sha256=WbGYmSoKqV8T65xjpaGDnp2Nm-jKR_scv1XteksgJBA,385
|
|
142
|
+
endoreg_db/migrations/0005_ffmpegmeta_remove_videoimportmeta_center_and_more.py,sha256=wBMIiNt1NgJpptQeQTKkrYHC00Dus0oRKPjG6qLWkak,2658
|
|
143
|
+
endoreg_db/migrations/0006_rawvideofile_center_alter_videometa_processor.py,sha256=66-qNUshGzb4vdkH92MS4fxX8NJDTAcGv1FECKev0wU,809
|
|
144
|
+
endoreg_db/migrations/0007_rawvideofile_processor.py,sha256=Kef5DLJ3voCRL2NvNbHR3X2CjE3TyMOHskWFkfowzJg,547
|
|
145
|
+
endoreg_db/migrations/0008_rename_frames_required_rawvideofile_state_frames_required.py,sha256=12g3tWO_ENYbgUuWC6GDeXVtpyJ_anXEERZrJpUcK8A,401
|
|
146
|
+
endoreg_db/migrations/0009_sensitivemeta_rawvideofile_sensitive_meta.py,sha256=pKcFoYyM8HhAvbHenSHni-eGdJKSd3BWsTdQaTde_BA,1334
|
|
147
|
+
endoreg_db/migrations/0010_rename_endoscope_serial_number_sensitivemeta_endoscope_sn.py,sha256=7kStqnOp3Z-FoDYaAvFcOwfAaAS0mcCmF3hFoUO7WQQ,420
|
|
148
|
+
endoreg_db/migrations/0011_rawvideofile_state_sensitive_data_retrieved.py,sha256=_Mw-OybAZrKsm0zD8iPVkgDv7-BKVxzFP5e_Bqnj5DI,460
|
|
149
|
+
endoreg_db/migrations/0012_rawvideofile_prediction_dir_and_more.py,sha256=iIP5k6SoUFQR4zrN27BOC0MIuErlgTn9LNTfDq86C7I,3769
|
|
150
|
+
endoreg_db/migrations/0013_rawpdffile.py,sha256=gFH0-0nl8wSAwJCa8VMqSUCvg8RRISKfWHuckHTt_3I,1502
|
|
151
|
+
endoreg_db/migrations/0014_pdftype_alter_rawpdffile_file_pdfmeta.py,sha256=tlcd1XiExztvQz7rpS4Zu336X43aYBNl6g0C2FYscf4,1475
|
|
152
|
+
endoreg_db/migrations/0015_rename_report_processed_rawpdffile_state_report_processed_and_more.py,sha256=Qny4MHBe5z5dgcbN_eOTKGalBFnr2OUuFpqmFgfb9Pg,974
|
|
153
|
+
endoreg_db/migrations/0016_rawpdffile_state_report_processing_required.py,sha256=q147Hcn4_XCQUNrspG9GFJYOaa-P_3KmfECIF3Tl17I,468
|
|
154
|
+
endoreg_db/migrations/0017_firstname_lastname_center_first_names_and_more.py,sha256=iSKCwcT06wYIgKv17MadQFfCtI3lvZwvaVBW3c0kmTQ,1255
|
|
155
|
+
endoreg_db/migrations/0018_reportreaderflag_reportreaderconfig.py,sha256=PK1Kh1TZWKbC9qcFxSsUHylRaxMqNbUvNw-gK8jPrNY,2203
|
|
156
|
+
endoreg_db/migrations/0019_pdftype_cut_off_above_lines_and_more.py,sha256=M1oQp29O2BmqEURH43Y2Zs3gzaO857Bra_id4Z3ItmI,1717
|
|
157
|
+
endoreg_db/migrations/0020_rename_endoscopy_info_line_pdftype_endoscope_info_line.py,sha256=g3XkBZHm7HdkRApkM14AANXNmWSkWQM4a4p9HRpXbZo,412
|
|
158
|
+
endoreg_db/migrations/0021_alter_pdftype_endoscope_info_line.py,sha256=B2OBG5O5XoWq3dnljOYd_LnTl45QEkSuJJY9JakB_Kc,606
|
|
159
|
+
endoreg_db/migrations/0022_alter_pdftype_endoscope_info_line.py,sha256=gbYOyECHsQ30oaYOb_g8K7tEbBUNeyTxZX81Aiz22UA,574
|
|
160
|
+
endoreg_db/migrations/0023_ttoquestionnaire_alter_pdftype_endoscope_info_line.py,sha256=wdoqxXzb785s5Wv4SEHgMWtkH_Tlhs8z3ghJHk-2mpM,5828
|
|
161
|
+
endoreg_db/migrations/0024_remove_ttoquestionnaire_infections_and_more.py,sha256=9ieBZDJBzWB3FPzg6qQjXkVmdDlZE6AhAxXkamkE1C4,812
|
|
162
|
+
endoreg_db/migrations/0025_event_alter_rawpdffile_file_patientevent.py,sha256=MytkjQ-lyLhJx56raJhVyDP-SrfaUkQenYJAS2DAU7E,1941
|
|
163
|
+
endoreg_db/migrations/0026_disease_diseaseclassification_and_more.py,sha256=eBOvA0IH4VptZeeoB4GXmXJfOyI845ZPve-mJHPxOjI,8762
|
|
164
|
+
endoreg_db/migrations/0027_labvalue_abbreviation_labvalue_default_normal_range_and_more.py,sha256=gfy5r6d-OKbapidcaX69scjHVTQaUtxNssaglocKlbM,1144
|
|
165
|
+
endoreg_db/migrations/0028_alter_unit_abbreviation.py,sha256=FT1s4atFpi5YqINvAslPem9rNx_LlUcB0_vMlGNgdI8,459
|
|
166
|
+
endoreg_db/migrations/0029_medicationintaketime_and_more.py,sha256=FF9rUvntemtMvGs-ZY-zSYBA0uavg9vCWBHGDbX6dmQ,2823
|
|
167
|
+
endoreg_db/migrations/0030_medicationindicationtype_and_more.py,sha256=VlAiHAbs46-swTcgXxlPFO4C9ienHLJQFz_Gp1T4lpo,3909
|
|
168
|
+
endoreg_db/migrations/0031_rename_adapt_to_liver_function_medication_adapt_to_age_and_more.py,sha256=aayEEfd4xj2h7nD6t6wp3ZOsIHaFkKFmp6W_GxqJLL4,1097
|
|
169
|
+
endoreg_db/migrations/0032_alter_medicationschedule_therapy_duration_d.py,sha256=zGp7eFqMGsZ3ygR05YgOaLk0_u3rW6hqrlr4kB6cfko,468
|
|
170
|
+
endoreg_db/migrations/0033_medicationindication_sources.py,sha256=0bpunVAv_yPbyJowU6FqOdvUSF_aqVLhobZ7Qc5Jxyo,454
|
|
171
|
+
endoreg_db/migrations/0034_alter_rawpdffile_file.py,sha256=nq7XRrnNtXke4iGP7IZEZuYE21Vd9WJnBJEfSJi3a3U,662
|
|
172
|
+
endoreg_db/migrations/0035_alter_medicationindication_sources.py,sha256=CnAKS7JDsE6rJO7cQUjBG9M5PGvTb4vNFdh4gz9rlFU,457
|
|
173
|
+
endoreg_db/migrations/0036_alter_rawpdffile_file.py,sha256=j5jSKbqLLWQkL26yjBmXFYQ2BKRihqoyj5IFBkkZu8o,698
|
|
174
|
+
endoreg_db/migrations/0037_alter_medicationindication_sources.py,sha256=2-njbeGr9qT0g3IOIDzziHThS_jTxUnRXh5YFqgot_U,434
|
|
175
|
+
endoreg_db/migrations/0038_emissionfactor_material_product_productgroup_and_more.py,sha256=yrZzZcrUqvyYegr4ffIGZfkVSjJUeDAvg6qfVYjf-9U,9642
|
|
176
|
+
endoreg_db/migrations/0039_referenceproduct_name.py,sha256=uRRjKHHBAsmooJu9q5MVQdHe-MmRKM0wny7qDvz90O8,480
|
|
177
|
+
endoreg_db/migrations/0040_quizanswertype_quizquestiontype_quizquestion_and_more.py,sha256=4NUU5q0StfIuFzPR4BAcn70_skDidW_yUALAk8wN6rE,2207
|
|
178
|
+
endoreg_db/migrations/0041_gender_patientmedication_medication_indication_and_more.py,sha256=RnewUI040Af3bQAeSunRZDzCUPzDAfD2k9mI29iBD68,1626
|
|
179
|
+
endoreg_db/migrations/0042_casetemplateruletype_casetemplaterulevalue_and_more.py,sha256=GD4tna3EkjAqZd4PHUC4QNFKqdh130d0bJOhPCZM6qk,3774
|
|
180
|
+
endoreg_db/migrations/0043_casetemplatetype_name_de_casetemplatetype_name_en.py,sha256=2zKkD0mtzvxMAyZc4zo4jO_p3FREoBmiVXIUXnAse0k,618
|
|
181
|
+
endoreg_db/migrations/0044_casetemplateruletype_name_de_and_more.py,sha256=CpvPLgGVTMmG9cj9HS4IoL9TJk-93oA2hwqJUnCo2lQ,624
|
|
182
|
+
endoreg_db/migrations/0045_casetemplaterulevalue_value_type.py,sha256=RpYo2X5DCI2eaREKzjFDFWI5ovB3b9HLF-OaBofQVlw,545
|
|
183
|
+
endoreg_db/migrations/0046_casetemplaterulevalue_target_field.py,sha256=slipM38RvBQ5ZK7p7lnxFb1BY_Q5XtrHFATDg2Xjj3k,447
|
|
184
|
+
endoreg_db/migrations/0047_casetemplaterule_target_model.py,sha256=Um1nJmKsYm6I9GIQ4VeSLGVBsrV1_i1j2RuqLa9L7ro,444
|
|
185
|
+
endoreg_db/migrations/0048_remove_casetemplaterule_chained_rules_and_more.py,sha256=8bFBMUNCcI8W6GNBxeX-18T7wBA2Ul5tMlgNEtqjxcc,591
|
|
186
|
+
endoreg_db/migrations/0049_remove_casetemplaterule_rule_values.py,sha256=pNONAIGE5ktyInppic3-A1YIedpTXcaW924FT_LbDtM,375
|
|
187
|
+
endoreg_db/migrations/0050_casetemplaterule_rule_values.py,sha256=OoQ6i0w1XzSh_drxvHcY9rMU2TE_cUsu5QAASmqjpS8,472
|
|
188
|
+
endoreg_db/migrations/0051_remove_casetemplaterule_calling_rules_and_more.py,sha256=bxLSZilU8OMLiLrX3qYx8Yxq2_HxiMsUBwHuvCh2tY0,833
|
|
189
|
+
endoreg_db/migrations/0052_rename_case_template_type_casetemplate_template_type.py,sha256=VapJblrB8TyrALHC9CqeyvTSPJELcyYmu_ADkFIbFx0,420
|
|
190
|
+
endoreg_db/migrations/0053_patientlabsampletype_patientlabsample_and_more.py,sha256=kiWz7L9Rng3sOgx0uqZ5Ow5LYsxI0OTjckjw7YUuShk,1637
|
|
191
|
+
endoreg_db/migrations/0054_multiplecategoricalvaluedistribution_and_more.py,sha256=srJGllwyStp7EVSJBRiDXP6i8dUea01ls_IJTrFJgOk,2821
|
|
192
|
+
endoreg_db/migrations/0055_remove_casetemplaterule_rule_values_and_more.py,sha256=oOeWgJG-WzAA5XflcbFFCHrI5rcq5VnxDTjXWN5oZic,2451
|
|
193
|
+
endoreg_db/migrations/0056_datevaluedistribution_and_more.py,sha256=-d_MHNpBi8sTnlkdzwvhLYOu_Ry-5piQ3C-sA4hi-WA,1133
|
|
194
|
+
endoreg_db/migrations/0057_remove_datevaluedistribution_max_date_and_more.py,sha256=zbZfq3eT61WPL2JgI2s6Iorb-dEVNxz2QjVUm8Yj42s,2466
|
|
195
|
+
endoreg_db/migrations/0058_datevaluedistribution_description_and_more.py,sha256=09T-a41KuwVVdNkZALn_kiFNkPRbiU9hcB0CiXD1WJk,825
|
|
196
|
+
endoreg_db/migrations/0059_casetemplaterule_rule_values.py,sha256=ulMGEoHdQp0Bo3rvj7t_XANAh_x6q_gPIGJ4H0hB01g,434
|
|
197
|
+
endoreg_db/migrations/0060_labvalue__default_date_value_distribution_and_more.py,sha256=izsee2eddInwfu33wp_J08lelNYFlgRPn9DjCn22T0k,2179
|
|
198
|
+
endoreg_db/migrations/0061_remove_patientlabvalue_date_patientlabvalue_datetime.py,sha256=H_etknIVKEZpGmN6biNuvzFvxv09T2k9ZARJgi0zDaA,689
|
|
199
|
+
endoreg_db/migrations/0062_labvalue_numeric_precision.py,sha256=rNVzAA6Uzzd8p1eSsecSy-pOvv0erkE-PYJbhs3x1yU,448
|
|
200
|
+
endoreg_db/migrations/0063_alter_labvalue_numeric_precision.py,sha256=mhxItCuLkIieaQWJ1s6v372Iu2AOCvRxqspgNtY0Ic8,409
|
|
201
|
+
endoreg_db/migrations/0064_casetemplaterule_extra_parameters_and_more.py,sha256=PDqZMNRaG-uhHSrOaCBBmwpLCTXgMDhh2-XJL-86m0g,620
|
|
202
|
+
endoreg_db/migrations/0065_rename__date_value_distribution_casetemplaterule_date_value_distribution_and_more.py,sha256=XvKuXBA_O3AjnaeMMPjEu1ltbQIbiYDH79PczecHRdI,2067
|
|
203
|
+
endoreg_db/migrations/0066_alter_patientlabvalue_patient_and_more.py,sha256=XEn9XBxJhh0mNDj8htiLUcViyGMLOkew2UmbbMExeC4,1240
|
|
204
|
+
endoreg_db/migrations/0067_alter_medicationindication_indication_type.py,sha256=HcMRzp-G1bOl2y_aKTU1GMk85bX1sTO-XMeLNG4MzmE,577
|
|
205
|
+
endoreg_db/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
206
|
+
endoreg_db/models/__init__.py,sha256=CL_Ea13ebAp9-q9wBjsAojFvF0tDr7qtNA5z7tJI9q0,1506
|
|
207
|
+
endoreg_db/models/ai_model/__init__.py,sha256=rh5npLRGml5iiRocx359gsaA82pGJTW7wdVAfnbZP6w,106
|
|
208
|
+
endoreg_db/models/ai_model/active_model.py,sha256=r7SE3yg54kbjfOkk0Ei0rgs_Wo3ikx88rcEELqvRzGc,343
|
|
209
|
+
endoreg_db/models/ai_model/model_meta.py,sha256=YyYW8dScpAceHePnbrnRpgVBYDByi9x7u5Ydh03OJuo,869
|
|
210
|
+
endoreg_db/models/ai_model/model_type.py,sha256=mg1bEuzAjIte25N4TzD0yDhmUQYayJpyrRn2hB6b6eg,638
|
|
211
|
+
endoreg_db/models/ai_model/utils.py,sha256=Vh6_3lbDuFhSVCaaZKKm0CjoGA5Man6gWYe46HUXmbA,270
|
|
212
|
+
endoreg_db/models/annotation/__init__.py,sha256=jM8ISS4hWciC9cFUCMo6fSkmCGUptWkX5lM46zNre2I,191
|
|
213
|
+
endoreg_db/models/annotation/binary_classification_annotation_task.py,sha256=CpvyDxLSJcoJyajtUsDGBt881SNSFcG8lvuQ01knMNM,3292
|
|
214
|
+
endoreg_db/models/annotation/image_classification.py,sha256=Og1tRo1QKBMztwfdbFryUWghnGdsTqQdepn9rOcmVMc,1387
|
|
215
|
+
endoreg_db/models/case_template/__init__.py,sha256=vtq-7Gvpv01l9CuQvBFQugXCKELx9wg2z5HkysrZCNM,369
|
|
216
|
+
endoreg_db/models/case_template/case_template.py,sha256=cdR84vZOINWvhSgtHTA_i9KXvQOP6kZfQjvMVFx_WQE,4062
|
|
217
|
+
endoreg_db/models/case_template/case_template_rule.py,sha256=1_hRjvi-HUZNfaiY53kU5OvdQ9hvx_LPVyNzCIqYKDg,11406
|
|
218
|
+
endoreg_db/models/case_template/case_template_rule_value.py,sha256=C3TPy8sZx_ZCrwRECqV67TqnH2AN-odzO1NYgdg4fv4,2416
|
|
219
|
+
endoreg_db/models/case_template/case_template_type.py,sha256=5FkaHRbLHag103u3OXPDoZGKp4VSYO-yGhJ2YSiah8Q,764
|
|
220
|
+
endoreg_db/models/center/__init__.py,sha256=cJZc91DTU7YTgDuq6w20gAUeKQ1ndFB_nDOipX00Qzc,151
|
|
221
|
+
endoreg_db/models/center/center.py,sha256=qTp-of40Z4uHQT0NX8x_lItqkS_FpSyieFcLDzyBVZw,728
|
|
222
|
+
endoreg_db/models/center/center_product.py,sha256=5Bpg4O1hDhNUcNf6FGh-hCxr3jJXnMCkYqAcB23Nwc8,904
|
|
223
|
+
endoreg_db/models/center/center_resource.py,sha256=dDlm-SyqQ09HbtXDjwrnRa7Pr_QAgYBxwrHjNH-yi64,1066
|
|
224
|
+
endoreg_db/models/center/center_waste.py,sha256=jGpGbAUnt_-2_Z6BFvqGP2qMqO0C9KnyD3O2GGoP3tU,443
|
|
225
|
+
endoreg_db/models/data_file/__init__.py,sha256=Q0RG-UyIAvqZrwErbtBznL52M-CrFx8OEmlFFS9vSqU,252
|
|
226
|
+
endoreg_db/models/data_file/base_classes/__init__.py,sha256=uyjViKV7N3K264xapYAOCpQx-zSwdRAN_oguUWQlq10,84
|
|
227
|
+
endoreg_db/models/data_file/base_classes/abstract_frame.py,sha256=wUGkPCYoOESfiragEEy6oMeGpdS2nzha6g2lBiK7pcA,2214
|
|
228
|
+
endoreg_db/models/data_file/base_classes/abstract_video.py,sha256=4OUgHWbHpESpSnZGSiA13nQwtvUDJweFwJPOuL8taAo,7406
|
|
229
|
+
endoreg_db/models/data_file/frame.py,sha256=-8O2yCfhTk2eMd3GB5PIPrO0i_oV6yk24UV-8Pvl2Ik,1935
|
|
230
|
+
endoreg_db/models/data_file/import_classes/__init__.py,sha256=f5f6dwDU8spd94dpDFUuQEJGGD--V_hjl_4v8hpKCX0,1168
|
|
231
|
+
endoreg_db/models/data_file/import_classes/processing_functions/__init__.py,sha256=uathXg8ckLb_XBTRipdHrBXFpZpvKzuouk7lwRN0aqE,932
|
|
232
|
+
endoreg_db/models/data_file/import_classes/processing_functions/pdf.py,sha256=lEd1V_kS8758XuRZ0gj7bVhY5DgTfpEyeDgX3zWHuzE,716
|
|
233
|
+
endoreg_db/models/data_file/import_classes/processing_functions/video.py,sha256=ij3fMdqnZnX1FrS-hscy_pfaYIkxDFKVL7SVjCqCUxs,8530
|
|
234
|
+
endoreg_db/models/data_file/import_classes/raw_pdf.py,sha256=ZyzgaZ9K-9zd764XhwkyoGlgNkhnbkySiZi9ahKKFgg,6691
|
|
235
|
+
endoreg_db/models/data_file/import_classes/raw_video.py,sha256=j2WLaqxVm86Oq_zKPRAncq3QavmAMP0p3ThalGjieaQ,12444
|
|
236
|
+
endoreg_db/models/data_file/metadata/__init__.py,sha256=Hcv1L5xDnONyERwn4jnj-vI4maYMAEZ9iFPQ8baNrl0,144
|
|
237
|
+
endoreg_db/models/data_file/metadata/pdf_meta.py,sha256=Ipi1LZo36UqP43trHfNY4hamyRWjenxiPg2f_W3di-k,2183
|
|
238
|
+
endoreg_db/models/data_file/metadata/sensitive_meta.py,sha256=o613V-jK8JiturSHymcwb2dNGsn_x4f1f3iJ9ZuGG-Y,1312
|
|
239
|
+
endoreg_db/models/data_file/metadata/video_meta.py,sha256=rcHVZfJKQgqzsK4b0wc7hchnHy_i_cQlPIA3eELUb9o,5429
|
|
240
|
+
endoreg_db/models/data_file/report_file.py,sha256=V1Eh8xGKUpruUifQAQqF4nd0WvLn6TlfT_nmjEsZhAc,3564
|
|
241
|
+
endoreg_db/models/data_file/video/__init__.py,sha256=3UUMcrlIZBeVGkt5hOvjUr2-VSxOTFE1miPTcmHF4v0,98
|
|
242
|
+
endoreg_db/models/data_file/video/import_meta.py,sha256=NTRYIZI8TeNoPmJhE0ZFljGIOf5CS9LbFcdYO0p4-mA,1311
|
|
243
|
+
endoreg_db/models/data_file/video/video.py,sha256=lx3Iu7pdsy_oGlrvKKY8V06ZSNNWcwPYjP5DgCE2MKA,673
|
|
244
|
+
endoreg_db/models/data_file/video_segment.py,sha256=zQo-ZGrHTRmuV6Cdj8gCAauwevQPk2m5VGo2lx0DojY,4652
|
|
245
|
+
endoreg_db/models/disease.py,sha256=QTJA1H7uf_Al0MUImBMhUmJ8fiUEca-W7zQGORqo8qc,1737
|
|
246
|
+
endoreg_db/models/emission/__init__.py,sha256=d8594Mx3To1z6gyqdnfM5x9UR0KnyDWEuEeBhWmJnhs,43
|
|
247
|
+
endoreg_db/models/emission/emission_factor.py,sha256=nMUVIpdHFvmKfgtCbxAcHpeziAERd7JvtuLiDs6wh3U,609
|
|
248
|
+
endoreg_db/models/event.py,sha256=E9KfvAI6i_ecopBxLV-YeL1L1yXO9h5iV4ApzBXc50o,689
|
|
249
|
+
endoreg_db/models/examination/__init__.py,sha256=fnbGYzLc0kvQMF-nfDXyczy2x14ahgnuGGaU_r7Xv-Q,183
|
|
250
|
+
endoreg_db/models/examination/examination.py,sha256=VMqxBI1MxYf_rPh-c478r-tOQRy-creSR-qzqxm4UDc,834
|
|
251
|
+
endoreg_db/models/examination/examination_time.py,sha256=mxCJE4q47pdom7hoPS3vxOBa1lhZe6X8QD0Ye__EGcE,902
|
|
252
|
+
endoreg_db/models/examination/examination_time_type.py,sha256=Qm7z9wnP6UUsUAFVDu0MfTZaayUMLzWN-0XHTYqROL4,767
|
|
253
|
+
endoreg_db/models/examination/examination_type.py,sha256=YLimDH2qn_U1sxVuF5nOCcVn3HGWFGJH_jMp_yR-hUg,546
|
|
254
|
+
endoreg_db/models/hardware/__init__.py,sha256=uFvXFjbIJnJ0-c9f_wA9cSNZ7IcPPZtUmYnJ0z2hfXw,99
|
|
255
|
+
endoreg_db/models/hardware/endoscope.py,sha256=HdEWonuBRiqTWFw_EIOwBdRG5xFRDdntuafCl4LOWRI,1200
|
|
256
|
+
endoreg_db/models/hardware/endoscopy_processor.py,sha256=eCvd8ZBzE45uaTY-pqqLG_J_2q04LeALYCYTf6ZcwPk,5114
|
|
257
|
+
endoreg_db/models/information_source.py,sha256=xgSeqCR4Ya3PFExPCtfzFuoj5bT7TR_pc7u-X1dGrio,911
|
|
258
|
+
endoreg_db/models/label/__init__.py,sha256=_WpYq-PlmPDvKRSNaGMLxlxJk-N3oRsbr_QwlF11dr4,45
|
|
259
|
+
endoreg_db/models/label/label.py,sha256=NlAEa5T35kNrOF0t6YZCk8aSvC0IncbvkxrEilkz1wM,2156
|
|
260
|
+
endoreg_db/models/laboratory/__init__.py,sha256=UQb4RDHqgMfSvO7UBGi_TzI1wUV3QMtLQU7g2-mFAFQ,31
|
|
261
|
+
endoreg_db/models/laboratory/lab_value.py,sha256=9X39Wqh1zHghEabUS5yPI3r9a3AKKUcrozwNg32LUag,4097
|
|
262
|
+
endoreg_db/models/legacy_data/__init__.py,sha256=J0ewe30Y2qCxCUPktcFOm2WOEz2fQnwrgfZ93FRcnio,115
|
|
263
|
+
endoreg_db/models/legacy_data/image.py,sha256=mKQed6AIJL2XauPB2GevHX6NXaR8gphundI9_IC9Hpc,1622
|
|
264
|
+
endoreg_db/models/medication/__init__.py,sha256=69K9Iy3zEqJSd0zS_ZS9WKbvGQIgmOJm1PCpPI_vwOg,25
|
|
265
|
+
endoreg_db/models/medication/medication.py,sha256=tPXBnrGVkmyvfhjJQGcD4Jq2TkYeHl8nNLvGuVisBiI,4939
|
|
266
|
+
endoreg_db/models/other/__init__.py,sha256=HDlNBuS98uIvxpw3sww-hiyulG871TzulFRrLO0C8ec,158
|
|
267
|
+
endoreg_db/models/other/distribution.py,sha256=OLMELIpP9xQa4BkiLZoBbEoxzLmOponZh_LYro6g4DM,8404
|
|
268
|
+
endoreg_db/models/other/material.py,sha256=5C09hUD-cQL8vCRFNPyq2OyRHjFwCA5nCwW4Zh16Ak0,520
|
|
269
|
+
endoreg_db/models/other/resource.py,sha256=x3EtvQNBad9lofhm4V7A5hW_C269zIHGraUbNjPwUxs,480
|
|
270
|
+
endoreg_db/models/other/transport_route.py,sha256=5hh0V7_2bkjRlXitKfIL_t2y4bHqZwXHax3UqVDt-5s,704
|
|
271
|
+
endoreg_db/models/other/waste.py,sha256=COSo2OXsBylywqwCdKWFoDK3RW8m7Qp9yQr3sWKR8d8,579
|
|
272
|
+
endoreg_db/models/patient_examination/__init__.py,sha256=s3ybaIdnvZDLKPnP1UctMRbao69yZowjmqjSYpfg1MI,1674
|
|
273
|
+
endoreg_db/models/permissions/__init__.py,sha256=p4C61oKuwKwYcN0EZ6SqBZDW0GCRO2VS-12whhOZBuY,1766
|
|
274
|
+
endoreg_db/models/persons/__init__.py,sha256=RipyvFvvlPhnm-XzqEiddBhSAQ_-vIowXUtsqHzo3OM,257
|
|
275
|
+
endoreg_db/models/persons/examiner/__init__.py,sha256=-e0mxzCacT04tOAg2NA2aKg6EbKvzuZPQR4E2MqMEfI,92
|
|
276
|
+
endoreg_db/models/persons/examiner/examiner.py,sha256=-eaRF42Qpr3Tj_XqYhz60noRJ5ndvpoZH_X3wM23rVc,422
|
|
277
|
+
endoreg_db/models/persons/examiner/examiner_type.py,sha256=wz9afexQBLl8oNJE40LYlKKgBux_Kv-lvviRxGqbwH4,72
|
|
278
|
+
endoreg_db/models/persons/first_name.py,sha256=L5K-f9B0mDuJdCPgyo8iDHCxEPEY8q4gj9aK1unP78U,456
|
|
279
|
+
endoreg_db/models/persons/gender.py,sha256=imGiIpaLgiwc9j006QWIvtiT0L8RTxgkaAPaFv5hQ-0,636
|
|
280
|
+
endoreg_db/models/persons/last_name.py,sha256=wzBvqHtJRrSkaFnBR65DtB9xWjizFADjhKPFxDbT5pY,501
|
|
281
|
+
endoreg_db/models/persons/patient/__init__.py,sha256=KfEum8z8fzC0jNT9xXNozQkbC2VPMp2KnhQ_S3K521A,380
|
|
282
|
+
endoreg_db/models/persons/patient/case/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
283
|
+
endoreg_db/models/persons/patient/case/case.py,sha256=p0YnjCIDxMuVj3b4bYj4lWf61cJexERarbcMSO2mwvA,1198
|
|
284
|
+
endoreg_db/models/persons/patient/patient.py,sha256=pkUw7pqidAtUt-yfyaFUFPcPAFYJVQqfqXl_c0g4TPM,7742
|
|
285
|
+
endoreg_db/models/persons/patient/patient_disease.py,sha256=41FGhtXzNUU367BXFC9arId2jrCv7TH5dbTwO-UIl2Q,535
|
|
286
|
+
endoreg_db/models/persons/patient/patient_event.py,sha256=R6-oZhNxJENJZ2J2vFPkE2RoPdrb-kP3GAP-ZkR9poI,770
|
|
287
|
+
endoreg_db/models/persons/patient/patient_lab_sample.py,sha256=6M5hp547w2CejfiF7b-UI3AOYe0y0Abu9BpD8DKOSWY,3237
|
|
288
|
+
endoreg_db/models/persons/patient/patient_lab_value.py,sha256=EzdNJ0aKD0S-cWMTYl8KqOy2RyjToOluDWJo0eQ9yug,5890
|
|
289
|
+
endoreg_db/models/persons/patient/patient_medication.py,sha256=wgX_QpyzU9ENiwb8kgdImAjIRkRRoAINCVpmmA6BcxI,1560
|
|
290
|
+
endoreg_db/models/persons/patient/patient_medication_schedule.py,sha256=uG78JN5KdsQKynqsIO4B59mZVlAklG9SzOzG9uNQmNQ,1141
|
|
291
|
+
endoreg_db/models/persons/person.py,sha256=qZq-pXgRV-OuZ_9S-TAnT2bf085JOU3RiThyH2nQUAw,1015
|
|
292
|
+
endoreg_db/models/persons/portal_user_information.py,sha256=HE-vgYiEXlAByN3esSCmbMiCPDuL1zSgrwNfFeSCgxk,939
|
|
293
|
+
endoreg_db/models/prediction/__init__.py,sha256=1WBkYwM-h33AbZYCCnrPN3PYVhxATbITPocQgWxwMcI,145
|
|
294
|
+
endoreg_db/models/prediction/image_classification.py,sha256=uOR5Eu0eX3gVRO_tOWydnzrpzPwpmJCpYJUqe02bUNQ,1619
|
|
295
|
+
endoreg_db/models/prediction/video_prediction_meta.py,sha256=ICjOstujy5m8aqjh12ff2MUnYwopg-GGKuneD5RP_1U,9492
|
|
296
|
+
endoreg_db/models/product/__init__.py,sha256=HTapjLfp-ya0JP4QIzCiZ_W3RFOWiXDpiKZnsvSXicA,204
|
|
297
|
+
endoreg_db/models/product/product.py,sha256=T2vqVMd16F8BPcYOAbV6CRjd3C3XE07bh6NdCxWcPG0,3629
|
|
298
|
+
endoreg_db/models/product/product_group.py,sha256=WTdY3Ykrv3RXoUGdeN-UhN9uaMFdmBH915_Ke87TBJ8,502
|
|
299
|
+
endoreg_db/models/product/product_material.py,sha256=CmXcqWCSftFv9i4uIpOApeL4Qe6BvoMusmecfTuGrXc,1073
|
|
300
|
+
endoreg_db/models/product/product_weight.py,sha256=b_TwAlTpe76wQuLux-6FJYZcOSNm8hk0HIZdLTcSBCw,959
|
|
301
|
+
endoreg_db/models/product/reference_product.py,sha256=ZKRQoKE7ff267oJZPp--uF_JAnKgoBjyr_5sAiKp5-E,4410
|
|
302
|
+
endoreg_db/models/questionnaires/__init__.py,sha256=ie6TUg-PKFQOlUBPzlIKoStU4-EdIUT-hBZRTRdilhk,6029
|
|
303
|
+
endoreg_db/models/quiz/__init__.py,sha256=h6e72bEhdsXLtIxB4ClSyOaKFjl31XlopiQLWG4qfKU,109
|
|
304
|
+
endoreg_db/models/quiz/quiz_answer.py,sha256=ACWP57onxRdQ0CjcycsdRcXf7dO1RHsnnF1Q_V9R8AE,1116
|
|
305
|
+
endoreg_db/models/quiz/quiz_question.py,sha256=nntckPi0xdHQhAY2ScfvV19XoDjkuo2Gabu3TTPYSzQ,1468
|
|
306
|
+
endoreg_db/models/report_reader/__init__.py,sha256=SKB-sGFDPkTmnNVTYx1w59gvW0T9hI-v2mTGvlDUK4Y,101
|
|
307
|
+
endoreg_db/models/report_reader/report_reader_config.py,sha256=ONlqtb4kBxWGHkX_eW6d_Jiwh0EtRPOH7jQT7759nuI,2353
|
|
308
|
+
endoreg_db/models/report_reader/report_reader_flag.py,sha256=j9tjbLRenxpWfeaseALl8rV2Dqem9YaM_duS1iJkARU,536
|
|
309
|
+
endoreg_db/models/rules/__init__.py,sha256=wJGGh7o-4L85T_6JcAIaPVsg9w1BTMOf3-3ePcNtG-g,180
|
|
310
|
+
endoreg_db/models/rules/rule.py,sha256=LqsL6hep3Lce97AvIThiII7PX9JckRdauIQxpdooAmU,809
|
|
311
|
+
endoreg_db/models/rules/rule_applicator.py,sha256=m1doR6h_5CzLCDdHaJeo-2eO_uc_vbiDOWRUu_xTyXM,9376
|
|
312
|
+
endoreg_db/models/rules/rule_attribute_dtype.py,sha256=PH5YwHV2K3TY3-pjLIDJCMq1GSYuFbTtY3JKvDk_hWc,540
|
|
313
|
+
endoreg_db/models/rules/rule_type.py,sha256=BQVuedM0KmEJsbpe6Cb6gecn4LDMqfK94xQxLXS3FJA,604
|
|
314
|
+
endoreg_db/models/rules/ruleset.py,sha256=XaY30qfXuXaUhaDmgfyUhPBnQ4EE1owixZ3mDW63lcY,550
|
|
315
|
+
endoreg_db/models/unit.py,sha256=5-LrmM3vVTElsNqztVDDBE9e9xpYIfz5-AD30H630oU,836
|
|
316
|
+
endoreg_db/queries/__init__.py,sha256=3yhFtU_yY2L8rK2--8WkjcyI0q94QPpTtv5w_v8rZRY,83
|
|
317
|
+
endoreg_db/queries/annotations/__init__.py,sha256=76O3dAIzuSye09VNPGSNPnqPEtgXZcBAGXKdh89y0ts,95
|
|
318
|
+
endoreg_db/queries/annotations/legacy.py,sha256=1uHubRWItrBzvw_5nwJfc4oa6shWWJcG5J68oVgiFvY,6442
|
|
319
|
+
endoreg_db/queries/get/__init__.py,sha256=id0oVNTEjzzUpkvTp0E4tClFN91EeKOyEuSAYsIlIQo,147
|
|
320
|
+
endoreg_db/queries/get/annotation.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
321
|
+
endoreg_db/queries/get/center.py,sha256=SeVxpzZUErk_jjv0RaurDar2i_28FWQ6RarxFHblnGw,1155
|
|
322
|
+
endoreg_db/queries/get/model.py,sha256=k4s5zDIv3s0SleG4lMBhrMYQuSlnECIHoORVQnAIerA,371
|
|
323
|
+
endoreg_db/queries/get/patient.py,sha256=5hN2tOPgeSrV0WtkWOkOjnWT4y7rf1HIHBDKGgX3-NQ,358
|
|
324
|
+
endoreg_db/queries/get/patient_examination.py,sha256=ImFzLT9cMAuVuK3oVPXZ75APv0FPO_ny1dGwWpbfPgM,728
|
|
325
|
+
endoreg_db/queries/get/prediction.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
326
|
+
endoreg_db/queries/get/report_file.py,sha256=dBQdCB-nujd-Q5_ecknGYF7C_uzJ8Zna__oclCo0o6M,976
|
|
327
|
+
endoreg_db/queries/get/video.py,sha256=-QsFaUr8CJCSLUn0BJ5AXYg9rTrJ8KGB67hTnudB3T4,887
|
|
328
|
+
endoreg_db/queries/get/video_import_meta.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
329
|
+
endoreg_db/queries/get/video_prediction_meta.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
330
|
+
endoreg_db/queries/sanity/__init_.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
331
|
+
endoreg_db/serializers/__init__.py,sha256=LRsUXi4RkFe7L1BjILVqYnw20CG8Turelq_yH3Ojq2Q,235
|
|
332
|
+
endoreg_db/serializers/ai_model.py,sha256=ArQOLN3qnb0H6_TfgySbndErEYqgO0rDAFsF_pdwDVs,579
|
|
333
|
+
endoreg_db/serializers/annotation.py,sha256=zqAct-DQ_NHXwc1fMxWX-EVCD-Bxt3KUHrf-QNwv_cg,707
|
|
334
|
+
endoreg_db/serializers/center.py,sha256=CAR0OETP_Ho8IEsmN08QrI-UmZ3i2tVnt6Gd2QTt_Pc,207
|
|
335
|
+
endoreg_db/serializers/examination.py,sha256=Tbe89zn-_a-3urNvdcsZ6MUAeRgDjsP7jNrgxIJ4E98,876
|
|
336
|
+
endoreg_db/serializers/frame.py,sha256=9G1Y1odIQoKjbXx9tn-2Lj8OLRIubuGsxG_ONiryx4k,337
|
|
337
|
+
endoreg_db/serializers/hardware.py,sha256=nSxRgMZUVGYYX5a0ZB90q1EnCZahs-WvegtBxODrq4c,534
|
|
338
|
+
endoreg_db/serializers/label.py,sha256=IzUK2t5FPy40LGq-yRS_KTakM0BqBsnCKGzxtTZ8W9g,490
|
|
339
|
+
endoreg_db/serializers/patient.py,sha256=N0LEevYRGGQTfXhZcL82k7oWcd4gGI_UopjunjV2oCc,209
|
|
340
|
+
endoreg_db/serializers/prediction.py,sha256=ULeuwyoTSW4zDObOcnweU-hhuC6wbkCfz4znTPRs9vM,462
|
|
341
|
+
endoreg_db/serializers/report_file.py,sha256=dsO_-zwybdhq4BWGzD2rp6u1nloZgTMa3Ll8qiq_et4,208
|
|
342
|
+
endoreg_db/serializers/video.py,sha256=mZ2CsSxVGUXB0FR-CLjIZpE86z1tmFPXBrHbgYY3jWY,831
|
|
343
|
+
endoreg_db/tests.py,sha256=mrbGGRNg5jwbTJtWWa7zSKdDyeB4vmgZCRc2nk6VY-g,60
|
|
344
|
+
endoreg_db/utils/__init__.py,sha256=yj_2T_itUgmVW3nAqYLosTvga7J2eghkzbxLcEpYUl4,49
|
|
345
|
+
endoreg_db/utils/cropping.py,sha256=wMLo5sCFdZAEVBe3RbCH26eQjRe8q3th4K3ZKDd9fww,1143
|
|
346
|
+
endoreg_db/utils/dataloader.py,sha256=rps-zZ-5QsEetYunxChbZvxZSQHOH9LU4N6a7o8Q0fs,4035
|
|
347
|
+
endoreg_db/utils/file_operations.py,sha256=3mUY6jARIm927XK0nJoDO7fRp5quoSqPr95jDJERmr0,884
|
|
348
|
+
endoreg_db/utils/hashs.py,sha256=mLae54Vj7h5Q-9_MWtEB_KKE7x9qALpClgZyX5DB9Ek,1069
|
|
349
|
+
endoreg_db/utils/legacy_ocr.py,sha256=c2EBP-9egUYyfsQ1n0QoZY2wKndWoKdEXrB-MQZ0Xn4,7633
|
|
350
|
+
endoreg_db/utils/ocr.py,sha256=jkdT1bl-LSCjZ2PvxlX1AG2TmhdMclayxUPrdZWs7UE,7322
|
|
351
|
+
endoreg_db/utils/uuid.py,sha256=T4HXqYtKwXFqE5kPyvlgWHyllBBF6LL6N48nl9TpwBk,53
|
|
352
|
+
endoreg_db/utils/video_metadata.py,sha256=HDyXxAeNQOK3cGzQ06xosmObzEnJBARuKjwz9vmmRIM,2613
|
|
353
|
+
endoreg_db/views.py,sha256=xc1IQHrsij7j33TUbo-_oewy3vs03pw_etpBWaMYJl0,63
|
|
354
|
+
endoreg_db-0.3.5.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
355
|
+
endoreg_db-0.3.5.dist-info/METADATA,sha256=5ET-SK-6xp6iQzORaPywFb_ZdL0kTYvCb46NU8nsZA0,976
|
|
356
|
+
endoreg_db-0.3.5.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
357
|
+
endoreg_db-0.3.5.dist-info/RECORD,,
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
from .person import Person
|
|
2
|
-
from django import forms
|
|
3
|
-
from django.forms import DateInput
|
|
4
|
-
from rest_framework import serializers
|
|
5
|
-
from ..patient_examination import PatientExamination
|
|
6
|
-
from ..data_file import ReportFile
|
|
7
|
-
from django.db import models
|
|
8
|
-
|
|
9
|
-
class Patient(Person):
|
|
10
|
-
"""
|
|
11
|
-
A class representing a patient.
|
|
12
|
-
|
|
13
|
-
Attributes inhereted from Person:
|
|
14
|
-
first_name (str): The first name of the patient.
|
|
15
|
-
last_name (str): The last name of the patient.
|
|
16
|
-
dob (datetime.date): The date of birth of the patient.
|
|
17
|
-
gender (str): The gender of the patient.
|
|
18
|
-
email (str): The email address of the patient.
|
|
19
|
-
phone (str): The phone number of the patient.
|
|
20
|
-
|
|
21
|
-
"""
|
|
22
|
-
center = models.ForeignKey("Center", on_delete=models.CASCADE, blank=True, null=True)
|
|
23
|
-
|
|
24
|
-
def __str__(self):
|
|
25
|
-
return self.first_name + " " + self.last_name + " (" + str(self.dob) + ")"
|
|
26
|
-
|
|
27
|
-
def get_unmatched_report_files(self): #field: self.report_files; filter: report_file.patient_examination = None
|
|
28
|
-
'''Returns all report files for this patient that are not matched to a patient examination.'''
|
|
29
|
-
|
|
30
|
-
return self.reportfile_set.filter(patient_examination=None)
|
|
31
|
-
|
|
32
|
-
def get_unmatched_video_files(self): #field: self.videos; filter: video.patient_examination = None
|
|
33
|
-
'''Returns all video files for this patient that are not matched to a patient examination.'''
|
|
34
|
-
return self.videos.filter(patient_examination=None)
|
|
35
|
-
|
|
36
|
-
def get_patient_examinations(self): #field: self.patient_examinations
|
|
37
|
-
'''Returns all patient examinations for this patient ordered by date (most recent is first).'''
|
|
38
|
-
return self.patient_examinations.order_by('-date')
|
|
39
|
-
|
|
40
|
-
def create_examination_by_report_file(self, report_file:ReportFile):
|
|
41
|
-
'''Creates a patient examination for this patient based on the given report file.'''
|
|
42
|
-
patient_examination = PatientExamination(patient=self, report_file=report_file)
|
|
43
|
-
patient_examination.save()
|
|
44
|
-
return patient_examination
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
class PatientForm(forms.ModelForm):
|
|
48
|
-
class Meta:
|
|
49
|
-
model = Patient
|
|
50
|
-
fields = '__all__'
|
|
51
|
-
widgets = {
|
|
52
|
-
'dob': DateInput(attrs={'type': 'date'}),
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
def __init__(self, *args, **kwargs):
|
|
56
|
-
super().__init__(*args, **kwargs)
|
|
57
|
-
for field in self.fields.values():
|
|
58
|
-
field.widget.attrs['class'] = 'form-control'
|
endoreg_db/models.py
DELETED