pub enum ExtensionContextType {
Element,
Extension,
Fhirpath,
}
Expand description
ExtensionContextType. How an extension context is interpreted.
FHIR version: 5.0.0.
Variants§
Element
element
Element ID. The context is any element that has an ElementDefinition.id that matches that found in the expression. This includes ElementDefinition Ids that have slicing identifiers. The full path for the element is [url]#[elementid]. If there is no #, the Element id is one defined in the base specification.
Extension
extension
Extension URL. The context is a particular extension from a particular StructureDefinition, and the expression is just a uri that identifies the extension.
Fhirpath
fhirpath
FHIRPath. The context is all elements that match the FHIRPath query found in the expression.
Trait Implementations§
Source§impl AsRef<str> for ExtensionContextType
impl AsRef<str> for ExtensionContextType
Source§impl Clone for ExtensionContextType
impl Clone for ExtensionContextType
Source§fn clone(&self) -> ExtensionContextType
fn clone(&self) -> ExtensionContextType
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 ExtensionContextType
impl Debug for ExtensionContextType
Source§impl<'de> Deserialize<'de> for ExtensionContextType
impl<'de> Deserialize<'de> for ExtensionContextType
Source§fn deserialize<D>(
deserializer: D,
) -> Result<ExtensionContextType, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<ExtensionContextType, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ExtensionContextType
impl Display for ExtensionContextType
Source§impl From<ExtensionContextType> for CodeableConcept
impl From<ExtensionContextType> for CodeableConcept
Source§fn from(code: ExtensionContextType) -> CodeableConcept
fn from(code: ExtensionContextType) -> CodeableConcept
Converts to this type from the input type.
Source§impl From<ExtensionContextType> for Coding
impl From<ExtensionContextType> for Coding
Source§fn from(code: ExtensionContextType) -> Coding
fn from(code: ExtensionContextType) -> Coding
Converts to this type from the input type.
Source§impl FromStr for ExtensionContextType
impl FromStr for ExtensionContextType
Source§impl Hash for ExtensionContextType
impl Hash for ExtensionContextType
Source§impl PartialEq for ExtensionContextType
impl PartialEq for ExtensionContextType
Source§impl Serialize for ExtensionContextType
impl Serialize for ExtensionContextType
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
impl Copy for ExtensionContextType
impl Eq for ExtensionContextType
impl StructuralPartialEq for ExtensionContextType
Auto Trait Implementations§
impl Freeze for ExtensionContextType
impl RefUnwindSafe for ExtensionContextType
impl Send for ExtensionContextType
impl Sync for ExtensionContextType
impl Unpin for ExtensionContextType
impl UnwindSafe for ExtensionContextType
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
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<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
Compare self to
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.