add patient info log
Browse files- notes.py → old/notes.py +0 -0
- utils/oneclick.py +1 -1
notes.py → old/notes.py
RENAMED
File without changes
|
utils/oneclick.py
CHANGED
@@ -134,7 +134,7 @@ def generate_discharge_paper_one_click(
|
|
134 |
return None, (f"No patients found matching criteria: {search_criteria}\n"
|
135 |
f"Available IDs: {', '.join(all_patient_ids)}\n"
|
136 |
f"Available Names: {', '.join(all_patient_names)}"), None, None, None
|
137 |
-
|
138 |
patient_data = matching_patients[0]
|
139 |
logger.info(f"Selected patient data: {patient_data}")
|
140 |
|
|
|
134 |
return None, (f"No patients found matching criteria: {search_criteria}\n"
|
135 |
f"Available IDs: {', '.join(all_patient_ids)}\n"
|
136 |
f"Available Names: {', '.join(all_patient_names)}"), None, None, None
|
137 |
+
logger.debug(f"Raw patient data from API: {json.dumps(patients_data, indent=2)}")
|
138 |
patient_data = matching_patients[0]
|
139 |
logger.info(f"Selected patient data: {patient_data}")
|
140 |
|