pub struct StructureMapGroupRuleSource {Show 14 fields
pub id: Option<String>,
pub extension: Option<Vec<Box<Extension>>>,
pub modifierExtension: Option<Vec<Box<Extension>>>,
pub context: Box<FHIRId>,
pub min: Option<Box<FHIRInteger>>,
pub max: Option<Box<FHIRString>>,
pub type_: Option<Box<FHIRString>>,
pub defaultValue: Option<StructureMapGroupRuleSourceDefaultValueTypeChoice>,
pub element: Option<Box<FHIRString>>,
pub listMode: Option<Box<MapSourceListMode>>,
pub variable: Option<Box<FHIRId>>,
pub condition: Option<Box<FHIRString>>,
pub check: Option<Box<FHIRString>>,
pub logMessage: Option<Box<FHIRString>>,
}Expand description
Source inputs to the mapping.
Fields§
§id: Option<String>Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
extension: Option<Vec<Box<Extension>>>May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
modifierExtension: Option<Vec<Box<Extension>>>May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element’s descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.
Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
context: Box<FHIRId>Type or variable this rule applies to.
min: Option<Box<FHIRInteger>>Specified minimum cardinality for the element. This is optional; if present, it acts an implicit check on the input content.
max: Option<Box<FHIRString>>Specified maximum cardinality for the element - a number or a “”. This is optional; if present, it acts an implicit check on the input content ( just serves as documentation; it’s the default value).
type_: Option<Box<FHIRString>>Specified type for the element. This works as a condition on the mapping - use for polymorphic elements.
defaultValue: Option<StructureMapGroupRuleSourceDefaultValueTypeChoice>A value to use if there is no existing value in the source object.
element: Option<Box<FHIRString>>Optional field for this source.
listMode: Option<Box<MapSourceListMode>>How to handle the list mode for this element.
variable: Option<Box<FHIRId>>Named context for field, if a field is specified.
condition: Option<Box<FHIRString>>FHIRPath expression - must be true or the rule does not apply.
check: Option<Box<FHIRString>>FHIRPath expression - must be true or the mapping engine throws an error instead of completing.
logMessage: Option<Box<FHIRString>>A FHIRPath expression which specifies a message to put in the transform log when content matching the source rule is found.
Trait Implementations§
Source§impl Clone for StructureMapGroupRuleSource
impl Clone for StructureMapGroupRuleSource
Source§fn clone(&self) -> StructureMapGroupRuleSource
fn clone(&self) -> StructureMapGroupRuleSource
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for StructureMapGroupRuleSource
impl Debug for StructureMapGroupRuleSource
Source§impl Default for StructureMapGroupRuleSource
impl Default for StructureMapGroupRuleSource
Source§fn default() -> StructureMapGroupRuleSource
fn default() -> StructureMapGroupRuleSource
Source§impl FHIRJSONDeserializer for StructureMapGroupRuleSource
impl FHIRJSONDeserializer for StructureMapGroupRuleSource
fn from_json_str(s: &str) -> Result<Self, DeserializeError>
fn from_serde_value( obj: &Value, context: Context<'_>, ) -> Result<Self, DeserializeError>
Source§impl FHIRJSONSerializer for StructureMapGroupRuleSource
impl FHIRJSONSerializer for StructureMapGroupRuleSource
fn serialize_value( &self, writer: &mut dyn Write, ) -> Result<bool, SerializeError>
fn serialize_extension( &self, writer: &mut dyn Write, ) -> Result<bool, SerializeError>
fn serialize_field( &self, field: &str, writer: &mut dyn Write, ) -> Result<bool, SerializeError>
fn is_fp_primitive(&self) -> bool
Source§impl MetaValue for StructureMapGroupRuleSource
impl MetaValue for StructureMapGroupRuleSource
fn fields(&self) -> Vec<&'static str>
fn get_field<'a>(&'a self, field: &str) -> Option<&'a dyn MetaValue>
fn get_field_mut<'a>(&'a mut self, field: &str) -> Option<&'a mut dyn MetaValue>
fn get_index_mut<'a>( &'a mut self, index: usize, ) -> Option<&'a mut dyn MetaValue>
fn get_index<'a>(&'a self, _index: usize) -> Option<&'a dyn MetaValue>
fn typename(&self) -> &'static str
fn as_any(&self) -> &dyn Any
fn flatten(&self) -> Vec<&dyn MetaValue>
Auto Trait Implementations§
impl Freeze for StructureMapGroupRuleSource
impl RefUnwindSafe for StructureMapGroupRuleSource
impl Send for StructureMapGroupRuleSource
impl Sync for StructureMapGroupRuleSource
impl Unpin for StructureMapGroupRuleSource
impl UnwindSafe for StructureMapGroupRuleSource
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more