endoreg-db 0.6.3__py3-none-any.whl → 0.6.4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of endoreg-db might be problematic. Click here for more details.
- endoreg_db/data/__init__.py +14 -0
- endoreg_db/data/disease_classification/chronic_kidney_disease.yaml +2 -2
- endoreg_db/data/disease_classification_choice/chronic_kidney_disease.yaml +6 -6
- endoreg_db/data/examination/examinations/data.yaml +22 -21
- endoreg_db/data/examination/type/data.yaml +12 -0
- endoreg_db/data/examination_indication/endoscopy.yaml +417 -1
- endoreg_db/data/examination_indication_classification/endoscopy.yaml +157 -5
- endoreg_db/data/finding/data.yaml +18 -11
- endoreg_db/data/finding_intervention/endoscopy.yaml +26 -121
- endoreg_db/data/finding_intervention/endoscopy_colonoscopy.yaml +163 -0
- endoreg_db/data/finding_intervention/endoscopy_egd.yaml +128 -0
- endoreg_db/data/finding_intervention/endoscopy_ercp.yaml +32 -0
- endoreg_db/data/finding_intervention/endoscopy_eus_lower.yaml +9 -0
- endoreg_db/data/finding_intervention/endoscopy_eus_upper.yaml +36 -0
- endoreg_db/data/information_source/endoscopy_guidelines.yaml +7 -0
- endoreg_db/data/medication_indication/anticoagulation.yaml +4 -4
- endoreg_db/data/pdf_type/data.yaml +9 -16
- endoreg_db/data/requirement/colonoscopy_indications.yaml +56 -0
- endoreg_db/data/requirement/disease_cardiovascular.yaml +79 -0
- endoreg_db/data/requirement/disease_classification_choice_cardiovascular.yaml +38 -0
- endoreg_db/data/requirement/disease_hepatology.yaml +12 -0
- endoreg_db/data/requirement/disease_misc.yaml +12 -0
- endoreg_db/data/requirement/disease_renal.yaml +80 -0
- endoreg_db/data/requirement/event_cardiology.yaml +251 -0
- endoreg_db/data/requirement/lab_value.yaml +120 -0
- endoreg_db/data/requirement_operator/lab_operators.yaml +128 -0
- endoreg_db/data/requirement_operator/model_operators.yaml +90 -0
- endoreg_db/data/requirement_set/endoscopy_bleeding_risk.yaml +12 -0
- endoreg_db/data/requirement_set_type/data.yaml +20 -0
- endoreg_db/data/requirement_type/requirement_types.yaml +83 -0
- endoreg_db/data/risk/bleeding.yaml +26 -0
- endoreg_db/data/risk/thrombosis.yaml +37 -0
- endoreg_db/data/risk_type/data.yaml +27 -0
- endoreg_db/data/unit/time.yaml +36 -1
- endoreg_db/management/commands/load_base_db_data.py +14 -1
- endoreg_db/management/commands/load_center_data.py +46 -21
- endoreg_db/management/commands/load_examination_indication_data.py +49 -27
- endoreg_db/management/commands/load_requirement_data.py +156 -0
- endoreg_db/management/commands/load_risk_data.py +56 -0
- endoreg_db/migrations/0009_requirementoperator_requirementsettype_and_more.py +154 -0
- endoreg_db/models/__init__.py +20 -0
- endoreg_db/models/ai_model/ai_model.py +0 -13
- endoreg_db/models/ai_model/model_meta.py +2 -12
- endoreg_db/models/data_file/base_classes/abstract_frame.py +0 -2
- endoreg_db/models/data_file/base_classes/abstract_pdf.py +0 -9
- endoreg_db/models/data_file/base_classes/abstract_video.py +7 -8
- endoreg_db/models/data_file/base_classes/utils.py +0 -22
- endoreg_db/models/data_file/frame.py +1 -1
- endoreg_db/models/data_file/import_classes/raw_pdf.py +5 -11
- endoreg_db/models/data_file/import_classes/raw_video.py +6 -4
- endoreg_db/models/data_file/video/video.py +3 -3
- endoreg_db/models/disease.py +88 -19
- endoreg_db/models/event.py +108 -21
- endoreg_db/models/examination/examination_indication.py +108 -29
- endoreg_db/models/examination/examination_type.py +20 -6
- endoreg_db/models/information_source.py +37 -1
- endoreg_db/models/laboratory/lab_value.py +83 -32
- endoreg_db/models/requirement/__init__.py +11 -0
- endoreg_db/models/requirement/requirement.py +325 -0
- endoreg_db/models/requirement/requirement_evaluation/__init__.py +134 -0
- endoreg_db/models/requirement/requirement_evaluation/requirement_type_parser.py +102 -0
- endoreg_db/models/requirement/requirement_operator.py +58 -0
- endoreg_db/models/requirement/requirement_set.py +127 -0
- endoreg_db/models/risk/__init__.py +7 -0
- endoreg_db/models/risk/risk.py +72 -0
- endoreg_db/models/risk/risk_type.py +55 -0
- endoreg_db/serializers/video_segmentation.py +12 -25
- endoreg_db/urls.py +17 -3
- endoreg_db/utils/__init__.py +43 -0
- endoreg_db/utils/dataloader.py +38 -19
- endoreg_db/utils/hashs.py +1 -0
- endoreg_db/utils/paths.py +86 -0
- endoreg_db/views/views.py +107 -0
- {endoreg_db-0.6.3.dist-info → endoreg_db-0.6.4.dist-info}/METADATA +1 -1
- {endoreg_db-0.6.3.dist-info → endoreg_db-0.6.4.dist-info}/RECORD +77 -42
- endoreg_db/management/commands/load_name_data.py +0 -37
- {endoreg_db-0.6.3.dist-info → endoreg_db-0.6.4.dist-info}/WHEEL +0 -0
- {endoreg_db-0.6.3.dist-info → endoreg_db-0.6.4.dist-info}/licenses/LICENSE +0 -0
endoreg_db/utils/hashs.py
CHANGED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import os
|
|
2
|
+
from pathlib import Path
|
|
3
|
+
|
|
4
|
+
STORAGE_DIR_NAME = os.environ.get("DJANGO_STORAGE_DIR_NAME", "data")
|
|
5
|
+
FRAME_DIR_NAME = os.environ.get("DJANGO_FRAME_DIR_NAME", "db_frames")
|
|
6
|
+
VIDEO_DIR_NAME = os.environ.get("DJANGO_VIDEO_DIR_NAME", "db_videos")
|
|
7
|
+
WEIGHTS_DIR_NAME = os.environ.get("DJANGO_WEIGHTS_DIR_NAME", "db_model_weights")
|
|
8
|
+
PDF_DIR_NAME = os.environ.get("DJANGO_PDF_DIR_NAME", "pdfs")
|
|
9
|
+
|
|
10
|
+
def get_storage_dir(raw: bool = False):
|
|
11
|
+
"""
|
|
12
|
+
Get the storage directory from the environment variable or settings.
|
|
13
|
+
"""
|
|
14
|
+
storage_dir = os.environ.get("DJANGO_STORAGE_DIR", "data")
|
|
15
|
+
storage_dir = Path(storage_dir).expanduser()
|
|
16
|
+
|
|
17
|
+
if raw:
|
|
18
|
+
name = storage_dir.name
|
|
19
|
+
storage_dir = storage_dir.parent / f"raw_{name}"
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
if not storage_dir.exists():
|
|
23
|
+
storage_dir.mkdir(parents=True, exist_ok=True)
|
|
24
|
+
return storage_dir
|
|
25
|
+
|
|
26
|
+
def get_frame_dir(raw: bool = False):
|
|
27
|
+
"""
|
|
28
|
+
Get the frame directory from the environment variable or settings.
|
|
29
|
+
"""
|
|
30
|
+
frame_dir_name = os.environ.get("DJANGO_FRAME_DIR_NAME", FRAME_DIR_NAME)
|
|
31
|
+
storage_dir = get_storage_dir(raw)
|
|
32
|
+
frame_dir = storage_dir / frame_dir_name
|
|
33
|
+
if not frame_dir.exists():
|
|
34
|
+
frame_dir.mkdir(parents=True, exist_ok=True)
|
|
35
|
+
return frame_dir
|
|
36
|
+
|
|
37
|
+
def get_video_dir(raw: bool = False):
|
|
38
|
+
"""
|
|
39
|
+
Get the video directory from the environment variable or settings.
|
|
40
|
+
"""
|
|
41
|
+
video_dir_name = os.environ.get("DJANGO_VIDEO_DIR_NAME", VIDEO_DIR_NAME)
|
|
42
|
+
storage_dir = get_storage_dir(raw)
|
|
43
|
+
video_dir = storage_dir / video_dir_name
|
|
44
|
+
if not video_dir.exists():
|
|
45
|
+
video_dir.mkdir(parents=True, exist_ok=True)
|
|
46
|
+
return video_dir
|
|
47
|
+
|
|
48
|
+
def get_weights_dir():
|
|
49
|
+
"""
|
|
50
|
+
Get the weights directory from the environment variable or settings.
|
|
51
|
+
"""
|
|
52
|
+
weights_dir_name = os.environ.get("DJANGO_WEIGHTS_DIR_NAME", WEIGHTS_DIR_NAME)
|
|
53
|
+
storage_dir = get_storage_dir()
|
|
54
|
+
weights_dir = storage_dir / weights_dir_name
|
|
55
|
+
if not weights_dir.exists():
|
|
56
|
+
weights_dir.mkdir(parents=True, exist_ok=True)
|
|
57
|
+
return weights_dir
|
|
58
|
+
|
|
59
|
+
def get_pdf_dir(raw: bool = False):
|
|
60
|
+
"""
|
|
61
|
+
Get the pdf directory from the environment variable or settings.
|
|
62
|
+
"""
|
|
63
|
+
pdf_dir_name = os.environ.get("DJANGO_PDF_DIR_NAME", PDF_DIR_NAME)
|
|
64
|
+
storage_dir = get_storage_dir(raw)
|
|
65
|
+
pdf_dir = storage_dir / pdf_dir_name
|
|
66
|
+
if not pdf_dir.exists():
|
|
67
|
+
pdf_dir.mkdir(parents=True, exist_ok=True)
|
|
68
|
+
return pdf_dir
|
|
69
|
+
|
|
70
|
+
STORAGE_DIR = get_storage_dir()
|
|
71
|
+
FRAME_DIR = get_frame_dir()
|
|
72
|
+
VIDEO_DIR = get_video_dir()
|
|
73
|
+
PDF_DIR = get_pdf_dir()
|
|
74
|
+
PDF_DIR_NAME = PDF_DIR.name
|
|
75
|
+
RAW_VIDEO_DIR = get_video_dir(raw=True)
|
|
76
|
+
RAW_VIDEO_DIR_NAME = RAW_VIDEO_DIR.name
|
|
77
|
+
RAW_FRAME_DIR = get_frame_dir(raw=True)
|
|
78
|
+
RAW_FRAME_DIR_NAME = RAW_FRAME_DIR.name
|
|
79
|
+
RAW_PDF_DIR = get_pdf_dir(raw=True)
|
|
80
|
+
RAW_PDF_DIR_NAME = RAW_PDF_DIR.name
|
|
81
|
+
WEIGHTS_DIR = get_weights_dir()
|
|
82
|
+
TEST_RUN = os.environ.get("TEST_RUN", False)
|
|
83
|
+
TEST_RUN_FRAME_NUMBER = os.environ.get("TEST_RUN_FRAME_NUMBER", 1000)
|
|
84
|
+
# AI Stuff
|
|
85
|
+
FRAME_PROCESSING_BATCH_SIZE = os.environ.get("DJANGO_FRAME_PROCESSING_BATCH_SIZE", 10)
|
|
86
|
+
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
#for keycloak need to make separate onne,demo
|
|
2
|
+
from rest_framework.permissions import IsAuthenticated
|
|
3
|
+
from rest_framework.views import APIView
|
|
4
|
+
from rest_framework.response import Response
|
|
5
|
+
|
|
6
|
+
from django.shortcuts import redirect, render
|
|
7
|
+
from django.conf import settings
|
|
8
|
+
from urllib.parse import urlencode
|
|
9
|
+
import requests
|
|
10
|
+
|
|
11
|
+
"""
|
|
12
|
+
User hits /api/videos/
|
|
13
|
+
Middleware checks for token; if missing, redirects to /login/
|
|
14
|
+
/login/ redirects to Keycloak
|
|
15
|
+
User logs in → Keycloak sends them back to /login/callback/
|
|
16
|
+
/login/callback/ exchanges code for token, stores it in session
|
|
17
|
+
User is redirected to /api/videos/ again
|
|
18
|
+
Middleware now sees token, verifies it, injects user
|
|
19
|
+
DRF view (VideoView) is allowed to execute and returns data
|
|
20
|
+
"""
|
|
21
|
+
class VideoView(APIView):
|
|
22
|
+
permission_classes = [IsAuthenticated] #This uses DRF permissions to ensure request.user.is_authenticated == True.
|
|
23
|
+
|
|
24
|
+
def get(self, request):
|
|
25
|
+
"""
|
|
26
|
+
We already inject a mock user in the middleware, so this will pass if the middleware succeeded.
|
|
27
|
+
Returns a message including the Keycloak username.
|
|
28
|
+
"""
|
|
29
|
+
username = getattr(request.user, 'preferred_username', 'Unknown')
|
|
30
|
+
return Response({"message": f"🎥 Hello, {username}. You are viewing protected videos!"})
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
def keycloak_login(request):
|
|
34
|
+
|
|
35
|
+
"""
|
|
36
|
+
- This gets triggered when middleware redirects to /login/.
|
|
37
|
+
"""
|
|
38
|
+
redirect_uri = request.build_absolute_uri('/login/callback/')
|
|
39
|
+
print("Redirect URI:", redirect_uri)
|
|
40
|
+
auth_url = f"{settings.KEYCLOAK_SERVER_URL}/realms/{settings.KEYCLOAK_REALM}/protocol/openid-connect/auth"
|
|
41
|
+
|
|
42
|
+
#OAuth2 Authorization Code Flow
|
|
43
|
+
params = {
|
|
44
|
+
"client_id": settings.KEYCLOAK_CLIENT_ID,
|
|
45
|
+
"response_type": "code",
|
|
46
|
+
"scope": "openid",
|
|
47
|
+
"redirect_uri": redirect_uri,
|
|
48
|
+
}
|
|
49
|
+
# Redirect user to Keycloak login page.
|
|
50
|
+
return redirect(f"{auth_url}?{urlencode(params)}")
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
import json
|
|
54
|
+
from django.http import HttpResponse
|
|
55
|
+
|
|
56
|
+
from django.http import HttpResponse, HttpResponseRedirect
|
|
57
|
+
import json
|
|
58
|
+
|
|
59
|
+
def keycloak_callback(request):
|
|
60
|
+
|
|
61
|
+
#User lands here after login (Keycloak redirects here with code).
|
|
62
|
+
code = request.GET.get("code")
|
|
63
|
+
if not code:
|
|
64
|
+
return HttpResponse(" No authorization code provided.", status=400)
|
|
65
|
+
|
|
66
|
+
# Exchanges the code for an access_token.
|
|
67
|
+
token_url = f"{settings.KEYCLOAK_SERVER_URL}/realms/{settings.KEYCLOAK_REALM}/protocol/openid-connect/token"
|
|
68
|
+
redirect_uri = request.build_absolute_uri('/login/callback/')
|
|
69
|
+
|
|
70
|
+
data = {
|
|
71
|
+
"grant_type": "authorization_code",
|
|
72
|
+
"code": code,
|
|
73
|
+
"client_id": settings.KEYCLOAK_CLIENT_ID,
|
|
74
|
+
"client_secret": settings.KEYCLOAK_CLIENT_SECRET,
|
|
75
|
+
"redirect_uri": redirect_uri,
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
try:
|
|
79
|
+
response = requests.post(token_url, data=data)
|
|
80
|
+
|
|
81
|
+
print("Token Response Status:", response.status_code)
|
|
82
|
+
print(" Token Response Body:", response.text)
|
|
83
|
+
|
|
84
|
+
if response.status_code != 200:
|
|
85
|
+
return HttpResponse(
|
|
86
|
+
f"<h2> Token exchange failed</h2><pre>{response.text}</pre>",
|
|
87
|
+
status=500
|
|
88
|
+
)
|
|
89
|
+
|
|
90
|
+
token_data = response.json()
|
|
91
|
+
|
|
92
|
+
if "access_token" not in token_data:
|
|
93
|
+
return HttpResponse(" Access token missing in response.", status=500)
|
|
94
|
+
|
|
95
|
+
# Stores the token in Django session. Middleware will use this on the next request.
|
|
96
|
+
request.session["access_token"] = token_data["access_token"]
|
|
97
|
+
request.session["refresh_token"] = token_data["refresh_token"]
|
|
98
|
+
print("Refresh Token:", request.session.get("refresh_token"))
|
|
99
|
+
|
|
100
|
+
return redirect("/api/videos/")
|
|
101
|
+
|
|
102
|
+
except Exception as e:
|
|
103
|
+
return HttpResponse(f" Exception during token exchange: {str(e)}", status=500)
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
def public_home(request):
|
|
107
|
+
return HttpResponse("just for demo - This is a public home page — no login required.")
|
|
@@ -2,13 +2,13 @@ endoreg_db/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
2
2
|
endoreg_db/admin.py,sha256=lmRHt3UF6_AdkFTgCT5UiNHkvqNo2CzqGxlTa2nFjmA,3477
|
|
3
3
|
endoreg_db/apps.py,sha256=zYb2_RiEGIsLS6_OMWzCxcTHSNkF28CqF4xcd_6NHUg,151
|
|
4
4
|
endoreg_db/tests.py,sha256=mrbGGRNg5jwbTJtWWa7zSKdDyeB4vmgZCRc2nk6VY-g,60
|
|
5
|
-
endoreg_db/urls.py,sha256=
|
|
5
|
+
endoreg_db/urls.py,sha256=5K5FRPH1GWg-aH3_OOSOM1qBqpUsrKzdvsv2to0cxrE,14310
|
|
6
6
|
endoreg_db/views.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
7
|
endoreg_db/case_generator/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
8
8
|
endoreg_db/case_generator/case_generator.py,sha256=klrytmkGg8zcQvKoY6JvyAN6iSd41i528I6PF-eHa3Y,5771
|
|
9
9
|
endoreg_db/case_generator/lab_sample_factory.py,sha256=th4dDjLqRMNKw8jc7W2nICY4aMf4uDZ0T-sk2izqdus,905
|
|
10
10
|
endoreg_db/case_generator/utils.py,sha256=qY9fc-bg-hvkhGI_eKTNcgZZw3jxBWxWK5AH3o8tghw,1045
|
|
11
|
-
endoreg_db/data/__init__.py,sha256=
|
|
11
|
+
endoreg_db/data/__init__.py,sha256=TC0ubBtG4OyEd7L_9s71jPxsRzDDysLh_Sr6Wq4TzZU,5458
|
|
12
12
|
endoreg_db/data/agl_service/data.yaml,sha256=4lk3VYsrPM2KJgTsPzj0J0LsAu4YazZXAzyxsQM_YAI,433
|
|
13
13
|
endoreg_db/data/ai_model/data.yaml,sha256=8U8g5kaxXviKeVUTz0BWqZpmyY-sTrOoPUXZzPchCUU,286
|
|
14
14
|
endoreg_db/data/ai_model_label/label/data.yaml,sha256=qkt0FfrLvPrcW_N0GUzu3q9TpiXrvZU047xAIOk_33A,1737
|
|
@@ -42,9 +42,9 @@ endoreg_db/data/disease/cardiovascular.yaml,sha256=MVePTrd0ia2Aeo9kdIIYdz5MF6qtl
|
|
|
42
42
|
endoreg_db/data/disease/hepatology.yaml,sha256=oDYKRPZXQD_NKB7ruHFrpWDaoqnXqQblPyKwme1l97o,125
|
|
43
43
|
endoreg_db/data/disease/misc.yaml,sha256=YB8xqemnO9Xn56KSjQxz6wXjdqTECIMMsRw7A1_TSTc,163
|
|
44
44
|
endoreg_db/data/disease/renal.yaml,sha256=hUFjn8KiEZ7oYW2uY-JfufR6N9Fk_0otKbwfZPWyFJQ,153
|
|
45
|
-
endoreg_db/data/disease_classification/chronic_kidney_disease.yaml,sha256=
|
|
45
|
+
endoreg_db/data/disease_classification/chronic_kidney_disease.yaml,sha256=jKMh6PlFyJl_EpHzGscy6Rl_YYI2uk3YafQVDXRUDCc,229
|
|
46
46
|
endoreg_db/data/disease_classification/coronary_vessel_disease.yaml,sha256=olKtHAmSqDrBAvpuBcH5JwSD3scd_KliGLpT_cEFkTs,270
|
|
47
|
-
endoreg_db/data/disease_classification_choice/chronic_kidney_disease.yaml,sha256=
|
|
47
|
+
endoreg_db/data/disease_classification_choice/chronic_kidney_disease.yaml,sha256=Z2w51sQWk-wG5yDI-olfZTYskrKLxuUUIIVtdK4amPs,1583
|
|
48
48
|
endoreg_db/data/disease_classification_choice/coronary_vessel_disease.yaml,sha256=Z_MG6bbx_zI4C8qV-U_Yqvn1K3KYbvG-ElFaXbYAMNQ,835
|
|
49
49
|
endoreg_db/data/distribution/date/patient.yaml,sha256=I3fr98VNCja6a4qtf9YnjoFPlqH67LPbDlssQKY_cPE,210
|
|
50
50
|
endoreg_db/data/distribution/multiple_categorical/.init,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -58,15 +58,20 @@ endoreg_db/data/event/cardiology.yaml,sha256=c2SfXXU8_hOBibNqidxxkZoEaKGGh0UWUTY
|
|
|
58
58
|
endoreg_db/data/event/neurology.yaml,sha256=AdpGHQxfBAOuUbKQ234T1MtE3bfHdgKA47HUoyFB5KE,282
|
|
59
59
|
endoreg_db/data/event/surgery.yaml,sha256=hyZWxg8LUNOwf3iybVj0Muta7pUdWhZXmLuuOh7hjek,428
|
|
60
60
|
endoreg_db/data/event/thrombembolism.yaml,sha256=TvpllrcpTV-kOxsttcPIxeRAZ1JKdoN_Nu0LSPatOZc,556
|
|
61
|
-
endoreg_db/data/examination/examinations/data.yaml,sha256=
|
|
61
|
+
endoreg_db/data/examination/examinations/data.yaml,sha256=Am6OjldO5lOIlKFTEB0z-01cFtE9hq44cVmPzP6Ek5s,1861
|
|
62
62
|
endoreg_db/data/examination/time/data.yaml,sha256=YQ2VFpmNoUwDf4cCSx35hj46YG2_JeRm_t86RTodVsI,1010
|
|
63
63
|
endoreg_db/data/examination/time-type/data.yaml,sha256=-RUaF7zUtuIFttLpu_Cb-cVZMN8_Y9bSHTozI6a69LA,156
|
|
64
|
-
endoreg_db/data/examination/type/data.yaml,sha256=
|
|
65
|
-
endoreg_db/data/examination_indication/endoscopy.yaml,sha256=
|
|
66
|
-
endoreg_db/data/examination_indication_classification/endoscopy.yaml,sha256=
|
|
64
|
+
endoreg_db/data/examination/type/data.yaml,sha256=z5mkiC1-xBoX9s28zI8-rt73DcX4r2gBm0LP5i4CiyI,339
|
|
65
|
+
endoreg_db/data/examination_indication/endoscopy.yaml,sha256=jqAHLW_4LC5XAfrZmQAIfgANv5tdieTV-BPlQKclo90,14615
|
|
66
|
+
endoreg_db/data/examination_indication_classification/endoscopy.yaml,sha256=nmgwmBJm2C7Ia39MdaNwuxs9u_pCWongeBGzlG60JMQ,5491
|
|
67
67
|
endoreg_db/data/examination_indication_classification_choice/endoscopy.yaml,sha256=etlhAkLr8HXXx7VG5wBOrXzwh13mJBQxiqptJSiOmnw,3051
|
|
68
|
-
endoreg_db/data/finding/data.yaml,sha256=
|
|
69
|
-
endoreg_db/data/finding_intervention/endoscopy.yaml,sha256=
|
|
68
|
+
endoreg_db/data/finding/data.yaml,sha256=cL1PXlk6JoF2ZJahrCf2Rbifew3R6YtbUMdCJTDeN9s,3443
|
|
69
|
+
endoreg_db/data/finding_intervention/endoscopy.yaml,sha256=DqRBNvNzjvLI1DbfqjDAoGfDpgHtR2zLf_Sqoy7V0KQ,1390
|
|
70
|
+
endoreg_db/data/finding_intervention/endoscopy_colonoscopy.yaml,sha256=WYNn_A72-aZPcAmp7SSnDSK_9cBgztCg0MJsr8kgoeE,6329
|
|
71
|
+
endoreg_db/data/finding_intervention/endoscopy_egd.yaml,sha256=DaE7OmKJ0um6WRYHSCOTLPVm80zaYloFovKxeLksle0,3535
|
|
72
|
+
endoreg_db/data/finding_intervention/endoscopy_ercp.yaml,sha256=PBBKpjiLM-7Wt8VtSrGesmZ7YSJt3iXDmE2QNYLu5og,797
|
|
73
|
+
endoreg_db/data/finding_intervention/endoscopy_eus_lower.yaml,sha256=bRnTKc2DdVX2aw-gRXe5bQhppkigO6SIHdqbRygeTtQ,275
|
|
74
|
+
endoreg_db/data/finding_intervention/endoscopy_eus_upper.yaml,sha256=U2i1-XarQR6dTm5fEs0o2AWRtrtJpRSgcMjHiS_Jtxw,1163
|
|
70
75
|
endoreg_db/data/finding_intervention_type/endoscopy.yaml,sha256=EnxIpRys8noMik2rUGQQG2zO0juZn75-k-4rVhD18ZY,319
|
|
71
76
|
endoreg_db/data/finding_location_classification/colonoscopy.yaml,sha256=yZT6YCXWK2vIpSZ0PBBWHnpsy0LVcf8oWiPKyIebt3w,909
|
|
72
77
|
endoreg_db/data/finding_location_classification_choice/colonoscopy.yaml,sha256=hlp5CvRVgQsrm-Fzx7__iYmjZRHThLEPYJVSJdklpcM,6618
|
|
@@ -81,6 +86,7 @@ endoreg_db/data/finding_morphology_classification_type/colonoscopy.yaml,sha256=F
|
|
|
81
86
|
endoreg_db/data/finding_type/data.yaml,sha256=Z99m8c9X3aCdAIdqgpSWhgsQIZBb7UEq7oWNuTIf7-A,700
|
|
82
87
|
endoreg_db/data/gender/data.yaml,sha256=ku0vvaBP3vcflfNn5aeE8ynxlUHg5DwfyigRAZjA8A0,762
|
|
83
88
|
endoreg_db/data/information_source/data.yaml,sha256=ZJULuYMz7FzkKaC76hor6sCW_P43KoZ_ncEN0grjegk,765
|
|
89
|
+
endoreg_db/data/information_source/endoscopy_guidelines.yaml,sha256=rDkSuKSX3_5dvJcencethzcBg73P6brIkRLuhTHctMo,310
|
|
84
90
|
endoreg_db/data/information_source/medication.yaml,sha256=S4MJ1w87IX0TSCCW5gpcXcMs-hIlhWss6wo4rvSMI5g,285
|
|
85
91
|
endoreg_db/data/lab_value/cardiac_enzymes.yaml,sha256=uhXoXDknkdWW5hGFozllGVSW3pEO-m1i3GC2yL_pirw,910
|
|
86
92
|
endoreg_db/data/lab_value/coagulation.yaml,sha256=At6yBZGPVGvroVgO43yOrVAcAglYq0XUlumqOHacUlo,1792
|
|
@@ -99,7 +105,7 @@ endoreg_db/data/lx_permission/endoreg.yaml,sha256=P9dbv14ibF5SqlNQ3TTJYUnPVFYVy6
|
|
|
99
105
|
endoreg_db/data/material/material.yaml,sha256=GUY0l4DSm1OQtgExNbTMqAuUMPvUBlTvNWvrtJKhXiY,2035
|
|
100
106
|
endoreg_db/data/medication/anticoagulation.yaml,sha256=NfAXuD9hQqHE2knWl51JGJnyjJvh_I1xRxaF8VS5-Us,1635
|
|
101
107
|
endoreg_db/data/medication/tah.yaml,sha256=UDuY9tn9e8806KdZ3AL1LooGPdxqoPHNz6IX38yk-6g,1701
|
|
102
|
-
endoreg_db/data/medication_indication/anticoagulation.yaml,sha256=
|
|
108
|
+
endoreg_db/data/medication_indication/anticoagulation.yaml,sha256=Iq5xxsRayu09D2G4xTyx-VyFIqnaoUj5GMxaF80haV0,4320
|
|
103
109
|
endoreg_db/data/medication_indication_type/data.yaml,sha256=5A3JuEO6INqv-eeLuqbRi30klC_qD13riApzLUHVlLo,245
|
|
104
110
|
endoreg_db/data/medication_indication_type/thrombembolism.yaml,sha256=9zPWk-1pnb4fFCHueVlXX90x6z7V_dJlN3pz2kMl6BE,1691
|
|
105
111
|
endoreg_db/data/medication_intake_time/base.yaml,sha256=wkN4UKt_KY2bLnfwyPbar5-CSHTbsNRmoMOg4dtDZik,682
|
|
@@ -112,7 +118,7 @@ endoreg_db/data/network_device/data.yaml,sha256=VM7rewtnEB_BdJZc6hegfIZNQFA2Xe2M
|
|
|
112
118
|
endoreg_db/data/network_device_type/data.yaml,sha256=xkbfoHjqM9uHv68W_LNsVDbZSy4FZrhKauzJJkzM-h4,230
|
|
113
119
|
endoreg_db/data/organ/data.yaml,sha256=xMrCPGyCB6QIhHwL1tnf61ZenmIGP7JBMsVoFeMlX1I,518
|
|
114
120
|
endoreg_db/data/patient_lab_sample_type/generic.yaml,sha256=nbtummOrGUeBkM7sVpqq48txkC-bmxn4_h40oS4VloY,162
|
|
115
|
-
endoreg_db/data/pdf_type/data.yaml,sha256=
|
|
121
|
+
endoreg_db/data/pdf_type/data.yaml,sha256=RoLfoVuLeR8ItnaYB-eOhYJTLx3Lyuke4q1ZeQagEAM,1012
|
|
116
122
|
endoreg_db/data/product/green_endoscopy_dashboard_Product.yaml,sha256=PzQGTSXJ-UwtXkOGdI0nsGGDo0HO1KwZKpCfiEqmdt0,1898
|
|
117
123
|
endoreg_db/data/product_group/green_endoscopy_dashboard_ProductGroup.yaml,sha256=RMkNyM0eDJ9yqUIflirWT5V108p3o8Yp6MoDr6eQg-c,685
|
|
118
124
|
endoreg_db/data/product_material/green_endoscopy_dashboard_ProductMaterial.yaml,sha256=jFGcc9Z0fqPHc9rHbju9PpwPNuacUsZMDZB-j2cfmBE,7225
|
|
@@ -121,7 +127,23 @@ endoreg_db/data/profession/data.yaml,sha256=3lRQ-SEiJHjmuQWXVLBoL7tpfO2t82NgGc3P
|
|
|
121
127
|
endoreg_db/data/reference_product/green_endoscopy_dashboard_ReferenceProduct.yaml,sha256=sSvySBfb6RgEwp2Gcq-HuS8_34HFbcQt1rg34DZdNnA,1643
|
|
122
128
|
endoreg_db/data/report_reader_flag/ukw-examination-generic.yaml,sha256=1a_pvnDg-LztEyT5o13J6ukPCxx4wAQDaP0qowaRTJE,870
|
|
123
129
|
endoreg_db/data/report_reader_flag/ukw-histology-generic.yaml,sha256=1iaUFiVt_ldCPGqud_znD2-AFgSfrZr_oncAONM9Ic0,493
|
|
130
|
+
endoreg_db/data/requirement/colonoscopy_indications.yaml,sha256=uyuX_wZAjXfzmVc4U7USHZQOgevNBE1B0vija8valM4,1964
|
|
131
|
+
endoreg_db/data/requirement/disease_cardiovascular.yaml,sha256=qUeyb6P1iDd6Pe8oocFT2ncvm0kiYY_P7NCfuhFm3_w,2059
|
|
132
|
+
endoreg_db/data/requirement/disease_classification_choice_cardiovascular.yaml,sha256=sh2NAOIr_-eReByvFLfL2-UNnyN_SwtY9Xz-jsinUxg,1325
|
|
133
|
+
endoreg_db/data/requirement/disease_hepatology.yaml,sha256=cJnXDvoWLsmM3zYuA7W62wpTti80QZSUfRenG75xGD8,324
|
|
134
|
+
endoreg_db/data/requirement/disease_misc.yaml,sha256=gb010eeS3wYfSbtiawfOcVblQoKNffkc1yE3l8sPyFE,332
|
|
135
|
+
endoreg_db/data/requirement/disease_renal.yaml,sha256=S_bObum_3ia4WJck5FZ0z5wFI5LPplU4JFvkwYP_DZM,3133
|
|
136
|
+
endoreg_db/data/requirement/event_cardiology.yaml,sha256=Jd_SwR6HrlPvCAfp0GeKRH8iOPa3WDT6SNlcdVCsdnw,8540
|
|
137
|
+
endoreg_db/data/requirement/lab_value.yaml,sha256=Ccq0dI_nhWmKId_bmnrMJk22mF-7kYIh9RkxcMCstrE,3820
|
|
138
|
+
endoreg_db/data/requirement_operator/lab_operators.yaml,sha256=25hQvV2atRhpuUEJMY4L_sXY8b-R6-FCZxpMjT5pVG4,7907
|
|
139
|
+
endoreg_db/data/requirement_operator/model_operators.yaml,sha256=6XdinldeTOatcSjjKiy6pZkdCXqu-Tkf6QsSoNfYqNU,4963
|
|
140
|
+
endoreg_db/data/requirement_set/endoscopy_bleeding_risk.yaml,sha256=5DBJjbvhCPCd2Wz_IrcfDdAA6dknLVZ92Krs032c8eg,453
|
|
141
|
+
endoreg_db/data/requirement_set_type/data.yaml,sha256=lr5asqa7NwffeyCFYiwkZNhncYldQL7m10PSwklJ3_4,481
|
|
142
|
+
endoreg_db/data/requirement_type/requirement_types.yaml,sha256=r_sKVHcBzGFv1Qp4PamZ0hkEfPq8ZmWAi9cioVkQpZk,2333
|
|
124
143
|
endoreg_db/data/resource/green_endoscopy_dashboard_Resource.yaml,sha256=hjmrFJn_-SbVkX9Nsa3Vo9YItUmje5aVLraKGI8BiZM,288
|
|
144
|
+
endoreg_db/data/risk/bleeding.yaml,sha256=chZuhEGeve36Y6eb-lbikJg_ox-e9m2EPcS-VhOeei4,628
|
|
145
|
+
endoreg_db/data/risk/thrombosis.yaml,sha256=jqyEkVuDuCUr7dLZRhyuHSasYCQ3J3pnBUiTXgCeT0c,900
|
|
146
|
+
endoreg_db/data/risk_type/data.yaml,sha256=jqdXnBJk3NJErmi7B162uPG78qVHd8XJOIhseIeLIpo,593
|
|
125
147
|
endoreg_db/data/tmp/chronic_kidney_disease.yaml,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
126
148
|
endoreg_db/data/tmp/congestive_heart_failure.yaml,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
127
149
|
endoreg_db/data/transport_route/green_endoscopy_dashboard_TransportRoute.yaml,sha256=Q7JeSHHYEOtlYsIs44XQEjWd19eZIOdUHkaTLq115ik,349
|
|
@@ -130,7 +152,7 @@ endoreg_db/data/unit/data.yaml,sha256=t9D7xepTm_7g6q6MUacCigoCLI3_6R6WS3BaowI6to
|
|
|
130
152
|
endoreg_db/data/unit/length.yaml,sha256=sNbyr1bFd5JzQxSjuDU2HbcCvM4WepxZRxrquENpAAQ,629
|
|
131
153
|
endoreg_db/data/unit/misc.yaml,sha256=_zNA_5AmGaaYpTqFloRob3abPdjiT_GSC-apyhptw1Q,365
|
|
132
154
|
endoreg_db/data/unit/rate.yaml,sha256=PcJiFwPtZVBDwhcfNE_hYjG9cUh6LvHt0ObrX8F7tSM,174
|
|
133
|
-
endoreg_db/data/unit/time.yaml,sha256=
|
|
155
|
+
endoreg_db/data/unit/time.yaml,sha256=vmw45iBKRV5R-PrsbTUgYfgUP_0QLjGlzBioiOFuz4A,845
|
|
134
156
|
endoreg_db/data/unit/volume.yaml,sha256=mkrWixjRJJ0Ob2s9jwU69wW6u4QqdOcw12BWqhf6X3g,685
|
|
135
157
|
endoreg_db/data/unit/weight.yaml,sha256=o1PvHk-4GhKxstCozhDYQNMMYcTXvwmqx4hlQXO2U8o,747
|
|
136
158
|
endoreg_db/data/waste/data.yaml,sha256=A8dUOdzsxhICHViXmbcLtOmtqkBX_CkZaRNo-ePAyEA,245
|
|
@@ -151,8 +173,8 @@ endoreg_db/management/commands/fix_auth_permission.py,sha256=f7RFMH4ET4ee5ODZtvT
|
|
|
151
173
|
endoreg_db/management/commands/load_active_model_data.py,sha256=NpWIksrVQIyrd-ZhI_B_34NFbLJI1_vhwuN6gXc8hgQ,1337
|
|
152
174
|
endoreg_db/management/commands/load_ai_model_data.py,sha256=50qur5C-cRxf_fnPPMt3AGCdhsCLYmAn8DqSgv31npU,2822
|
|
153
175
|
endoreg_db/management/commands/load_ai_model_label_data.py,sha256=jnm2720TsnRTBKF6guwnjLo7sropW_YoRjgyjo1TUr8,2143
|
|
154
|
-
endoreg_db/management/commands/load_base_db_data.py,sha256=
|
|
155
|
-
endoreg_db/management/commands/load_center_data.py,sha256=
|
|
176
|
+
endoreg_db/management/commands/load_base_db_data.py,sha256=ixLbxoXukbPW96ISKCyFpT8b3OylTnbi49u-cH3cjyA,9307
|
|
177
|
+
endoreg_db/management/commands/load_center_data.py,sha256=GQpbe7dxgbTgd66oBqrBXax-os3ibnPmCeSEFDVauPU,2570
|
|
156
178
|
endoreg_db/management/commands/load_contraindication_data.py,sha256=5cEIBX42Exc6m3li-HQCEK3NHO6lbvACV4eJoaa-zG0,1256
|
|
157
179
|
endoreg_db/management/commands/load_disease_classification_choices_data.py,sha256=zSwNVmI56myFtOBUxV9kD_-4NKh0Z4nWuvFN3RSSulU,1361
|
|
158
180
|
endoreg_db/management/commands/load_disease_classification_data.py,sha256=B0sIgDq35e8Js3cqBCpRBoDuKRoDy7YvPbaZ4jjJS2I,1305
|
|
@@ -161,7 +183,7 @@ endoreg_db/management/commands/load_distribution_data.py,sha256=d0KpJF9E519PsJvG
|
|
|
161
183
|
endoreg_db/management/commands/load_endoscope_data.py,sha256=mZSprtXKH43_6uSiE-h6a81hSSK8xTI0zisDXUJhG3s,1949
|
|
162
184
|
endoreg_db/management/commands/load_event_data.py,sha256=WYT8GRzrJ3JgGaSi7l-8sF1rrL-7NnvlDj262Fux47g,1223
|
|
163
185
|
endoreg_db/management/commands/load_examination_data.py,sha256=kGGSRpHxvhugpKXpUMrttWYe9y81XOzyjgiBqV492KU,2748
|
|
164
|
-
endoreg_db/management/commands/load_examination_indication_data.py,sha256=
|
|
186
|
+
endoreg_db/management/commands/load_examination_indication_data.py,sha256=6YVE72BFV8_BqcJcCPdN9XsM_JBY2AnN9H8PTmES5PE,2950
|
|
165
187
|
endoreg_db/management/commands/load_finding_data.py,sha256=9lTGojQ0C0S7ifyVV4CqEdRS-38eZFPB2UNV5fDVYBo,5693
|
|
166
188
|
endoreg_db/management/commands/load_g_play_data.py,sha256=uPfTx8aGqU7U8bsQz7rR9fsLQZEVEQ7kJk_nGW6ScAA,3399
|
|
167
189
|
endoreg_db/management/commands/load_gender_data.py,sha256=skg1EcE5EIYAVDO-jNx8qjmJNaFXaOaqILgmJ6j6CLY,1137
|
|
@@ -175,12 +197,13 @@ endoreg_db/management/commands/load_medication_indication_data.py,sha256=lR3zJdT
|
|
|
175
197
|
endoreg_db/management/commands/load_medication_indication_type_data.py,sha256=CJ3zyFv7DnTuhBfG6TAdU9uZ0c2aHd31Y33g3X-SYVA,1282
|
|
176
198
|
endoreg_db/management/commands/load_medication_intake_time_data.py,sha256=Qln3plozYsADcS0gKLdnLzAjbVLxC6N9h3ja-pS5CiI,1270
|
|
177
199
|
endoreg_db/management/commands/load_medication_schedule_data.py,sha256=UTnCGF2gFUsdDb76cYrntaHGFazz4tUWg9ulF8bOVKY,1514
|
|
178
|
-
endoreg_db/management/commands/load_name_data.py,sha256=OxPYEC4uAiyv7iP8KTtTBwUO4qPHn9oq68pE7hs6ppo,1320
|
|
179
200
|
endoreg_db/management/commands/load_network_data.py,sha256=zg8Kt0Qv1ocgRG3pUlweJhNIF2JCMtAFEh-kZb0SiX8,1991
|
|
180
201
|
endoreg_db/management/commands/load_organ_data.py,sha256=gPknJ8Zk-jRN7ASZLLgA-Fd8KedLmu74SRblpgyVk1E,1222
|
|
181
202
|
endoreg_db/management/commands/load_pdf_type_data.py,sha256=sJeGI1M4Xwkagi7rModwUJH3MuQckZXdOkHekoAvRAw,1650
|
|
182
203
|
endoreg_db/management/commands/load_profession_data.py,sha256=oF3OF7zRqxA-SVpMW6e7LJ3MSfEc5Hoz1XlcvcFACRg,1321
|
|
183
204
|
endoreg_db/management/commands/load_report_reader_flag_data.py,sha256=pvqRgtcjaYTgx2Ce7HYnNzsUB48yJe9lXTk-lzfJUPI,1371
|
|
205
|
+
endoreg_db/management/commands/load_requirement_data.py,sha256=OPV-35ue2lThuLlmsDiJ94MJy3ULlnvOIbBiASAKVGA,5228
|
|
206
|
+
endoreg_db/management/commands/load_risk_data.py,sha256=lKc8GqJcrMi8jwA2HYABRo7jWzqhgsgq0RoitAqYfZI,2102
|
|
184
207
|
endoreg_db/management/commands/load_unit_data.py,sha256=tcux-iL-ByT2ApgmHEkLllZSEA3AGMK5l-ze2Mtty1Y,1319
|
|
185
208
|
endoreg_db/management/commands/load_user_groups.py,sha256=D7SK2FvZEHoE4TIXNGCjDw5_12MH9bpGZvoS7eEv0Os,1031
|
|
186
209
|
endoreg_db/management/commands/register_ai_model.py,sha256=ni_YBlEuCuhMymRE1376e64x6S1CcQkNH7XaJ_DhP4A,2520
|
|
@@ -204,16 +227,17 @@ endoreg_db/migrations/0005_rawvideofile_frame_count_and_more.py,sha256=2hPcm4aLs
|
|
|
204
227
|
endoreg_db/migrations/0006_frame_extracted_rawframe_extracted.py,sha256=MPxk4-OjU2sR7JDUHvSKE2VRgJql7GIhKvLnkzjA4yU,566
|
|
205
228
|
endoreg_db/migrations/0007_rename_pseudo_patient_video_patient_and_more.py,sha256=md_r9FODDzI2A0naw5l0RS7IpQBbdUN7N6xY7Km53Mo,697
|
|
206
229
|
endoreg_db/migrations/0008_remove_reportfile_patient_examination_and_more.py,sha256=E9-RrrexL1A1fDlLOYw4HrO0Cv1hWz4HWowqiiUYm7g,1886
|
|
230
|
+
endoreg_db/migrations/0009_requirementoperator_requirementsettype_and_more.py,sha256=5qIQ9RRFL5Tz2d-oNBU5V9iFxEu6gkaoEb7G4X9nfaU,10342
|
|
207
231
|
endoreg_db/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
208
|
-
endoreg_db/models/__init__.py,sha256=
|
|
209
|
-
endoreg_db/models/disease.py,sha256=
|
|
210
|
-
endoreg_db/models/event.py,sha256=
|
|
211
|
-
endoreg_db/models/information_source.py,sha256=
|
|
232
|
+
endoreg_db/models/__init__.py,sha256=L7WOfurs9XRDKr9NohKOA2gstTP2gCZLzvdMSH3y0Ew,7791
|
|
233
|
+
endoreg_db/models/disease.py,sha256=NxAy-gmaBCWoTDI3a96DAJgIdapBigu9MJEUDKZqVr8,4782
|
|
234
|
+
endoreg_db/models/event.py,sha256=y1FIwcLK5GA8x_hq-scUqn1YMvWyJa4exCb-Q24Y54I,5029
|
|
235
|
+
endoreg_db/models/information_source.py,sha256=Sl6D7MnPceEKTjFak_IlcIL5S2PyHhzkMsC8-vl0Rww,2104
|
|
212
236
|
endoreg_db/models/unit.py,sha256=5-LrmM3vVTElsNqztVDDBE9e9xpYIfz5-AD30H630oU,836
|
|
213
237
|
endoreg_db/models/ai_model/__init__.py,sha256=sugy0DWdAImMudsNybyyx3w3z2YGasC2HA0MoCjZNm4,136
|
|
214
238
|
endoreg_db/models/ai_model/active_model.py,sha256=r7SE3yg54kbjfOkk0Ei0rgs_Wo3ikx88rcEELqvRzGc,343
|
|
215
|
-
endoreg_db/models/ai_model/ai_model.py,sha256=
|
|
216
|
-
endoreg_db/models/ai_model/model_meta.py,sha256=
|
|
239
|
+
endoreg_db/models/ai_model/ai_model.py,sha256=5CcfiQm8CkmQakIWRntmDyoj5MNAPxHiI5zAGX5oqXE,2778
|
|
240
|
+
endoreg_db/models/ai_model/model_meta.py,sha256=O_i9l2LFr40vpw8vpug2hVEwQOEWPxSHvuhVvfSEa9k,8431
|
|
217
241
|
endoreg_db/models/ai_model/model_type.py,sha256=tx6bHUDuFh8HbotD778mRvFLmFM19n8flIOwS20FYQI,901
|
|
218
242
|
endoreg_db/models/ai_model/utils.py,sha256=Vh6_3lbDuFhSVCaaZKKm0CjoGA5Man6gWYe46HUXmbA,270
|
|
219
243
|
endoreg_db/models/ai_model/lightning/__init__.py,sha256=l7au6x_zY_QFSftTbpm5EgPxqT3bHtObiZvRaclHMp0,150
|
|
@@ -244,19 +268,19 @@ endoreg_db/models/center/center_resource.py,sha256=uTqYbYYzsM94i7UI-d9pCrI2yrR7K
|
|
|
244
268
|
endoreg_db/models/center/center_waste.py,sha256=60cdK3jA1EDyVgL_7y_7BEJkswDaDdu1ODQXphLJREo,649
|
|
245
269
|
endoreg_db/models/contraindication/__init__.py,sha256=29xixed-Ouwdv4eenYDvx0SZGiFlMyO21vEjFUcrHyw,726
|
|
246
270
|
endoreg_db/models/data_file/__init__.py,sha256=-VmjakA8r8OM-xFqqI560u8IVub4iRe8mDn9kHSYyPM,718
|
|
247
|
-
endoreg_db/models/data_file/frame.py,sha256=
|
|
271
|
+
endoreg_db/models/data_file/frame.py,sha256=ZgZNyJV4NWashBT9fs68qolDY-ZEBkwCC4yyCO5wvOs,825
|
|
248
272
|
endoreg_db/models/data_file/report_file.py,sha256=o-FZ-0UAoT8kheezdG2zP0rUmRT0FavZ7TDc6AkG1i8,1992
|
|
249
273
|
endoreg_db/models/data_file/video_segment.py,sha256=dd1IuEpadj8BSxoOyQwSXpcW3oS6aXUMhyjzzmDDq7Q,6717
|
|
250
274
|
endoreg_db/models/data_file/base_classes/__init__.py,sha256=LFfq1NMdMb_e4VvP6p3JQBeAqFohf4gQbY5SI6K_PhY,149
|
|
251
|
-
endoreg_db/models/data_file/base_classes/abstract_frame.py,sha256=
|
|
252
|
-
endoreg_db/models/data_file/base_classes/abstract_pdf.py,sha256=
|
|
253
|
-
endoreg_db/models/data_file/base_classes/abstract_video.py,sha256=
|
|
275
|
+
endoreg_db/models/data_file/base_classes/abstract_frame.py,sha256=Acu0HURIIiJPSIA5hP4Maufo27GVJaUqQn5fhpOW4Eg,3539
|
|
276
|
+
endoreg_db/models/data_file/base_classes/abstract_pdf.py,sha256=ANsuOJajxCa_RPqoL6H8A48w9xH-HUZpjQ0tuL9-7bA,3579
|
|
277
|
+
endoreg_db/models/data_file/base_classes/abstract_video.py,sha256=Z5w55ahJ24XHxR3EBc7COMpnd6T7M09hoY_hr4r9MoE,27646
|
|
254
278
|
endoreg_db/models/data_file/base_classes/frame_helpers.py,sha256=Njfa5ktrI9R03FnsgWvqTB5aYlFUD1TZVxPkMoSZi0E,548
|
|
255
279
|
endoreg_db/models/data_file/base_classes/prepare_bulk_frames.py,sha256=hoCz0FuFx5mSg7U-OveHgg6JS8nJaTxW7zJIZO89aI4,550
|
|
256
|
-
endoreg_db/models/data_file/base_classes/utils.py,sha256=
|
|
280
|
+
endoreg_db/models/data_file/base_classes/utils.py,sha256=hH5mZuvermAnNKNt0-V8F9J0vT12cr_IRUECcDZ1oJU,1625
|
|
257
281
|
endoreg_db/models/data_file/import_classes/__init__.py,sha256=KCIilSmpwKLClmkcVmUlBMGXpPPCCdrECTKU04ZFATw,629
|
|
258
|
-
endoreg_db/models/data_file/import_classes/raw_pdf.py,sha256=
|
|
259
|
-
endoreg_db/models/data_file/import_classes/raw_video.py,sha256=
|
|
282
|
+
endoreg_db/models/data_file/import_classes/raw_pdf.py,sha256=8XpPke1X1KWWNJYTdzQpBG9xDRbncdjIDRkRlA5bM78,8642
|
|
283
|
+
endoreg_db/models/data_file/import_classes/raw_video.py,sha256=dc1EJirPGbSmdfd-RZ2DRRie7xx_Q1TFKPIYbOa0bbg,9937
|
|
260
284
|
endoreg_db/models/data_file/import_classes/processing_functions/__init__.py,sha256=uathXg8ckLb_XBTRipdHrBXFpZpvKzuouk7lwRN0aqE,932
|
|
261
285
|
endoreg_db/models/data_file/import_classes/processing_functions/pdf.py,sha256=lEd1V_kS8758XuRZ0gj7bVhY5DgTfpEyeDgX3zWHuzE,716
|
|
262
286
|
endoreg_db/models/data_file/import_classes/processing_functions/video.py,sha256=ij3fMdqnZnX1FrS-hscy_pfaYIkxDFKVL7SVjCqCUxs,8530
|
|
@@ -266,15 +290,15 @@ endoreg_db/models/data_file/metadata/sensitive_meta.py,sha256=FRXusbgiYYtxBVgavU
|
|
|
266
290
|
endoreg_db/models/data_file/metadata/video_meta.py,sha256=FyXCMdP4-uPnL1OAYqvMyVCqnGfInABOaElnCalIUCY,6914
|
|
267
291
|
endoreg_db/models/data_file/video/__init__.py,sha256=bfuxgfl1YOYY2QYk__0alxR3k-xmrRQoHtiHLL8yirs,133
|
|
268
292
|
endoreg_db/models/data_file/video/import_meta.py,sha256=NTRYIZI8TeNoPmJhE0ZFljGIOf5CS9LbFcdYO0p4-mA,1311
|
|
269
|
-
endoreg_db/models/data_file/video/video.py,sha256=
|
|
293
|
+
endoreg_db/models/data_file/video/video.py,sha256=mE6jlwBEgOTvcS_TydESMjNiCr6KYTYTDgghwS8lX78,6673
|
|
270
294
|
endoreg_db/models/emission/__init__.py,sha256=rvIQ_cA1Vj--FzQRWOoSy-84iGcjTTAGX1MM6nUjn4w,81
|
|
271
295
|
endoreg_db/models/emission/emission_factor.py,sha256=9XnoHZJy_FxcIy05VnPd9r0jIyG9p4lSDkcI479o7sQ,2847
|
|
272
296
|
endoreg_db/models/examination/__init__.py,sha256=uZleJq2-LUC9AD2x_UUbm0BraxAOF2cBDsZXTo9W7mE,336
|
|
273
297
|
endoreg_db/models/examination/examination.py,sha256=SEwsALZnC1yg4UhTwF1zTxTn-_zUce7jXSClkNqRvmo,1981
|
|
274
|
-
endoreg_db/models/examination/examination_indication.py,sha256=
|
|
298
|
+
endoreg_db/models/examination/examination_indication.py,sha256=ySB9TwugP3Pa_0u1oAqKKmO3BuH0Yw8lEOu3z2h7F1c,8125
|
|
275
299
|
endoreg_db/models/examination/examination_time.py,sha256=f0xXLYDXsqWW048MGaHPxMe7NMwmtZ2IRu83GQVQXxU,1829
|
|
276
300
|
endoreg_db/models/examination/examination_time_type.py,sha256=xta9s9bHVjotxIR6aa-72GodoTU4j_TIusZUeDC3hco,1557
|
|
277
|
-
endoreg_db/models/examination/examination_type.py,sha256=
|
|
301
|
+
endoreg_db/models/examination/examination_type.py,sha256=r8ctC0E-0xe5GFVwe9MeruOLl3RRW_qXbaATXMwQZBs,1629
|
|
278
302
|
endoreg_db/models/finding/__init__.py,sha256=aDOVIQwzHnfpwp9bZndyywy_CIXAi9vMRyZ2roLalo8,433
|
|
279
303
|
endoreg_db/models/finding/finding.py,sha256=8XP96HVloZ6nM_e-pK7A5ozzDVvCXCIE99TCgfBZK9Q,2666
|
|
280
304
|
endoreg_db/models/finding/finding_intervention.py,sha256=PmpmTTp_SrqgJghguCVrUSOPWP8_tuk2qeZ_8oxPVf0,1925
|
|
@@ -287,7 +311,7 @@ endoreg_db/models/hardware/endoscopy_processor.py,sha256=tHpuDGRHqQROiUEhirZ15tk
|
|
|
287
311
|
endoreg_db/models/label/__init__.py,sha256=_WpYq-PlmPDvKRSNaGMLxlxJk-N3oRsbr_QwlF11dr4,45
|
|
288
312
|
endoreg_db/models/label/label.py,sha256=rB_xEevo6pn2IpvUziVNh-PFSSkrxmXdn04ktqIyywg,2783
|
|
289
313
|
endoreg_db/models/laboratory/__init__.py,sha256=UQb4RDHqgMfSvO7UBGi_TzI1wUV3QMtLQU7g2-mFAFQ,31
|
|
290
|
-
endoreg_db/models/laboratory/lab_value.py,sha256=
|
|
314
|
+
endoreg_db/models/laboratory/lab_value.py,sha256=VBwWNtqWiGsRVA2CfMf-7gZnKpAA2zMzVW1w8ePVVKc,6453
|
|
291
315
|
endoreg_db/models/logging/__init__.py,sha256=O0T9NES9Gmbg4J3NXEc6CQpu5rmBswJD-YoVuFE_d0Y,267
|
|
292
316
|
endoreg_db/models/logging/agl_service.py,sha256=WA5_I1clwTJWtXXDOdFt2opGJiEmp5ebEiHIx2CWkx8,699
|
|
293
317
|
endoreg_db/models/logging/base.py,sha256=39pKcV65Gru4ssZ3xb8T2IJ-ou8cjCGqn1efGuHzoRM,773
|
|
@@ -362,6 +386,15 @@ endoreg_db/models/quiz/quiz_question.py,sha256=nntckPi0xdHQhAY2ScfvV19XoDjkuo2Ga
|
|
|
362
386
|
endoreg_db/models/report_reader/__init__.py,sha256=LiMooVstXRay5qcB-uZW0wxbcdUvPrfAs_xBwWiuuWc,166
|
|
363
387
|
endoreg_db/models/report_reader/report_reader_config.py,sha256=ONlqtb4kBxWGHkX_eW6d_Jiwh0EtRPOH7jQT7759nuI,2353
|
|
364
388
|
endoreg_db/models/report_reader/report_reader_flag.py,sha256=j9tjbLRenxpWfeaseALl8rV2Dqem9YaM_duS1iJkARU,536
|
|
389
|
+
endoreg_db/models/requirement/__init__.py,sha256=bGZ-G89vM7o7ofFsCsLiHqqEhtjTRnqZMgTyojXiKNU,304
|
|
390
|
+
endoreg_db/models/requirement/requirement.py,sha256=Y4wmMoY8G4mIbDyUtMcgppBn7hmbaSbDc-5eJU3M_JU,11468
|
|
391
|
+
endoreg_db/models/requirement/requirement_operator.py,sha256=Jo_xjR_kBMp_TRV1yuMexci9PM4XLCCR_ecOAPgmIYU,1867
|
|
392
|
+
endoreg_db/models/requirement/requirement_set.py,sha256=zVCBFgGCWazQq5JLpR-edUxifymFYTBwHXFvceQMmkg,3951
|
|
393
|
+
endoreg_db/models/requirement/requirement_evaluation/__init__.py,sha256=mW7GxIkvM30tOpMiVVHFpytRUqAuKcDIrfqmr4gvjQ8,5074
|
|
394
|
+
endoreg_db/models/requirement/requirement_evaluation/requirement_type_parser.py,sha256=euyLmPs5Pca2Z8292hHGTk_1vdHA4sZihO4Wsbh8l6U,3417
|
|
395
|
+
endoreg_db/models/risk/__init__.py,sha256=KFU25R1fT7POBj6MINYgigYAWYC8NIM-6jx3e_A-bqo,98
|
|
396
|
+
endoreg_db/models/risk/risk.py,sha256=g5pgAfCfsvH88nbmX3xsASF3OZgNA-G6NJi1u6d2w8w,1953
|
|
397
|
+
endoreg_db/models/risk/risk_type.py,sha256=n8gEn5is2q8fxD0QIgqzwEJat7SXqwr3GBpXSEaNV20,1605
|
|
365
398
|
endoreg_db/models/rules/__init__.py,sha256=wJGGh7o-4L85T_6JcAIaPVsg9w1BTMOf3-3ePcNtG-g,180
|
|
366
399
|
endoreg_db/models/rules/rule.py,sha256=LqsL6hep3Lce97AvIThiII7PX9JckRdauIQxpdooAmU,809
|
|
367
400
|
endoreg_db/models/rules/rule_applicator.py,sha256=m1doR6h_5CzLCDdHaJeo-2eO_uc_vbiDOWRUu_xTyXM,9376
|
|
@@ -398,20 +431,21 @@ endoreg_db/serializers/raw_pdf_meta_validation.py,sha256=6g6qzS9lv_zewF2Ki5_oOKD
|
|
|
398
431
|
endoreg_db/serializers/raw_video_meta_validation.py,sha256=jTdC5Acpv65LnYnnt1ErTW33UUUTLe_zwB-OBGTuqkA,7210
|
|
399
432
|
endoreg_db/serializers/report_file.py,sha256=dsO_-zwybdhq4BWGzD2rp6u1nloZgTMa3Ll8qiq_et4,208
|
|
400
433
|
endoreg_db/serializers/video.py,sha256=Hku_C5QtLMxvZuSVyMyENn_yxxRQVvEux6zfbhm-44Y,512
|
|
401
|
-
endoreg_db/serializers/video_segmentation.py,sha256=
|
|
434
|
+
endoreg_db/serializers/video_segmentation.py,sha256=jgtUEln3pJbabvmDTmGfwwCp9FCCMvAYViomHeRT39o,22524
|
|
402
435
|
endoreg_db/templates/timeline.html,sha256=H9VXKOecCzqcWWkpNIZXFI29ztg-oxV5uvxMglgoClk,6167
|
|
403
436
|
endoreg_db/templates/admin/patient_finding_intervention.html,sha256=F3JUKm3HhWIf_xoZZ-SET5d5ZDlm2jMM8g909w1dnYc,10164
|
|
404
437
|
endoreg_db/templates/admin/start_examination.html,sha256=3K4wirul9KNyB5mN9cpfCSCAyAD6ro19GwxFOY5sZ3A,267
|
|
405
|
-
endoreg_db/utils/__init__.py,sha256=
|
|
438
|
+
endoreg_db/utils/__init__.py,sha256=jk3YfEipkQnFmeyF8CmZrv9kvvjaJdRm6hTN3RlPYsI,1808
|
|
406
439
|
endoreg_db/utils/cropping.py,sha256=wMLo5sCFdZAEVBe3RbCH26eQjRe8q3th4K3ZKDd9fww,1143
|
|
407
|
-
endoreg_db/utils/dataloader.py,sha256=
|
|
440
|
+
endoreg_db/utils/dataloader.py,sha256=o3xRWMFqEw31MW_p3LqLvVSX5NXr9fsqXlagFr8W8NE,5608
|
|
408
441
|
endoreg_db/utils/dates.py,sha256=lcmnSvBSRpo8XyJKFHoSpPVahn8yO-OAeoq32lxeIJU,1239
|
|
409
442
|
endoreg_db/utils/file_operations.py,sha256=3mUY6jARIm927XK0nJoDO7fRp5quoSqPr95jDJERmr0,884
|
|
410
|
-
endoreg_db/utils/hashs.py,sha256=
|
|
443
|
+
endoreg_db/utils/hashs.py,sha256=eNDdaoRnBFC39SbhpxLMwG0ltJunNQ54XEW2cuZzU50,4817
|
|
411
444
|
endoreg_db/utils/legacy_ocr.py,sha256=lzZb8om4pfEJ5i7fuamW1XaVjO1Fybne7QCdVUxz8O8,7640
|
|
412
445
|
endoreg_db/utils/names.py,sha256=ZO_Untq46ugikBQr8T586NiEcazlQVAN_xDZVXLNylM,2674
|
|
413
446
|
endoreg_db/utils/ocr.py,sha256=LvyABxX5OZhIeXw2pI6af8_xTj7nHQQoKGh5kNsrv7o,7136
|
|
414
447
|
endoreg_db/utils/parse_and_generate_yaml.py,sha256=k7y0fl9Jbb_LNryeJYd6tebklRlu1-P70dJ-4sxvEZs,1626
|
|
448
|
+
endoreg_db/utils/paths.py,sha256=1n7BlG2Zc5FiIIp7iqjnz6nnTYP-0IOfpYS7S4hDplA,3011
|
|
415
449
|
endoreg_db/utils/uuid.py,sha256=T4HXqYtKwXFqE5kPyvlgWHyllBBF6LL6N48nl9TpwBk,53
|
|
416
450
|
endoreg_db/utils/validate_endo_roi.py,sha256=Ct2H0JJW9gxYZc7099NYee4kxdKL90a3LGYahqibwms,925
|
|
417
451
|
endoreg_db/utils/validate_subcategory_dict.py,sha256=zUR2sb5jgr0Ue--nCh-PYGrCTl4IP6j0WaIjkXIdScM,3443
|
|
@@ -428,8 +462,9 @@ endoreg_db/views/raw_pdf_meta_validation_views.py,sha256=OfeXGEb2A1UXlciUdGuM03S
|
|
|
428
462
|
endoreg_db/views/raw_video_meta_validation_views.py,sha256=_52IDqdlpsRoDc3zQIQ9P5McYB_oX7gXLHElaluAaWY,5950
|
|
429
463
|
endoreg_db/views/report_views.py,sha256=ZfjwdmP4f6JYq7bST1l55r03zqT9w_7w6W0_RXr7Bik,4075
|
|
430
464
|
endoreg_db/views/video_segmentation_views.py,sha256=RDR3f25aQAcB9cWxbUofBH6NWIXjHD0dRVisI38PMl0,6585
|
|
465
|
+
endoreg_db/views/views.py,sha256=su0nipIm5FQNjrITl4uBGdaEOiTEUKjoeucyWS3xHeQ,3858
|
|
431
466
|
endoreg_db/views/views_for_timeline.py,sha256=GgbP6YzALKAwCn06PJQcCQHR7p0fvthL0NFzqE21mSw,1810
|
|
432
|
-
endoreg_db-0.6.
|
|
433
|
-
endoreg_db-0.6.
|
|
434
|
-
endoreg_db-0.6.
|
|
435
|
-
endoreg_db-0.6.
|
|
467
|
+
endoreg_db-0.6.4.dist-info/METADATA,sha256=UnRNSLGn92lzItQpXwqQuXX6ZEkWH789m2dvuTxNvHM,5454
|
|
468
|
+
endoreg_db-0.6.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
469
|
+
endoreg_db-0.6.4.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
470
|
+
endoreg_db-0.6.4.dist-info/RECORD,,
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
# endoreg_db/management/commands/generate_names.py
|
|
2
|
-
|
|
3
|
-
import os
|
|
4
|
-
from django.core.management.base import BaseCommand
|
|
5
|
-
from endoreg_db.utils import collect_center_names # Import your function here
|
|
6
|
-
from pathlib import Path
|
|
7
|
-
|
|
8
|
-
class Command(BaseCommand):
|
|
9
|
-
help = "Generate first_names.yaml and last_names.yaml from center data"
|
|
10
|
-
|
|
11
|
-
def add_arguments(self, parser):
|
|
12
|
-
# Adding an argument for the input file path
|
|
13
|
-
# parser.add_argument(
|
|
14
|
-
# '--input_file_path',
|
|
15
|
-
# type=str,
|
|
16
|
-
# required=False,
|
|
17
|
-
# help="Path to the input YAML file containing center data",
|
|
18
|
-
# default="data/center/data.yaml",
|
|
19
|
-
# )
|
|
20
|
-
# parser.add_argument(
|
|
21
|
-
# '--output-dir',
|
|
22
|
-
# type=str,
|
|
23
|
-
# default=os.getcwd(),
|
|
24
|
-
# help="Directory where the output files will be saved (default: current directory)",
|
|
25
|
-
# )
|
|
26
|
-
pass
|
|
27
|
-
|
|
28
|
-
def handle(self, *args, **options):
|
|
29
|
-
|
|
30
|
-
# Run the function with the provided arguments
|
|
31
|
-
try:
|
|
32
|
-
collect_center_names()
|
|
33
|
-
self.stdout.write(self.style.SUCCESS("Successfully generated YAML files."))
|
|
34
|
-
except Exception as e:
|
|
35
|
-
self.stderr.write(self.style.ERROR(f"An error occurred: {e}"))
|
|
36
|
-
|
|
37
|
-
self.stderr.write(self.style.ERROR(f"PWD: {os.getcwd()}"))
|
|
File without changes
|
|
File without changes
|