medicafe 0.250809.0__py3-none-any.whl → 0.250810.0__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.
- MediBot/__init__.py +9 -1
- MediCafe/api_core.py +2 -1
- MediCafe/api_core_backup.py +2 -1
- MediLink/MediLink_837p_encoder_library.py +2 -1
- MediLink/MediLink_PatientProcessor.py +4 -5
- MediLink/__init__.py +9 -1
- MediLink/insurance_type_integration_test.py +12 -9
- {medicafe-0.250809.0.dist-info → medicafe-0.250810.0.dist-info}/METADATA +1 -1
- {medicafe-0.250809.0.dist-info → medicafe-0.250810.0.dist-info}/RECORD +13 -13
- {medicafe-0.250809.0.dist-info → medicafe-0.250810.0.dist-info}/LICENSE +0 -0
- {medicafe-0.250809.0.dist-info → medicafe-0.250810.0.dist-info}/WHEEL +0 -0
- {medicafe-0.250809.0.dist-info → medicafe-0.250810.0.dist-info}/entry_points.txt +0 -0
- {medicafe-0.250809.0.dist-info → medicafe-0.250810.0.dist-info}/top_level.txt +0 -0
MediBot/__init__.py
CHANGED
@@ -77,9 +77,17 @@ __all__ = [
|
|
77
77
|
'__author__',
|
78
78
|
'__email__',
|
79
79
|
'get_smart_import_info',
|
80
|
-
'show_smart_import_guide'
|
80
|
+
'show_smart_import_guide',
|
81
|
+
'MediBot_Preprocessor_lib'
|
81
82
|
]
|
82
83
|
|
84
|
+
# Export key modules for backward compatibility
|
85
|
+
try:
|
86
|
+
from . import MediBot_Preprocessor_lib
|
87
|
+
except ImportError:
|
88
|
+
# Fallback if module is not available
|
89
|
+
MediBot_Preprocessor_lib = None
|
90
|
+
|
83
91
|
# Optional: Show guide on import (can be disabled)
|
84
92
|
import os
|
85
93
|
if os.environ.get('MEDIBOT_SHOW_SMART_IMPORT_GUIDE', '').lower() == 'true':
|
MediCafe/api_core.py
CHANGED
@@ -156,7 +156,8 @@ class APIClient(BaseAPIClient):
|
|
156
156
|
APIRateLimiter = None
|
157
157
|
|
158
158
|
try:
|
159
|
-
from MediLink
|
159
|
+
from MediLink import MediLink_insurance_utils
|
160
|
+
get_feature_flag = MediLink_insurance_utils.get_feature_flag
|
160
161
|
MediLink_ConfigLoader.log("Successfully imported MediLink.MediLink_insurance_utils", level="DEBUG")
|
161
162
|
except ImportError as e:
|
162
163
|
MediLink_ConfigLoader.log("Warning: MediLink.MediLink_insurance_utils not available: {}".format(str(e)), level="WARNING")
|
MediCafe/api_core_backup.py
CHANGED
@@ -139,7 +139,8 @@ class APIClient(BaseAPIClient):
|
|
139
139
|
# Add enhanced features if available
|
140
140
|
try:
|
141
141
|
from MediCafe.api_utils import APICircuitBreaker, APICache, APIRateLimiter
|
142
|
-
from MediLink
|
142
|
+
from MediLink import MediLink_insurance_utils
|
143
|
+
get_feature_flag = MediLink_insurance_utils.get_feature_flag
|
143
144
|
|
144
145
|
# Initialize enhancements if enabled
|
145
146
|
enable_circuit_breaker = get_feature_flag('api_circuit_breaker', default=False)
|
@@ -100,7 +100,8 @@ except ImportError:
|
|
100
100
|
# Import enhanced insurance selection with fallback
|
101
101
|
# XP/Python34 Compatibility: Enhanced error handling with verbose output
|
102
102
|
try:
|
103
|
-
from
|
103
|
+
from MediLink import MediLink_insurance_utils
|
104
|
+
safe_insurance_type_selection = getattr(MediLink_insurance_utils, 'safe_insurance_type_selection', None)
|
104
105
|
MediLink_ConfigLoader.log("Successfully imported safe_insurance_type_selection from MediLink_insurance_utils", level="DEBUG")
|
105
106
|
except ImportError as e:
|
106
107
|
MediLink_ConfigLoader.log("ImportError importing safe_insurance_type_selection: {}".format(str(e)), level="WARNING")
|
@@ -144,11 +144,10 @@ def enrich_with_insurance_type(detailed_patient_data, patient_insurance_type_map
|
|
144
144
|
|
145
145
|
# XP/Python34 Compatibility: Enhanced error handling with verbose output
|
146
146
|
try:
|
147
|
-
from
|
148
|
-
|
149
|
-
|
150
|
-
)
|
151
|
-
enhanced_mode = get_feature_flag('enhanced_insurance_enrichment', default=False)
|
147
|
+
from MediLink import MediLink_insurance_utils
|
148
|
+
get_feature_flag = getattr(MediLink_insurance_utils, 'get_feature_flag', None)
|
149
|
+
validate_insurance_type_from_config = getattr(MediLink_insurance_utils, 'validate_insurance_type_from_config', None)
|
150
|
+
enhanced_mode = get_feature_flag('enhanced_insurance_enrichment', default=False) if get_feature_flag else False
|
152
151
|
MediLink_ConfigLoader.log("Insurance enhancement utilities loaded successfully", level="DEBUG")
|
153
152
|
except ImportError as e:
|
154
153
|
MediLink_ConfigLoader.log("Insurance utils not available: {}. Using legacy mode.".format(str(e)), level="INFO")
|
MediLink/__init__.py
CHANGED
@@ -81,9 +81,17 @@ __all__ = [
|
|
81
81
|
'__author__',
|
82
82
|
'__email__',
|
83
83
|
'get_smart_import_info',
|
84
|
-
'show_smart_import_guide'
|
84
|
+
'show_smart_import_guide',
|
85
|
+
'MediLink_insurance_utils'
|
85
86
|
]
|
86
87
|
|
88
|
+
# Export key modules for backward compatibility
|
89
|
+
try:
|
90
|
+
from . import MediLink_insurance_utils
|
91
|
+
except ImportError:
|
92
|
+
# Fallback if module is not available
|
93
|
+
MediLink_insurance_utils = None
|
94
|
+
|
87
95
|
# Optional: Show guide on import (can be disabled)
|
88
96
|
import os
|
89
97
|
if os.environ.get('MEDILINK_SHOW_SMART_IMPORT_GUIDE', '').lower() == 'true':
|
@@ -22,11 +22,10 @@ try:
|
|
22
22
|
insurance_type_selection,
|
23
23
|
_original_insurance_type_selection_logic
|
24
24
|
)
|
25
|
-
from
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
)
|
25
|
+
from MediLink import MediLink_insurance_utils
|
26
|
+
validate_insurance_type_from_config = getattr(MediLink_insurance_utils, 'validate_insurance_type_from_config', None)
|
27
|
+
get_feature_flag = getattr(MediLink_insurance_utils, 'get_feature_flag', None)
|
28
|
+
generate_insurance_assignment_summary = getattr(MediLink_insurance_utils, 'generate_insurance_assignment_summary', None)
|
30
29
|
except ImportError as e:
|
31
30
|
print("Import error: {}".format(str(e)))
|
32
31
|
print("This module requires the insurance type components.")
|
@@ -51,8 +50,10 @@ def run_insurance_type_integration_tests():
|
|
51
50
|
test_results['total_tests'] += 1
|
52
51
|
try:
|
53
52
|
print("\n1. Testing Production Readiness Validation...")
|
54
|
-
from
|
55
|
-
validate_insurance_configuration()
|
53
|
+
from MediLink import MediLink_insurance_utils
|
54
|
+
validate_insurance_configuration = getattr(MediLink_insurance_utils, 'validate_insurance_configuration', None)
|
55
|
+
if validate_insurance_configuration:
|
56
|
+
validate_insurance_configuration()
|
56
57
|
print(" PASS Production readiness validation PASSED")
|
57
58
|
test_results['passed_tests'] += 1
|
58
59
|
test_results['test_details'].append({'test': 'production_readiness', 'status': 'PASSED'})
|
@@ -65,8 +66,10 @@ def run_insurance_type_integration_tests():
|
|
65
66
|
test_results['total_tests'] += 1
|
66
67
|
try:
|
67
68
|
print("\n2. Testing Insurance Configuration Validation...")
|
68
|
-
from
|
69
|
-
validate_insurance_configuration()
|
69
|
+
from MediLink import MediLink_insurance_utils
|
70
|
+
validate_insurance_configuration = getattr(MediLink_insurance_utils, 'validate_insurance_configuration', None)
|
71
|
+
if validate_insurance_configuration:
|
72
|
+
validate_insurance_configuration()
|
70
73
|
print(" PASS Insurance configuration validation PASSED")
|
71
74
|
test_results['passed_tests'] += 1
|
72
75
|
test_results['test_details'].append({'test': 'insurance_config', 'status': 'PASSED'})
|
@@ -12,15 +12,15 @@ MediBot/MediBot_docx_decoder.py,sha256=gn7I7Ng5khVIzU0HTTOqi31YSSn1yW8Pyk-i_P9r1
|
|
12
12
|
MediBot/MediBot_smart_import.py,sha256=_ggP0I9djNwMGck04U6fNahrH7frVkoM8OzjtHbLUc0,6727
|
13
13
|
MediBot/MediPost.py,sha256=C1hZJFr65rN6F_dckjdBxFC0vL2CoqY9W3YFqU5HXtE,336
|
14
14
|
MediBot/PDF_to_CSV_Cleaner.py,sha256=ZZphmq-5K04DkrZNlcwNAIoZPOD_ROWvS3PMkKFxeiM,8799
|
15
|
-
MediBot/__init__.py,sha256=
|
15
|
+
MediBot/__init__.py,sha256=6IdVLXaWxV5ZdpefonWrC1R8RsJn4V26K0PmUEZ_vU8,3192
|
16
16
|
MediBot/get_medicafe_version.py,sha256=uyL_UIE42MyFuJ3SRYxJp8sZx8xjTqlYZ3FdQuxLduY,728
|
17
17
|
MediBot/update_json.py,sha256=vvUF4mKCuaVly8MmoadDO59M231fCIInc0KI1EtDtPA,3704
|
18
18
|
MediBot/update_medicafe.py,sha256=eL6WWmfSosA2Ei2UYumZkqA2CpxtQ9JxjeTtvIg8T8Y,23521
|
19
19
|
MediCafe/MediLink_ConfigLoader.py,sha256=_tB8FlJSNsRDHKL2X7XMmtLcxhCeXtiaddV-jOQWHi4,7723
|
20
20
|
MediCafe/__init__.py,sha256=DF0XUu3G43AejXvEmd5aCyy0GDQahQD0pMwexmxem-E,5477
|
21
21
|
MediCafe/__main__.py,sha256=Sr_4BHC3_o11472EEJ9qcrfuQLTyPZJHNqTTLb1yVx8,12050
|
22
|
-
MediCafe/api_core.py,sha256=
|
23
|
-
MediCafe/api_core_backup.py,sha256=
|
22
|
+
MediCafe/api_core.py,sha256=S2F2TeM2GhqrCQ2XuG0g9zq813rtQxTOkkgKBBYV_ZA,63560
|
23
|
+
MediCafe/api_core_backup.py,sha256=Oy_Fqt0SEvGkQN1Oqw5iUPVFxPEokyju5CuPEb9k0OY,18686
|
24
24
|
MediCafe/api_factory.py,sha256=I5AeJoyu6m7oCrjc2OvVvO_4KSBRutTsR1riiWhTZV0,12086
|
25
25
|
MediCafe/api_utils.py,sha256=KWQB0q1k5E6frOFFlKWcFpHNcqfrS7KJ_82672wbupw,14041
|
26
26
|
MediCafe/core_utils.py,sha256=VtNtEwBDhjJjQQJJrW90nkU7TFynqYmDXfk29lnV_h4,15821
|
@@ -33,7 +33,7 @@ MediLink/MediLink.py,sha256=p91MYghOCbNf3ikTzm5P9V1Luj035yd83EDbQ-Ov6oM,33258
|
|
33
33
|
MediLink/MediLink_277_decoder.py,sha256=Z3hQK2j-YzdXjov6aDlDRc7M_auFBnl3se4OF5q6_04,4358
|
34
34
|
MediLink/MediLink_837p_cob_library.py,sha256=sK43fwq-arTUyrwbYWfJIhwW6aemXmpS2F1kfXFPe9I,29851
|
35
35
|
MediLink/MediLink_837p_encoder.py,sha256=O2HWuBbFpe4qsK5bKZF3LDJRSHGGsdiPyr_sJ8s4Bz4,28897
|
36
|
-
MediLink/MediLink_837p_encoder_library.py,sha256=
|
36
|
+
MediLink/MediLink_837p_encoder_library.py,sha256=AxZ4NwicxhL-SPDSQtfD__FruDppIdFRoILuX51TZWY,65996
|
37
37
|
MediLink/MediLink_837p_utilities.py,sha256=28H4F6HNXgNHpdnardKWeTPuXgVSzuvu5QEPmkCGp8Q,16285
|
38
38
|
MediLink/MediLink_API_Generator.py,sha256=UUml-PBU3BQduun8RzFH4zfUuo6-p5Ufg7b6Vic-VrY,11171
|
39
39
|
MediLink/MediLink_API_v2.py,sha256=mcIgLnXPS_NaUBrkKJ8mxCUaQ0AuQUeU1vG6DoplbVY,7733
|
@@ -53,7 +53,7 @@ MediLink/MediLink_Gmail.py,sha256=SCaauKBSsBXBljfwqSxIfXEXd74nYTEBo20I9ZNJksI,36
|
|
53
53
|
MediLink/MediLink_GraphQL.py,sha256=O6OCaumT0zIC7YcIAwLOOYxiQnYhoMc48UL8ilNIBec,45720
|
54
54
|
MediLink/MediLink_Mailer.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
55
55
|
MediLink/MediLink_Parser.py,sha256=w2ZD4minjwkaMz7nzP_r8v_Ow_uM5KHjpPSY8mIHcdE,9787
|
56
|
-
MediLink/MediLink_PatientProcessor.py,sha256=
|
56
|
+
MediLink/MediLink_PatientProcessor.py,sha256=F5fLniO0bz8hSK0ugAe7Mf2tO2gyW1GfS9Xb7BIZQy8,17245
|
57
57
|
MediLink/MediLink_Scan.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
58
58
|
MediLink/MediLink_Scheduler.py,sha256=UJvxhDvHraqra2_TlQVlGeh5jRFrrfK6nCVUHnKOEMY,38
|
59
59
|
MediLink/MediLink_StatusCheck.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -65,17 +65,17 @@ MediLink/MediLink_insurance_utils.py,sha256=FDRbS4AHxCt0pzStBwGlaLvrehEgI6G8tMKo
|
|
65
65
|
MediLink/MediLink_main.py,sha256=rvKHuZUus8RvMC5-flws2q-EvXETXiJmgU2USjzMu3g,13445
|
66
66
|
MediLink/MediLink_smart_import.py,sha256=B5SfBn_4bYEWJJDolXbjnwKx_-MaqGZ76LyXQwWDV80,9838
|
67
67
|
MediLink/Soumit_api.py,sha256=5JfOecK98ZC6NpZklZW2AkOzkjvrbYxpJpZNH3rFxDw,497
|
68
|
-
MediLink/__init__.py,sha256=
|
69
|
-
MediLink/insurance_type_integration_test.py,sha256=
|
68
|
+
MediLink/__init__.py,sha256=Z4Uxt4XZk4n-GwAkUoEeFiL-D7xHbttYiiWGjgKT_ng,3391
|
69
|
+
MediLink/insurance_type_integration_test.py,sha256=pz2OCXitAznqDciYn6OL9M326m9CYU7YiK-ynssdQ5g,15172
|
70
70
|
MediLink/openssl.cnf,sha256=76VdcGCykf0Typyiv8Wd1mMVKixrQ5RraG6HnfKFqTo,887
|
71
71
|
MediLink/test.py,sha256=DM_E8gEbhbVfTAm3wTMiNnK2GCD1e5eH6gwTk89QIc4,3116
|
72
72
|
MediLink/test_cob_library.py,sha256=wUMv0-Y6fNsKcAs8Z9LwfmEBRO7oBzBAfWmmzwoNd1g,13841
|
73
73
|
MediLink/test_timing.py,sha256=yH2b8QPLDlp1Zy5AhgtjzjnDHNGhAD16ZtXtZzzESZw,2042
|
74
74
|
MediLink/test_validation.py,sha256=FJrfdUFK--xRScIzrHCg1JeGdm0uJEoRnq6CgkP2lwM,4154
|
75
75
|
MediLink/webapp.html,sha256=JPKT559aFVBi1r42Hz7C77Jj0teZZRumPhBev8eSOLk,19806
|
76
|
-
medicafe-0.
|
77
|
-
medicafe-0.
|
78
|
-
medicafe-0.
|
79
|
-
medicafe-0.
|
80
|
-
medicafe-0.
|
81
|
-
medicafe-0.
|
76
|
+
medicafe-0.250810.0.dist-info/LICENSE,sha256=65lb-vVujdQK7uMH3RRJSMwUW-WMrMEsc5sOaUn2xUk,1096
|
77
|
+
medicafe-0.250810.0.dist-info/METADATA,sha256=UfP-Cc51k0pilcULqPlqruvcAhqsgM7ZbvVcmCZDCVw,5501
|
78
|
+
medicafe-0.250810.0.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
79
|
+
medicafe-0.250810.0.dist-info/entry_points.txt,sha256=m3RBUBjr-xRwEkKJ5W4a7NlqHZP_1rllGtjZnrRqKe8,52
|
80
|
+
medicafe-0.250810.0.dist-info/top_level.txt,sha256=U6-WBJ9RCEjyIs0BlzbQq_PwedCp_IV9n1616NNV5zA,26
|
81
|
+
medicafe-0.250810.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|