Skip to content

Commit 6954abb

Browse files
eesa456axelkrastek1-nhs
authored andcommitted
NRL-497 update consumer model
1 parent 6dec806 commit 6954abb

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

layer/nrlf/consumer/fhir/r4/model.py

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# generated by datamodel-codegen:
22
# filename: swagger.yaml
3-
# timestamp: 2025-06-10T22:58:27+00:00
3+
# timestamp: 2025-06-13T14:43:32+00:00
44

55
from __future__ import annotations
66

@@ -246,11 +246,19 @@ class NRLFormatCode(Coding):
246246
Field(description="The system URL for the NRLF Format Code."),
247247
]
248248
code: Annotated[
249-
Literal["urn:nhs-ic:record-contact", "urn:nhs-ic:unstructured"],
249+
Literal[
250+
"Contact details (HTTP Unsecured)",
251+
"Unstructured Document",
252+
"Structured Document",
253+
],
250254
Field(description="The code representing the format of the document."),
251255
]
252256
display: Annotated[
253-
Literal["Contact details (HTTP Unsecured)", "Unstructured Document"],
257+
Literal[
258+
"Contact details (HTTP Unsecured)",
259+
"Unstructured Document",
260+
"Structured Document",
261+
],
254262
Field(description="The display text for the code."),
255263
]
256264

0 commit comments

Comments
 (0)