Class RangeBuilder.Impl
- java.lang.Object
-
- com.babylonhealth.lit.core_java.builders.RangeBuilder.Impl
-
- All Implemented Interfaces:
ElementBuilder,RangeBuilder
- Enclosing interface:
- RangeBuilder
public static class RangeBuilder.Impl extends java.lang.Object implements RangeBuilder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.babylonhealth.lit.core_java.builders.RangeBuilder
RangeBuilder.Impl
-
-
Constructor Summary
Constructors Constructor Description Impl()Required fields forRange
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.babylonhealth.lit.core.model.Rangebuild()RangeBuilder.ImplwithExtension(@NonNull ExtensionBuilder... extension)RangeBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core.model.Extension... extension)RangeBuilder.ImplwithExtension(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> extension)RangeBuilder.ImplwithHigh(@NonNull QuantityBuilder high)RangeBuilder.ImplwithHigh(@NonNull com.babylonhealth.lit.core.model.Quantity high)RangeBuilder.ImplwithId(@NonNull java.lang.String id)RangeBuilder.ImplwithLow(@NonNull QuantityBuilder low)RangeBuilder.ImplwithLow(@NonNull com.babylonhealth.lit.core.model.Quantity low)
-
-
-
Method Detail
-
withId
public RangeBuilder.Impl withId(@NonNull @NonNull java.lang.String id)
- Parameters:
id- - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
-
withLow
public RangeBuilder.Impl withLow(@NonNull @NonNull com.babylonhealth.lit.core.model.Quantity low)
- Parameters:
low- - The low limit. The boundary is inclusive.
-
withLow
public RangeBuilder.Impl withLow(@NonNull @NonNull QuantityBuilder low)
-
withHigh
public RangeBuilder.Impl withHigh(@NonNull @NonNull com.babylonhealth.lit.core.model.Quantity high)
- Parameters:
high- - The high limit. The boundary is inclusive.
-
withHigh
public RangeBuilder.Impl withHigh(@NonNull @NonNull QuantityBuilder high)
-
withExtension
public RangeBuilder.Impl withExtension(@NonNull @NonNull com.babylonhealth.lit.core.model.Extension... extension)
- Parameters:
extension- - 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 manageable, 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.
-
withExtension
public RangeBuilder.Impl withExtension(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> extension)
- Parameters:
extension- - 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 manageable, 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.
-
withExtension
public RangeBuilder.Impl withExtension(@NonNull @NonNull ExtensionBuilder... extension)
-
build
public com.babylonhealth.lit.core.model.Range build()
- Specified by:
buildin interfaceElementBuilder- Specified by:
buildin interfaceRangeBuilder
-
-