pub enum ReferenceHandlingPolicy {
Enforced,
Literal,
Local,
Logical,
Resolves,
}
Expand description
ReferenceHandlingPolicy. A set of flags that defines how references are supported.
FHIR version: 5.0.0.
Variants§
Enforced
enforced
Reference Integrity Enforced. The server enforces that references have integrity - e.g. it ensures that references can always be resolved. This is typically the case for clinical record systems, but often not the case for middleware/proxy systems.
Literal
literal
Literal References. The server supports and populates Literal references (i.e. using Reference.reference) where they are known (this code does not guarantee that all references are literal; see ‘enforced’).
Local
local
Local References Only. The server does not support references that point to other servers.
Logical
logical
Logical References. The server allows logical references (i.e. using Reference.identifier).
Resolves
resolves
Resolves References. The server will attempt to resolve logical references to literal references - i.e. converting Reference.identifier to Reference.reference (if resolution fails, the server may still accept resources; see logical).
Trait Implementations§
Source§impl AsRef<str> for ReferenceHandlingPolicy
impl AsRef<str> for ReferenceHandlingPolicy
Source§impl Clone for ReferenceHandlingPolicy
impl Clone for ReferenceHandlingPolicy
Source§fn clone(&self) -> ReferenceHandlingPolicy
fn clone(&self) -> ReferenceHandlingPolicy
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ReferenceHandlingPolicy
impl Debug for ReferenceHandlingPolicy
Source§impl<'de> Deserialize<'de> for ReferenceHandlingPolicy
impl<'de> Deserialize<'de> for ReferenceHandlingPolicy
Source§fn deserialize<D>(
deserializer: D,
) -> Result<ReferenceHandlingPolicy, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<ReferenceHandlingPolicy, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Source§impl Display for ReferenceHandlingPolicy
impl Display for ReferenceHandlingPolicy
Source§impl From<ReferenceHandlingPolicy> for CodeableConcept
impl From<ReferenceHandlingPolicy> for CodeableConcept
Source§fn from(code: ReferenceHandlingPolicy) -> CodeableConcept
fn from(code: ReferenceHandlingPolicy) -> CodeableConcept
Source§impl From<ReferenceHandlingPolicy> for Coding
impl From<ReferenceHandlingPolicy> for Coding
Source§fn from(code: ReferenceHandlingPolicy) -> Coding
fn from(code: ReferenceHandlingPolicy) -> Coding
Source§impl FromStr for ReferenceHandlingPolicy
impl FromStr for ReferenceHandlingPolicy
Source§impl Hash for ReferenceHandlingPolicy
impl Hash for ReferenceHandlingPolicy
Source§impl PartialEq for ReferenceHandlingPolicy
impl PartialEq for ReferenceHandlingPolicy
Source§impl Serialize for ReferenceHandlingPolicy
impl Serialize for ReferenceHandlingPolicy
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,
impl Copy for ReferenceHandlingPolicy
impl Eq for ReferenceHandlingPolicy
impl StructuralPartialEq for ReferenceHandlingPolicy
Auto Trait Implementations§
impl Freeze for ReferenceHandlingPolicy
impl RefUnwindSafe for ReferenceHandlingPolicy
impl Send for ReferenceHandlingPolicy
impl Sync for ReferenceHandlingPolicy
impl Unpin for ReferenceHandlingPolicy
impl UnwindSafe for ReferenceHandlingPolicy
Blanket Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.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<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string
, but without panic on OOM.