Class MedicationRequest_DispenseRequestBuilder.Impl
- java.lang.Object
-
- com.babylonhealth.lit.hl7_java.builders.MedicationRequest_DispenseRequestBuilder.Impl
-
- All Implemented Interfaces:
MedicationRequest_DispenseRequestBuilder
- Enclosing interface:
- MedicationRequest_DispenseRequestBuilder
public static class MedicationRequest_DispenseRequestBuilder.Impl extends java.lang.Object implements MedicationRequest_DispenseRequestBuilder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.babylonhealth.lit.hl7_java.builders.MedicationRequest_DispenseRequestBuilder
MedicationRequest_DispenseRequestBuilder.Impl
-
-
Constructor Summary
Constructors Constructor Description Impl()Required fields forMedicationRequest.DispenseRequest
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.babylonhealth.lit.hl7.model.MedicationRequest.DispenseRequestbuild()MedicationRequest_DispenseRequestBuilder.ImplwithDispenseInterval(@NonNull com.babylonhealth.lit.core_java.builders.DurationBuilder dispenseInterval)MedicationRequest_DispenseRequestBuilder.ImplwithDispenseInterval(@NonNull com.babylonhealth.lit.core.model.Duration dispenseInterval)MedicationRequest_DispenseRequestBuilder.ImplwithExpectedSupplyDuration(@NonNull com.babylonhealth.lit.core_java.builders.DurationBuilder expectedSupplyDuration)MedicationRequest_DispenseRequestBuilder.ImplwithExpectedSupplyDuration(@NonNull com.babylonhealth.lit.core.model.Duration expectedSupplyDuration)MedicationRequest_DispenseRequestBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... extension)MedicationRequest_DispenseRequestBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core.model.Extension... extension)MedicationRequest_DispenseRequestBuilder.ImplwithExtension(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> extension)MedicationRequest_DispenseRequestBuilder.ImplwithId(@NonNull java.lang.String id)MedicationRequest_DispenseRequestBuilder.ImplwithInitialFill(@NonNull MedicationRequest_DispenseRequest_InitialFillBuilder initialFill)MedicationRequest_DispenseRequestBuilder.ImplwithInitialFill(@NonNull com.babylonhealth.lit.hl7.model.MedicationRequest$DispenseRequest$InitialFill initialFill)MedicationRequest_DispenseRequestBuilder.ImplwithModifierExtension(@NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... modifierExtension)MedicationRequest_DispenseRequestBuilder.ImplwithModifierExtension(@NonNull com.babylonhealth.lit.core.model.Extension... modifierExtension)MedicationRequest_DispenseRequestBuilder.ImplwithModifierExtension(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> modifierExtension)MedicationRequest_DispenseRequestBuilder.ImplwithNumberOfRepeatsAllowed(@NonNull java.lang.Integer numberOfRepeatsAllowed)MedicationRequest_DispenseRequestBuilder.ImplwithPerformer(@NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder performer)MedicationRequest_DispenseRequestBuilder.ImplwithPerformer(@NonNull com.babylonhealth.lit.core.model.Reference performer)MedicationRequest_DispenseRequestBuilder.ImplwithQuantity(@NonNull com.babylonhealth.lit.core_java.builders.QuantityBuilder quantity)MedicationRequest_DispenseRequestBuilder.ImplwithQuantity(@NonNull com.babylonhealth.lit.core.model.Quantity quantity)MedicationRequest_DispenseRequestBuilder.ImplwithValidityPeriod(@NonNull com.babylonhealth.lit.core_java.builders.PeriodBuilder validityPeriod)MedicationRequest_DispenseRequestBuilder.ImplwithValidityPeriod(@NonNull com.babylonhealth.lit.core.model.Period validityPeriod)
-
-
-
Method Detail
-
withId
public MedicationRequest_DispenseRequestBuilder.Impl withId(@NonNull @NonNull java.lang.String id)
- Parameters:
id- - The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
-
withQuantity
public MedicationRequest_DispenseRequestBuilder.Impl withQuantity(@NonNull @NonNull com.babylonhealth.lit.core.model.Quantity quantity)
- Parameters:
quantity-
-
withQuantity
public MedicationRequest_DispenseRequestBuilder.Impl withQuantity(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.QuantityBuilder quantity)
-
withExtension
public MedicationRequest_DispenseRequestBuilder.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 resource. 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 MedicationRequest_DispenseRequestBuilder.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 resource. 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 MedicationRequest_DispenseRequestBuilder.Impl withExtension(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... extension)
-
withPerformer
public MedicationRequest_DispenseRequestBuilder.Impl withPerformer(@NonNull @NonNull com.babylonhealth.lit.core.model.Reference performer)
- Parameters:
performer- - The specified desired performer of the medication treatment (e.g. the performer of the medication administration).
-
withPerformer
public MedicationRequest_DispenseRequestBuilder.Impl withPerformer(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder performer)
-
withValidityPeriod
public MedicationRequest_DispenseRequestBuilder.Impl withValidityPeriod(@NonNull @NonNull com.babylonhealth.lit.core.model.Period validityPeriod)
- Parameters:
validityPeriod-
-
withValidityPeriod
public MedicationRequest_DispenseRequestBuilder.Impl withValidityPeriod(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.PeriodBuilder validityPeriod)
-
withDispenseInterval
public MedicationRequest_DispenseRequestBuilder.Impl withDispenseInterval(@NonNull @NonNull com.babylonhealth.lit.core.model.Duration dispenseInterval)
- Parameters:
dispenseInterval-
-
withDispenseInterval
public MedicationRequest_DispenseRequestBuilder.Impl withDispenseInterval(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.DurationBuilder dispenseInterval)
-
withModifierExtension
public MedicationRequest_DispenseRequestBuilder.Impl withModifierExtension(@NonNull @NonNull com.babylonhealth.lit.core.model.Extension... modifierExtension)
- Parameters:
modifierExtension- - May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it 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 manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to 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).
-
withModifierExtension
public MedicationRequest_DispenseRequestBuilder.Impl withModifierExtension(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> modifierExtension)
- Parameters:
modifierExtension- - May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it 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 manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to 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).
-
withModifierExtension
public MedicationRequest_DispenseRequestBuilder.Impl withModifierExtension(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... modifierExtension)
-
withNumberOfRepeatsAllowed
public MedicationRequest_DispenseRequestBuilder.Impl withNumberOfRepeatsAllowed(@NonNull @NonNull java.lang.Integer numberOfRepeatsAllowed)
- Parameters:
numberOfRepeatsAllowed-
-
withExpectedSupplyDuration
public MedicationRequest_DispenseRequestBuilder.Impl withExpectedSupplyDuration(@NonNull @NonNull com.babylonhealth.lit.core.model.Duration expectedSupplyDuration)
- Parameters:
expectedSupplyDuration-
-
withExpectedSupplyDuration
public MedicationRequest_DispenseRequestBuilder.Impl withExpectedSupplyDuration(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.DurationBuilder expectedSupplyDuration)
-
withInitialFill
public MedicationRequest_DispenseRequestBuilder.Impl withInitialFill(@NonNull @NonNull com.babylonhealth.lit.hl7.model.MedicationRequest$DispenseRequest$InitialFill initialFill)
- Parameters:
initialFill-
-
withInitialFill
public MedicationRequest_DispenseRequestBuilder.Impl withInitialFill(@NonNull @NonNull MedicationRequest_DispenseRequest_InitialFillBuilder initialFill)
-
build
public com.babylonhealth.lit.hl7.model.MedicationRequest.DispenseRequest build()
- Specified by:
buildin interfaceMedicationRequest_DispenseRequestBuilder
-
-