Skip to content

Commit 09a8b3d

Browse files
committed
debug
1 parent 7e27b61 commit 09a8b3d

23 files changed

+7
-24
lines changed

.tool-versions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
poetry 2.1.2
23
nodejs 23.11.0
34
python 3.11.12

backend/src/a.json

Lines changed: 0 additions & 22 deletions
This file was deleted.

backend/src/fhir_service.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,8 +318,10 @@ def search_immunizations(
318318

319319
logger.info("SAW: filter resources for search")
320320
# log pretty resources for debug
321-
logger.debug("SAW: resources: %s", [r.json(indent=2) for r in resources])
322-
# Filter and amend the immunization resources for the SEARCH response
321+
logger.info("SAW: resources: %s", [
322+
Immunization.parse_obj(r).json(indent=2) for r in resources
323+
])
324+
# Filter and amend the immunization resources for the SEARCH response
323325
resources_filtered_for_search = [Filter.search(imms, patient_full_url) for imms in resources]
324326
logger.info("SAW: no of items in filtered resources: %d", len(resources_filtered_for_search))
325327
# Add bundle entries for each of the immunization resources
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)