public class MedicationDispense extends BaseResource implements IResource
Definition: Dispensing a medication to a named patient. This includes a description of the supply provided and the instructions for administering the medication.
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/MedicationDispense
| Modifier and Type | Class and Description |
|---|---|
static class |
MedicationDispense.Dispense
Block class for child element: MedicationDispense.dispense (Details for individual dispensed medicationdetails)
|
static class |
MedicationDispense.DispenseDosage
Block class for child element: MedicationDispense.dispense.dosage (Medicine administration instructions to the patient/carer)
|
static class |
MedicationDispense.Substitution
Block class for child element: MedicationDispense.substitution (Deals with substitution of one medicine for another)
|
| Modifier and Type | Field and Description |
|---|---|
static ReferenceClientParam |
DESTINATION
Fluent Client search parameter constant for destination
|
static ReferenceClientParam |
DISPENSER
Fluent Client search parameter constant for dispenser
|
static TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static Include |
INCLUDE_AUTHORIZINGPRESCRIPTION
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_DISPENSE_DESTINATION
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_DISPENSE_MEDICATION
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_DISPENSER
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_SUBSTITUTION_RESPONSIBLEPARTY
Constant for fluent queries to be used to add include statements.
|
static ReferenceClientParam |
MEDICATION
Fluent Client search parameter constant for medication
|
static ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
static ReferenceClientParam |
PRESCRIPTION
Fluent Client search parameter constant for prescription
|
static ReferenceClientParam |
RESPONSIBLEPARTY
Fluent Client search parameter constant for responsibleparty
|
static String |
SP_DESTINATION
Search parameter constant for destination
|
static String |
SP_DISPENSER
Search parameter constant for dispenser
|
static String |
SP_IDENTIFIER
Search parameter constant for identifier
|
static String |
SP_MEDICATION
Search parameter constant for medication
|
static String |
SP_PATIENT
Search parameter constant for patient
|
static String |
SP_PRESCRIPTION
Search parameter constant for prescription
|
static String |
SP_RESPONSIBLEPARTY
Search parameter constant for responsibleparty
|
static String |
SP_STATUS
Search parameter constant for status
|
static String |
SP_TYPE
Search parameter constant for type
|
static String |
SP_WHENHANDEDOVER
Search parameter constant for whenhandedover
|
static String |
SP_WHENPREPARED
Search parameter constant for whenprepared
|
static TokenClientParam |
STATUS
Fluent Client search parameter constant for status
|
static TokenClientParam |
TYPE
Fluent Client search parameter constant for type
|
static DateClientParam |
WHENHANDEDOVER
Fluent Client search parameter constant for whenhandedover
|
static DateClientParam |
WHENPREPARED
Fluent Client search parameter constant for whenprepared
|
SP_RES_ID, SP_RES_LANGUAGE| Constructor and Description |
|---|
MedicationDispense() |
| Modifier and Type | Method and Description |
|---|---|
ResourceReferenceDt |
addAuthorizingPrescription()
Adds and returns a new value for authorizingPrescription (Medication order that authorizes the dispense)
|
MedicationDispense.Dispense |
addDispense()
Adds and returns a new value for dispense (Details for individual dispensed medicationdetails)
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType)
Returns a list containing all child elements matching a given type
|
List<ResourceReferenceDt> |
getAuthorizingPrescription()
Gets the value(s) for authorizingPrescription (Medication order that authorizes the dispense).
|
List<MedicationDispense.Dispense> |
getDispense()
Gets the value(s) for dispense (Details for individual dispensed medicationdetails).
|
MedicationDispense.Dispense |
getDispenseFirstRep()
Gets the first repetition for dispense (Details for individual dispensed medicationdetails),
creating it if it does not already exist.
|
ResourceReferenceDt |
getDispenser()
Gets the value(s) for dispenser (Practitioner responsible for dispensing medication).
|
IdentifierDt |
getIdentifier()
Gets the value(s) for identifier (External identifier).
|
ResourceReferenceDt |
getPatient()
Gets the value(s) for patient (Who the dispense is for).
|
BoundCodeDt<MedicationDispenseStatusEnum> |
getStatus()
Gets the value(s) for status (in progress | on hold | completed | entered in error | stopped).
|
MedicationDispense.Substitution |
getSubstitution()
Gets the value(s) for substitution (Deals with substitution of one medicine for another).
|
boolean |
isEmpty() |
MedicationDispense |
setAuthorizingPrescription(List<ResourceReferenceDt> theValue)
Sets the value(s) for authorizingPrescription (Medication order that authorizes the dispense)
|
MedicationDispense |
setDispense(List<MedicationDispense.Dispense> theValue)
Sets the value(s) for dispense (Details for individual dispensed medicationdetails)
|
MedicationDispense |
setDispenser(ResourceReferenceDt theValue)
Sets the value(s) for dispenser (Practitioner responsible for dispensing medication)
|
MedicationDispense |
setIdentifier(IdentifierDt theValue)
Sets the value(s) for identifier (External identifier)
|
MedicationDispense |
setIdentifier(IdentifierUseEnum theUse,
String theSystem,
String theValue,
String theLabel)
Sets the value for identifier (External identifier)
|
MedicationDispense |
setIdentifier(String theSystem,
String theValue)
Sets the value for identifier (External identifier)
|
MedicationDispense |
setPatient(ResourceReferenceDt theValue)
Sets the value(s) for patient (Who the dispense is for)
|
MedicationDispense |
setStatus(BoundCodeDt<MedicationDispenseStatusEnum> theValue)
Sets the value(s) for status (in progress | on hold | completed | entered in error | stopped)
|
MedicationDispense |
setStatus(MedicationDispenseStatusEnum theValue)
Sets the value(s) for status (in progress | on hold | completed | entered in error | stopped)
|
MedicationDispense |
setSubstitution(MedicationDispense.Substitution theValue)
Sets the value(s) for substitution (Deals with substitution of one medicine for another)
|
getContained, getId, getLanguage, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setLanguage, setResourceMetadata, setText, toStringaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContained, getId, getLanguage, getResourceMetadata, getText, setId, setLanguage, setResourceMetadatapublic static final String SP_DESTINATION
Description: Return dispenses that should be sent to a secific destination
Type: reference
Path: MedicationDispense.dispense.destination
public static final ReferenceClientParam DESTINATION
Description: Return dispenses that should be sent to a secific destination
Type: reference
Path: MedicationDispense.dispense.destination
public static final Include INCLUDE_DISPENSE_DESTINATION
public static final String SP_DISPENSER
Description: Return all dispenses performed by a specific indiividual
Type: reference
Path: MedicationDispense.dispenser
public static final ReferenceClientParam DISPENSER
Description: Return all dispenses performed by a specific indiividual
Type: reference
Path: MedicationDispense.dispenser
public static final Include INCLUDE_DISPENSER
public static final String SP_IDENTIFIER
Description: Return dispenses with this external identity
Type: token
Path: MedicationDispense.identifier
public static final TokenClientParam IDENTIFIER
Description: Return dispenses with this external identity
Type: token
Path: MedicationDispense.identifier
public static final String SP_MEDICATION
Description: Returns dispenses of this medicine
Type: reference
Path: MedicationDispense.dispense.medication
public static final ReferenceClientParam MEDICATION
Description: Returns dispenses of this medicine
Type: reference
Path: MedicationDispense.dispense.medication
public static final Include INCLUDE_DISPENSE_MEDICATION
public static final String SP_PATIENT
Description: The identity of a patient to list dispenses for
Type: reference
Path: MedicationDispense.patient
public static final ReferenceClientParam PATIENT
Description: The identity of a patient to list dispenses for
Type: reference
Path: MedicationDispense.patient
public static final Include INCLUDE_PATIENT
public static final String SP_PRESCRIPTION
Description: The identity of a prescription to list dispenses from
Type: reference
Path: MedicationDispense.authorizingPrescription
public static final ReferenceClientParam PRESCRIPTION
Description: The identity of a prescription to list dispenses from
Type: reference
Path: MedicationDispense.authorizingPrescription
public static final Include INCLUDE_AUTHORIZINGPRESCRIPTION
public static final String SP_RESPONSIBLEPARTY
Description: Return all dispenses with the specified responsible party
Type: reference
Path: MedicationDispense.substitution.responsibleParty
public static final ReferenceClientParam RESPONSIBLEPARTY
Description: Return all dispenses with the specified responsible party
Type: reference
Path: MedicationDispense.substitution.responsibleParty
public static final Include INCLUDE_SUBSTITUTION_RESPONSIBLEPARTY
public static final String SP_STATUS
Description: Status of the dispense
Type: token
Path: MedicationDispense.dispense.status
public static final TokenClientParam STATUS
Description: Status of the dispense
Type: token
Path: MedicationDispense.dispense.status
public static final String SP_TYPE
Description: Return all dispenses of a specific type
Type: token
Path: MedicationDispense.dispense.type
public static final TokenClientParam TYPE
Description: Return all dispenses of a specific type
Type: token
Path: MedicationDispense.dispense.type
public static final String SP_WHENHANDEDOVER
Description: Date when medication handed over to patient (outpatient setting), or supplied to ward or clinic (inpatient setting)
Type: date
Path: MedicationDispense.dispense.whenHandedOver
public static final DateClientParam WHENHANDEDOVER
Description: Date when medication handed over to patient (outpatient setting), or supplied to ward or clinic (inpatient setting)
Type: date
Path: MedicationDispense.dispense.whenHandedOver
public static final String SP_WHENPREPARED
Description: Date when medication prepared
Type: date
Path: MedicationDispense.dispense.whenPrepared
public static final DateClientParam WHENPREPARED
Description: Date when medication prepared
Type: date
Path: MedicationDispense.dispense.whenPrepared
public <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 setIdentifier(IdentifierDt theValue)
Definition: Identifier assigned by the dispensing facility - this is an identifier assigned outside FHIR.
public MedicationDispense 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 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 set of dispense events.
public MedicationDispense setStatus(BoundCodeDt<MedicationDispenseStatusEnum> theValue)
Definition: A code specifying the state of the set of dispense events.
public MedicationDispense setStatus(MedicationDispenseStatusEnum theValue)
Definition: A code specifying the state of the set of dispense events.
public ResourceReferenceDt getPatient()
null.
Definition: A link to a resource representing the person to whom the medication will be given.
public MedicationDispense setPatient(ResourceReferenceDt theValue)
Definition: A link to a resource representing the person to whom the medication will be given.
public ResourceReferenceDt getDispenser()
null.
Definition: The individual responsible for dispensing the medication
public MedicationDispense setDispenser(ResourceReferenceDt theValue)
Definition: The individual responsible for dispensing the medication
public List<ResourceReferenceDt> getAuthorizingPrescription()
null.
Definition: Indicates the medication order that is being dispensed against.
public MedicationDispense setAuthorizingPrescription(List<ResourceReferenceDt> theValue)
Definition: Indicates the medication order that is being dispensed against.
public ResourceReferenceDt addAuthorizingPrescription()
Definition: Indicates the medication order that is being dispensed against.
public List<MedicationDispense.Dispense> getDispense()
null.
Definition: Indicates the details of the dispense event such as the days supply and quantity of medication dispensed.
public MedicationDispense setDispense(List<MedicationDispense.Dispense> theValue)
Definition: Indicates the details of the dispense event such as the days supply and quantity of medication dispensed.
public MedicationDispense.Dispense addDispense()
Definition: Indicates the details of the dispense event such as the days supply and quantity of medication dispensed.
public MedicationDispense.Dispense getDispenseFirstRep()
Definition: Indicates the details of the dispense event such as the days supply and quantity of medication dispensed.
public MedicationDispense.Substitution getSubstitution()
null.
Definition: Indicates whether or not substitution was made as part of the dispense. In some cases substitution will be expected but doesn't happen, in other cases substitution is not expected but does happen. This block explains what substitition did or did not happen and why.
public MedicationDispense setSubstitution(MedicationDispense.Substitution theValue)
Definition: Indicates whether or not substitution was made as part of the dispense. In some cases substitution will be expected but doesn't happen, in other cases substitution is not expected but does happen. This block explains what substitition did or did not happen and why.
Copyright © 2014 University Health Network. All rights reserved.