Class Dosage_DoseAndRateBuilder.Impl
- java.lang.Object
-
- com.babylonhealth.lit.core_java.builders.Dosage_DoseAndRateBuilder.Impl
-
- All Implemented Interfaces:
Dosage_DoseAndRateBuilder
- Enclosing interface:
- Dosage_DoseAndRateBuilder
public static class Dosage_DoseAndRateBuilder.Impl extends java.lang.Object implements Dosage_DoseAndRateBuilder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.babylonhealth.lit.core_java.builders.Dosage_DoseAndRateBuilder
Dosage_DoseAndRateBuilder.Impl
-
-
Constructor Summary
Constructors Constructor Description Impl()Required fields forDosage.DoseAndRate
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.babylonhealth.lit.core.model.Dosage.DoseAndRatebuild()Dosage_DoseAndRateBuilder.ImplwithDose(@NonNull Unions.ChoiceQuantityOrRange dose)Dosage_DoseAndRateBuilder.ImplwithExtension(@NonNull ExtensionBuilder... extension)Dosage_DoseAndRateBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core.model.Extension... extension)Dosage_DoseAndRateBuilder.ImplwithExtension(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> extension)Dosage_DoseAndRateBuilder.ImplwithId(@NonNull java.lang.String id)Dosage_DoseAndRateBuilder.ImplwithRate(@NonNull Unions.ChoiceQuantityOrRangeOrRatio rate)Dosage_DoseAndRateBuilder.ImplwithType(@NonNull CodeableConceptBuilder _type)Dosage_DoseAndRateBuilder.ImplwithType(@NonNull com.babylonhealth.lit.core.model.CodeableConcept _type)
-
-
-
Method Detail
-
withId
public Dosage_DoseAndRateBuilder.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.
-
withType
public Dosage_DoseAndRateBuilder.Impl withType(@NonNull @NonNull com.babylonhealth.lit.core.model.CodeableConcept _type)
- Parameters:
_type-
-
withType
public Dosage_DoseAndRateBuilder.Impl withType(@NonNull @NonNull CodeableConceptBuilder _type)
-
withDose
public Dosage_DoseAndRateBuilder.Impl withDose(@NonNull @NonNull Unions.ChoiceQuantityOrRange dose)
- Parameters:
dose- Field is a 'choice' field. Type should be one of Quantity, Range. To pass the value in, wrap with one of the Dosage_DoseAndRateBuilder.dose static methods
-
withRate
public Dosage_DoseAndRateBuilder.Impl withRate(@NonNull @NonNull Unions.ChoiceQuantityOrRangeOrRatio rate)
- Parameters:
rate- Field is a 'choice' field. Type should be one of Quantity, Range, Ratio. To pass the value in, wrap with one of the Dosage_DoseAndRateBuilder.rate static methods
-
withExtension
public Dosage_DoseAndRateBuilder.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 Dosage_DoseAndRateBuilder.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 Dosage_DoseAndRateBuilder.Impl withExtension(@NonNull @NonNull ExtensionBuilder... extension)
-
build
public com.babylonhealth.lit.core.model.Dosage.DoseAndRate build()
- Specified by:
buildin interfaceDosage_DoseAndRateBuilder
-
-