public static class Supply.Dispense extends BaseIdentifiableElement implements IResourceBlock
Definition: Indicates the details of the dispense event such as the days supply and quantity of a supply dispensed.
| Constructor and Description |
|---|
Supply.Dispense() |
| Modifier and Type | Method and Description |
|---|---|
ResourceReferenceDt |
addReceiver()
Adds and returns a new value for receiver (Who collected the Supply)
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType)
Returns a list containing all child elements matching a given type
|
ResourceReferenceDt |
getDestination()
Gets the value(s) for destination (Where the Supply was sent).
|
IdentifierDt |
getIdentifier()
Gets the value(s) for identifier (External identifier).
|
QuantityDt |
getQuantity()
Gets the value(s) for quantity (Amount dispensed).
|
List<ResourceReferenceDt> |
getReceiver()
Gets the value(s) for receiver (Who collected the Supply).
|
BoundCodeDt<SupplyDispenseStatusEnum> |
getStatus()
Gets the value(s) for status (in progress | dispensed | abandoned).
|
ResourceReferenceDt |
getSuppliedItem()
Gets the value(s) for suppliedItem (Medication, Substance, or Device supplied).
|
ResourceReferenceDt |
getSupplier()
Gets the value(s) for supplier (Dispenser).
|
BoundCodeableConceptDt<SupplyItemTypeEnum> |
getType()
Gets the value(s) for type (Category of dispense event).
|
PeriodDt |
getWhenHandedOver()
Gets the value(s) for whenHandedOver (Handover time).
|
PeriodDt |
getWhenPrepared()
Gets the value(s) for whenPrepared (Dispensing time).
|
boolean |
isEmpty() |
Supply.Dispense |
setDestination(ResourceReferenceDt theValue)
Sets the value(s) for destination (Where the Supply was sent)
|
Supply.Dispense |
setIdentifier(IdentifierDt theValue)
Sets the value(s) for identifier (External identifier)
|
Supply.Dispense |
setIdentifier(IdentifierUseEnum theUse,
String theSystem,
String theValue,
String theLabel)
Sets the value for identifier (External identifier)
|
Supply.Dispense |
setIdentifier(String theSystem,
String theValue)
Sets the value for identifier (External identifier)
|
Supply.Dispense |
setQuantity(double theValue)
Sets the value for quantity (Amount dispensed)
|
Supply.Dispense |
setQuantity(long theValue)
Sets the value for quantity (Amount dispensed)
|
Supply.Dispense |
setQuantity(QuantityCompararatorEnum theComparator,
double theValue,
String theUnits)
Sets the value for quantity (Amount dispensed)
|
Supply.Dispense |
setQuantity(QuantityCompararatorEnum theComparator,
double theValue,
String theSystem,
String theUnits)
Sets the value for quantity (Amount dispensed)
|
Supply.Dispense |
setQuantity(QuantityCompararatorEnum theComparator,
long theValue,
String theUnits)
Sets the value for quantity (Amount dispensed)
|
Supply.Dispense |
setQuantity(QuantityCompararatorEnum theComparator,
long theValue,
String theSystem,
String theUnits)
Sets the value for quantity (Amount dispensed)
|
Supply.Dispense |
setQuantity(QuantityDt theValue)
Sets the value(s) for quantity (Amount dispensed)
|
Supply.Dispense |
setReceiver(List<ResourceReferenceDt> theValue)
Sets the value(s) for receiver (Who collected the Supply)
|
Supply.Dispense |
setStatus(BoundCodeDt<SupplyDispenseStatusEnum> theValue)
Sets the value(s) for status (in progress | dispensed | abandoned)
|
Supply.Dispense |
setStatus(SupplyDispenseStatusEnum theValue)
Sets the value(s) for status (in progress | dispensed | abandoned)
|
Supply.Dispense |
setSuppliedItem(ResourceReferenceDt theValue)
Sets the value(s) for suppliedItem (Medication, Substance, or Device supplied)
|
Supply.Dispense |
setSupplier(ResourceReferenceDt theValue)
Sets the value(s) for supplier (Dispenser)
|
Supply.Dispense |
setType(BoundCodeableConceptDt<SupplyItemTypeEnum> theValue)
Sets the value(s) for type (Category of dispense event)
|
Supply.Dispense |
setType(SupplyItemTypeEnum theValue)
Sets the value(s) for type (Category of dispense event)
|
Supply.Dispense |
setWhenHandedOver(PeriodDt theValue)
Sets the value(s) for whenHandedOver (Handover time)
|
Supply.Dispense |
setWhenPrepared(PeriodDt theValue)
Sets the value(s) for whenPrepared (Dispensing time)
|
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 IdentifierDt getIdentifier()
null.
Definition: Identifier assigned by the dispensing facility when the dispense occurs
public Supply.Dispense setIdentifier(IdentifierDt theValue)
Definition: Identifier assigned by the dispensing facility when the dispense occurs
public Supply.Dispense setIdentifier(IdentifierUseEnum theUse, String theSystem, String theValue, String theLabel)
Definition: Identifier assigned by the dispensing facility when the dispense occurs
public Supply.Dispense setIdentifier(String theSystem, String theValue)
Definition: Identifier assigned by the dispensing facility when the dispense occurs
public BoundCodeDt<SupplyDispenseStatusEnum> getStatus()
null.
Definition: A code specifying the state of the dispense event.
public Supply.Dispense setStatus(BoundCodeDt<SupplyDispenseStatusEnum> theValue)
Definition: A code specifying the state of the dispense event.
public Supply.Dispense setStatus(SupplyDispenseStatusEnum theValue)
Definition: A code specifying the state of the dispense event.
public BoundCodeableConceptDt<SupplyItemTypeEnum> getType()
null.
Definition: Indicates the type of dispensing event that is performed. Examples include: Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc.
public Supply.Dispense setType(BoundCodeableConceptDt<SupplyItemTypeEnum> theValue)
Definition: Indicates the type of dispensing event that is performed. Examples include: Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc.
public Supply.Dispense setType(SupplyItemTypeEnum theValue)
Definition: Indicates the type of dispensing event that is performed. Examples include: Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc.
public QuantityDt getQuantity()
null.
Definition: The amount of supply that has been dispensed. Includes unit of measure.
public Supply.Dispense setQuantity(QuantityDt theValue)
Definition: The amount of supply that has been dispensed. Includes unit of measure.
public Supply.Dispense setQuantity(QuantityCompararatorEnum theComparator, double theValue, String theUnits)
Definition: The amount of supply that has been dispensed. Includes unit of measure.
public Supply.Dispense setQuantity(QuantityCompararatorEnum theComparator, long theValue, String theUnits)
Definition: The amount of supply that has been dispensed. Includes unit of measure.
public Supply.Dispense setQuantity(QuantityCompararatorEnum theComparator, double theValue, String theSystem, String theUnits)
Definition: The amount of supply that has been dispensed. Includes unit of measure.
public Supply.Dispense setQuantity(QuantityCompararatorEnum theComparator, long theValue, String theSystem, String theUnits)
Definition: The amount of supply that has been dispensed. Includes unit of measure.
public Supply.Dispense setQuantity(double theValue)
Definition: The amount of supply that has been dispensed. Includes unit of measure.
public Supply.Dispense setQuantity(long theValue)
Definition: The amount of supply that has been dispensed. Includes unit of measure.
public ResourceReferenceDt getSuppliedItem()
null.
Definition: Identifies the medication or substance being dispensed. This is either a link to a resource representing the details of the medication or substance or a simple attribute carrying a code that identifies the medication from a known list of medications.
public Supply.Dispense setSuppliedItem(ResourceReferenceDt theValue)
Definition: Identifies the medication or substance being dispensed. This is either a link to a resource representing the details of the medication or substance or a simple attribute carrying a code that identifies the medication from a known list of medications.
public ResourceReferenceDt getSupplier()
null.
Definition: The individual responsible for dispensing the medication
public Supply.Dispense setSupplier(ResourceReferenceDt theValue)
Definition: The individual responsible for dispensing the medication
public PeriodDt getWhenPrepared()
null.
Definition: The time the dispense event occurred.
public Supply.Dispense setWhenPrepared(PeriodDt theValue)
Definition: The time the dispense event occurred.
public PeriodDt getWhenHandedOver()
null.
Definition: The time the dispensed item was sent or handed to the patient (or agent).
public Supply.Dispense setWhenHandedOver(PeriodDt theValue)
Definition: The time the dispensed item was sent or handed to the patient (or agent).
public ResourceReferenceDt getDestination()
null.
Definition: Identification of the facility/location where the Supply was shipped to, as part of the dispense event.
public Supply.Dispense setDestination(ResourceReferenceDt theValue)
Definition: Identification of the facility/location where the Supply was shipped to, as part of the dispense event.
public List<ResourceReferenceDt> getReceiver()
null.
Definition: Identifies the person who picked up the Supply.
public Supply.Dispense setReceiver(List<ResourceReferenceDt> theValue)
Definition: Identifies the person who picked up the Supply.
public ResourceReferenceDt addReceiver()
Definition: Identifies the person who picked up the Supply.
Copyright © 2014 University Health Network. All rights reserved.