File tree Expand file tree Collapse file tree 5 files changed +13
-18
lines changed
Expand file tree Collapse file tree 5 files changed +13
-18
lines changed Original file line number Diff line number Diff line change @@ -1057,8 +1057,6 @@ components:
10571057 items :
10581058 $ref : " #/components/schemas/Reference"
10591059 description : Related identifiers or resources associated with the DocumentReference.
1060- required :
1061- - practiceSetting
10621060 DocumentReferenceContent :
10631061 type : object
10641062 properties :
Original file line number Diff line number Diff line change @@ -1385,7 +1385,6 @@ components:
13851385 - status
13861386 - content
13871387 - author
1388- - context
13891388 Bundle :
13901389 type : object
13911390 properties :
@@ -1595,8 +1594,6 @@ components:
15951594 items :
15961595 $ref : " #/components/schemas/Reference"
15971596 description : Related identifiers or resources associated with the DocumentReference.
1598- required :
1599- - practiceSetting
16001597 DocumentReferenceContent :
16011598 type : object
16021599 properties :
Original file line number Diff line number Diff line change 11# generated by datamodel-codegen:
22# filename: swagger.yaml
3- # timestamp: 2024-11-19T12:56:58 +00:00
3+ # timestamp: 2024-11-10T19:12:31 +00:00
44
55from __future__ import annotations
66
@@ -804,11 +804,11 @@ class DocumentReferenceContext(BaseModel):
804804 Field (description = "The kind of facility where the patient was seen." ),
805805 ] = None
806806 practiceSetting : Annotated [
807- CodeableConcept ,
807+ Optional [ CodeableConcept ] ,
808808 Field (
809809 description = "This property may convey specifics about the practice setting where the content was created, often reflecting the clinical specialty."
810810 ),
811- ]
811+ ] = None
812812 sourcePatientInfo : Annotated [
813813 Optional [Reference ],
814814 Field (
Original file line number Diff line number Diff line change 11# generated by datamodel-codegen:
22# filename: swagger.yaml
3- # timestamp: 2024-11-19T12:56:54 +00:00
3+ # timestamp: 2024-11-10T19:12:31 +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- DocumentReferenceContext ,
614+ Optional [ DocumentReferenceContext ] ,
615615 Field (description = "The clinical context in which the document was prepared." ),
616- ]
616+ ] = None
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- CodeableConcept ,
791+ Optional [ 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- ]
795+ ] = None
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-19T12:56:56 +00:00
3+ # timestamp: 2024-11-10T19:12:31 +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- DocumentReferenceContext ,
534+ Optional [ DocumentReferenceContext ] ,
535535 Field (description = "The clinical context in which the document was prepared." ),
536- ]
536+ ] = None
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- CodeableConcept ,
696+ Optional [ 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- ]
700+ ] = None
701701 sourcePatientInfo : Annotated [
702702 Optional [Reference ],
703703 Field (
You can’t perform that action at this time.
0 commit comments