mbu-dev-shared-components 4.4.7__tar.gz → 4.4.9__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.4.7 → mbu_dev_shared_components-4.4.9}/PKG-INFO +1 -1
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/solteqtand/application/journal_note.py +9 -8
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components.egg-info/PKG-INFO +1 -1
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/pyproject.toml +1 -1
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/LICENSE +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/README.md +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/database/__init__.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/database/connection.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/database/constants.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/database/logging.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/database/utility.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/getorganized/__init__.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/getorganized/api.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/getorganized/auth.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/getorganized/cases.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/getorganized/contacts.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/getorganized/documents.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/getorganized/objects.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/google/__init__.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/google/api/__init__.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/google/api/auth.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/google/workspace/__init__.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/google/workspace/alerts.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/msoffice365/__init__.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/msoffice365/excel/__init__.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/msoffice365/excel/excel_reader.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/msoffice365/sharepoint_api/__init__.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/msoffice365/sharepoint_api/files.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/os2forms/__init__.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/os2forms/documents.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/os2forms/forms.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/romexis/__init__.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/romexis/db_handler.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/romexis/helper_functions.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/sap/__init__.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/sap/create_invoice.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/solteqtand/__init__.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/solteqtand/application/__init__.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/solteqtand/application/aftalebog.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/solteqtand/application/app_handler.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/solteqtand/application/appointment.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/solteqtand/application/base_ui.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/solteqtand/application/clinic.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/solteqtand/application/document.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/solteqtand/application/edi_portal.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/solteqtand/application/event.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/solteqtand/application/exceptions.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/solteqtand/application/handler_base.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/solteqtand/application/patient.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/solteqtand/database/__init__.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/solteqtand/database/db_handler.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/utils/__init__.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/utils/db_stored_procedure_executor.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/utils/fernet_encryptor.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/utils/file_handler.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components/utils/json_handler.py +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components.egg-info/SOURCES.txt +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components.egg-info/dependency_links.txt +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components.egg-info/requires.txt +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/mbu_dev_shared_components.egg-info/top_level.txt +0 -0
- {mbu_dev_shared_components-4.4.7 → mbu_dev_shared_components-4.4.9}/setup.cfg +0 -0
|
@@ -12,9 +12,7 @@ class JournalNoteHandler(HandlerBase):
|
|
|
12
12
|
Handles the processing of journal notes in the Solteq Tand application.
|
|
13
13
|
"""
|
|
14
14
|
|
|
15
|
-
def _set_department_journals(
|
|
16
|
-
self, department: str = "Generel Journal - Påbegyndt"
|
|
17
|
-
) -> None:
|
|
15
|
+
def _set_department_journals(self, department: str) -> None:
|
|
18
16
|
"""
|
|
19
17
|
Sets the department journal combobox to the given value.
|
|
20
18
|
|
|
@@ -27,16 +25,15 @@ class JournalNoteHandler(HandlerBase):
|
|
|
27
25
|
Raises:
|
|
28
26
|
ValueError: If no department journal is found starting with the given value.
|
|
29
27
|
"""
|
|
30
|
-
|
|
31
28
|
combobox = self.app_window.ComboBoxControl(AutomationId="cmbDepartmentJournals")
|
|
32
29
|
combobox.SetFocus()
|
|
33
30
|
|
|
34
|
-
# Expand the combobox to load all options
|
|
35
31
|
expand_pattern = combobox.GetExpandCollapsePattern()
|
|
36
32
|
expand_pattern.Expand()
|
|
37
33
|
|
|
38
|
-
#
|
|
39
|
-
|
|
34
|
+
# Items are in a ListControl inside the combobox
|
|
35
|
+
list_control = combobox.ListControl()
|
|
36
|
+
for item in list_control.GetChildren():
|
|
40
37
|
if item.Name.startswith(department):
|
|
41
38
|
item.Click(simulateMove=False, waitTime=0)
|
|
42
39
|
return
|
|
@@ -47,7 +44,7 @@ class JournalNoteHandler(HandlerBase):
|
|
|
47
44
|
self,
|
|
48
45
|
note_message: str,
|
|
49
46
|
checkmark_in_complete: bool,
|
|
50
|
-
department: str,
|
|
47
|
+
department: str = "Generel Journal - Påbegyndt",
|
|
51
48
|
):
|
|
52
49
|
"""
|
|
53
50
|
Creates a journal note for the given patient.
|
|
@@ -55,6 +52,10 @@ class JournalNoteHandler(HandlerBase):
|
|
|
55
52
|
Args:
|
|
56
53
|
note_message (str): The note message.
|
|
57
54
|
checkmark_in_complete (bool): Checks the checkmark in 'Afslut'.
|
|
55
|
+
department (str): The department journal to select. Matches on startswith,
|
|
56
|
+
so partial values like "Generel Journal - Påbegyndt" will match
|
|
57
|
+
"Generel Journal - Påbegyndt - 11-11-2024" etc.
|
|
58
|
+
Defaults to "Generel Journal - Påbegyndt".
|
|
58
59
|
"""
|
|
59
60
|
self.open_tab("Journal")
|
|
60
61
|
|
|
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
|
|
File without changes
|