Skip to content

Commit 3532e7e

Browse files
committed
Update identifier check
1 parent f050b90 commit 3532e7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lambdas/recordforwarder/src/service/fhir_batch_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def uplift_legacy_identifier(immunization: dict):
1616
# received for some reason. Please see issue VED-904 for more information.
1717
identifier = immunization.get("identifier")
1818

19-
if identifier is None or len(identifier) == 0:
19+
if identifier is None or len(identifier) != 1:
2020
# Return here to allow validation to raise appropriate error
2121
return
2222

0 commit comments

Comments
 (0)