pub struct ValueSetComposeIncludeConceptDesignationBuilder { /* private fields */ }
Expand description
Builder for ValueSetComposeIncludeConceptDesignation
.
Implementations§
Source§impl ValueSetComposeIncludeConceptDesignationBuilder
impl ValueSetComposeIncludeConceptDesignationBuilder
Sourcepub fn id(
self,
value: String,
) -> ValueSetComposeIncludeConceptDesignationBuilder
pub fn id( self, value: String, ) -> ValueSetComposeIncludeConceptDesignationBuilder
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>,
) -> ValueSetComposeIncludeConceptDesignationBuilder
pub fn extension( self, value: Vec<Extension>, ) -> ValueSetComposeIncludeConceptDesignationBuilder
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>,
) -> ValueSetComposeIncludeConceptDesignationBuilder
pub fn modifier_extension( self, value: Vec<Extension>, ) -> ValueSetComposeIncludeConceptDesignationBuilder
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 language(
self,
value: String,
) -> ValueSetComposeIncludeConceptDesignationBuilder
pub fn language( self, value: String, ) -> ValueSetComposeIncludeConceptDesignationBuilder
Language; Human language of the designation
The language this designation is defined for.
In the absence of a language, the resource language applies.
Sourcepub fn language_ext(
self,
value: FieldExtension,
) -> ValueSetComposeIncludeConceptDesignationBuilder
pub fn language_ext( self, value: FieldExtension, ) -> ValueSetComposeIncludeConceptDesignationBuilder
Extension field.
Sourcepub fn use(
self,
value: Coding,
) -> ValueSetComposeIncludeConceptDesignationBuilder
pub fn use( self, value: Coding, ) -> ValueSetComposeIncludeConceptDesignationBuilder
ConceptDesignationUse; Types of uses of designations
A code that represents types of uses of designations.
If no use is provided, the designation can be assumed to be suitable for general display to a human user.
Sourcepub fn use_ext(
self,
value: FieldExtension,
) -> ValueSetComposeIncludeConceptDesignationBuilder
pub fn use_ext( self, value: FieldExtension, ) -> ValueSetComposeIncludeConceptDesignationBuilder
Extension field.
Sourcepub fn additional_use(
self,
value: Vec<Option<Coding>>,
) -> ValueSetComposeIncludeConceptDesignationBuilder
pub fn additional_use( self, value: Vec<Option<Coding>>, ) -> ValueSetComposeIncludeConceptDesignationBuilder
ConceptDesignationUse; Additional ways how this designation would be used
Additional codes that detail how this designation would be used, if there is more than one use.
This was added rather than increasing the cardinality of .use to 0..* in order to maintain backward compatibility.
Sourcepub fn additional_use_ext(
self,
value: Vec<Option<FieldExtension>>,
) -> ValueSetComposeIncludeConceptDesignationBuilder
pub fn additional_use_ext( self, value: Vec<Option<FieldExtension>>, ) -> ValueSetComposeIncludeConceptDesignationBuilder
Extension field.
Sourcepub fn value(
self,
value: String,
) -> ValueSetComposeIncludeConceptDesignationBuilder
pub fn value( self, value: String, ) -> ValueSetComposeIncludeConceptDesignationBuilder
The text value for this designation
The text value for this designation.
Sourcepub fn value_ext(
self,
value: FieldExtension,
) -> ValueSetComposeIncludeConceptDesignationBuilder
pub fn value_ext( self, value: FieldExtension, ) -> ValueSetComposeIncludeConceptDesignationBuilder
Extension field.
Sourcepub fn build(
self,
) -> Result<ValueSetComposeIncludeConceptDesignation, BuilderError>
pub fn build( self, ) -> Result<ValueSetComposeIncludeConceptDesignation, BuilderError>
Builds a new ValueSetComposeIncludeConceptDesignation
.
§Errors
If a required field has not been initialized.