File tree Expand file tree Collapse file tree 3 files changed +13
-10
lines changed
layer/nrlf/producer/fhir/r4 Expand file tree Collapse file tree 3 files changed +13
-10
lines changed Original file line number Diff line number Diff line change @@ -1398,6 +1398,7 @@ components:
13981398 - status
13991399 - content
14001400 - author
1401+ - context
14011402 Bundle :
14021403 type : object
14031404 properties :
@@ -1607,6 +1608,8 @@ components:
16071608 items :
16081609 $ref : " #/components/schemas/Reference"
16091610 description : Related identifiers or resources associated with the DocumentReference.
1611+ required :
1612+ - practiceSetting
16101613 DocumentReferenceContent :
16111614 type : object
16121615 properties :
Original file line number Diff line number Diff line change 11# generated by datamodel-codegen:
22# filename: swagger.yaml
3- # timestamp: 2024-11-20T09:21:00 +00:00
3+ # timestamp: 2024-11-20T10:10:52 +00:00
44
55from __future__ import annotations
66
@@ -611,9 +611,9 @@ class DocumentReference(BaseModel):
611611 securityLabel : Optional [List [CodeableConcept ]] = None
612612 content : Annotated [List [DocumentReferenceContent ], Field (min_length = 1 )]
613613 context : Annotated [
614- Optional [ DocumentReferenceContext ] ,
614+ DocumentReferenceContext ,
615615 Field (description = "The clinical context in which the document was prepared." ),
616- ] = None
616+ ]
617617
618618
619619class Bundle (BaseModel ):
@@ -788,11 +788,11 @@ class DocumentReferenceContext(BaseModel):
788788 Field (description = "The kind of facility where the patient was seen." ),
789789 ] = None
790790 practiceSetting : Annotated [
791- Optional [ CodeableConcept ] ,
791+ CodeableConcept ,
792792 Field (
793793 description = "This property may convey specifics about the practice setting where the content was created, often reflecting the clinical specialty."
794794 ),
795- ] = None
795+ ]
796796 sourcePatientInfo : Annotated [
797797 Optional [Reference ],
798798 Field (
Original file line number Diff line number Diff line change 11# generated by datamodel-codegen:
22# filename: swagger.yaml
3- # timestamp: 2024-11-20T09:21:02 +00:00
3+ # timestamp: 2024-11-20T10:10:54 +00:00
44
55from __future__ import annotations
66
@@ -531,9 +531,9 @@ class DocumentReference(BaseModel):
531531 securityLabel : Optional [List [CodeableConcept ]] = None
532532 content : Annotated [List [DocumentReferenceContent ], Field (min_length = 1 )]
533533 context : Annotated [
534- Optional [ DocumentReferenceContext ] ,
534+ DocumentReferenceContext ,
535535 Field (description = "The clinical context in which the document was prepared." ),
536- ] = None
536+ ]
537537
538538
539539class Bundle (BaseModel ):
@@ -693,11 +693,11 @@ class DocumentReferenceContext(BaseModel):
693693 Field (description = "The kind of facility where the patient was seen." ),
694694 ] = None
695695 practiceSetting : Annotated [
696- Optional [ CodeableConcept ] ,
696+ CodeableConcept ,
697697 Field (
698698 description = "This property may convey specifics about the practice setting where the content was created, often reflecting the clinical specialty."
699699 ),
700- ] = None
700+ ]
701701 sourcePatientInfo : Annotated [
702702 Optional [Reference ],
703703 Field (
You can’t perform that action at this time.
0 commit comments