medicafe 0.250725.0__tar.gz → 0.250725.1__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.
Potentially problematic release.
This version of medicafe might be problematic. Click here for more details.
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MediBot/MediBot.py +18 -6
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MediBot/MediBot_UI.py +37 -12
- {medicafe-0.250725.0 → medicafe-0.250725.1}/PKG-INFO +1 -1
- {medicafe-0.250725.0 → medicafe-0.250725.1}/medicafe.egg-info/PKG-INFO +1 -1
- {medicafe-0.250725.0 → medicafe-0.250725.1}/setup.py +1 -1
- {medicafe-0.250725.0 → medicafe-0.250725.1}/LICENSE +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MANIFEST.in +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MediBot/MediBot.bat +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MediBot/MediBot_Charges.py +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MediBot/MediBot_Crosswalk_Library.py +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MediBot/MediBot_Post.py +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MediBot/MediBot_Preprocessor.py +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MediBot/MediBot_Preprocessor_lib.py +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MediBot/MediBot_dataformat_library.py +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MediBot/MediBot_docx_decoder.py +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MediBot/PDF_to_CSV_Cleaner.py +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MediBot/__init__.py +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MediBot/update_json.py +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MediBot/update_medicafe.py +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MediLink/MediLink.py +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MediLink/MediLink_837p_cob_library.py +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MediLink/MediLink_837p_encoder.py +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MediLink/MediLink_837p_encoder_library.py +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MediLink/MediLink_837p_utilities.py +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MediLink/MediLink_API_Generator.py +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MediLink/MediLink_API_v2.py +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MediLink/MediLink_API_v3.py +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MediLink/MediLink_APIs.py +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MediLink/MediLink_Azure.py +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MediLink/MediLink_ClaimStatus.py +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MediLink/MediLink_ConfigLoader.py +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MediLink/MediLink_DataMgmt.py +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MediLink/MediLink_Decoder.py +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MediLink/MediLink_Deductible.py +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MediLink/MediLink_Deductible_Validator.py +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MediLink/MediLink_Down.py +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MediLink/MediLink_Gmail.py +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MediLink/MediLink_GraphQL.py +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MediLink/MediLink_Mailer.py +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MediLink/MediLink_Parser.py +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MediLink/MediLink_Scan.py +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MediLink/MediLink_Scheduler.py +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MediLink/MediLink_UI.py +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MediLink/MediLink_Up.py +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MediLink/MediLink_batch.bat +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MediLink/Soumit_api.py +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MediLink/__init__.py +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MediLink/openssl.cnf +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MediLink/test.py +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MediLink/test_cob_library.py +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MediLink/test_validation.py +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/MediLink/webapp.html +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/README.md +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/medicafe.egg-info/SOURCES.txt +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/medicafe.egg-info/dependency_links.txt +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/medicafe.egg-info/not-zip-safe +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/medicafe.egg-info/requires.txt +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/medicafe.egg-info/top_level.txt +0 -0
- {medicafe-0.250725.0 → medicafe-0.250725.1}/setup.cfg +0 -0
|
@@ -396,14 +396,26 @@ if __name__ == "__main__":
|
|
|
396
396
|
# Check if there are patients left to process
|
|
397
397
|
if len(patients_to_process) == 0:
|
|
398
398
|
print("\nAll patients have been processed. Continue anyway?: ", end='', flush=True)
|
|
399
|
-
#
|
|
400
|
-
|
|
401
|
-
|
|
399
|
+
# Force flush and wait for Windows XP console buffer synchronization
|
|
400
|
+
sys.stdout.flush()
|
|
401
|
+
time.sleep(0.2) # Increased delay for Windows XP
|
|
402
|
+
|
|
403
|
+
# Try raw_input first (Python 2.x compatibility), fall back to input
|
|
404
|
+
try:
|
|
405
|
+
proceed = raw_input().lower().strip() in ['yes', 'y']
|
|
406
|
+
except NameError:
|
|
407
|
+
proceed = input().lower().strip() in ['yes', 'y']
|
|
402
408
|
else:
|
|
403
409
|
print("\nDo you want to proceed with the {} remaining patient(s)? (yes/no): ".format(len(patients_to_process)), end='', flush=True)
|
|
404
|
-
#
|
|
405
|
-
|
|
406
|
-
|
|
410
|
+
# Force flush and wait for Windows XP console buffer synchronization
|
|
411
|
+
sys.stdout.flush()
|
|
412
|
+
time.sleep(0.2) # Increased delay for Windows XP
|
|
413
|
+
|
|
414
|
+
# Try raw_input first (Python 2.x compatibility), fall back to input
|
|
415
|
+
try:
|
|
416
|
+
proceed = raw_input().lower().strip() in ['yes', 'y']
|
|
417
|
+
except NameError:
|
|
418
|
+
proceed = input().lower().strip() in ['yes', 'y']
|
|
407
419
|
|
|
408
420
|
# TODO: Here is where we need to add the step where we move to MediBot_Charges.
|
|
409
421
|
# The return is an enriched dataset to be picked up by MediBot which means we need to return:
|
|
@@ -148,9 +148,15 @@ def display_patient_selection_menu(csv_data, reverse_mapping, proceed_as_medicar
|
|
|
148
148
|
|
|
149
149
|
print("-" * 60)
|
|
150
150
|
print("\nDo you want to proceed with the selected patients? (yes/no): ", end='', flush=True)
|
|
151
|
-
#
|
|
152
|
-
|
|
153
|
-
|
|
151
|
+
# Force flush and wait for Windows XP console buffer synchronization
|
|
152
|
+
sys.stdout.flush()
|
|
153
|
+
time.sleep(0.2) # Increased delay for Windows XP
|
|
154
|
+
|
|
155
|
+
# Try raw_input first (Python 2.x compatibility), fall back to input
|
|
156
|
+
try:
|
|
157
|
+
proceed = raw_input().lower().strip() in ['yes', 'y']
|
|
158
|
+
except NameError:
|
|
159
|
+
proceed = input().lower().strip() in ['yes', 'y']
|
|
154
160
|
|
|
155
161
|
if not proceed:
|
|
156
162
|
display_menu_header("Patient Selection for Today's Data Entry")
|
|
@@ -160,9 +166,15 @@ def display_patient_selection_menu(csv_data, reverse_mapping, proceed_as_medicar
|
|
|
160
166
|
while True:
|
|
161
167
|
while True:
|
|
162
168
|
print("\nEnter the number(s) of the patients you wish to proceed with \n(e.g., 1,3,5): ", end='', flush=True)
|
|
163
|
-
#
|
|
164
|
-
|
|
165
|
-
|
|
169
|
+
# Force flush and wait for Windows XP console buffer synchronization
|
|
170
|
+
sys.stdout.flush()
|
|
171
|
+
time.sleep(0.2) # Increased delay for Windows XP
|
|
172
|
+
|
|
173
|
+
# Try raw_input first (Python 2.x compatibility), fall back to input
|
|
174
|
+
try:
|
|
175
|
+
selection = raw_input().strip()
|
|
176
|
+
except NameError:
|
|
177
|
+
selection = input().strip()
|
|
166
178
|
if not selection:
|
|
167
179
|
print("Invalid entry. Please provide at least one number.")
|
|
168
180
|
continue
|
|
@@ -237,9 +249,15 @@ def handle_user_interaction(interaction_mode, error_message):
|
|
|
237
249
|
print("4: Exit script")
|
|
238
250
|
print("-" * 60)
|
|
239
251
|
print("Enter your choice (1/2/3/4): ", end='', flush=True)
|
|
240
|
-
#
|
|
241
|
-
|
|
242
|
-
|
|
252
|
+
# Force flush and wait for Windows XP console buffer synchronization
|
|
253
|
+
sys.stdout.flush()
|
|
254
|
+
time.sleep(0.2) # Increased delay for Windows XP
|
|
255
|
+
|
|
256
|
+
# Try raw_input first (Python 2.x compatibility), fall back to input
|
|
257
|
+
try:
|
|
258
|
+
choice = raw_input().strip()
|
|
259
|
+
except NameError:
|
|
260
|
+
choice = input().strip()
|
|
243
261
|
|
|
244
262
|
if choice == '1':
|
|
245
263
|
print("Selected: 'Retry last entry'. Please press 'F12' to continue.")
|
|
@@ -273,9 +291,16 @@ def user_interaction(csv_data, interaction_mode, error_message, reverse_mapping)
|
|
|
273
291
|
try:
|
|
274
292
|
# Use a more explicit prompt format for Windows XP
|
|
275
293
|
print("\nAm I processing Medicare patients? (yes/no): ", end='', flush=True)
|
|
276
|
-
#
|
|
277
|
-
|
|
278
|
-
|
|
294
|
+
# Force flush and wait for Windows XP console buffer synchronization
|
|
295
|
+
sys.stdout.flush()
|
|
296
|
+
time.sleep(0.2) # Increased delay for Windows XP
|
|
297
|
+
|
|
298
|
+
# Try raw_input first (Python 2.x compatibility), fall back to input
|
|
299
|
+
try:
|
|
300
|
+
response = raw_input().lower().strip()
|
|
301
|
+
except NameError:
|
|
302
|
+
response = input().lower().strip()
|
|
303
|
+
|
|
279
304
|
if response:
|
|
280
305
|
if response in ['yes', 'y']:
|
|
281
306
|
app_control.load_paths_from_config(medicare=True)
|
|
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
|