pub struct RangeBuilder { /* private fields */ }
Expand description
Builder for RangeInner
.
Implementations§
Source§impl RangeBuilder
impl RangeBuilder
Sourcepub fn id(self, value: String) -> RangeBuilder
pub fn id(self, value: String) -> RangeBuilder
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>) -> RangeBuilder
pub fn extension(self, value: Vec<Extension>) -> RangeBuilder
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 low(self, value: Quantity) -> RangeBuilder
pub fn low(self, value: Quantity) -> RangeBuilder
Low limit
The low limit. The boundary is inclusive.
If the low element is missing, the low boundary is not known.
Sourcepub fn low_ext(self, value: FieldExtension) -> RangeBuilder
pub fn low_ext(self, value: FieldExtension) -> RangeBuilder
Extension field.
Sourcepub fn high(self, value: Quantity) -> RangeBuilder
pub fn high(self, value: Quantity) -> RangeBuilder
High limit
The high limit. The boundary is inclusive.
If the high element is missing, the high boundary is not known.
Sourcepub fn high_ext(self, value: FieldExtension) -> RangeBuilder
pub fn high_ext(self, value: FieldExtension) -> RangeBuilder
Extension field.
Sourcepub fn build_inner(self) -> Result<RangeInner, BuilderError>
pub fn build_inner(self) -> Result<RangeInner, BuilderError>
Source§impl RangeBuilder
impl RangeBuilder
Sourcepub fn build(self) -> Result<Range, BuilderError>
pub fn build(self) -> Result<Range, BuilderError>
Finalize building Range.