Skip to content

Commit cf199d5

Browse files
committed
NRL-1165 reflect model changes in smoke test
1 parent a4dee9f commit cf199d5

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

tests/smoke/setup.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
)
99
from nrlf.producer.fhir.r4.model import (
1010
Attachment,
11-
CodeableConcept,
12-
Coding,
1311
ContentStabilityExtension,
1412
ContentStabilityExtensionCoding,
1513
ContentStabilityExtensionValueCodeableConcept,
@@ -19,6 +17,7 @@
1917
DocumentReferenceRelatesTo,
2018
Identifier,
2119
NRLCodeableConcept,
20+
NRLCoding,
2221
NRLFormatCode,
2322
Reference,
2423
)
@@ -66,9 +65,9 @@ def build_document_reference(
6665
],
6766
)
6867
],
69-
type=CodeableConcept(
68+
type=NRLCodeableConcept(
7069
coding=[
71-
Coding(
70+
NRLCoding(
7271
system="http://snomed.info/sct",
7372
code=type,
7473
display=TYPE_ATTRIBUTES.get(f"http://snomed.info/sct|{type}").get(
@@ -95,9 +94,9 @@ def build_document_reference(
9594
)
9695
],
9796
category=[
98-
CodeableConcept(
97+
NRLCodeableConcept(
9998
coding=[
100-
Coding(
99+
NRLCoding(
101100
system="http://snomed.info/sct",
102101
code=category,
103102
display=(
@@ -110,7 +109,7 @@ def build_document_reference(
110109
context=DocumentReferenceContext(
111110
practiceSetting=NRLCodeableConcept(
112111
coding=[
113-
Coding(
112+
NRLCoding(
114113
system="http://snomed.info/sct",
115114
code="224891009",
116115
display="Healthcare services",

0 commit comments

Comments
 (0)