pub struct ConceptMapGroupElementBuilder { /* private fields */ }
Expand description
Builder for ConceptMapGroupElement
.
Implementations§
Source§impl ConceptMapGroupElementBuilder
impl ConceptMapGroupElementBuilder
Sourcepub fn id(self, value: String) -> ConceptMapGroupElementBuilder
pub fn id(self, value: String) -> ConceptMapGroupElementBuilder
Unique id for inter-element referencing
Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Sourcepub fn extension(self, value: Vec<Extension>) -> ConceptMapGroupElementBuilder
pub fn extension(self, value: Vec<Extension>) -> ConceptMapGroupElementBuilder
Additional content defined by implementations
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 managable, 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.
There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
Sourcepub fn modifier_extension(
self,
value: Vec<Extension>,
) -> ConceptMapGroupElementBuilder
pub fn modifier_extension( self, value: Vec<Extension>, ) -> ConceptMapGroupElementBuilder
Extensions that cannot be ignored even if unrecognized
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 managable, 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).
There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
Sourcepub fn code(self, value: String) -> ConceptMapGroupElementBuilder
pub fn code(self, value: String) -> ConceptMapGroupElementBuilder
Identifies element being mapped
Identity (code or path) or the element/item being mapped.
Sourcepub fn code_ext(self, value: FieldExtension) -> ConceptMapGroupElementBuilder
pub fn code_ext(self, value: FieldExtension) -> ConceptMapGroupElementBuilder
Extension field.
Sourcepub fn display(self, value: String) -> ConceptMapGroupElementBuilder
pub fn display(self, value: String) -> ConceptMapGroupElementBuilder
Display for the code
The display for the code. The display is only provided to help editors when editing the concept map.
The display is ignored when processing the map.
Sourcepub fn display_ext(self, value: FieldExtension) -> ConceptMapGroupElementBuilder
pub fn display_ext(self, value: FieldExtension) -> ConceptMapGroupElementBuilder
Extension field.
Sourcepub fn value_set(self, value: String) -> ConceptMapGroupElementBuilder
pub fn value_set(self, value: String) -> ConceptMapGroupElementBuilder
Identifies the set of concepts being mapped
The set of concepts from the ConceptMap.group.source code system which are all being mapped to the target as part of this mapping rule.
If the value set expansion is empty then there are no source concepts to map in this rule.
Sourcepub fn value_set_ext(
self,
value: FieldExtension,
) -> ConceptMapGroupElementBuilder
pub fn value_set_ext( self, value: FieldExtension, ) -> ConceptMapGroupElementBuilder
Extension field.
Sourcepub fn no_map(self, value: bool) -> ConceptMapGroupElementBuilder
pub fn no_map(self, value: bool) -> ConceptMapGroupElementBuilder
No mapping to a target concept for this source concept
If noMap = true this indicates that no mapping to a target concept exists for this source concept.
If noMap = true, then the behavior of ConceptMap.group.unmapped (if present) does not apply.
Sourcepub fn no_map_ext(self, value: FieldExtension) -> ConceptMapGroupElementBuilder
pub fn no_map_ext(self, value: FieldExtension) -> ConceptMapGroupElementBuilder
Extension field.
Sourcepub fn target(
self,
value: Vec<Option<ConceptMapGroupElementTarget>>,
) -> ConceptMapGroupElementBuilder
pub fn target( self, value: Vec<Option<ConceptMapGroupElementTarget>>, ) -> ConceptMapGroupElementBuilder
Concept in target system for element
A concept from the target value set that this concept maps to.
Ideally there would only be one map, with an ‘equivalent’ mapping. But multiple maps are allowed for several narrower (i.e. source-is-broader-than-target) options, or to assert that other concepts are not related.
Sourcepub fn target_ext(
self,
value: Vec<Option<FieldExtension>>,
) -> ConceptMapGroupElementBuilder
pub fn target_ext( self, value: Vec<Option<FieldExtension>>, ) -> ConceptMapGroupElementBuilder
Extension field.