mbu-dev-shared-components 4.2.5__tar.gz → 4.2.6__tar.gz
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.
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/PKG-INFO +1 -1
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/solteqtand/application/edi_portal.py +18 -5
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components.egg-info/PKG-INFO +1 -1
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/pyproject.toml +1 -1
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/LICENSE +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/README.md +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/database/__init__.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/database/connection.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/database/constants.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/database/logging.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/database/utility.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/getorganized/__init__.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/getorganized/auth.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/getorganized/cases.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/getorganized/contacts.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/getorganized/documents.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/getorganized/objects.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/google/__init__.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/google/api/__init__.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/google/api/auth.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/google/workspace/__init__.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/google/workspace/alerts.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/msoffice365/__init__.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/msoffice365/excel/__init__.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/msoffice365/excel/excel_reader.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/msoffice365/sharepoint_api/__init__.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/msoffice365/sharepoint_api/files.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/os2forms/__init__.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/os2forms/documents.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/os2forms/forms.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/romexis/__init__.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/romexis/db_handler.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/romexis/helper_functions.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/sap/__init__.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/sap/create_invoice.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/solteqtand/__init__.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/solteqtand/application/__init__.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/solteqtand/application/aftalebog.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/solteqtand/application/app_handler.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/solteqtand/application/appointment.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/solteqtand/application/base_ui.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/solteqtand/application/clinic.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/solteqtand/application/document.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/solteqtand/application/event.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/solteqtand/application/exceptions.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/solteqtand/application/handler_base.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/solteqtand/application/journal_note.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/solteqtand/application/patient.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/solteqtand/database/__init__.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/solteqtand/database/db_handler.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/utils/__init__.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/utils/db_stored_procedure_executor.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/utils/fernet_encryptor.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/utils/file_handler.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components/utils/json_handler.py +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components.egg-info/SOURCES.txt +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components.egg-info/dependency_links.txt +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components.egg-info/requires.txt +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/mbu_dev_shared_components.egg-info/top_level.txt +0 -0
- {mbu_dev_shared_components-4.2.5 → mbu_dev_shared_components-4.2.6}/setup.cfg +0 -0
|
@@ -103,6 +103,9 @@ class EDIHandler(HandlerBase):
|
|
|
103
103
|
"""
|
|
104
104
|
try:
|
|
105
105
|
# Handle Hasle Torv Clinic special case
|
|
106
|
+
contractor_id = None
|
|
107
|
+
clinic_phone_number = None
|
|
108
|
+
|
|
106
109
|
if (
|
|
107
110
|
extern_clinic_data[0]["contractorId"] == "477052"
|
|
108
111
|
or extern_clinic_data[0]["contractorId"] == "470678"
|
|
@@ -110,8 +113,16 @@ class EDIHandler(HandlerBase):
|
|
|
110
113
|
contractor_id = "485055"
|
|
111
114
|
clinic_phone_number = "86135240"
|
|
112
115
|
else:
|
|
113
|
-
contractor_id =
|
|
114
|
-
|
|
116
|
+
contractor_id = (
|
|
117
|
+
extern_clinic_data[0]["contractorId"]
|
|
118
|
+
if extern_clinic_data[0]["contractorId"]
|
|
119
|
+
else None
|
|
120
|
+
)
|
|
121
|
+
clinic_phone_number = (
|
|
122
|
+
extern_clinic_data[0]["phoneNumber"]
|
|
123
|
+
if extern_clinic_data[0]["phoneNumber"]
|
|
124
|
+
else None
|
|
125
|
+
)
|
|
115
126
|
|
|
116
127
|
self.edi_portal_click_next_button(sleep_time=3)
|
|
117
128
|
|
|
@@ -129,8 +140,8 @@ class EDIHandler(HandlerBase):
|
|
|
129
140
|
search_box = self.wait_for_control(
|
|
130
141
|
root_web_area.EditControl,
|
|
131
142
|
{"ClassName": class_name},
|
|
132
|
-
search_depth=
|
|
133
|
-
timeout=
|
|
143
|
+
search_depth=50,
|
|
144
|
+
timeout=5,
|
|
134
145
|
)
|
|
135
146
|
except TimeoutError:
|
|
136
147
|
continue
|
|
@@ -143,7 +154,9 @@ class EDIHandler(HandlerBase):
|
|
|
143
154
|
search_box_value_pattern = search_box.GetPattern(
|
|
144
155
|
auto.PatternId.ValuePattern
|
|
145
156
|
)
|
|
146
|
-
search_box_value_pattern.SetValue(
|
|
157
|
+
search_box_value_pattern.SetValue(
|
|
158
|
+
contractor_id if contractor_id else clinic_phone_number
|
|
159
|
+
)
|
|
147
160
|
search_box.SendKeys("{ENTER}")
|
|
148
161
|
|
|
149
162
|
time.sleep(sleep_time)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|