pub struct CommunicationRequest(pub Box<CommunicationRequestInner>);
Expand description
A request to convey information; e.g. the CDS system proposes that an alert be sent to a responsible provider, the CDS system proposes that the public health agency be notified about a reportable condition.
CommunicationRequest v5.0.0
A request for information to be sent to a receiver
A request to convey information; e.g. the CDS system proposes that an alert be sent to a responsible provider, the CDS system proposes that the public health agency be notified about a reportable condition.
Tuple Fields§
§0: Box<CommunicationRequestInner>
Implementations§
Source§impl CommunicationRequest
impl CommunicationRequest
Sourcepub fn builder() -> CommunicationRequestBuilder
pub fn builder() -> CommunicationRequestBuilder
Start building an instance.
Source§impl CommunicationRequest
impl CommunicationRequest
Sourcepub const fn resource_type() -> ResourceType
pub const fn resource_type() -> ResourceType
Get the resource type for this FHIR resource.
Trait Implementations§
Source§impl BaseResource for CommunicationRequest
impl BaseResource for CommunicationRequest
Source§fn implicit_rules(&self) -> &Option<String>
fn implicit_rules(&self) -> &Option<String>
Get
implicit_rules
.Source§fn implicit_rules_mut(&mut self) -> &mut Option<String>
fn implicit_rules_mut(&mut self) -> &mut Option<String>
Get
implicit_rules
mutably.Source§fn set_implicit_rules(&mut self, value: Option<String>)
fn set_implicit_rules(&mut self, value: Option<String>)
Set
implicit_rules
.Source§fn language_mut(&mut self) -> &mut Option<String>
fn language_mut(&mut self) -> &mut Option<String>
Get
language
mutably.Source§fn set_language(&mut self, value: Option<String>)
fn set_language(&mut self, value: Option<String>)
Set
language
.Source§impl Clone for CommunicationRequest
impl Clone for CommunicationRequest
Source§fn clone(&self) -> CommunicationRequest
fn clone(&self) -> CommunicationRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CommunicationRequest
impl Debug for CommunicationRequest
Source§impl Deref for CommunicationRequest
impl Deref for CommunicationRequest
Source§type Target = CommunicationRequestInner
type Target = CommunicationRequestInner
The resulting type after dereferencing.
Source§impl DerefMut for CommunicationRequest
impl DerefMut for CommunicationRequest
Source§impl<'de> Deserialize<'de> for CommunicationRequest
impl<'de> Deserialize<'de> for CommunicationRequest
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CommunicationRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CommunicationRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl DomainResource for CommunicationRequest
impl DomainResource for CommunicationRequest
Source§fn implicit_rules(&self) -> &Option<String>
fn implicit_rules(&self) -> &Option<String>
Get
implicit_rules
.Source§fn implicit_rules_mut(&mut self) -> &mut Option<String>
fn implicit_rules_mut(&mut self) -> &mut Option<String>
Get
implicit_rules
mutably.Source§fn set_implicit_rules(&mut self, value: Option<String>)
fn set_implicit_rules(&mut self, value: Option<String>)
Set
implicit_rules
.Source§fn language_mut(&mut self) -> &mut Option<String>
fn language_mut(&mut self) -> &mut Option<String>
Get
language
mutably.Source§fn set_language(&mut self, value: Option<String>)
fn set_language(&mut self, value: Option<String>)
Set
language
.Source§fn contained_mut(&mut self) -> &mut Vec<Resource>
fn contained_mut(&mut self) -> &mut Vec<Resource>
Get
contained
mutably.Source§fn set_contained(&mut self, value: Vec<Resource>)
fn set_contained(&mut self, value: Vec<Resource>)
Set
contained
.Source§fn extension_mut(&mut self) -> &mut Vec<Extension>
fn extension_mut(&mut self) -> &mut Vec<Extension>
Get
extension
mutably.Source§fn set_extension(&mut self, value: Vec<Extension>)
fn set_extension(&mut self, value: Vec<Extension>)
Set
extension
.Source§fn modifier_extension(&self) -> &Vec<Extension>
fn modifier_extension(&self) -> &Vec<Extension>
Get
modifier_extension
.Source§fn modifier_extension_mut(&mut self) -> &mut Vec<Extension>
fn modifier_extension_mut(&mut self) -> &mut Vec<Extension>
Get
modifier_extension
mutably.Source§fn set_modifier_extension(&mut self, value: Vec<Extension>)
fn set_modifier_extension(&mut self, value: Vec<Extension>)
Set
modifier_extension
.Source§impl From<CommunicationRequest> for Resource
impl From<CommunicationRequest> for Resource
Source§fn from(resource: CommunicationRequest) -> Resource
fn from(resource: CommunicationRequest) -> Resource
Converts to this type from the input type.
Source§impl From<CommunicationRequestInner> for CommunicationRequest
impl From<CommunicationRequestInner> for CommunicationRequest
Source§fn from(inner: CommunicationRequestInner) -> CommunicationRequest
fn from(inner: CommunicationRequestInner) -> CommunicationRequest
Converts to this type from the input type.
Source§impl IdentifiableResource for CommunicationRequest
impl IdentifiableResource for CommunicationRequest
Source§fn identifier(&self) -> &Vec<Option<Identifier>>
fn identifier(&self) -> &Vec<Option<Identifier>>
Get the identifier field.
Source§fn identifier_mut(&mut self) -> &mut Vec<Option<Identifier>>
fn identifier_mut(&mut self) -> &mut Vec<Option<Identifier>>
Get the identifier field mutably.
Source§fn set_identifier(&mut self, value: Vec<Option<Identifier>>)
fn set_identifier(&mut self, value: Vec<Option<Identifier>>)
Set the identifier field.
Source§fn identifier_ext(&self) -> &Vec<Option<FieldExtension>>
fn identifier_ext(&self) -> &Vec<Option<FieldExtension>>
Get the identifier extension field.
Source§fn identifier_ext_mut(&mut self) -> &mut Vec<Option<FieldExtension>>
fn identifier_ext_mut(&mut self) -> &mut Vec<Option<FieldExtension>>
Get the identifier extension field mutably.
Source§fn set_identifier_ext(&mut self, value: Vec<Option<FieldExtension>>)
fn set_identifier_ext(&mut self, value: Vec<Option<FieldExtension>>)
Set the identifier extension field.
Source§fn place_identifier(&mut self, identifier: Identifier) -> bool
fn place_identifier(&mut self, identifier: Identifier) -> bool
Append or replace an identifier. If there is already an identifier with
the same system or type (exact full match), it is replaced, otherwise
appended. Read more
Source§fn identifier_with_system(&self, system: &str) -> Option<&String>
fn identifier_with_system(&self, system: &str) -> Option<&String>
Return the first identifier value for a given system.
Source§fn identifiers_with_system(&self, system: &str) -> Vec<&Identifier>
fn identifiers_with_system(&self, system: &str) -> Vec<&Identifier>
Return a list of identifiers for a given system.
Source§fn identifier_with_type(
&self,
type_system: &str,
type_code: &str,
) -> Option<&String>
fn identifier_with_type( &self, type_system: &str, type_code: &str, ) -> Option<&String>
Return the first identifier value for a given type.
Source§fn identifiers_with_type(
&self,
type_system: &str,
type_code: &str,
) -> Vec<&Identifier>
fn identifiers_with_type( &self, type_system: &str, type_code: &str, ) -> Vec<&Identifier>
Return a list of identifiers for a given type.
Source§impl NamedResource for CommunicationRequest
impl NamedResource for CommunicationRequest
Source§const FHIR_VERSION: &'static str = "5.0.0"
const FHIR_VERSION: &'static str = "5.0.0"
The FHIR version of this resource.
Source§const TYPE: ResourceType = ResourceType::CommunicationRequest
const TYPE: ResourceType = ResourceType::CommunicationRequest
The ResourceType of this resouce.
Source§impl PartialEq for CommunicationRequest
impl PartialEq for CommunicationRequest
Source§impl Serialize for CommunicationRequest
impl Serialize for CommunicationRequest
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl<'a> TryFrom<&'a Resource> for &'a CommunicationRequest
impl<'a> TryFrom<&'a Resource> for &'a CommunicationRequest
Source§type Error = WrongResourceType
type Error = WrongResourceType
The type returned in the event of a conversion error.
Source§fn try_from(
resource: &'a Resource,
) -> Result<&'a CommunicationRequest, <&'a CommunicationRequest as TryFrom<&'a Resource>>::Error>
fn try_from( resource: &'a Resource, ) -> Result<&'a CommunicationRequest, <&'a CommunicationRequest as TryFrom<&'a Resource>>::Error>
Performs the conversion.
Source§impl<'a> TryFrom<&'a mut Resource> for &'a mut CommunicationRequest
impl<'a> TryFrom<&'a mut Resource> for &'a mut CommunicationRequest
Source§type Error = WrongResourceType
type Error = WrongResourceType
The type returned in the event of a conversion error.
Source§fn try_from(
resource: &'a mut Resource,
) -> Result<&'a mut CommunicationRequest, <&'a mut CommunicationRequest as TryFrom<&'a mut Resource>>::Error>
fn try_from( resource: &'a mut Resource, ) -> Result<&'a mut CommunicationRequest, <&'a mut CommunicationRequest as TryFrom<&'a mut Resource>>::Error>
Performs the conversion.
Source§impl TryFrom<Resource> for CommunicationRequest
impl TryFrom<Resource> for CommunicationRequest
Source§type Error = WrongResourceType
type Error = WrongResourceType
The type returned in the event of a conversion error.
Source§fn try_from(
resource: Resource,
) -> Result<CommunicationRequest, <CommunicationRequest as TryFrom<Resource>>::Error>
fn try_from( resource: Resource, ) -> Result<CommunicationRequest, <CommunicationRequest as TryFrom<Resource>>::Error>
Performs the conversion.
impl StructuralPartialEq for CommunicationRequest
Auto Trait Implementations§
impl Freeze for CommunicationRequest
impl RefUnwindSafe for CommunicationRequest
impl Send for CommunicationRequest
impl Sync for CommunicationRequest
impl Unpin for CommunicationRequest
impl UnwindSafe for CommunicationRequest
Blanket Implementations§
Source§impl<R> AnyResource<FhirR5> for R
impl<R> AnyResource<FhirR5> for R
Source§const TYPE: ResourceType = const TYPE: r5::resources::ResourceType = R::TYPE;
const TYPE: ResourceType = const TYPE: r5::resources::ResourceType = R::TYPE;
ResourceType of this resource.
Source§const TYPE_STR: &'static str = const TYPE_STR: &'static str = R::TYPE.as_str();
const TYPE_STR: &'static str = const TYPE_STR: &'static str = R::TYPE.as_str();
Resource type of the resource as
&str
. Must be valid for use in URLs.Source§fn version_id(&self) -> Option<&str>
fn version_id(&self) -> Option<&str>
Get the resource’s version ID as string.
Source§fn set_version_id(&mut self, version_id: String)
fn set_version_id(&mut self, version_id: String)
Set the resource’s version ID.
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<R, V> ResourceWrite<V> for Rwhere
R: AnyResource<V> + Serialize + Send + Sync,
V: FhirVersion,
(StatusCode, <V as FhirVersion>::OperationOutcome): Into<Error>,
impl<R, V> ResourceWrite<V> for Rwhere
R: AnyResource<V> + Serialize + Send + Sync,
V: FhirVersion,
(StatusCode, <V as FhirVersion>::OperationOutcome): Into<Error>,
Source§async fn update(
&mut self,
conditional: bool,
client: &Client<V>,
) -> Result<bool, Error>
async fn update( &mut self, conditional: bool, client: &Client<V>, ) -> Result<bool, Error>
Update the current version of the resource on the server. Returns
whether the resource was created.