public static class MedicationPrescription.Dispense extends BaseIdentifiableElement implements IResourceBlock
Definition: Deals with details of the dispense part of the order
| Constructor and Description |
|---|
MedicationPrescription.Dispense() |
| Modifier and Type | Method and Description |
|---|---|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType)
Returns a list containing all child elements matching a given type
|
DurationDt |
getExpectedSupplyDuration()
Gets the value(s) for expectedSupplyDuration (Days supply per dispense).
|
ResourceReferenceDt |
getMedication()
Gets the value(s) for medication (Product to be supplied).
|
IntegerDt |
getNumberOfRepeatsAllowed()
Gets the value(s) for numberOfRepeatsAllowed (# of refills authorized).
|
QuantityDt |
getQuantity()
Gets the value(s) for quantity (Amount of medication to supply per dispense).
|
PeriodDt |
getValidityPeriod()
Gets the value(s) for validityPeriod (Time period supply is authorized for).
|
boolean |
isEmpty() |
MedicationPrescription.Dispense |
setExpectedSupplyDuration(DurationDt theValue)
Sets the value(s) for expectedSupplyDuration (Days supply per dispense)
|
MedicationPrescription.Dispense |
setMedication(ResourceReferenceDt theValue)
Sets the value(s) for medication (Product to be supplied)
|
MedicationPrescription.Dispense |
setNumberOfRepeatsAllowed(int theInteger)
Sets the value for numberOfRepeatsAllowed (# of refills authorized)
|
MedicationPrescription.Dispense |
setNumberOfRepeatsAllowed(IntegerDt theValue)
Sets the value(s) for numberOfRepeatsAllowed (# of refills authorized)
|
MedicationPrescription.Dispense |
setQuantity(double theValue)
Sets the value for quantity (Amount of medication to supply per dispense)
|
MedicationPrescription.Dispense |
setQuantity(long theValue)
Sets the value for quantity (Amount of medication to supply per dispense)
|
MedicationPrescription.Dispense |
setQuantity(QuantityCompararatorEnum theComparator,
double theValue,
String theUnits)
Sets the value for quantity (Amount of medication to supply per dispense)
|
MedicationPrescription.Dispense |
setQuantity(QuantityCompararatorEnum theComparator,
double theValue,
String theSystem,
String theUnits)
Sets the value for quantity (Amount of medication to supply per dispense)
|
MedicationPrescription.Dispense |
setQuantity(QuantityCompararatorEnum theComparator,
long theValue,
String theUnits)
Sets the value for quantity (Amount of medication to supply per dispense)
|
MedicationPrescription.Dispense |
setQuantity(QuantityCompararatorEnum theComparator,
long theValue,
String theSystem,
String theUnits)
Sets the value for quantity (Amount of medication to supply per dispense)
|
MedicationPrescription.Dispense |
setQuantity(QuantityDt theValue)
Sets the value(s) for quantity (Amount of medication to supply per dispense)
|
MedicationPrescription.Dispense |
setValidityPeriod(PeriodDt theValue)
Sets the value(s) for validityPeriod (Time period supply is authorized for)
|
getElementSpecificId, getId, setElementSpecificId, setId, setIdaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, isBaseEmptyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetElementSpecificId, getId, setElementSpecificId, setId, setIdpublic <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
ICompositeElementgetAllPopulatedChildElementsOfType in interface ICompositeElementtheType - The type to match. If set to null, all child elements will be returnedpublic ResourceReferenceDt getMedication()
null.
Definition: Identifies the medication that is to be dispensed. This may be a more specifically defined than the medicationPrescription.medication . This is either a link to a resource representing the details of the medication or a simple attribute carrying a code that identifies the medication from a known list of medications.
public MedicationPrescription.Dispense setMedication(ResourceReferenceDt theValue)
Definition: Identifies the medication that is to be dispensed. This may be a more specifically defined than the medicationPrescription.medication . This is either a link to a resource representing the details of the medication or a simple attribute carrying a code that identifies the medication from a known list of medications.
public PeriodDt getValidityPeriod()
null.
Definition: Design Comments: This indicates the validity period of a prescription (stale dating the Prescription) It reflects the prescriber perspective for the validity of the prescription. Dispenses must not be made against the prescription outside of this period. The lower-bound of the Dispensing Window signifies the earliest date that the prescription can be filled for the first time. If an upper-bound is not specified then the Prescription is open-ended or will default to a stale-date based on regulations. Rationale: Indicates when the Prescription becomes valid, and when it ceases to be a dispensable Prescription.
public MedicationPrescription.Dispense setValidityPeriod(PeriodDt theValue)
Definition: Design Comments: This indicates the validity period of a prescription (stale dating the Prescription) It reflects the prescriber perspective for the validity of the prescription. Dispenses must not be made against the prescription outside of this period. The lower-bound of the Dispensing Window signifies the earliest date that the prescription can be filled for the first time. If an upper-bound is not specified then the Prescription is open-ended or will default to a stale-date based on regulations. Rationale: Indicates when the Prescription becomes valid, and when it ceases to be a dispensable Prescription.
public IntegerDt getNumberOfRepeatsAllowed()
null.
Definition: An integer indicating the number of repeats of the Dispense. UsageNotes: For example, the number of times the prescribed quantity is to be supplied including the initial standard fill.
public MedicationPrescription.Dispense setNumberOfRepeatsAllowed(IntegerDt theValue)
Definition: An integer indicating the number of repeats of the Dispense. UsageNotes: For example, the number of times the prescribed quantity is to be supplied including the initial standard fill.
public MedicationPrescription.Dispense setNumberOfRepeatsAllowed(int theInteger)
Definition: An integer indicating the number of repeats of the Dispense. UsageNotes: For example, the number of times the prescribed quantity is to be supplied including the initial standard fill.
public QuantityDt getQuantity()
null.
Definition: The amount that is to be dispensed.
public MedicationPrescription.Dispense setQuantity(QuantityDt theValue)
Definition: The amount that is to be dispensed.
public MedicationPrescription.Dispense setQuantity(QuantityCompararatorEnum theComparator, double theValue, String theUnits)
Definition: The amount that is to be dispensed.
public MedicationPrescription.Dispense setQuantity(QuantityCompararatorEnum theComparator, long theValue, String theUnits)
Definition: The amount that is to be dispensed.
public MedicationPrescription.Dispense setQuantity(QuantityCompararatorEnum theComparator, double theValue, String theSystem, String theUnits)
Definition: The amount that is to be dispensed.
public MedicationPrescription.Dispense setQuantity(QuantityCompararatorEnum theComparator, long theValue, String theSystem, String theUnits)
Definition: The amount that is to be dispensed.
public MedicationPrescription.Dispense setQuantity(double theValue)
Definition: The amount that is to be dispensed.
public MedicationPrescription.Dispense setQuantity(long theValue)
Definition: The amount that is to be dispensed.
public DurationDt getExpectedSupplyDuration()
null.
Definition: Identifies the period time over which the supplied product is expected to be used, or the length of time the dispense is expected to last. In some situations, this attribute may be used instead of quantity to identify the amount supplied by how long it is expected to last, rather than the physical quantity issued, e.g. 90 days supply of medication (based on an ordered dosage) When possible, it is always better to specify quantity, as this tends to be more precise. expectedSupplyDuration will always be an estimate that can be influenced by external factors.
public MedicationPrescription.Dispense setExpectedSupplyDuration(DurationDt theValue)
Definition: Identifies the period time over which the supplied product is expected to be used, or the length of time the dispense is expected to last. In some situations, this attribute may be used instead of quantity to identify the amount supplied by how long it is expected to last, rather than the physical quantity issued, e.g. 90 days supply of medication (based on an ordered dosage) When possible, it is always better to specify quantity, as this tends to be more precise. expectedSupplyDuration will always be an estimate that can be influenced by external factors.
Copyright © 2014 University Health Network. All rights reserved.