pub struct ElementDefinitionMappingBuilder { /* private fields */ }
Expand description
Builder for ElementDefinitionMapping
.
Implementations§
Source§impl ElementDefinitionMappingBuilder
impl ElementDefinitionMappingBuilder
Sourcepub fn id(self, value: String) -> ElementDefinitionMappingBuilder
pub fn id(self, value: String) -> ElementDefinitionMappingBuilder
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>) -> ElementDefinitionMappingBuilder
pub fn extension(self, value: Vec<Extension>) -> ElementDefinitionMappingBuilder
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 identity(self, value: String) -> ElementDefinitionMappingBuilder
pub fn identity(self, value: String) -> ElementDefinitionMappingBuilder
Reference to mapping declaration
An internal reference to the definition of a mapping.
Sourcepub fn identity_ext(
self,
value: FieldExtension,
) -> ElementDefinitionMappingBuilder
pub fn identity_ext( self, value: FieldExtension, ) -> ElementDefinitionMappingBuilder
Extension field.
Sourcepub fn language(self, value: String) -> ElementDefinitionMappingBuilder
pub fn language(self, value: String) -> ElementDefinitionMappingBuilder
MimeType; Computable language of mapping
Identifies the computable language in which mapping.map is expressed.
If omitted, then there can be no expectation of computational interpretation of the mapping.
Sourcepub fn language_ext(
self,
value: FieldExtension,
) -> ElementDefinitionMappingBuilder
pub fn language_ext( self, value: FieldExtension, ) -> ElementDefinitionMappingBuilder
Extension field.
Sourcepub fn map(self, value: String) -> ElementDefinitionMappingBuilder
pub fn map(self, value: String) -> ElementDefinitionMappingBuilder
Details of the mapping
Expresses what part of the target specification corresponds to this element.
For most mappings, the syntax is undefined. Syntax will be provided for mappings to the RIM. Multiple mappings may be possible and may include constraints on other resource elements that identify when a particular mapping applies.
Sourcepub fn map_ext(self, value: FieldExtension) -> ElementDefinitionMappingBuilder
pub fn map_ext(self, value: FieldExtension) -> ElementDefinitionMappingBuilder
Extension field.
Sourcepub fn comment(self, value: String) -> ElementDefinitionMappingBuilder
pub fn comment(self, value: String) -> ElementDefinitionMappingBuilder
Comments about the mapping or its use
Comments that provide information about the mapping or its use.
Sourcepub fn comment_ext(
self,
value: FieldExtension,
) -> ElementDefinitionMappingBuilder
pub fn comment_ext( self, value: FieldExtension, ) -> ElementDefinitionMappingBuilder
Extension field.