public class DispenseItemBuilder extends Object
| Constructor and Description |
|---|
DispenseItemBuilder() |
| Modifier and Type | Method and Description |
|---|---|
DispenseItemBuilder |
addExtemporaneousIngredients(Ingredient i)
Add a patient category.
|
DispenseItemBuilder |
additionalComments(String comments)
Add additionalComments.
|
DispenseItem |
build()
Builds a completed prescription item.
|
DispenseItemBuilder |
claimTypeCategory(Coded category)
Add a claim type category.
Mandatory Field |
DispenseItemBuilder |
closeTheGapId(UniqueIdentifier closeTheGapId)
Add a close the gap ID.
|
DispenseItemBuilder |
dispenseItem(UniqueIdentifier id)
Add a dispense item identifier.
Mandatory Field |
DispenseItemBuilder |
dispensingStatusType(DispensingStatusType type)
Add a dispensing status.
Mandatory Field |
DispenseItemBuilder |
earlySupplyWithBenifit(boolean earlySupplyWithBenefit)
Add a code identifying the supply as early with pbs benefits.
|
DispenseItemBuilder |
eventDate(ZonedDateTime date)
Add a dispense event date.
Mandatory Field |
DispenseItemBuilder |
formula(String formula)
Add a formula.
|
DispenseItemBuilder |
isbrandSubstitutionOccured(boolean isSubstituted)
Add an indicator to signal whether brand substitution occurred or not.
Mandatory Field |
void |
isValid() |
DispenseItemBuilder |
labelInstruction(String instruction)
Add a label instruction
|
DispenseItemBuilder |
maximumNumberOfRepeats(int maxRepeats)
Add a maximum number of repeats.
Mandatory Field |
DispenseItemBuilder |
numberOfThisDispense(int numberOfThisDispense)
Add a maximum number of repeats.
Mandatory Field |
DispenseItemBuilder |
patientCategory(PatientCategory category)
Add a patient category.
Mandatory Field |
DispenseItemBuilder |
pbsItemCode(Coded code)
Add a PBS/RPBS item code.
|
DispenseItemBuilder |
pbsManufacturerCode(UniqueIdentifier pbsManufacturerCode)
Add a PBS/RPBS manufacturer code.
|
DispenseItemBuilder |
prescriptionItem(UniqueIdentifier id)
Add a prescription item identifier.
Mandatory Field |
DispenseItemBuilder |
quantityDispensed(QuantityUnitDescription quantityDispensed)
Add quantity dispensed.
Mandatory Field |
DispenseItemBuilder |
racfId(String racfId)
Add an racf Id.
|
DispenseItemBuilder |
therapeuticGood(Code code)
Add a Therapeutic Good identifier.
Mandatory Field |
DispenseItemBuilder |
underCoPayment(ClaimTypeCategory underCoPayment)
Add a code signalling this item was under co-payment.
|
public DispenseItemBuilder therapeuticGood(Code code)
May be chained with other calls.
public DispenseItemBuilder eventDate(ZonedDateTime date)
May be chained with other calls.
public DispenseItemBuilder prescriptionItem(UniqueIdentifier id)
May be chained with other calls.
public DispenseItemBuilder dispenseItem(UniqueIdentifier id)
May be chained with other calls.
public DispenseItemBuilder isbrandSubstitutionOccured(boolean isSubstituted)
May be chained with other calls.
public DispenseItemBuilder maximumNumberOfRepeats(int maxRepeats)
May be chained with other calls.
public DispenseItemBuilder numberOfThisDispense(int numberOfThisDispense)
May be chained with other calls.
public DispenseItemBuilder quantityDispensed(QuantityUnitDescription quantityDispensed)
May be chained with other calls.
public DispenseItemBuilder claimTypeCategory(Coded category)
May be chained with other calls.
public DispenseItemBuilder patientCategory(PatientCategory category)
May be chained with other calls.
public DispenseItemBuilder dispensingStatusType(DispensingStatusType type)
May be chained with other calls.
public DispenseItemBuilder addExtemporaneousIngredients(Ingredient i)
This method may be called repeatedly without overwriting the previous value.
May be chained with other calls.
public DispenseItemBuilder formula(String formula)
May be chained with other calls.
public DispenseItemBuilder labelInstruction(String instruction)
may be chained with other calls
public DispenseItemBuilder closeTheGapId(UniqueIdentifier closeTheGapId)
May be chained with other calls.
public DispenseItemBuilder pbsItemCode(Coded code)
May be chained with other calls.
public DispenseItemBuilder pbsManufacturerCode(UniqueIdentifier pbsManufacturerCode)
May be chained with other calls.
public DispenseItemBuilder underCoPayment(ClaimTypeCategory underCoPayment)
May be chained with other calls.
public DispenseItemBuilder earlySupplyWithBenifit(boolean earlySupplyWithBenefit)
May be chained with other calls.
public DispenseItemBuilder additionalComments(String comments)
May be chained with other calls.
public DispenseItemBuilder racfId(String racfId)
May be chained with other calls.
public DispenseItem build() throws IllegalArgumentException
IllegalArgumentException - if illegal argument providedpublic void isValid()
throws IllegalArgumentException
IllegalArgumentExceptionCopyright © 2021. All rights reserved.