endoreg-db 0.3.12__py3-none-any.whl → 0.4.1__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/endoscopy_processor/data.yaml +2 -0
- endoreg_db/migrations/0001_initial.py +1020 -35
- endoreg_db/migrations/0002_anonymizedimagelabel_anonymousimageannotation_and_more.py +55 -0
- endoreg_db/migrations/0003_anonymousimageannotation_original_image_url_and_more.py +39 -0
- endoreg_db/migrations/{0034_alter_rawpdffile_file.py → 0004_alter_rawpdffile_file.py} +3 -3
- endoreg_db/models/annotation/__init__.py +2 -1
- endoreg_db/models/annotation/anonymized_image_annotation.py +41 -0
- endoreg_db/models/data_file/import_classes/raw_pdf.py +1 -1
- {endoreg_db-0.3.12.dist-info → endoreg_db-0.4.1.dist-info}/METADATA +1 -1
- {endoreg_db-0.3.12.dist-info → endoreg_db-0.4.1.dist-info}/RECORD +12 -80
- endoreg_db/migrations/0002_rawvideofile.py +0 -26
- endoreg_db/migrations/0003_rawvideofile_frames_required.py +0 -18
- endoreg_db/migrations/0004_rename_hash_rawvideofile_video_hash.py +0 -18
- endoreg_db/migrations/0005_ffmpegmeta_remove_videoimportmeta_center_and_more.py +0 -56
- endoreg_db/migrations/0006_rawvideofile_center_alter_videometa_processor.py +0 -25
- endoreg_db/migrations/0007_rawvideofile_processor.py +0 -19
- endoreg_db/migrations/0008_rename_frames_required_rawvideofile_state_frames_required.py +0 -18
- endoreg_db/migrations/0009_sensitivemeta_rawvideofile_sensitive_meta.py +0 -31
- endoreg_db/migrations/0010_rename_endoscope_serial_number_sensitivemeta_endoscope_sn.py +0 -18
- endoreg_db/migrations/0011_rawvideofile_state_sensitive_data_retrieved.py +0 -18
- endoreg_db/migrations/0012_rawvideofile_prediction_dir_and_more.py +0 -109
- endoreg_db/migrations/0013_rawpdffile.py +0 -31
- endoreg_db/migrations/0014_pdftype_alter_rawpdffile_file_pdfmeta.py +0 -38
- endoreg_db/migrations/0015_rename_report_processed_rawpdffile_state_report_processed_and_more.py +0 -31
- endoreg_db/migrations/0016_rawpdffile_state_report_processing_required.py +0 -18
- endoreg_db/migrations/0017_firstname_lastname_center_first_names_and_more.py +0 -37
- endoreg_db/migrations/0018_reportreaderflag_reportreaderconfig.py +0 -37
- endoreg_db/migrations/0019_pdftype_cut_off_above_lines_and_more.py +0 -42
- endoreg_db/migrations/0020_rename_endoscopy_info_line_pdftype_endoscope_info_line.py +0 -18
- endoreg_db/migrations/0021_alter_pdftype_endoscope_info_line.py +0 -19
- endoreg_db/migrations/0022_alter_pdftype_endoscope_info_line.py +0 -19
- endoreg_db/migrations/0023_ttoquestionnaire_alter_pdftype_endoscope_info_line.py +0 -59
- endoreg_db/migrations/0024_remove_ttoquestionnaire_infections_and_more.py +0 -27
- endoreg_db/migrations/0025_event_alter_rawpdffile_file_patientevent.py +0 -42
- endoreg_db/migrations/0026_disease_diseaseclassification_and_more.py +0 -166
- endoreg_db/migrations/0027_labvalue_abbreviation_labvalue_default_normal_range_and_more.py +0 -38
- endoreg_db/migrations/0028_alter_unit_abbreviation.py +0 -18
- endoreg_db/migrations/0029_medicationintaketime_and_more.py +0 -75
- endoreg_db/migrations/0030_medicationindicationtype_and_more.py +0 -101
- endoreg_db/migrations/0031_rename_adapt_to_liver_function_medication_adapt_to_age_and_more.py +0 -38
- endoreg_db/migrations/0032_alter_medicationschedule_therapy_duration_d.py +0 -18
- endoreg_db/migrations/0033_medicationindication_sources.py +0 -18
- endoreg_db/migrations/0035_alter_medicationindication_sources.py +0 -18
- endoreg_db/migrations/0036_alter_rawpdffile_file.py +0 -20
- endoreg_db/migrations/0037_alter_medicationindication_sources.py +0 -18
- endoreg_db/migrations/0038_emissionfactor_material_product_productgroup_and_more.py +0 -164
- endoreg_db/migrations/0039_referenceproduct_name.py +0 -19
- endoreg_db/migrations/0040_quizanswertype_quizquestiontype_quizquestion_and_more.py +0 -50
- endoreg_db/migrations/0041_gender_patientmedication_medication_indication_and_more.py +0 -40
- endoreg_db/migrations/0042_casetemplateruletype_casetemplaterulevalue_and_more.py +0 -74
- endoreg_db/migrations/0043_casetemplatetype_name_de_casetemplatetype_name_en.py +0 -23
- endoreg_db/migrations/0044_casetemplateruletype_name_de_and_more.py +0 -23
- endoreg_db/migrations/0045_casetemplaterulevalue_value_type.py +0 -19
- endoreg_db/migrations/0046_casetemplaterulevalue_target_field.py +0 -18
- endoreg_db/migrations/0047_casetemplaterule_target_model.py +0 -18
- endoreg_db/migrations/0048_remove_casetemplaterule_chained_rules_and_more.py +0 -22
- endoreg_db/migrations/0049_remove_casetemplaterule_rule_values.py +0 -17
- endoreg_db/migrations/0050_casetemplaterule_rule_values.py +0 -18
- endoreg_db/migrations/0051_remove_casetemplaterule_calling_rules_and_more.py +0 -27
- endoreg_db/migrations/0052_rename_case_template_type_casetemplate_template_type.py +0 -18
- endoreg_db/migrations/0053_patientlabsampletype_patientlabsample_and_more.py +0 -38
- endoreg_db/migrations/0054_multiplecategoricalvaluedistribution_and_more.py +0 -69
- endoreg_db/migrations/0055_remove_casetemplaterule_rule_values_and_more.py +0 -59
- endoreg_db/migrations/0056_datevaluedistribution_and_more.py +0 -32
- endoreg_db/migrations/0057_remove_datevaluedistribution_max_date_and_more.py +0 -72
- endoreg_db/migrations/0058_datevaluedistribution_description_and_more.py +0 -28
- endoreg_db/migrations/0059_casetemplaterule_rule_values.py +0 -18
- endoreg_db/migrations/0060_labvalue__default_date_value_distribution_and_more.py +0 -44
- endoreg_db/migrations/0061_remove_patientlabvalue_date_patientlabvalue_datetime.py +0 -24
- endoreg_db/migrations/0062_labvalue_numeric_precision.py +0 -18
- endoreg_db/migrations/0063_alter_labvalue_numeric_precision.py +0 -18
- endoreg_db/migrations/0064_casetemplaterule_extra_parameters_and_more.py +0 -23
- endoreg_db/migrations/0065_rename__date_value_distribution_casetemplaterule_date_value_distribution_and_more.py +0 -58
- endoreg_db/migrations/0066_alter_patientlabvalue_patient_and_more.py +0 -29
- endoreg_db/migrations/0067_alter_medicationindication_indication_type.py +0 -19
- endoreg_db/migrations/0068_networkdevicetype_networkdevicetypemanager_and_more.py +0 -57
- endoreg_db/migrations/0069_delete_networkdevicetypemanager_networkdevice_online.py +0 -21
- endoreg_db/migrations/0070_logtype_alter_rawpdffile_file_networkdevicelogentry_and_more.py +0 -71
- endoreg_db/migrations/0071_aglservicelogentry.py +0 -33
- endoreg_db/migrations/0072_alter_rawpdffile_file.py +0 -20
- endoreg_db/migrations/0073_aglservicelogentry_device_and_more.py +0 -36
- {endoreg_db-0.3.12.dist-info → endoreg_db-0.4.1.dist-info}/LICENSE +0 -0
- {endoreg_db-0.3.12.dist-info → endoreg_db-0.4.1.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# Generated by Django 4.2.15 on 2024-08-28 11:05
|
|
2
|
+
|
|
3
|
+
import django.core.files.storage
|
|
4
|
+
import django.core.validators
|
|
5
|
+
from django.db import migrations, models
|
|
6
|
+
import django.db.models.deletion
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class Migration(migrations.Migration):
|
|
10
|
+
|
|
11
|
+
dependencies = [
|
|
12
|
+
('endoreg_db', '0001_initial'),
|
|
13
|
+
]
|
|
14
|
+
|
|
15
|
+
operations = [
|
|
16
|
+
migrations.CreateModel(
|
|
17
|
+
name='AnonymizedImageLabel',
|
|
18
|
+
fields=[
|
|
19
|
+
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
20
|
+
('name', models.CharField(max_length=255, unique=True)),
|
|
21
|
+
('description', models.TextField(blank=True, null=True)),
|
|
22
|
+
],
|
|
23
|
+
),
|
|
24
|
+
migrations.CreateModel(
|
|
25
|
+
name='AnonymousImageAnnotation',
|
|
26
|
+
fields=[
|
|
27
|
+
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
28
|
+
('image_name', models.CharField(max_length=255)),
|
|
29
|
+
('slug', models.SlugField(blank=True, null=True, unique=True)),
|
|
30
|
+
('polyp_count', models.IntegerField()),
|
|
31
|
+
('comments', models.CharField(max_length=255)),
|
|
32
|
+
('gender', models.CharField(max_length=255)),
|
|
33
|
+
('name_image_url', models.CharField(max_length=255)),
|
|
34
|
+
('date_created', models.DateTimeField(auto_now_add=True)),
|
|
35
|
+
('label', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='endoreg_db.label')),
|
|
36
|
+
],
|
|
37
|
+
),
|
|
38
|
+
migrations.AlterField(
|
|
39
|
+
model_name='rawpdffile',
|
|
40
|
+
name='file',
|
|
41
|
+
field=models.FileField(storage=django.core.files.storage.FileSystemStorage(location='/home/agl-admin/agl-validator-backend/agl_validator_backend/erc_data/raw_pdf'), upload_to='raw_pdf/', validators=[django.core.validators.FileExtensionValidator(allowed_extensions=['pdf'])]),
|
|
42
|
+
),
|
|
43
|
+
migrations.CreateModel(
|
|
44
|
+
name='DroppedName',
|
|
45
|
+
fields=[
|
|
46
|
+
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
47
|
+
('name', models.CharField(max_length=255)),
|
|
48
|
+
('gender', models.CharField(max_length=255)),
|
|
49
|
+
('x', models.FloatField()),
|
|
50
|
+
('y', models.FloatField()),
|
|
51
|
+
('name_image_url', models.CharField(max_length=255)),
|
|
52
|
+
('annotation', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='dropped_names', to='endoreg_db.anonymousimageannotation')),
|
|
53
|
+
],
|
|
54
|
+
),
|
|
55
|
+
]
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Generated by Django 4.2.15 on 2024-08-29 07:15
|
|
2
|
+
|
|
3
|
+
from django.db import migrations, models
|
|
4
|
+
import django.db.models.deletion
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class Migration(migrations.Migration):
|
|
8
|
+
|
|
9
|
+
dependencies = [
|
|
10
|
+
('endoreg_db', '0002_anonymizedimagelabel_anonymousimageannotation_and_more'),
|
|
11
|
+
]
|
|
12
|
+
|
|
13
|
+
operations = [
|
|
14
|
+
migrations.AddField(
|
|
15
|
+
model_name='anonymousimageannotation',
|
|
16
|
+
name='original_image_url',
|
|
17
|
+
field=models.CharField(default='https://example.com/placeholder.jpg', max_length=255),
|
|
18
|
+
),
|
|
19
|
+
migrations.AddField(
|
|
20
|
+
model_name='anonymousimageannotation',
|
|
21
|
+
name='processed',
|
|
22
|
+
field=models.BooleanField(default=False),
|
|
23
|
+
),
|
|
24
|
+
migrations.AddField(
|
|
25
|
+
model_name='droppedname',
|
|
26
|
+
name='box_coordinates',
|
|
27
|
+
field=models.CharField(blank=True, max_length=255, null=True),
|
|
28
|
+
),
|
|
29
|
+
migrations.AlterField(
|
|
30
|
+
model_name='anonymousimageannotation',
|
|
31
|
+
name='comments',
|
|
32
|
+
field=models.TextField(blank=True, null=True),
|
|
33
|
+
),
|
|
34
|
+
migrations.AlterField(
|
|
35
|
+
model_name='anonymousimageannotation',
|
|
36
|
+
name='label',
|
|
37
|
+
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='endoreg_db.anonymizedimagelabel'),
|
|
38
|
+
),
|
|
39
|
+
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Generated by Django 4.2.
|
|
1
|
+
# Generated by Django 4.2.14 on 2024-09-04 19:48
|
|
2
2
|
|
|
3
3
|
import django.core.files.storage
|
|
4
4
|
import django.core.validators
|
|
@@ -8,13 +8,13 @@ from django.db import migrations, models
|
|
|
8
8
|
class Migration(migrations.Migration):
|
|
9
9
|
|
|
10
10
|
dependencies = [
|
|
11
|
-
('endoreg_db', '
|
|
11
|
+
('endoreg_db', '0003_anonymousimageannotation_original_image_url_and_more'),
|
|
12
12
|
]
|
|
13
13
|
|
|
14
14
|
operations = [
|
|
15
15
|
migrations.AlterField(
|
|
16
16
|
model_name='rawpdffile',
|
|
17
17
|
name='file',
|
|
18
|
-
field=models.FileField(storage=django.core.files.storage.FileSystemStorage(location='/
|
|
18
|
+
field=models.FileField(storage=django.core.files.storage.FileSystemStorage(location='/home/agl-admin/agl_anonymizer/agl_anonymizer/erc_data/raw_pdf'), upload_to='raw_pdf/', validators=[django.core.validators.FileExtensionValidator(allowed_extensions=['pdf'])]),
|
|
19
19
|
),
|
|
20
20
|
]
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
from .image_classification import ImageClassificationAnnotation
|
|
2
|
-
from .binary_classification_annotation_task import LegacyBinaryClassificationAnnotationTask, BinaryClassificationAnnotationTask
|
|
2
|
+
from .binary_classification_annotation_task import LegacyBinaryClassificationAnnotationTask, BinaryClassificationAnnotationTask
|
|
3
|
+
from .anonymized_image_annotation import AnonymousImageAnnotation, DroppedName, AnonymizedImageLabel
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
from django.db import models
|
|
2
|
+
from django.utils.text import slugify
|
|
3
|
+
|
|
4
|
+
class AnonymizedImageLabel(models.Model):
|
|
5
|
+
name = models.CharField(max_length=255, unique=True) # Ensuring label names are unique
|
|
6
|
+
description = models.TextField(blank=True, null=True) # Optional description field
|
|
7
|
+
|
|
8
|
+
def __str__(self):
|
|
9
|
+
return self.name
|
|
10
|
+
|
|
11
|
+
class AnonymousImageAnnotation(models.Model):
|
|
12
|
+
label = models.ForeignKey(AnonymizedImageLabel, on_delete=models.CASCADE)
|
|
13
|
+
image_name = models.CharField(max_length=255)
|
|
14
|
+
original_image_url = models.CharField(max_length=255, default='https://example.com/placeholder.jpg') # Field for the original image
|
|
15
|
+
slug = models.SlugField(unique=True, blank=True, null=True)
|
|
16
|
+
polyp_count = models.IntegerField()
|
|
17
|
+
comments = models.TextField(blank=True, null=True) # Comments can be longer
|
|
18
|
+
gender = models.CharField(max_length=255) # Overall gender (if applicable)
|
|
19
|
+
name_image_url = models.CharField(max_length=255)
|
|
20
|
+
date_created = models.DateTimeField(auto_now_add=True)
|
|
21
|
+
processed = models.BooleanField(default=False) # Track if this annotation has been processed
|
|
22
|
+
|
|
23
|
+
def save(self, *args, **kwargs):
|
|
24
|
+
if not self.slug:
|
|
25
|
+
self.slug = slugify(f"{self.label}-{self.image_name}")
|
|
26
|
+
super().save(*args, **kwargs)
|
|
27
|
+
|
|
28
|
+
def __str__(self):
|
|
29
|
+
return f"{self.image_name} - {self.label}"
|
|
30
|
+
|
|
31
|
+
class DroppedName(models.Model):
|
|
32
|
+
annotation = models.ForeignKey(AnonymousImageAnnotation, related_name='dropped_names', on_delete=models.CASCADE)
|
|
33
|
+
name = models.CharField(max_length=255)
|
|
34
|
+
gender = models.CharField(max_length=255) # Gender of the individual name
|
|
35
|
+
x = models.FloatField()
|
|
36
|
+
y = models.FloatField()
|
|
37
|
+
name_image_url = models.CharField(max_length=255)
|
|
38
|
+
box_coordinates = models.CharField(max_length=255, blank=True, null=True) # Store box coordinates if needed
|
|
39
|
+
|
|
40
|
+
def __str__(self):
|
|
41
|
+
return f"{self.name} ({self.gender}) at ({self.x}, {self.y})"
|
|
@@ -37,7 +37,7 @@ endoreg_db/data/distribution/numeric/.init,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
|
|
|
37
37
|
endoreg_db/data/distribution/single_categorical/patient.yaml,sha256=R7beZDRqdOWNaFu-8Bd88E6j3eBc9mqhOW_265EA0e0,156
|
|
38
38
|
endoreg_db/data/emission_factor/green_endoscopy_dashboard_EmissionFactor.yaml,sha256=bBLmr3_uSLXdsbtRa9707WK1Z7Xy8TpBGKOfzWcfC_M,2968
|
|
39
39
|
endoreg_db/data/endoscope_type/data.yaml,sha256=k8uF94svJsU02O-ceaLnQBoozJ6cT3iY_s_aKrvJZqg,242
|
|
40
|
-
endoreg_db/data/endoscopy_processor/data.yaml,sha256=
|
|
40
|
+
endoreg_db/data/endoscopy_processor/data.yaml,sha256=Q72v9DhWjt9zsa0fC-Xty8nWzRcqeyHJpYq-w5UmwXQ,1049
|
|
41
41
|
endoreg_db/data/event/cardiology.yaml,sha256=c2SfXXU8_hOBibNqidxxkZoEaKGGh0UWUTYudjG-Sqo,804
|
|
42
42
|
endoreg_db/data/event/neurology.yaml,sha256=AdpGHQxfBAOuUbKQ234T1MtE3bfHdgKA47HUoyFB5KE,282
|
|
43
43
|
endoreg_db/data/event/surgery.yaml,sha256=hyZWxg8LUNOwf3iybVj0Muta7pUdWhZXmLuuOh7hjek,428
|
|
@@ -144,79 +144,10 @@ endoreg_db/management/commands/load_unit_data.py,sha256=tcux-iL-ByT2ApgmHEkLllZS
|
|
|
144
144
|
endoreg_db/management/commands/load_user_groups.py,sha256=D7SK2FvZEHoE4TIXNGCjDw5_12MH9bpGZvoS7eEv0Os,1031
|
|
145
145
|
endoreg_db/management/commands/register_ai_model.py,sha256=e5hgEyLS-E98XWzINcZ79mgtHvZltmbmAmLYaNrcfQs,2544
|
|
146
146
|
endoreg_db/management/commands/reset_celery_schedule.py,sha256=U-m_FNRTw6LAwJoT9RUE4qrhmQXm7AyFToPcHYyJpIE,386
|
|
147
|
-
endoreg_db/migrations/0001_initial.py,sha256=
|
|
148
|
-
endoreg_db/migrations/
|
|
149
|
-
endoreg_db/migrations/
|
|
150
|
-
endoreg_db/migrations/
|
|
151
|
-
endoreg_db/migrations/0005_ffmpegmeta_remove_videoimportmeta_center_and_more.py,sha256=wBMIiNt1NgJpptQeQTKkrYHC00Dus0oRKPjG6qLWkak,2658
|
|
152
|
-
endoreg_db/migrations/0006_rawvideofile_center_alter_videometa_processor.py,sha256=66-qNUshGzb4vdkH92MS4fxX8NJDTAcGv1FECKev0wU,809
|
|
153
|
-
endoreg_db/migrations/0007_rawvideofile_processor.py,sha256=Kef5DLJ3voCRL2NvNbHR3X2CjE3TyMOHskWFkfowzJg,547
|
|
154
|
-
endoreg_db/migrations/0008_rename_frames_required_rawvideofile_state_frames_required.py,sha256=12g3tWO_ENYbgUuWC6GDeXVtpyJ_anXEERZrJpUcK8A,401
|
|
155
|
-
endoreg_db/migrations/0009_sensitivemeta_rawvideofile_sensitive_meta.py,sha256=pKcFoYyM8HhAvbHenSHni-eGdJKSd3BWsTdQaTde_BA,1334
|
|
156
|
-
endoreg_db/migrations/0010_rename_endoscope_serial_number_sensitivemeta_endoscope_sn.py,sha256=7kStqnOp3Z-FoDYaAvFcOwfAaAS0mcCmF3hFoUO7WQQ,420
|
|
157
|
-
endoreg_db/migrations/0011_rawvideofile_state_sensitive_data_retrieved.py,sha256=_Mw-OybAZrKsm0zD8iPVkgDv7-BKVxzFP5e_Bqnj5DI,460
|
|
158
|
-
endoreg_db/migrations/0012_rawvideofile_prediction_dir_and_more.py,sha256=iIP5k6SoUFQR4zrN27BOC0MIuErlgTn9LNTfDq86C7I,3769
|
|
159
|
-
endoreg_db/migrations/0013_rawpdffile.py,sha256=gFH0-0nl8wSAwJCa8VMqSUCvg8RRISKfWHuckHTt_3I,1502
|
|
160
|
-
endoreg_db/migrations/0014_pdftype_alter_rawpdffile_file_pdfmeta.py,sha256=tlcd1XiExztvQz7rpS4Zu336X43aYBNl6g0C2FYscf4,1475
|
|
161
|
-
endoreg_db/migrations/0015_rename_report_processed_rawpdffile_state_report_processed_and_more.py,sha256=Qny4MHBe5z5dgcbN_eOTKGalBFnr2OUuFpqmFgfb9Pg,974
|
|
162
|
-
endoreg_db/migrations/0016_rawpdffile_state_report_processing_required.py,sha256=q147Hcn4_XCQUNrspG9GFJYOaa-P_3KmfECIF3Tl17I,468
|
|
163
|
-
endoreg_db/migrations/0017_firstname_lastname_center_first_names_and_more.py,sha256=iSKCwcT06wYIgKv17MadQFfCtI3lvZwvaVBW3c0kmTQ,1255
|
|
164
|
-
endoreg_db/migrations/0018_reportreaderflag_reportreaderconfig.py,sha256=PK1Kh1TZWKbC9qcFxSsUHylRaxMqNbUvNw-gK8jPrNY,2203
|
|
165
|
-
endoreg_db/migrations/0019_pdftype_cut_off_above_lines_and_more.py,sha256=M1oQp29O2BmqEURH43Y2Zs3gzaO857Bra_id4Z3ItmI,1717
|
|
166
|
-
endoreg_db/migrations/0020_rename_endoscopy_info_line_pdftype_endoscope_info_line.py,sha256=g3XkBZHm7HdkRApkM14AANXNmWSkWQM4a4p9HRpXbZo,412
|
|
167
|
-
endoreg_db/migrations/0021_alter_pdftype_endoscope_info_line.py,sha256=B2OBG5O5XoWq3dnljOYd_LnTl45QEkSuJJY9JakB_Kc,606
|
|
168
|
-
endoreg_db/migrations/0022_alter_pdftype_endoscope_info_line.py,sha256=gbYOyECHsQ30oaYOb_g8K7tEbBUNeyTxZX81Aiz22UA,574
|
|
169
|
-
endoreg_db/migrations/0023_ttoquestionnaire_alter_pdftype_endoscope_info_line.py,sha256=wdoqxXzb785s5Wv4SEHgMWtkH_Tlhs8z3ghJHk-2mpM,5828
|
|
170
|
-
endoreg_db/migrations/0024_remove_ttoquestionnaire_infections_and_more.py,sha256=9ieBZDJBzWB3FPzg6qQjXkVmdDlZE6AhAxXkamkE1C4,812
|
|
171
|
-
endoreg_db/migrations/0025_event_alter_rawpdffile_file_patientevent.py,sha256=MytkjQ-lyLhJx56raJhVyDP-SrfaUkQenYJAS2DAU7E,1941
|
|
172
|
-
endoreg_db/migrations/0026_disease_diseaseclassification_and_more.py,sha256=eBOvA0IH4VptZeeoB4GXmXJfOyI845ZPve-mJHPxOjI,8762
|
|
173
|
-
endoreg_db/migrations/0027_labvalue_abbreviation_labvalue_default_normal_range_and_more.py,sha256=gfy5r6d-OKbapidcaX69scjHVTQaUtxNssaglocKlbM,1144
|
|
174
|
-
endoreg_db/migrations/0028_alter_unit_abbreviation.py,sha256=FT1s4atFpi5YqINvAslPem9rNx_LlUcB0_vMlGNgdI8,459
|
|
175
|
-
endoreg_db/migrations/0029_medicationintaketime_and_more.py,sha256=FF9rUvntemtMvGs-ZY-zSYBA0uavg9vCWBHGDbX6dmQ,2823
|
|
176
|
-
endoreg_db/migrations/0030_medicationindicationtype_and_more.py,sha256=VlAiHAbs46-swTcgXxlPFO4C9ienHLJQFz_Gp1T4lpo,3909
|
|
177
|
-
endoreg_db/migrations/0031_rename_adapt_to_liver_function_medication_adapt_to_age_and_more.py,sha256=aayEEfd4xj2h7nD6t6wp3ZOsIHaFkKFmp6W_GxqJLL4,1097
|
|
178
|
-
endoreg_db/migrations/0032_alter_medicationschedule_therapy_duration_d.py,sha256=zGp7eFqMGsZ3ygR05YgOaLk0_u3rW6hqrlr4kB6cfko,468
|
|
179
|
-
endoreg_db/migrations/0033_medicationindication_sources.py,sha256=0bpunVAv_yPbyJowU6FqOdvUSF_aqVLhobZ7Qc5Jxyo,454
|
|
180
|
-
endoreg_db/migrations/0034_alter_rawpdffile_file.py,sha256=nq7XRrnNtXke4iGP7IZEZuYE21Vd9WJnBJEfSJi3a3U,662
|
|
181
|
-
endoreg_db/migrations/0035_alter_medicationindication_sources.py,sha256=CnAKS7JDsE6rJO7cQUjBG9M5PGvTb4vNFdh4gz9rlFU,457
|
|
182
|
-
endoreg_db/migrations/0036_alter_rawpdffile_file.py,sha256=j5jSKbqLLWQkL26yjBmXFYQ2BKRihqoyj5IFBkkZu8o,698
|
|
183
|
-
endoreg_db/migrations/0037_alter_medicationindication_sources.py,sha256=2-njbeGr9qT0g3IOIDzziHThS_jTxUnRXh5YFqgot_U,434
|
|
184
|
-
endoreg_db/migrations/0038_emissionfactor_material_product_productgroup_and_more.py,sha256=yrZzZcrUqvyYegr4ffIGZfkVSjJUeDAvg6qfVYjf-9U,9642
|
|
185
|
-
endoreg_db/migrations/0039_referenceproduct_name.py,sha256=uRRjKHHBAsmooJu9q5MVQdHe-MmRKM0wny7qDvz90O8,480
|
|
186
|
-
endoreg_db/migrations/0040_quizanswertype_quizquestiontype_quizquestion_and_more.py,sha256=4NUU5q0StfIuFzPR4BAcn70_skDidW_yUALAk8wN6rE,2207
|
|
187
|
-
endoreg_db/migrations/0041_gender_patientmedication_medication_indication_and_more.py,sha256=RnewUI040Af3bQAeSunRZDzCUPzDAfD2k9mI29iBD68,1626
|
|
188
|
-
endoreg_db/migrations/0042_casetemplateruletype_casetemplaterulevalue_and_more.py,sha256=GD4tna3EkjAqZd4PHUC4QNFKqdh130d0bJOhPCZM6qk,3774
|
|
189
|
-
endoreg_db/migrations/0043_casetemplatetype_name_de_casetemplatetype_name_en.py,sha256=2zKkD0mtzvxMAyZc4zo4jO_p3FREoBmiVXIUXnAse0k,618
|
|
190
|
-
endoreg_db/migrations/0044_casetemplateruletype_name_de_and_more.py,sha256=CpvPLgGVTMmG9cj9HS4IoL9TJk-93oA2hwqJUnCo2lQ,624
|
|
191
|
-
endoreg_db/migrations/0045_casetemplaterulevalue_value_type.py,sha256=RpYo2X5DCI2eaREKzjFDFWI5ovB3b9HLF-OaBofQVlw,545
|
|
192
|
-
endoreg_db/migrations/0046_casetemplaterulevalue_target_field.py,sha256=slipM38RvBQ5ZK7p7lnxFb1BY_Q5XtrHFATDg2Xjj3k,447
|
|
193
|
-
endoreg_db/migrations/0047_casetemplaterule_target_model.py,sha256=Um1nJmKsYm6I9GIQ4VeSLGVBsrV1_i1j2RuqLa9L7ro,444
|
|
194
|
-
endoreg_db/migrations/0048_remove_casetemplaterule_chained_rules_and_more.py,sha256=8bFBMUNCcI8W6GNBxeX-18T7wBA2Ul5tMlgNEtqjxcc,591
|
|
195
|
-
endoreg_db/migrations/0049_remove_casetemplaterule_rule_values.py,sha256=pNONAIGE5ktyInppic3-A1YIedpTXcaW924FT_LbDtM,375
|
|
196
|
-
endoreg_db/migrations/0050_casetemplaterule_rule_values.py,sha256=OoQ6i0w1XzSh_drxvHcY9rMU2TE_cUsu5QAASmqjpS8,472
|
|
197
|
-
endoreg_db/migrations/0051_remove_casetemplaterule_calling_rules_and_more.py,sha256=bxLSZilU8OMLiLrX3qYx8Yxq2_HxiMsUBwHuvCh2tY0,833
|
|
198
|
-
endoreg_db/migrations/0052_rename_case_template_type_casetemplate_template_type.py,sha256=VapJblrB8TyrALHC9CqeyvTSPJELcyYmu_ADkFIbFx0,420
|
|
199
|
-
endoreg_db/migrations/0053_patientlabsampletype_patientlabsample_and_more.py,sha256=kiWz7L9Rng3sOgx0uqZ5Ow5LYsxI0OTjckjw7YUuShk,1637
|
|
200
|
-
endoreg_db/migrations/0054_multiplecategoricalvaluedistribution_and_more.py,sha256=srJGllwyStp7EVSJBRiDXP6i8dUea01ls_IJTrFJgOk,2821
|
|
201
|
-
endoreg_db/migrations/0055_remove_casetemplaterule_rule_values_and_more.py,sha256=oOeWgJG-WzAA5XflcbFFCHrI5rcq5VnxDTjXWN5oZic,2451
|
|
202
|
-
endoreg_db/migrations/0056_datevaluedistribution_and_more.py,sha256=-d_MHNpBi8sTnlkdzwvhLYOu_Ry-5piQ3C-sA4hi-WA,1133
|
|
203
|
-
endoreg_db/migrations/0057_remove_datevaluedistribution_max_date_and_more.py,sha256=zbZfq3eT61WPL2JgI2s6Iorb-dEVNxz2QjVUm8Yj42s,2466
|
|
204
|
-
endoreg_db/migrations/0058_datevaluedistribution_description_and_more.py,sha256=09T-a41KuwVVdNkZALn_kiFNkPRbiU9hcB0CiXD1WJk,825
|
|
205
|
-
endoreg_db/migrations/0059_casetemplaterule_rule_values.py,sha256=ulMGEoHdQp0Bo3rvj7t_XANAh_x6q_gPIGJ4H0hB01g,434
|
|
206
|
-
endoreg_db/migrations/0060_labvalue__default_date_value_distribution_and_more.py,sha256=izsee2eddInwfu33wp_J08lelNYFlgRPn9DjCn22T0k,2179
|
|
207
|
-
endoreg_db/migrations/0061_remove_patientlabvalue_date_patientlabvalue_datetime.py,sha256=H_etknIVKEZpGmN6biNuvzFvxv09T2k9ZARJgi0zDaA,689
|
|
208
|
-
endoreg_db/migrations/0062_labvalue_numeric_precision.py,sha256=rNVzAA6Uzzd8p1eSsecSy-pOvv0erkE-PYJbhs3x1yU,448
|
|
209
|
-
endoreg_db/migrations/0063_alter_labvalue_numeric_precision.py,sha256=mhxItCuLkIieaQWJ1s6v372Iu2AOCvRxqspgNtY0Ic8,409
|
|
210
|
-
endoreg_db/migrations/0064_casetemplaterule_extra_parameters_and_more.py,sha256=PDqZMNRaG-uhHSrOaCBBmwpLCTXgMDhh2-XJL-86m0g,620
|
|
211
|
-
endoreg_db/migrations/0065_rename__date_value_distribution_casetemplaterule_date_value_distribution_and_more.py,sha256=XvKuXBA_O3AjnaeMMPjEu1ltbQIbiYDH79PczecHRdI,2067
|
|
212
|
-
endoreg_db/migrations/0066_alter_patientlabvalue_patient_and_more.py,sha256=XEn9XBxJhh0mNDj8htiLUcViyGMLOkew2UmbbMExeC4,1240
|
|
213
|
-
endoreg_db/migrations/0067_alter_medicationindication_indication_type.py,sha256=HcMRzp-G1bOl2y_aKTU1GMk85bX1sTO-XMeLNG4MzmE,577
|
|
214
|
-
endoreg_db/migrations/0068_networkdevicetype_networkdevicetypemanager_and_more.py,sha256=XlASc_hxZbtrljxxiP-V49C-sVR_710J1qSf3sX3eYg,2439
|
|
215
|
-
endoreg_db/migrations/0069_delete_networkdevicetypemanager_networkdevice_online.py,sha256=AGtnpgd1T6Q7UoKSGsb5ETXvYEYzMklMZnctnBXEh5Y,519
|
|
216
|
-
endoreg_db/migrations/0070_logtype_alter_rawpdffile_file_networkdevicelogentry_and_more.py,sha256=zN0qELi6iDJz8wPKPWj8QK8SV6AIcC326Q_7IFrUuiI,3416
|
|
217
|
-
endoreg_db/migrations/0071_aglservicelogentry.py,sha256=ZIO3niIExRWXYnAcNJdrm-Rj-qLEhId_ScD0360HTyw,1442
|
|
218
|
-
endoreg_db/migrations/0072_alter_rawpdffile_file.py,sha256=7LjAiwZbEW2tbFRC5ndTrWYV5PZzij6RK49S_dwVqjU,652
|
|
219
|
-
endoreg_db/migrations/0073_aglservicelogentry_device_and_more.py,sha256=HouaGqOQIXCRm0RP0BQ-9yiOwWmZjXEBIwuwJXMePbg,1459
|
|
147
|
+
endoreg_db/migrations/0001_initial.py,sha256=tIXFN6sFZ2VUIP-TaFSGcobrgARkia0SIOiKN0iokvU,95312
|
|
148
|
+
endoreg_db/migrations/0002_anonymizedimagelabel_anonymousimageannotation_and_more.py,sha256=ABUOr5ZMUHkRQ0FDUhqNaVAvq5K8HOOdyVo1TJ8YMkQ,2605
|
|
149
|
+
endoreg_db/migrations/0003_anonymousimageannotation_original_image_url_and_more.py,sha256=bTb9_FfQBNHYLq1tKw1qmem9xsecRv-z1-aWcl9ig4k,1319
|
|
150
|
+
endoreg_db/migrations/0004_alter_rawpdffile_file.py,sha256=B1LxaapxDnzs08ScrXh1pM_KC2hHHyEHGce_0Ciaex8,712
|
|
220
151
|
endoreg_db/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
221
152
|
endoreg_db/models/__init__.py,sha256=wc1ZyDUNb-sKMZ4P7x_PAb0WtzDhYAq8y19AV8rC7dQ,1552
|
|
222
153
|
endoreg_db/models/ai_model/__init__.py,sha256=rh5npLRGml5iiRocx359gsaA82pGJTW7wdVAfnbZP6w,106
|
|
@@ -224,7 +155,8 @@ endoreg_db/models/ai_model/active_model.py,sha256=r7SE3yg54kbjfOkk0Ei0rgs_Wo3ikx
|
|
|
224
155
|
endoreg_db/models/ai_model/model_meta.py,sha256=YyYW8dScpAceHePnbrnRpgVBYDByi9x7u5Ydh03OJuo,869
|
|
225
156
|
endoreg_db/models/ai_model/model_type.py,sha256=mg1bEuzAjIte25N4TzD0yDhmUQYayJpyrRn2hB6b6eg,638
|
|
226
157
|
endoreg_db/models/ai_model/utils.py,sha256=Vh6_3lbDuFhSVCaaZKKm0CjoGA5Man6gWYe46HUXmbA,270
|
|
227
|
-
endoreg_db/models/annotation/__init__.py,sha256=
|
|
158
|
+
endoreg_db/models/annotation/__init__.py,sha256=9RM6_ZbKToUPzxgNOlFErSlFE3tdLQDY_Qw_z4Oh708,292
|
|
159
|
+
endoreg_db/models/annotation/anonymized_image_annotation.py,sha256=i3DtDOE7OKNJLwK0u5LXDuNNopD6Nql_bCjTwJHXEUM,1961
|
|
228
160
|
endoreg_db/models/annotation/binary_classification_annotation_task.py,sha256=CpvyDxLSJcoJyajtUsDGBt881SNSFcG8lvuQ01knMNM,3292
|
|
229
161
|
endoreg_db/models/annotation/image_classification.py,sha256=Og1tRo1QKBMztwfdbFryUWghnGdsTqQdepn9rOcmVMc,1387
|
|
230
162
|
endoreg_db/models/case_template/__init__.py,sha256=vtq-7Gvpv01l9CuQvBFQugXCKELx9wg2z5HkysrZCNM,369
|
|
@@ -246,7 +178,7 @@ endoreg_db/models/data_file/import_classes/__init__.py,sha256=f5f6dwDU8spd94dpDF
|
|
|
246
178
|
endoreg_db/models/data_file/import_classes/processing_functions/__init__.py,sha256=uathXg8ckLb_XBTRipdHrBXFpZpvKzuouk7lwRN0aqE,932
|
|
247
179
|
endoreg_db/models/data_file/import_classes/processing_functions/pdf.py,sha256=lEd1V_kS8758XuRZ0gj7bVhY5DgTfpEyeDgX3zWHuzE,716
|
|
248
180
|
endoreg_db/models/data_file/import_classes/processing_functions/video.py,sha256=ij3fMdqnZnX1FrS-hscy_pfaYIkxDFKVL7SVjCqCUxs,8530
|
|
249
|
-
endoreg_db/models/data_file/import_classes/raw_pdf.py,sha256=
|
|
181
|
+
endoreg_db/models/data_file/import_classes/raw_pdf.py,sha256=pwN0b6y7m8xA7wd189lR-v6JuGdyO4y1ZhhYKilIn94,6770
|
|
250
182
|
endoreg_db/models/data_file/import_classes/raw_video.py,sha256=j2WLaqxVm86Oq_zKPRAncq3QavmAMP0p3ThalGjieaQ,12444
|
|
251
183
|
endoreg_db/models/data_file/metadata/__init__.py,sha256=Hcv1L5xDnONyERwn4jnj-vI4maYMAEZ9iFPQ8baNrl0,144
|
|
252
184
|
endoreg_db/models/data_file/metadata/pdf_meta.py,sha256=Ipi1LZo36UqP43trHfNY4hamyRWjenxiPg2f_W3di-k,2183
|
|
@@ -375,7 +307,7 @@ endoreg_db/utils/ocr.py,sha256=jkdT1bl-LSCjZ2PvxlX1AG2TmhdMclayxUPrdZWs7UE,7322
|
|
|
375
307
|
endoreg_db/utils/uuid.py,sha256=T4HXqYtKwXFqE5kPyvlgWHyllBBF6LL6N48nl9TpwBk,53
|
|
376
308
|
endoreg_db/utils/video_metadata.py,sha256=HDyXxAeNQOK3cGzQ06xosmObzEnJBARuKjwz9vmmRIM,2613
|
|
377
309
|
endoreg_db/views.py,sha256=xc1IQHrsij7j33TUbo-_oewy3vs03pw_etpBWaMYJl0,63
|
|
378
|
-
endoreg_db-0.
|
|
379
|
-
endoreg_db-0.
|
|
380
|
-
endoreg_db-0.
|
|
381
|
-
endoreg_db-0.
|
|
310
|
+
endoreg_db-0.4.1.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
311
|
+
endoreg_db-0.4.1.dist-info/METADATA,sha256=00evXIbn5l5x4dOmbdcvm6UAcpyBnlZuZLYvtq-NX8c,1054
|
|
312
|
+
endoreg_db-0.4.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
313
|
+
endoreg_db-0.4.1.dist-info/RECORD,,
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# Generated by Django 4.2.11 on 2024-03-09 17:44
|
|
2
|
-
|
|
3
|
-
from django.db import migrations, models
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
class Migration(migrations.Migration):
|
|
7
|
-
|
|
8
|
-
dependencies = [
|
|
9
|
-
('endoreg_db', '0001_initial'),
|
|
10
|
-
]
|
|
11
|
-
|
|
12
|
-
operations = [
|
|
13
|
-
migrations.CreateModel(
|
|
14
|
-
name='RawVideoFile',
|
|
15
|
-
fields=[
|
|
16
|
-
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
17
|
-
('uuid', models.UUIDField()),
|
|
18
|
-
('file', models.FileField(upload_to='raw_data/')),
|
|
19
|
-
('original_file_name', models.CharField(max_length=255)),
|
|
20
|
-
('hash', models.CharField(max_length=255, unique=True)),
|
|
21
|
-
('uploaded_at', models.DateTimeField(auto_now_add=True)),
|
|
22
|
-
('state_frames_extracted', models.BooleanField(default=False)),
|
|
23
|
-
('frame_dir', models.CharField(max_length=255)),
|
|
24
|
-
],
|
|
25
|
-
),
|
|
26
|
-
]
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# Generated by Django 4.2.11 on 2024-03-09 20:44
|
|
2
|
-
|
|
3
|
-
from django.db import migrations, models
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
class Migration(migrations.Migration):
|
|
7
|
-
|
|
8
|
-
dependencies = [
|
|
9
|
-
('endoreg_db', '0002_rawvideofile'),
|
|
10
|
-
]
|
|
11
|
-
|
|
12
|
-
operations = [
|
|
13
|
-
migrations.AddField(
|
|
14
|
-
model_name='rawvideofile',
|
|
15
|
-
name='frames_required',
|
|
16
|
-
field=models.BooleanField(default=True),
|
|
17
|
-
),
|
|
18
|
-
]
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# Generated by Django 4.2.11 on 2024-03-10 12:08
|
|
2
|
-
|
|
3
|
-
from django.db import migrations
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
class Migration(migrations.Migration):
|
|
7
|
-
|
|
8
|
-
dependencies = [
|
|
9
|
-
('endoreg_db', '0003_rawvideofile_frames_required'),
|
|
10
|
-
]
|
|
11
|
-
|
|
12
|
-
operations = [
|
|
13
|
-
migrations.RenameField(
|
|
14
|
-
model_name='rawvideofile',
|
|
15
|
-
old_name='hash',
|
|
16
|
-
new_name='video_hash',
|
|
17
|
-
),
|
|
18
|
-
]
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
# Generated by Django 4.2.11 on 2024-03-10 13:07
|
|
2
|
-
|
|
3
|
-
from django.db import migrations, models
|
|
4
|
-
import django.db.models.deletion
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
class Migration(migrations.Migration):
|
|
8
|
-
|
|
9
|
-
dependencies = [
|
|
10
|
-
('endoreg_db', '0004_rename_hash_rawvideofile_video_hash'),
|
|
11
|
-
]
|
|
12
|
-
|
|
13
|
-
operations = [
|
|
14
|
-
migrations.CreateModel(
|
|
15
|
-
name='FFMpegMeta',
|
|
16
|
-
fields=[
|
|
17
|
-
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
18
|
-
('duration', models.FloatField(blank=True, null=True)),
|
|
19
|
-
('width', models.IntegerField(blank=True, null=True)),
|
|
20
|
-
('height', models.IntegerField(blank=True, null=True)),
|
|
21
|
-
('frame_rate', models.FloatField(blank=True, null=True)),
|
|
22
|
-
('video_codec', models.CharField(blank=True, max_length=50, null=True)),
|
|
23
|
-
('audio_codec', models.CharField(blank=True, max_length=50, null=True)),
|
|
24
|
-
('audio_channels', models.IntegerField(blank=True, null=True)),
|
|
25
|
-
('audio_sample_rate', models.IntegerField(blank=True, null=True)),
|
|
26
|
-
],
|
|
27
|
-
),
|
|
28
|
-
migrations.RemoveField(
|
|
29
|
-
model_name='videoimportmeta',
|
|
30
|
-
name='center',
|
|
31
|
-
),
|
|
32
|
-
migrations.RemoveField(
|
|
33
|
-
model_name='videoimportmeta',
|
|
34
|
-
name='endoscope',
|
|
35
|
-
),
|
|
36
|
-
migrations.RemoveField(
|
|
37
|
-
model_name='videoimportmeta',
|
|
38
|
-
name='processor',
|
|
39
|
-
),
|
|
40
|
-
migrations.CreateModel(
|
|
41
|
-
name='VideoMeta',
|
|
42
|
-
fields=[
|
|
43
|
-
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
44
|
-
('center', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='endoreg_db.center')),
|
|
45
|
-
('endoscope', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='endoreg_db.endoscope')),
|
|
46
|
-
('ffmpeg_meta', models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='endoreg_db.ffmpegmeta')),
|
|
47
|
-
('import_meta', models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='endoreg_db.videoimportmeta')),
|
|
48
|
-
('processor', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='endoreg_db.endoscopyprocessor')),
|
|
49
|
-
],
|
|
50
|
-
),
|
|
51
|
-
migrations.AddField(
|
|
52
|
-
model_name='rawvideofile',
|
|
53
|
-
name='video_meta',
|
|
54
|
-
field=models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='endoreg_db.videometa'),
|
|
55
|
-
),
|
|
56
|
-
]
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# Generated by Django 4.2.11 on 2024-03-10 14:46
|
|
2
|
-
|
|
3
|
-
from django.db import migrations, models
|
|
4
|
-
import django.db.models.deletion
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
class Migration(migrations.Migration):
|
|
8
|
-
|
|
9
|
-
dependencies = [
|
|
10
|
-
('endoreg_db', '0005_ffmpegmeta_remove_videoimportmeta_center_and_more'),
|
|
11
|
-
]
|
|
12
|
-
|
|
13
|
-
operations = [
|
|
14
|
-
migrations.AddField(
|
|
15
|
-
model_name='rawvideofile',
|
|
16
|
-
name='center',
|
|
17
|
-
field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, to='endoreg_db.center'),
|
|
18
|
-
preserve_default=False,
|
|
19
|
-
),
|
|
20
|
-
migrations.AlterField(
|
|
21
|
-
model_name='videometa',
|
|
22
|
-
name='processor',
|
|
23
|
-
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='endoreg_db.endoscopyprocessor'),
|
|
24
|
-
),
|
|
25
|
-
]
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
# Generated by Django 4.2.11 on 2024-03-10 15:05
|
|
2
|
-
|
|
3
|
-
from django.db import migrations, models
|
|
4
|
-
import django.db.models.deletion
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
class Migration(migrations.Migration):
|
|
8
|
-
|
|
9
|
-
dependencies = [
|
|
10
|
-
('endoreg_db', '0006_rawvideofile_center_alter_videometa_processor'),
|
|
11
|
-
]
|
|
12
|
-
|
|
13
|
-
operations = [
|
|
14
|
-
migrations.AddField(
|
|
15
|
-
model_name='rawvideofile',
|
|
16
|
-
name='processor',
|
|
17
|
-
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='endoreg_db.endoscopyprocessor'),
|
|
18
|
-
),
|
|
19
|
-
]
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# Generated by Django 4.2.11 on 2024-03-10 15:45
|
|
2
|
-
|
|
3
|
-
from django.db import migrations
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
class Migration(migrations.Migration):
|
|
7
|
-
|
|
8
|
-
dependencies = [
|
|
9
|
-
('endoreg_db', '0007_rawvideofile_processor'),
|
|
10
|
-
]
|
|
11
|
-
|
|
12
|
-
operations = [
|
|
13
|
-
migrations.RenameField(
|
|
14
|
-
model_name='rawvideofile',
|
|
15
|
-
old_name='frames_required',
|
|
16
|
-
new_name='state_frames_required',
|
|
17
|
-
),
|
|
18
|
-
]
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
# Generated by Django 4.2.11 on 2024-03-10 17:44
|
|
2
|
-
|
|
3
|
-
from django.db import migrations, models
|
|
4
|
-
import django.db.models.deletion
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
class Migration(migrations.Migration):
|
|
8
|
-
|
|
9
|
-
dependencies = [
|
|
10
|
-
('endoreg_db', '0008_rename_frames_required_rawvideofile_state_frames_required'),
|
|
11
|
-
]
|
|
12
|
-
|
|
13
|
-
operations = [
|
|
14
|
-
migrations.CreateModel(
|
|
15
|
-
name='SensitiveMeta',
|
|
16
|
-
fields=[
|
|
17
|
-
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
18
|
-
('examination_date', models.DateField(blank=True, null=True)),
|
|
19
|
-
('patient_first_name', models.CharField(blank=True, max_length=255, null=True)),
|
|
20
|
-
('patient_last_name', models.CharField(blank=True, max_length=255, null=True)),
|
|
21
|
-
('patient_dob', models.DateField(blank=True, null=True)),
|
|
22
|
-
('endoscope_type', models.CharField(blank=True, max_length=255, null=True)),
|
|
23
|
-
('endoscope_serial_number', models.CharField(blank=True, max_length=255, null=True)),
|
|
24
|
-
],
|
|
25
|
-
),
|
|
26
|
-
migrations.AddField(
|
|
27
|
-
model_name='rawvideofile',
|
|
28
|
-
name='sensitive_meta',
|
|
29
|
-
field=models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='endoreg_db.sensitivemeta'),
|
|
30
|
-
),
|
|
31
|
-
]
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# Generated by Django 4.2.11 on 2024-03-10 17:50
|
|
2
|
-
|
|
3
|
-
from django.db import migrations
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
class Migration(migrations.Migration):
|
|
7
|
-
|
|
8
|
-
dependencies = [
|
|
9
|
-
('endoreg_db', '0009_sensitivemeta_rawvideofile_sensitive_meta'),
|
|
10
|
-
]
|
|
11
|
-
|
|
12
|
-
operations = [
|
|
13
|
-
migrations.RenameField(
|
|
14
|
-
model_name='sensitivemeta',
|
|
15
|
-
old_name='endoscope_serial_number',
|
|
16
|
-
new_name='endoscope_sn',
|
|
17
|
-
),
|
|
18
|
-
]
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# Generated by Django 4.2.11 on 2024-03-10 18:01
|
|
2
|
-
|
|
3
|
-
from django.db import migrations, models
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
class Migration(migrations.Migration):
|
|
7
|
-
|
|
8
|
-
dependencies = [
|
|
9
|
-
('endoreg_db', '0010_rename_endoscope_serial_number_sensitivemeta_endoscope_sn'),
|
|
10
|
-
]
|
|
11
|
-
|
|
12
|
-
operations = [
|
|
13
|
-
migrations.AddField(
|
|
14
|
-
model_name='rawvideofile',
|
|
15
|
-
name='state_sensitive_data_retrieved',
|
|
16
|
-
field=models.BooleanField(default=False),
|
|
17
|
-
),
|
|
18
|
-
]
|