Ali2206 commited on
Commit
542b5ef
·
verified ·
1 Parent(s): 97e2e8f

Update api/routes/pdf.py

Browse files
Files changed (1) hide show
  1. api/routes/pdf.py +1 -1
api/routes/pdf.py CHANGED
@@ -193,7 +193,7 @@ $encounters
193
  # Fill template with patient data
194
  latex_filled = latex_template.substitute(
195
  generated_on=datetime.now().strftime("%A, %B %d, %Y at %I:%M %p %Z"),
196
- fhir_id=escape_latex_special_chars(hyphenate_long_strings(patient.get("fhir_id", "") or ""),
197
  full_name=escape_latex_special_chars(patient.get("full_name", "") or ""),
198
  gender=escape_latex_special_chars(patient.get("gender", "") or ""),
199
  dob=escape_latex_special_chars(patient.get("date_of_birth", "") or ""),
 
193
  # Fill template with patient data
194
  latex_filled = latex_template.substitute(
195
  generated_on=datetime.now().strftime("%A, %B %d, %Y at %I:%M %p %Z"),
196
+ fhir_id=escape_latex_special_chars(hyphenate_long_strings(patient.get("fhir_id", "") or "")),
197
  full_name=escape_latex_special_chars(patient.get("full_name", "") or ""),
198
  gender=escape_latex_special_chars(patient.get("gender", "") or ""),
199
  dob=escape_latex_special_chars(patient.get("date_of_birth", "") or ""),