We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b887aad commit 9e5fe5bCopy full SHA for 9e5fe5b
lambdas/shared/src/common/models/utils/validation_utils.py
@@ -54,9 +54,8 @@ def convert_disease_codes_to_vaccine_type(
54
55
if not vaccine_type:
56
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"
+ f"Validation errors: protocolApplied[0].targetDisease[*].coding[?(@.system=='{Urls.snomed}')].code"
+ f" - {disease_codes_input} is not a valid combination of disease codes for this service"
60
)
61
return vaccine_type
62
0 commit comments