pub struct DocumentReference {Show 31 fields
pub id: Option<Id>,
pub meta: Option<Meta>,
pub implicit_rules: Option<UriDt>,
pub language: Option<CodeDt>,
pub text: Option<Narrative>,
pub contained: Option<Vec<AnyResource>>,
pub extension: Option<Vec<Extension>>,
pub modifier_extension: Option<Vec<Extension>>,
pub identifier: Option<Vec<Identifier>>,
pub version: Option<StringDt>,
pub based_on: Option<Vec<Reference>>,
pub status: Option<CodeDt>,
pub doc_status: Option<CodeDt>,
pub modality: Option<Vec<CodeableConcept>>,
pub type_: Option<CodeableConcept>,
pub category: Option<Vec<CodeableConcept>>,
pub subject: Option<Reference>,
pub context: Option<Vec<Reference>>,
pub event: Option<Vec<CodeableReference>>,
pub body_site: Option<Vec<CodeableReference>>,
pub facility_type: Option<CodeableConcept>,
pub practice_setting: Option<CodeableConcept>,
pub period: Option<Period>,
pub date: Option<InstantDt>,
pub author: Option<Vec<Reference>>,
pub attester: Option<Vec<DocumentReferenceAttesterBackboneElement>>,
pub custodian: Option<Reference>,
pub relates_to: Option<Vec<DocumentReferenceRelatesToBackboneElement>>,
pub description: Option<MarkdownDt>,
pub security_label: Option<Vec<CodeableConcept>>,
pub content: Option<Vec<DocumentReferenceContentBackboneElement>>,
}
Fields§
§id: Option<Id>
Logical id of this artifact
meta: Option<Meta>
Metadata about the resource
implicit_rules: Option<UriDt>
A set of rules under which this content was created
language: Option<CodeDt>
Language of the resource content
text: Option<Narrative>
Text summary of the resource, for human interpretation
contained: Option<Vec<AnyResource>>
Contained, inline Resources
extension: Option<Vec<Extension>>
Additional content defined by implementations
modifier_extension: Option<Vec<Extension>>
Extensions that cannot be ignored
identifier: Option<Vec<Identifier>>
Business identifiers for the document
version: Option<StringDt>
An explicitly assigned identifer of a variation of the content in the DocumentReference
based_on: Option<Vec<Reference>>
Procedure that caused this media to be created
status: Option<CodeDt>
current | superseded | entered-in-error
doc_status: Option<CodeDt>
registered | partial | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | deprecated | unknown
modality: Option<Vec<CodeableConcept>>
Imaging modality used
type_: Option<CodeableConcept>
Kind of document (LOINC if possible)
category: Option<Vec<CodeableConcept>>
Categorization of document
subject: Option<Reference>
Who/what is the subject of the document
context: Option<Vec<Reference>>
Context of the document content
event: Option<Vec<CodeableReference>>
Main clinical acts documented
body_site: Option<Vec<CodeableReference>>
Body part included
facility_type: Option<CodeableConcept>
Kind of facility where patient was seen
practice_setting: Option<CodeableConcept>
Additional details about where the content was created (e.g. clinical specialty)
period: Option<Period>
Time of service that is being documented
date: Option<InstantDt>
When this document reference was created
Who and/or what authored the document
attester: Option<Vec<DocumentReferenceAttesterBackboneElement>>
Attests to accuracy of the document
custodian: Option<Reference>
Organization which maintains the document
relates_to: Option<Vec<DocumentReferenceRelatesToBackboneElement>>
Relationships to other documents
description: Option<MarkdownDt>
Human-readable description
security_label: Option<Vec<CodeableConcept>>
Document security-tags
content: Option<Vec<DocumentReferenceContentBackboneElement>>
Document referenced
Implementations§
Source§impl DocumentReference
impl DocumentReference
pub fn set_identifier(self, v: Vec<Identifier>) -> Self
pub fn add_identifier(self, v: Identifier) -> Self
pub fn set_version<T: Into<StringDt>>(self, v: T) -> Self
pub fn set_based_on(self, v: Vec<Reference>) -> Self
pub fn add_based_on(self, v: Reference) -> Self
pub fn set_status<T: Into<CodeDt>>(self, v: T) -> Self
pub fn set_doc_status<T: Into<CodeDt>>(self, v: T) -> Self
pub fn set_modality(self, v: Vec<CodeableConcept>) -> Self
pub fn add_modality(self, v: CodeableConcept) -> Self
pub fn set_type_(self, v: CodeableConcept) -> Self
pub fn set_category(self, v: Vec<CodeableConcept>) -> Self
pub fn add_category(self, v: CodeableConcept) -> Self
pub fn set_subject(self, v: Reference) -> Self
pub fn set_context(self, v: Vec<Reference>) -> Self
pub fn add_context(self, v: Reference) -> Self
pub fn set_event(self, v: Vec<CodeableReference>) -> Self
pub fn add_event(self, v: CodeableReference) -> Self
pub fn set_body_site(self, v: Vec<CodeableReference>) -> Self
pub fn add_body_site(self, v: CodeableReference) -> Self
pub fn set_facility_type(self, v: CodeableConcept) -> Self
pub fn set_practice_setting(self, v: CodeableConcept) -> Self
pub fn set_period(self, v: Period) -> Self
pub fn set_date<T: Into<InstantDt>>(self, v: T) -> Self
pub fn set_attester( self, v: Vec<DocumentReferenceAttesterBackboneElement>, ) -> Self
pub fn add_attester(self, v: DocumentReferenceAttesterBackboneElement) -> Self
pub fn set_custodian(self, v: Reference) -> Self
pub fn set_relates_to( self, v: Vec<DocumentReferenceRelatesToBackboneElement>, ) -> Self
pub fn add_relates_to( self, v: DocumentReferenceRelatesToBackboneElement, ) -> Self
pub fn set_description<T: Into<MarkdownDt>>(self, v: T) -> Self
pub fn set_security_label(self, v: Vec<CodeableConcept>) -> Self
pub fn add_security_label(self, v: CodeableConcept) -> Self
pub fn set_content( self, v: Vec<DocumentReferenceContentBackboneElement>, ) -> Self
pub fn add_content(self, v: DocumentReferenceContentBackboneElement) -> Self
Trait Implementations§
Source§impl Clone for DocumentReference
impl Clone for DocumentReference
Source§fn clone(&self) -> DocumentReference
fn clone(&self) -> DocumentReference
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more