pub enum StructureMapTransform {
Show 17 variants
Append,
C,
Cast,
Cc,
Copy,
Cp,
Create,
DateOp,
Escape,
Evaluate,
Id,
Pointer,
Qty,
Reference,
Translate,
Truncate,
Uuid,
}
Expand description
StructureMapTransform. How data is copied/created.
FHIR version: 5.0.0.
Variants§
Append
append
append. append(source…) - source is element or string.
C
c
c. Create a Coding. Parameters = (system. Code[, display]).
Cast
cast
cast. cast(source, type?) - cast (convert) source from one type to another. Target type can be left as implicit if there is one and only one target type known. The default namespace for the type is ‘FHIR’ (see FHIRPath type specifiers)
Cc
cc
cc. Create a CodeableConcept. Parameters = (text) or (system. Code[, display]).
Copy
copy
copy. copy(source).
Cp
cp
cp. Create a contact details. Parameters = (value) or (system, value). If no system is provided, the system should be inferred from the content of the value.
Create
create
create. create(type : string) - type is passed through to the application on the standard API, and must be known by it.
DateOp
dateOp
dateOp. Perform a date operation. Parameters to be documented.
Escape
escape
escape. escape(source, fmt1, fmt2) - change source from one kind of escaping to another (plain, java, xml, json). note that this is for when the string itself is escaped.
Evaluate
evaluate
evaluate. Execute the supplied FHIRPath expression and use the value returned by that.
Id
id
id. Create an identifier. Parameters = (system, value[, type]) where type is a code from the identifier type value set.
Pointer
pointer
pointer. Return the appropriate string to put in a reference that refers to the resource provided as a parameter.
Qty
qty
qty. Create a quantity. Parameters = (text) or (value, unit, [system, code]) where text is the natural representation e.g. [comparator]value[space]unit.
Reference
reference
reference. reference(source : object) - return a string that references the provided tree properly.
Translate
translate
translate. translate(source, uri_of_map) - use the translate operation.
Truncate
truncate
truncate. truncate(source, length) - source must be stringy type.
Uuid
uuid
uuid. Generate a random UUID (in lowercase). No Parameters.
Trait Implementations§
Source§impl AsRef<str> for StructureMapTransform
impl AsRef<str> for StructureMapTransform
Source§impl Clone for StructureMapTransform
impl Clone for StructureMapTransform
Source§fn clone(&self) -> StructureMapTransform
fn clone(&self) -> StructureMapTransform
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for StructureMapTransform
impl Debug for StructureMapTransform
Source§impl<'de> Deserialize<'de> for StructureMapTransform
impl<'de> Deserialize<'de> for StructureMapTransform
Source§fn deserialize<D>(
deserializer: D,
) -> Result<StructureMapTransform, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<StructureMapTransform, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Source§impl Display for StructureMapTransform
impl Display for StructureMapTransform
Source§impl From<StructureMapTransform> for CodeableConcept
impl From<StructureMapTransform> for CodeableConcept
Source§fn from(code: StructureMapTransform) -> CodeableConcept
fn from(code: StructureMapTransform) -> CodeableConcept
Source§impl From<StructureMapTransform> for Coding
impl From<StructureMapTransform> for Coding
Source§fn from(code: StructureMapTransform) -> Coding
fn from(code: StructureMapTransform) -> Coding
Source§impl FromStr for StructureMapTransform
impl FromStr for StructureMapTransform
Source§impl Hash for StructureMapTransform
impl Hash for StructureMapTransform
Source§impl PartialEq for StructureMapTransform
impl PartialEq for StructureMapTransform
Source§impl Serialize for StructureMapTransform
impl Serialize for StructureMapTransform
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 StructureMapTransform
impl Eq for StructureMapTransform
impl StructuralPartialEq for StructureMapTransform
Auto Trait Implementations§
impl Freeze for StructureMapTransform
impl RefUnwindSafe for StructureMapTransform
impl Send for StructureMapTransform
impl Sync for StructureMapTransform
impl Unpin for StructureMapTransform
impl UnwindSafe for StructureMapTransform
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.