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 7ec8278 commit 23095a9Copy full SHA for 23095a9
tests/smoke/setup.py
@@ -1,4 +1,4 @@
1
-from nrlf.core.constants import Categories, PointerTypes
+from nrlf.core.constants import TYPE_ATTRIBUTES, Categories, PointerTypes
2
from nrlf.producer.fhir.r4.model import (
3
Attachment,
4
CodeableConcept,
@@ -36,7 +36,15 @@ def build_document_reference(
36
)
37
],
38
type=CodeableConcept(
39
- coding=[Coding(system="http://snomed.info/sct", code=type)]
+ coding=[
40
+ Coding(
41
+ system="http://snomed.info/sct",
42
+ code=type,
43
+ display=TYPE_ATTRIBUTES.get(f"http://snomed.info/sct|{type}").get(
44
+ "display"
45
+ ),
46
+ )
47
+ ]
48
),
49
subject=Reference(
50
identifier=Identifier(
0 commit comments