Skip to content

Commit 88c35dc

Browse files
committed
VED-736: refactor search response to avoid getting no responseS
1 parent 1f3f837 commit 88c35dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/src/fhir_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def get_immunization_by_identifier(
6969
)
7070

7171
patient_full_url = f"urn:uuid:{str(uuid4())}"
72-
filtered_response = Filter.search(imms_resp, patient_full_url)
72+
filtered_response = Filter.search([imms_resp], patient_full_url)
7373

7474
if not filtered_response:
7575
base_url = f"{get_service_url()}/Immunization"

0 commit comments

Comments
 (0)