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