Tonic commited on
Commit
7cbf56d
·
unverified ·
1 Parent(s): 2cc6023

fix typo , fingers crossed

Browse files
Files changed (1) hide show
  1. utils/oneclick.py +0 -1
utils/oneclick.py CHANGED
@@ -121,7 +121,6 @@ def generate_discharge_paper_one_click(
121
  logger.info(f"Match found by name: {first_name_from_data} {last_name_from_data}")
122
  break
123
 
124
- if not matching_patient:
125
  if not matching_patient:
126
  search_criteria = f"ID: {patient_id or 'N/A'}, First: {first_name or 'N/A'}, Last: {last_name or 'N/A'}"
127
  all_patient_ids = [str(p.get('id', '')) for p in extractor.get_all_patients()]
 
121
  logger.info(f"Match found by name: {first_name_from_data} {last_name_from_data}")
122
  break
123
 
 
124
  if not matching_patient:
125
  search_criteria = f"ID: {patient_id or 'N/A'}, First: {first_name or 'N/A'}, Last: {last_name or 'N/A'}"
126
  all_patient_ids = [str(p.get('id', '')) for p in extractor.get_all_patients()]