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