pub struct Composition {Show 27 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 url: Option<UriDt>,
pub identifier: Option<Vec<Identifier>>,
pub version: Option<StringDt>,
pub status: Option<CodeDt>,
pub type_: Option<CodeableConcept>,
pub category: Option<Vec<CodeableConcept>>,
pub subject: Option<Vec<Reference>>,
pub encounter: Option<Reference>,
pub date: Option<DateTimeDt>,
pub use_context: Option<Vec<UsageContext>>,
pub author: Option<Vec<Reference>>,
pub name: Option<StringDt>,
pub title: Option<StringDt>,
pub note: Option<Vec<Annotation>>,
pub attester: Option<Vec<CompositionAttesterBackboneElement>>,
pub custodian: Option<Reference>,
pub relates_to: Option<Vec<RelatedArtifact>>,
pub event: Option<Vec<CompositionEventBackboneElement>>,
pub section: Option<Vec<CompositionSectionBackboneElement>>,
}
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
url: Option<UriDt>
Canonical identifier for this Composition, represented as a URI (globally unique)
identifier: Option<Vec<Identifier>>
Version-independent identifier for the Composition
version: Option<StringDt>
An explicitly assigned identifer of a variation of the content in the Composition
status: Option<CodeDt>
registered | partial | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | deprecated | unknown
type_: Option<CodeableConcept>
Kind of composition (LOINC if possible)
category: Option<Vec<CodeableConcept>>
Categorization of Composition
subject: Option<Vec<Reference>>
Who and/or what the composition is about
encounter: Option<Reference>
Context of the Composition
date: Option<DateTimeDt>
Composition editing time
use_context: Option<Vec<UsageContext>>
The context that the content is intended to support
Who and/or what authored the composition
name: Option<StringDt>
Name for this Composition (computer friendly)
title: Option<StringDt>
Human Readable name/title
note: Option<Vec<Annotation>>
For any additional notes
attester: Option<Vec<CompositionAttesterBackboneElement>>
Attests to accuracy of composition
custodian: Option<Reference>
Organization which maintains the composition
relates_to: Option<Vec<RelatedArtifact>>
Relationships to other compositions/documents
event: Option<Vec<CompositionEventBackboneElement>>
The clinical service(s) being documented
section: Option<Vec<CompositionSectionBackboneElement>>
Composition is broken into sections
Implementations§
Source§impl Composition
impl Composition
pub fn set_url<T: Into<UriDt>>(self, v: T) -> Self
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_status<T: Into<CodeDt>>(self, v: T) -> 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: Vec<Reference>) -> Self
pub fn add_subject(self, v: Reference) -> Self
pub fn set_encounter(self, v: Reference) -> Self
pub fn set_date<T: Into<DateTimeDt>>(self, v: T) -> Self
pub fn set_use_context(self, v: Vec<UsageContext>) -> Self
pub fn add_use_context(self, v: UsageContext) -> Self
pub fn set_name<T: Into<StringDt>>(self, v: T) -> Self
pub fn set_title<T: Into<StringDt>>(self, v: T) -> Self
pub fn set_note(self, v: Vec<Annotation>) -> Self
pub fn add_note(self, v: Annotation) -> Self
pub fn set_attester(self, v: Vec<CompositionAttesterBackboneElement>) -> Self
pub fn add_attester(self, v: CompositionAttesterBackboneElement) -> Self
pub fn set_custodian(self, v: Reference) -> Self
pub fn set_relates_to(self, v: Vec<RelatedArtifact>) -> Self
pub fn add_relates_to(self, v: RelatedArtifact) -> Self
pub fn set_event(self, v: Vec<CompositionEventBackboneElement>) -> Self
pub fn add_event(self, v: CompositionEventBackboneElement) -> Self
pub fn set_section(self, v: Vec<CompositionSectionBackboneElement>) -> Self
pub fn add_section(self, v: CompositionSectionBackboneElement) -> Self
Trait Implementations§
Source§impl Clone for Composition
impl Clone for Composition
Source§fn clone(&self) -> Composition
fn clone(&self) -> Composition
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more