Skip to content

Commit 291a23d

Browse files
committed
NRL-708 use constant for sonarcloud
1 parent 303804a commit 291a23d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

api/producer/createDocumentReference/tests/test_create_document_reference.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
_set_create_time_fields,
1111
handler,
1212
)
13+
from nrlf.core.constants import SNOMED_SYSTEM_URL
1314
from nrlf.core.dynamodb.repository import DocumentPointer, DocumentPointerRepository
1415
from nrlf.producer.fhir.r4.model import (
1516
DocumentReferenceRelatesTo,
@@ -166,7 +167,7 @@ def test_create_document_reference_without_related_value_exception(
166167
"practiceSetting": {
167168
"coding": [
168169
{
169-
"system": "http://snomed.info/sct",
170+
"system": SNOMED_SYSTEM_URL,
170171
"code": "788002001",
171172
"display": "Adult mental health service",
172173
}

0 commit comments

Comments
 (0)