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