Skip to content

Commit

Permalink
Fixup decimal formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-c committed Oct 31, 2024
1 parent 9fc82ee commit 5df3f17
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sof_wrapper/api/fhir.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def emr_meds(emr_url, params, headers):
)
response.raise_for_status()
current_app.logger.debug(
"emr returned %d MedicationRequests in %d seconds",
"emr returned %d MedicationRequests in %f seconds",
len(response.json().get("entry", [])),
response.elapsed.total_seconds(),
)
Expand Down Expand Up @@ -233,7 +233,7 @@ def patient_by_id(id):
headers=upstream_headers,
)
response.raise_for_status()
current_app.logger.debug("returned Patient in %d seconds", response.elapsed.total_seconds())
current_app.logger.debug("returned Patient in %f seconds", response.elapsed.total_seconds())
patient_fhir = response.json()
# TODO when possible w/o session cookie: set_session_value(key, patient_fhir)

Expand Down Expand Up @@ -282,7 +282,7 @@ def route_fhir(relative_path, session_id):
)
upstream_response.raise_for_status()
current_app.logger.debug(
"FHIR server returned %s in %d seconds",
"FHIR server returned %s in %f seconds",
relative_path,
upstream_response.elapsed.total_seconds(),
)
Expand Down

0 comments on commit 5df3f17

Please sign in to comment.