You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate.
description: Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate.
Copy file name to clipboardExpand all lines: layer/nrlf/consumer/fhir/r4/model.py
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# generated by datamodel-codegen:
2
2
# filename: swagger.yaml
3
-
# timestamp: 2024-11-20T09:43:58+00:00
3
+
# timestamp: 2024-11-26T15:05:35+00:00
4
4
5
5
from __future__ importannotations
6
6
@@ -133,12 +133,12 @@ class Attachment(BaseModel):
133
133
),
134
134
] =None
135
135
contentType: Annotated[
136
-
Optional[str],
136
+
str,
137
137
Field(
138
138
description="Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate.",
Field(description="A location where the data can be accessed.", pattern="\\S*"),
159
-
]=None
159
+
]
160
160
size: Annotated[
161
161
Optional[int],
162
162
Field(
@@ -833,11 +833,11 @@ class DocumentReferenceContent(BaseModel):
833
833
),
834
834
]
835
835
format: Annotated[
836
-
Optional[Coding],
836
+
Coding,
837
837
Field(
838
838
description="An identifier of the document encoding, structure, and template that the document conforms to beyond the base format indicated in the mimeType."
Copy file name to clipboardExpand all lines: layer/nrlf/producer/fhir/r4/model.py
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# generated by datamodel-codegen:
2
2
# filename: swagger.yaml
3
-
# timestamp: 2024-11-20T10:10:52+00:00
3
+
# timestamp: 2024-11-26T15:05:33+00:00
4
4
5
5
from __future__ importannotations
6
6
@@ -133,12 +133,12 @@ class Attachment(BaseModel):
133
133
),
134
134
] =None
135
135
contentType: Annotated[
136
-
Optional[str],
136
+
str,
137
137
Field(
138
138
description="Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate.",
Field(description="A location where the data can be accessed.", pattern="\\S*"),
159
-
]=None
159
+
]
160
160
size: Annotated[
161
161
Optional[int],
162
162
Field(
@@ -817,11 +817,11 @@ class DocumentReferenceContent(BaseModel):
817
817
),
818
818
]
819
819
format: Annotated[
820
-
Optional[Coding],
820
+
Coding,
821
821
Field(
822
822
description="An identifier of the document encoding, structure, and template that the document conforms to beyond the base format indicated in the mimeType."
Copy file name to clipboardExpand all lines: layer/nrlf/producer/fhir/r4/strict_model.py
+7-8Lines changed: 7 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# generated by datamodel-codegen:
2
2
# filename: swagger.yaml
3
-
# timestamp: 2024-11-20T10:10:54+00:00
3
+
# timestamp: 2024-11-26T15:05:34+00:00
4
4
5
5
from __future__ importannotations
6
6
@@ -126,11 +126,11 @@ class Attachment(BaseModel):
126
126
),
127
127
] =None
128
128
contentType: Annotated[
129
-
Optional[StrictStr],
129
+
StrictStr,
130
130
Field(
131
131
description="Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate."
132
132
),
133
-
]=None
133
+
]
134
134
language: Annotated[
135
135
Optional[StrictStr],
136
136
Field(
@@ -144,9 +144,8 @@ class Attachment(BaseModel):
144
144
),
145
145
] =None
146
146
url: Annotated[
147
-
Optional[StrictStr],
148
-
Field(description="A location where the data can be accessed."),
149
-
] =None
147
+
StrictStr, Field(description="A location where the data can be accessed.")
148
+
]
150
149
size: Annotated[
151
150
Optional[StrictInt],
152
151
Field(
@@ -721,11 +720,11 @@ class DocumentReferenceContent(BaseModel):
721
720
),
722
721
]
723
722
format: Annotated[
724
-
Optional[Coding],
723
+
Coding,
725
724
Field(
726
725
description="An identifier of the document encoding, structure, and template that the document conforms to beyond the base format indicated in the mimeType."
0 commit comments