pub struct Communication {Show 30 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 instantiates_canonical: Option<Vec<CanonicalDt>>,
pub instantiates_uri: Option<Vec<UriDt>>,
pub based_on: Option<Vec<Reference>>,
pub part_of: Option<Vec<Reference>>,
pub in_response_to: Option<Vec<Reference>>,
pub status: Option<CodeDt>,
pub status_reason: Option<CodeableConcept>,
pub category: Option<Vec<CodeableConcept>>,
pub priority: Option<CodeDt>,
pub medium: Option<Vec<CodeableConcept>>,
pub subject: Option<Reference>,
pub topic: Option<CodeableConcept>,
pub about: Option<Vec<Reference>>,
pub encounter: Option<Reference>,
pub sent: Option<DateTimeDt>,
pub received: Option<DateTimeDt>,
pub recipient: Option<Vec<Reference>>,
pub sender: Option<Reference>,
pub reason: Option<Vec<CodeableReference>>,
pub payload: Option<Vec<CommunicationPayloadBackboneElement>>,
pub note: Option<Vec<Annotation>>,
}
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>>
Unique identifier
instantiates_canonical: Option<Vec<CanonicalDt>>
Instantiates FHIR protocol or definition
instantiates_uri: Option<Vec<UriDt>>
Instantiates external protocol or definition
based_on: Option<Vec<Reference>>
Request fulfilled by this communication
part_of: Option<Vec<Reference>>
Part of referenced event (e.g. Communication, Procedure)
in_response_to: Option<Vec<Reference>>
Reply to
status: Option<CodeDt>
preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown
status_reason: Option<CodeableConcept>
Reason for current status
category: Option<Vec<CodeableConcept>>
Message category
priority: Option<CodeDt>
routine | urgent | asap | stat
medium: Option<Vec<CodeableConcept>>
A channel of communication
subject: Option<Reference>
Focus of message
topic: Option<CodeableConcept>
Description of the purpose/content
about: Option<Vec<Reference>>
Resources that pertain to this communication
encounter: Option<Reference>
The Encounter during which this Communication was created
sent: Option<DateTimeDt>
When sent
received: Option<DateTimeDt>
When received
recipient: Option<Vec<Reference>>
Who the information is shared with
sender: Option<Reference>
Who shares the information
reason: Option<Vec<CodeableReference>>
Indication for message
payload: Option<Vec<CommunicationPayloadBackboneElement>>
Message payload
note: Option<Vec<Annotation>>
Comments made about the communication
Implementations§
Source§impl Communication
impl Communication
pub fn set_identifier(self, v: Vec<Identifier>) -> Self
pub fn add_identifier(self, v: Identifier) -> Self
pub fn set_instantiates_canonical(self, v: Vec<CanonicalDt>) -> Self
pub fn add_instantiates_canonical<T: Into<CanonicalDt>>(self, v: T) -> Self
pub fn set_instantiates_uri(self, v: Vec<UriDt>) -> Self
pub fn add_instantiates_uri<T: Into<UriDt>>(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_part_of(self, v: Vec<Reference>) -> Self
pub fn add_part_of(self, v: Reference) -> Self
pub fn set_in_response_to(self, v: Vec<Reference>) -> Self
pub fn add_in_response_to(self, v: Reference) -> Self
pub fn set_status<T: Into<CodeDt>>(self, v: T) -> Self
pub fn set_status_reason(self, v: CodeableConcept) -> Self
pub fn set_category(self, v: Vec<CodeableConcept>) -> Self
pub fn add_category(self, v: CodeableConcept) -> Self
pub fn set_priority<T: Into<CodeDt>>(self, v: T) -> Self
pub fn set_medium(self, v: Vec<CodeableConcept>) -> Self
pub fn add_medium(self, v: CodeableConcept) -> Self
pub fn set_subject(self, v: Reference) -> Self
pub fn set_topic(self, v: CodeableConcept) -> Self
pub fn set_about(self, v: Vec<Reference>) -> Self
pub fn add_about(self, v: Reference) -> Self
pub fn set_encounter(self, v: Reference) -> Self
pub fn set_sent<T: Into<DateTimeDt>>(self, v: T) -> Self
pub fn set_received<T: Into<DateTimeDt>>(self, v: T) -> Self
pub fn set_recipient(self, v: Vec<Reference>) -> Self
pub fn add_recipient(self, v: Reference) -> Self
pub fn set_sender(self, v: Reference) -> Self
pub fn set_reason(self, v: Vec<CodeableReference>) -> Self
pub fn add_reason(self, v: CodeableReference) -> Self
pub fn set_payload(self, v: Vec<CommunicationPayloadBackboneElement>) -> Self
pub fn add_payload(self, v: CommunicationPayloadBackboneElement) -> Self
pub fn set_note(self, v: Vec<Annotation>) -> Self
pub fn add_note(self, v: Annotation) -> Self
Trait Implementations§
Source§impl Clone for Communication
impl Clone for Communication
Source§fn clone(&self) -> Communication
fn clone(&self) -> Communication
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more