pub struct ConceptMapGroupBuilder { /* private fields */ }
Expand description
Builder for ConceptMapGroup
.
Implementations§
Source§impl ConceptMapGroupBuilder
impl ConceptMapGroupBuilder
Sourcepub fn id(self, value: String) -> ConceptMapGroupBuilder
pub fn id(self, value: String) -> ConceptMapGroupBuilder
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>) -> ConceptMapGroupBuilder
pub fn extension(self, value: Vec<Extension>) -> ConceptMapGroupBuilder
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>) -> ConceptMapGroupBuilder
pub fn modifier_extension(self, value: Vec<Extension>) -> ConceptMapGroupBuilder
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 source(self, value: String) -> ConceptMapGroupBuilder
pub fn source(self, value: String) -> ConceptMapGroupBuilder
Source system where concepts to be mapped are defined
An absolute URI that identifies the source system where the concepts to be mapped are defined.
This is not needed if the source value set is specified and it contains concepts from only a single system.
Sourcepub fn source_ext(self, value: FieldExtension) -> ConceptMapGroupBuilder
pub fn source_ext(self, value: FieldExtension) -> ConceptMapGroupBuilder
Extension field.
Sourcepub fn target(self, value: String) -> ConceptMapGroupBuilder
pub fn target(self, value: String) -> ConceptMapGroupBuilder
Target system that the concepts are to be mapped to
An absolute URI that identifies the target system that the concepts will be mapped to.
This is not needed if the target value set is specified and it contains concepts from only a single system. The group target may also be omitted if all of the target element relationship values are ‘not-related-to’.
Sourcepub fn target_ext(self, value: FieldExtension) -> ConceptMapGroupBuilder
pub fn target_ext(self, value: FieldExtension) -> ConceptMapGroupBuilder
Extension field.
Sourcepub fn element(
self,
value: Vec<Option<ConceptMapGroupElement>>,
) -> ConceptMapGroupBuilder
pub fn element( self, value: Vec<Option<ConceptMapGroupElement>>, ) -> ConceptMapGroupBuilder
Mappings for a concept from the source set
Mappings for an individual concept in the source to one or more concepts in the target.
Generally, the ideal is that there would only be one mapping for each concept in the source value set, but a given concept may be mapped multiple times with different comments or dependencies.
Sourcepub fn element_ext(
self,
value: Vec<Option<FieldExtension>>,
) -> ConceptMapGroupBuilder
pub fn element_ext( self, value: Vec<Option<FieldExtension>>, ) -> ConceptMapGroupBuilder
Extension field.
Sourcepub fn unmapped(self, value: ConceptMapGroupUnmapped) -> ConceptMapGroupBuilder
pub fn unmapped(self, value: ConceptMapGroupUnmapped) -> ConceptMapGroupBuilder
What to do when there is no mapping target for the source concept and ConceptMap.group.element.noMap is not true
What to do when there is no mapping to a target concept from the source concept and ConceptMap.group.element.noMap is not true. This provides the “default” to be applied when there is no target concept mapping specified or the expansion of ConceptMap.group.element.target.valueSet is empty.
The ‘unmapped’ element is ignored if a code is specified to have relationship = not-related-to or if ConceptMap.group.element.noMap = true.
Sourcepub fn unmapped_ext(self, value: FieldExtension) -> ConceptMapGroupBuilder
pub fn unmapped_ext(self, value: FieldExtension) -> ConceptMapGroupBuilder
Extension field.