Skip to content

Commit 60fbd2f

Browse files
committed
sonar
1 parent 8408274 commit 60fbd2f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

backend/src/models/utils/validation_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def convert_disease_codes_to_vaccine_type(
5555
if not vaccine_type:
5656
raise ValueError(
5757
"Validation errors: protocolApplied[0].targetDisease[*].coding[?(@.system=='"
58-
"http://snomed.info/sct"
58+
Urls.snomed,
5959
f"')].code - {disease_codes_input} is not a valid combination of disease codes for this service"
6060
)
6161
return vaccine_type

backend/src/search_imms_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def search_imms(event: events.APIGatewayProxyEventV1, controller: FhirController
8888
)
8989
parser.add_argument(
9090
"--immunization.target",
91-
help="http://hl7.org/fhir/ValueSet/immunization-target-disease",
91+
help="http://hl7.org/fhir/ValueSet/immunization-target-disease", # NOSONAR(S5332)
9292
type=str,
9393
required=True,
9494
nargs="+",

0 commit comments

Comments
 (0)