public static class MedicationDispense.Dispense extends BaseIdentifiableElement implements IResourceBlock
Definition: Indicates the details of the dispense event such as the days supply and quantity of medication dispensed.
| Constructor and Description |
|---|
MedicationDispense.Dispense() |
| Modifier and Type | Method and Description |
|---|---|
MedicationDispense.DispenseDosage |
addDosage()
Adds and returns a new value for dosage (Medicine administration instructions to the patient/carer)
|
ResourceReferenceDt |
addReceiver()
Adds and returns a new value for receiver (Who collected the medication)
|
<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 medication was sent).
|
List<MedicationDispense.DispenseDosage> |
getDosage()
Gets the value(s) for dosage (Medicine administration instructions to the patient/carer).
|
MedicationDispense.DispenseDosage |
getDosageFirstRep()
Gets the first repetition for dosage (Medicine administration instructions to the patient/carer),
creating it if it does not already exist.
|
IdentifierDt |
getIdentifier()
Gets the value(s) for identifier (External identifier for individual item).
|
ResourceReferenceDt |
getMedication()
Gets the value(s) for medication (What medication was supplied).
|
QuantityDt |
getQuantity()
Gets the value(s) for quantity (Amount dispensed).
|
List<ResourceReferenceDt> |
getReceiver()
Gets the value(s) for receiver (Who collected the medication).
|
BoundCodeDt<MedicationDispenseStatusEnum> |
getStatus()
Gets the value(s) for status (in progress | on hold | completed | entered in error | stopped).
|
CodeableConceptDt |
getType()
Gets the value(s) for type (Trial fill, partial fill, emergency fill, etc.).
|
DateTimeDt |
getWhenHandedOver()
Gets the value(s) for whenHandedOver (Handover time).
|
DateTimeDt |
getWhenPrepared()
Gets the value(s) for whenPrepared (Dispense processing time).
|
boolean |
isEmpty() |
MedicationDispense.Dispense |
setDestination(ResourceReferenceDt theValue)
Sets the value(s) for destination (Where the medication was sent)
|
MedicationDispense.Dispense |
setDosage(List<MedicationDispense.DispenseDosage> theValue)
Sets the value(s) for dosage (Medicine administration instructions to the patient/carer)
|
MedicationDispense.Dispense |
setIdentifier(IdentifierDt theValue)
Sets the value(s) for identifier (External identifier for individual item)
|
MedicationDispense.Dispense |
setIdentifier(IdentifierUseEnum theUse,
String theSystem,
String theValue,
String theLabel)
Sets the value for identifier (External identifier for individual item)
|
MedicationDispense.Dispense |
setIdentifier(String theSystem,
String theValue)
Sets the value for identifier (External identifier for individual item)
|
MedicationDispense.Dispense |
setMedication(ResourceReferenceDt theValue)
Sets the value(s) for medication (What medication was supplied)
|
MedicationDispense.Dispense |
setQuantity(double theValue)
Sets the value for quantity (Amount dispensed)
|
MedicationDispense.Dispense |
setQuantity(long theValue)
Sets the value for quantity (Amount dispensed)
|
MedicationDispense.Dispense |
setQuantity(QuantityCompararatorEnum theComparator,
double theValue,
String theUnits)
Sets the value for quantity (Amount dispensed)
|
MedicationDispense.Dispense |
setQuantity(QuantityCompararatorEnum theComparator,
double theValue,
String theSystem,
String theUnits)
Sets the value for quantity (Amount dispensed)
|
MedicationDispense.Dispense |
setQuantity(QuantityCompararatorEnum theComparator,
long theValue,
String theUnits)
Sets the value for quantity (Amount dispensed)
|
MedicationDispense.Dispense |
setQuantity(QuantityCompararatorEnum theComparator,
long theValue,
String theSystem,
String theUnits)
Sets the value for quantity (Amount dispensed)
|
MedicationDispense.Dispense |
setQuantity(QuantityDt theValue)
Sets the value(s) for quantity (Amount dispensed)
|
MedicationDispense.Dispense |
setReceiver(List<ResourceReferenceDt> theValue)
Sets the value(s) for receiver (Who collected the medication)
|
MedicationDispense.Dispense |
setStatus(BoundCodeDt<MedicationDispenseStatusEnum> theValue)
Sets the value(s) for status (in progress | on hold | completed | entered in error | stopped)
|
MedicationDispense.Dispense |
setStatus(MedicationDispenseStatusEnum theValue)
Sets the value(s) for status (in progress | on hold | completed | entered in error | stopped)
|
MedicationDispense.Dispense |
setType(CodeableConceptDt theValue)
Sets the value(s) for type (Trial fill, partial fill, emergency fill, etc.)
|
MedicationDispense.Dispense |
setWhenHandedOver(Date theDate,
TemporalPrecisionEnum thePrecision)
Sets the value for whenHandedOver (Handover time)
|
MedicationDispense.Dispense |
setWhenHandedOver(DateTimeDt theValue)
Sets the value(s) for whenHandedOver (Handover time)
|
MedicationDispense.Dispense |
setWhenHandedOverWithSecondsPrecision(Date theDate)
Sets the value for whenHandedOver (Handover time)
|
MedicationDispense.Dispense |
setWhenPrepared(Date theDate,
TemporalPrecisionEnum thePrecision)
Sets the value for whenPrepared (Dispense processing time)
|
MedicationDispense.Dispense |
setWhenPrepared(DateTimeDt theValue)
Sets the value(s) for whenPrepared (Dispense processing time)
|
MedicationDispense.Dispense |
setWhenPreparedWithSecondsPrecision(Date theDate)
Sets the value for whenPrepared (Dispense processing 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. This is an identifier assigned outside FHIR.
public MedicationDispense.Dispense setIdentifier(IdentifierDt theValue)
Definition: Identifier assigned by the dispensing facility. This is an identifier assigned outside FHIR.
public MedicationDispense.Dispense setIdentifier(IdentifierUseEnum theUse, String theSystem, String theValue, String theLabel)
Definition: Identifier assigned by the dispensing facility. This is an identifier assigned outside FHIR.
public MedicationDispense.Dispense setIdentifier(String theSystem, String theValue)
Definition: Identifier assigned by the dispensing facility. This is an identifier assigned outside FHIR.
public BoundCodeDt<MedicationDispenseStatusEnum> getStatus()
null.
Definition: A code specifying the state of the dispense event.
public MedicationDispense.Dispense setStatus(BoundCodeDt<MedicationDispenseStatusEnum> theValue)
Definition: A code specifying the state of the dispense event.
public MedicationDispense.Dispense setStatus(MedicationDispenseStatusEnum theValue)
Definition: A code specifying the state of the dispense event.
public CodeableConceptDt 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 MedicationDispense.Dispense setType(CodeableConceptDt 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 medication that has been dispensed. Includes unit of measure.
public MedicationDispense.Dispense setQuantity(QuantityDt theValue)
Definition: The amount of medication that has been dispensed. Includes unit of measure.
public MedicationDispense.Dispense setQuantity(QuantityCompararatorEnum theComparator, double theValue, String theUnits)
Definition: The amount of medication that has been dispensed. Includes unit of measure.
public MedicationDispense.Dispense setQuantity(QuantityCompararatorEnum theComparator, long theValue, String theUnits)
Definition: The amount of medication that has been dispensed. Includes unit of measure.
public MedicationDispense.Dispense setQuantity(QuantityCompararatorEnum theComparator, double theValue, String theSystem, String theUnits)
Definition: The amount of medication that has been dispensed. Includes unit of measure.
public MedicationDispense.Dispense setQuantity(QuantityCompararatorEnum theComparator, long theValue, String theSystem, String theUnits)
Definition: The amount of medication that has been dispensed. Includes unit of measure.
public MedicationDispense.Dispense setQuantity(double theValue)
Definition: The amount of medication that has been dispensed. Includes unit of measure.
public MedicationDispense.Dispense setQuantity(long theValue)
Definition: The amount of medication that has been dispensed. Includes unit of measure.
public ResourceReferenceDt getMedication()
null.
Definition: Identifies the medication being administered. 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 MedicationDispense.Dispense setMedication(ResourceReferenceDt theValue)
Definition: Identifies the medication being administered. 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 DateTimeDt getWhenPrepared()
null.
Definition: The time when the dispensed product was packaged and reviewed.
public MedicationDispense.Dispense setWhenPrepared(DateTimeDt theValue)
Definition: The time when the dispensed product was packaged and reviewed.
public MedicationDispense.Dispense setWhenPreparedWithSecondsPrecision(Date theDate)
Definition: The time when the dispensed product was packaged and reviewed.
public MedicationDispense.Dispense setWhenPrepared(Date theDate, TemporalPrecisionEnum thePrecision)
Definition: The time when the dispensed product was packaged and reviewed.
public DateTimeDt getWhenHandedOver()
null.
Definition: The time the dispensed product was provided to the patient or their representative.
public MedicationDispense.Dispense setWhenHandedOver(DateTimeDt theValue)
Definition: The time the dispensed product was provided to the patient or their representative.
public MedicationDispense.Dispense setWhenHandedOverWithSecondsPrecision(Date theDate)
Definition: The time the dispensed product was provided to the patient or their representative.
public MedicationDispense.Dispense setWhenHandedOver(Date theDate, TemporalPrecisionEnum thePrecision)
Definition: The time the dispensed product was provided to the patient or their representative.
public ResourceReferenceDt getDestination()
null.
Definition: Identification of the facility/location where the medication was shipped to, as part of the dispense event.
public MedicationDispense.Dispense setDestination(ResourceReferenceDt theValue)
Definition: Identification of the facility/location where the medication was shipped to, as part of the dispense event.
public List<ResourceReferenceDt> getReceiver()
null.
Definition: Identifies the person who picked up the medication. This will usually be a patient or their carer, but some cases exist where it can be a healthcare professional
public MedicationDispense.Dispense setReceiver(List<ResourceReferenceDt> theValue)
Definition: Identifies the person who picked up the medication. This will usually be a patient or their carer, but some cases exist where it can be a healthcare professional
public ResourceReferenceDt addReceiver()
Definition: Identifies the person who picked up the medication. This will usually be a patient or their carer, but some cases exist where it can be a healthcare professional
public List<MedicationDispense.DispenseDosage> getDosage()
null.
Definition: Indicates how the medication is to be used by the patient
public MedicationDispense.Dispense setDosage(List<MedicationDispense.DispenseDosage> theValue)
Definition: Indicates how the medication is to be used by the patient
public MedicationDispense.DispenseDosage addDosage()
Definition: Indicates how the medication is to be used by the patient
public MedicationDispense.DispenseDosage getDosageFirstRep()
Definition: Indicates how the medication is to be used by the patient
Copyright © 2014 University Health Network. All rights reserved.