Skip to content

Commit 9e5fe5b

Browse files
committed
S5332
1 parent b887aad commit 9e5fe5b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lambdas/shared/src/common/models/utils/validation_utils.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,8 @@ def convert_disease_codes_to_vaccine_type(
5454

5555
if not vaccine_type:
5656
raise ValueError(
57-
"Validation errors: protocolApplied[0].targetDisease[*].coding[?(@.system=='"
58-
"http://snomed.info/sct"
59-
f"')].code - {disease_codes_input} is not a valid combination of disease codes for this service"
57+
f"Validation errors: protocolApplied[0].targetDisease[*].coding[?(@.system=='{Urls.snomed}')].code"
58+
f" - {disease_codes_input} is not a valid combination of disease codes for this service"
6059
)
6160
return vaccine_type
6261

0 commit comments

Comments
 (0)