Skip to content

Commit 32e1363

Browse files
NRL-518 Fix format for smoke tests
1 parent 4820d08 commit 32e1363

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

tests/smoke/setup.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,10 @@ def build_document_reference(
3333
contentType=content_type,
3434
url=content_url,
3535
),
36-
format=CodeableConcept(
37-
coding=[
38-
Coding(
39-
system="https://fhir.nhs.uk/England/CodeSystem/England-NRLFormatCode",
40-
code="urn:nhs-ic:unstructured",
41-
display="Unstructured document",
42-
)
43-
]
36+
format=Coding(
37+
system="https://fhir.nhs.uk/England/CodeSystem/England-NRLFormatCode",
38+
code="urn:nhs-ic:unstructured",
39+
display="Unstructured document",
4440
),
4541
)
4642
],

0 commit comments

Comments
 (0)