Class MedicationDispense
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement
,Serializable
,org.hl7.fhir.instance.model.api.IAnyResource
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseHasExtensions
,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
,org.hl7.fhir.instance.model.api.IBaseResource
,org.hl7.fhir.instance.model.api.IDomainResource
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static enum
static class
static class
-
Field Summary
Modifier and TypeFieldDescriptionIndicates the medication order that is being dispensed against.protected List
<MedicationRequest> The actual objects that are the target of the reference (Indicates the medication order that is being dispensed against.)protected CodeableConcept
Indicates the type of medication dispense (for example, where the medication is expected to be consumed or administered (i.e.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for codeprotected Reference
The encounter or episode of care that establishes the context for this event.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for contextprotected Resource
The actual object that is the target of the reference (The encounter or episode of care that establishes the context for this event.)protected Quantity
The amount of medication expressed as a timing amount.protected Reference
Identification of the facility/location where the medication was shipped to, as part of the dispense event.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for destinationprotected Location
The actual object that is the target of the reference (Identification of the facility/location where the medication was shipped to, as part of the dispense event.)Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient; e.g.protected List
<DetectedIssue> The actual objects that are the target of the reference (Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient; e.g.Indicates how the medication is to be used by the patient.A summary of the events of interest that have occurred, such as when the dispense was verified.protected List
<Provenance> The actual objects that are the target of the reference (A summary of the events of interest that have occurred, such as when the dispense was verified.)protected List
<Identifier> Identifiers associated with this Medication Dispense that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for identifierstatic final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.protected Reference
The principal physical location where the dispense was performed.protected Location
The actual object that is the target of the reference (The principal physical location where the dispense was performed.)protected Type
Identifies the medication being administered.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for medicationprotected List
<Annotation> Extra information about the dispense that could not be conveyed in the other attributes.The procedure that trigger the dispense.The actual objects that are the target of the reference (The procedure that trigger the dispense.)static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for patientIndicates who or what performed the event.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for performerstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for prescriptionprotected Quantity
The amount of medication that has been dispensed.Identifies the person who picked up the medication.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for receiverThe actual objects that are the target of the reference (Identifies the person who picked up the medication.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for responsiblepartystatic final String
Search parameter: codestatic final String
Search parameter: contextstatic final String
Search parameter: destinationstatic final String
Search parameter: identifierstatic final String
Search parameter: medicationstatic final String
Search parameter: patientstatic final String
Search parameter: performerstatic final String
Search parameter: prescriptionstatic final String
Search parameter: receiverstatic final String
Search parameter: responsiblepartystatic final String
Search parameter: statusstatic final String
Search parameter: subjectstatic final String
Search parameter: typestatic final String
Search parameter: whenhandedoverstatic final String
Search parameter: whenpreparedA code specifying the state of the set of dispense events.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for statusprotected Type
Indicates the reason why a dispense was not performed.protected Reference
A link to a resource representing the person or the group to whom the medication will be given.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for subjectprotected Resource
The actual object that is the target of the reference (A link to a resource representing the person or the group to whom the medication will be given.)Indicates whether or not substitution was made as part of the dispense.Additional information that supports the medication being dispensed.The actual objects that are the target of the reference (Additional information that supports the medication being dispensed.)protected CodeableConcept
Indicates the type of dispensing event that is performed.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for typeprotected DateTimeType
The time the dispensed product was provided to the patient or their representative.static final ca.uhn.fhir.rest.gclient.DateClientParam
Fluent Client search parameter constant for whenhandedoverprotected DateTimeType
The time when the dispensed product was packaged and reviewed.static final ca.uhn.fhir.rest.gclient.DateClientParam
Fluent Client search parameter constant for whenpreparedFields inherited from class org.hl7.fhir.r4.model.DomainResource
contained, extension, modifierExtension, text
Fields inherited from class org.hl7.fhir.r4.model.Resource
id, implicitRules, language, meta
Fields inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
RES_ID, RES_LAST_UPDATED, RES_PROFILE, RES_SECURITY, RES_TAG, SP_RES_ID, SP_RES_LAST_UPDATED, SP_RES_PROFILE, SP_RES_SECURITY, SP_RES_TAG
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
ConstructorDescriptionConstructorMedicationDispense
(Enumeration<MedicationDispense.MedicationDispenseStatus> status, Type medication) Constructor -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Use Reference#setResource(IBaseResource) insteadDeprecated.Use Reference#setResource(IBaseResource) insteadDeprecated.Use Reference#setResource(IBaseResource) insteadaddNote()
Deprecated.Use Reference#setResource(IBaseResource) insteadcopy()
void
boolean
equalsDeep
(Base other_) boolean
equalsShallow
(Base other_) fhirType()
Deprecated.Use Reference#setResource(IBaseResource) insteadDeprecated.Use Reference#setResource(IBaseResource) insteadDeprecated.Use Reference#setResource(IBaseResource) insteadgetNamedProperty
(int _hash, String _name, boolean _checkValid) getNote()
Deprecated.Use Reference#setResource(IBaseResource) insteadBase[]
getProperty
(int hash, String name, boolean checkValid) Deprecated.Use Reference#setResource(IBaseResource) insteadDeprecated.Use Reference#setResource(IBaseResource) insteadgetType()
String[]
getTypesForProperty
(int hash, String name) boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasNote()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasType()
boolean
boolean
boolean
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> children) makeProperty
(int hash, String name) void
removeChild
(String name, Base value) setAuthorizingPrescription
(List<Reference> theAuthorizingPrescription) setCategory
(CodeableConcept value) setContext
(Reference value) setContextTarget
(Resource value) setDaysSupply
(Quantity value) setDestination
(Reference value) setDestinationTarget
(Location value) setDetectedIssue
(List<Reference> theDetectedIssue) setDosageInstruction
(List<Dosage> theDosageInstruction) setEventHistory
(List<Reference> theEventHistory) setIdentifier
(List<Identifier> theIdentifier) setLocation
(Reference value) setLocationTarget
(Location value) setMedication
(Type value) setNote
(List<Annotation> theNote) setProperty
(int hash, String name, Base value) setProperty
(String name, Base value) setQuantity
(Quantity value) setReceiver
(List<Reference> theReceiver) setStatusReason
(Type value) setSubject
(Reference value) setSubjectTarget
(Resource value) setSupportingInformation
(List<Reference> theSupportingInformation) setType
(CodeableConcept value) setWhenHandedOver
(Date value) setWhenPrepared
(Date value) protected MedicationDispense
Methods inherited from class org.hl7.fhir.r4.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setText
Methods inherited from class org.hl7.fhir.r4.model.Resource
copyValues, getId, getIdBase, getIdElement, getIdPart, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
Methods inherited from class org.hl7.fhir.r4.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
Methods inherited from class org.hl7.fhir.r4.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getXhtml, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatComment
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getMeta, getStructureFhirVersionEnum, isDeleted, setId
-
Field Details
-
identifier
Identifiers associated with this Medication Dispense that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate. They are business identifiers assigned to this resource by the performer or other systems and remain constant as the resource is updated and propagates from server to server. -
partOf
The procedure that trigger the dispense. -
partOfTarget
The actual objects that are the target of the reference (The procedure that trigger the dispense.) -
status
A code specifying the state of the set of dispense events. -
statusReason
Indicates the reason why a dispense was not performed. -
category
Indicates the type of medication dispense (for example, where the medication is expected to be consumed or administered (i.e. inpatient or outpatient)). -
medication
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. -
subject
A link to a resource representing the person or the group to whom the medication will be given. -
subjectTarget
The actual object that is the target of the reference (A link to a resource representing the person or the group to whom the medication will be given.) -
context
The encounter or episode of care that establishes the context for this event. -
contextTarget
The actual object that is the target of the reference (The encounter or episode of care that establishes the context for this event.) -
supportingInformation
Additional information that supports the medication being dispensed. -
supportingInformationTarget
The actual objects that are the target of the reference (Additional information that supports the medication being dispensed.) -
performer
Indicates who or what performed the event. -
location
The principal physical location where the dispense was performed. -
locationTarget
The actual object that is the target of the reference (The principal physical location where the dispense was performed.) -
authorizingPrescription
Indicates the medication order that is being dispensed against. -
authorizingPrescriptionTarget
The actual objects that are the target of the reference (Indicates the medication order that is being dispensed against.) -
type
Indicates the type of dispensing event that is performed. For example, Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc. -
quantity
The amount of medication that has been dispensed. Includes unit of measure. -
daysSupply
The amount of medication expressed as a timing amount. -
whenPrepared
The time when the dispensed product was packaged and reviewed. -
whenHandedOver
The time the dispensed product was provided to the patient or their representative. -
destination
Identification of the facility/location where the medication was shipped to, as part of the dispense event. -
destinationTarget
The actual object that is the target of the reference (Identification of the facility/location where the medication was shipped to, as part of the dispense event.) -
receiver
Identifies the person who picked up the medication. This will usually be a patient or their caregiver, but some cases exist where it can be a healthcare professional. -
receiverTarget
The actual objects that are the target of the reference (Identifies the person who picked up the medication. This will usually be a patient or their caregiver, but some cases exist where it can be a healthcare professional.) -
note
Extra information about the dispense that could not be conveyed in the other attributes. -
dosageInstruction
Indicates how the medication is to be used by the patient. -
substitution
Indicates whether or not substitution was made as part of the dispense. In some cases, substitution will be expected but does not happen, in other cases substitution is not expected but does happen. This block explains what substitution did or did not happen and why. If nothing is specified, substitution was not done. -
detectedIssue
Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient; e.g. drug-drug interaction, duplicate therapy, dosage alert etc. -
detectedIssueTarget
The actual objects that are the target of the reference (Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient; e.g. drug-drug interaction, duplicate therapy, dosage alert etc.) -
eventHistory
A summary of the events of interest that have occurred, such as when the dispense was verified. -
eventHistoryTarget
The actual objects that are the target of the reference (A summary of the events of interest that have occurred, such as when the dispense was verified.) -
SP_IDENTIFIER
Search parameter: identifierDescription: Returns dispenses with this external identifier
Type: token
Path: MedicationDispense.identifier
- See Also:
-
IDENTIFIER
Fluent Client search parameter constant for identifierDescription: Returns dispenses with this external identifier
Type: token
Path: MedicationDispense.identifier
-
SP_PERFORMER
Search parameter: performerDescription: Returns dispenses performed by a specific individual
Type: reference
Path: MedicationDispense.performer.actor
- See Also:
-
PERFORMER
Fluent Client search parameter constant for performerDescription: Returns dispenses performed by a specific individual
Type: reference
Path: MedicationDispense.performer.actor
-
INCLUDE_PERFORMER
Constant for fluent queries to be used to add include statements. Specifies the path value of "MedicationDispense:performer". -
SP_CODE
Search parameter: codeDescription: Returns dispenses of this medicine code
Type: token
Path: MedicationDispense.medicationCodeableConcept
- See Also:
-
CODE
Fluent Client search parameter constant for codeDescription: Returns dispenses of this medicine code
Type: token
Path: MedicationDispense.medicationCodeableConcept
-
SP_RECEIVER
Search parameter: receiverDescription: The identity of a receiver to list dispenses for
Type: reference
Path: MedicationDispense.receiver
- See Also:
-
RECEIVER
Fluent Client search parameter constant for receiverDescription: The identity of a receiver to list dispenses for
Type: reference
Path: MedicationDispense.receiver
-
INCLUDE_RECEIVER
Constant for fluent queries to be used to add include statements. Specifies the path value of "MedicationDispense:receiver". -
SP_SUBJECT
Search parameter: subjectDescription: The identity of a patient for whom to list dispenses
Type: reference
Path: MedicationDispense.subject
- See Also:
-
SUBJECT
Fluent Client search parameter constant for subjectDescription: The identity of a patient for whom to list dispenses
Type: reference
Path: MedicationDispense.subject
-
INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements. Specifies the path value of "MedicationDispense:subject". -
SP_DESTINATION
Search parameter: destinationDescription: Returns dispenses that should be sent to a specific destination
Type: reference
Path: MedicationDispense.destination
- See Also:
-
DESTINATION
Fluent Client search parameter constant for destinationDescription: Returns dispenses that should be sent to a specific destination
Type: reference
Path: MedicationDispense.destination
-
INCLUDE_DESTINATION
Constant for fluent queries to be used to add include statements. Specifies the path value of "MedicationDispense:destination". -
SP_MEDICATION
Search parameter: medicationDescription: Returns dispenses of this medicine resource
Type: reference
Path: MedicationDispense.medicationReference
- See Also:
-
MEDICATION
Fluent Client search parameter constant for medicationDescription: Returns dispenses of this medicine resource
Type: reference
Path: MedicationDispense.medicationReference
-
INCLUDE_MEDICATION
Constant for fluent queries to be used to add include statements. Specifies the path value of "MedicationDispense:medication". -
SP_RESPONSIBLEPARTY
Search parameter: responsiblepartyDescription: Returns dispenses with the specified responsible party
Type: reference
Path: MedicationDispense.substitution.responsibleParty
- See Also:
-
RESPONSIBLEPARTY
Fluent Client search parameter constant for responsiblepartyDescription: Returns dispenses with the specified responsible party
Type: reference
Path: MedicationDispense.substitution.responsibleParty
-
INCLUDE_RESPONSIBLEPARTY
Constant for fluent queries to be used to add include statements. Specifies the path value of "MedicationDispense:responsibleparty". -
SP_TYPE
Search parameter: typeDescription: Returns dispenses of a specific type
Type: token
Path: MedicationDispense.type
- See Also:
-
TYPE
Fluent Client search parameter constant for typeDescription: Returns dispenses of a specific type
Type: token
Path: MedicationDispense.type
-
SP_WHENHANDEDOVER
Search parameter: whenhandedoverDescription: Returns dispenses handed over on this date
Type: date
Path: MedicationDispense.whenHandedOver
- See Also:
-
WHENHANDEDOVER
Fluent Client search parameter constant for whenhandedoverDescription: Returns dispenses handed over on this date
Type: date
Path: MedicationDispense.whenHandedOver
-
SP_WHENPREPARED
Search parameter: whenpreparedDescription: Returns dispenses prepared on this date
Type: date
Path: MedicationDispense.whenPrepared
- See Also:
-
WHENPREPARED
Fluent Client search parameter constant for whenpreparedDescription: Returns dispenses prepared on this date
Type: date
Path: MedicationDispense.whenPrepared
-
SP_PRESCRIPTION
Search parameter: prescriptionDescription: The identity of a prescription to list dispenses from
Type: reference
Path: MedicationDispense.authorizingPrescription
- See Also:
-
PRESCRIPTION
Fluent Client search parameter constant for prescriptionDescription: The identity of a prescription to list dispenses from
Type: reference
Path: MedicationDispense.authorizingPrescription
-
INCLUDE_PRESCRIPTION
Constant for fluent queries to be used to add include statements. Specifies the path value of "MedicationDispense:prescription". -
SP_PATIENT
Search parameter: patientDescription: The identity of a patient to list dispenses for
Type: reference
Path: MedicationDispense.subject
- See Also:
-
PATIENT
Fluent Client search parameter constant for patientDescription: The identity of a patient to list dispenses for
Type: reference
Path: MedicationDispense.subject
-
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "MedicationDispense:patient". -
SP_CONTEXT
Search parameter: contextDescription: Returns dispenses with a specific context (episode or episode of care)
Type: reference
Path: MedicationDispense.context
- See Also:
-
CONTEXT
Fluent Client search parameter constant for contextDescription: Returns dispenses with a specific context (episode or episode of care)
Type: reference
Path: MedicationDispense.context
-
INCLUDE_CONTEXT
Constant for fluent queries to be used to add include statements. Specifies the path value of "MedicationDispense:context". -
SP_STATUS
Search parameter: statusDescription: Returns dispenses with a specified dispense status
Type: token
Path: MedicationDispense.status
- See Also:
-
STATUS
Fluent Client search parameter constant for statusDescription: Returns dispenses with a specified dispense status
Type: token
Path: MedicationDispense.status
-
-
Constructor Details
-
MedicationDispense
public MedicationDispense()Constructor -
MedicationDispense
public MedicationDispense(Enumeration<MedicationDispense.MedicationDispenseStatus> status, Type medication) Constructor
-
-
Method Details
-
getIdentifier
- Returns:
identifier
(Identifiers associated with this Medication Dispense that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate. They are business identifiers assigned to this resource by the performer or other systems and remain constant as the resource is updated and propagates from server to server.)
-
setIdentifier
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasIdentifier
-
addIdentifier
-
addIdentifier
-
getIdentifierFirstRep
- Returns:
- The first repetition of repeating field
identifier
, creating it if it does not already exist
-
getPartOf
- Returns:
partOf
(The procedure that trigger the dispense.)
-
setPartOf
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasPartOf
-
addPartOf
-
addPartOf
-
getPartOfFirstRep
- Returns:
- The first repetition of repeating field
partOf
, creating it if it does not already exist
-
getPartOfTarget
Deprecated.Use Reference#setResource(IBaseResource) instead -
addPartOfTarget
Deprecated.Use Reference#setResource(IBaseResource) instead -
getStatusElement
- Returns:
status
(A code specifying the state of the set of dispense events.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
hasStatusElement
-
hasStatus
-
setStatusElement
public MedicationDispense setStatusElement(Enumeration<MedicationDispense.MedicationDispenseStatus> value) - Parameters:
value
-status
(A code specifying the state of the set of dispense events.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
getStatus
- Returns:
- A code specifying the state of the set of dispense events.
-
setStatus
- Parameters:
value
- A code specifying the state of the set of dispense events.
-
getStatusReason
- Returns:
statusReason
(Indicates the reason why a dispense was not performed.)
-
getStatusReasonCodeableConcept
public CodeableConcept getStatusReasonCodeableConcept() throws org.hl7.fhir.exceptions.FHIRException- Returns:
statusReason
(Indicates the reason why a dispense was not performed.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasStatusReasonCodeableConcept
-
getStatusReasonReference
- Returns:
statusReason
(Indicates the reason why a dispense was not performed.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasStatusReasonReference
-
hasStatusReason
-
setStatusReason
- Parameters:
value
-statusReason
(Indicates the reason why a dispense was not performed.)
-
getCategory
- Returns:
category
(Indicates the type of medication dispense (for example, where the medication is expected to be consumed or administered (i.e. inpatient or outpatient)).)
-
hasCategory
-
setCategory
- Parameters:
value
-category
(Indicates the type of medication dispense (for example, where the medication is expected to be consumed or administered (i.e. inpatient or outpatient)).)
-
getMedication
- Returns:
medication
(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.)
-
getMedicationCodeableConcept
- Returns:
medication
(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.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasMedicationCodeableConcept
-
getMedicationReference
- Returns:
medication
(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.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasMedicationReference
-
hasMedication
-
setMedication
- Parameters:
value
-medication
(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.)
-
getSubject
- Returns:
subject
(A link to a resource representing the person or the group to whom the medication will be given.)
-
hasSubject
-
setSubject
- Parameters:
value
-subject
(A link to a resource representing the person or the group to whom the medication will be given.)
-
getSubjectTarget
- Returns:
subject
The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (A link to a resource representing the person or the group to whom the medication will be given.)
-
setSubjectTarget
- Parameters:
value
-subject
The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (A link to a resource representing the person or the group to whom the medication will be given.)
-
getContext
- Returns:
context
(The encounter or episode of care that establishes the context for this event.)
-
hasContext
-
setContext
- Parameters:
value
-context
(The encounter or episode of care that establishes the context for this event.)
-
getContextTarget
- Returns:
context
The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The encounter or episode of care that establishes the context for this event.)
-
setContextTarget
- Parameters:
value
-context
The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The encounter or episode of care that establishes the context for this event.)
-
getSupportingInformation
- Returns:
supportingInformation
(Additional information that supports the medication being dispensed.)
-
setSupportingInformation
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasSupportingInformation
-
addSupportingInformation
-
addSupportingInformation
-
getSupportingInformationFirstRep
- Returns:
- The first repetition of repeating field
supportingInformation
, creating it if it does not already exist
-
getSupportingInformationTarget
Deprecated.Use Reference#setResource(IBaseResource) instead -
getPerformer
- Returns:
performer
(Indicates who or what performed the event.)
-
setPerformer
public MedicationDispense setPerformer(List<MedicationDispense.MedicationDispensePerformerComponent> thePerformer) - Returns:
- Returns a reference to
this
for easy method chaining
-
hasPerformer
-
addPerformer
-
addPerformer
-
getPerformerFirstRep
- Returns:
- The first repetition of repeating field
performer
, creating it if it does not already exist
-
getLocation
- Returns:
location
(The principal physical location where the dispense was performed.)
-
hasLocation
-
setLocation
- Parameters:
value
-location
(The principal physical location where the dispense was performed.)
-
getLocationTarget
- Returns:
location
The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The principal physical location where the dispense was performed.)
-
setLocationTarget
- Parameters:
value
-location
The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The principal physical location where the dispense was performed.)
-
getAuthorizingPrescription
- Returns:
authorizingPrescription
(Indicates the medication order that is being dispensed against.)
-
setAuthorizingPrescription
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasAuthorizingPrescription
-
addAuthorizingPrescription
-
addAuthorizingPrescription
-
getAuthorizingPrescriptionFirstRep
- Returns:
- The first repetition of repeating field
authorizingPrescription
, creating it if it does not already exist
-
getAuthorizingPrescriptionTarget
Deprecated.Use Reference#setResource(IBaseResource) instead -
addAuthorizingPrescriptionTarget
Deprecated.Use Reference#setResource(IBaseResource) instead -
getType
- Returns:
type
(Indicates the type of dispensing event that is performed. For example, Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc.)
-
hasType
-
setType
- Parameters:
value
-type
(Indicates the type of dispensing event that is performed. For example, Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc.)
-
getQuantity
- Returns:
quantity
(The amount of medication that has been dispensed. Includes unit of measure.)
-
hasQuantity
-
setQuantity
- Parameters:
value
-quantity
(The amount of medication that has been dispensed. Includes unit of measure.)
-
getDaysSupply
- Returns:
daysSupply
(The amount of medication expressed as a timing amount.)
-
hasDaysSupply
-
setDaysSupply
- Parameters:
value
-daysSupply
(The amount of medication expressed as a timing amount.)
-
getWhenPreparedElement
- Returns:
whenPrepared
(The time when the dispensed product was packaged and reviewed.). This is the underlying object with id, value and extensions. The accessor "getWhenPrepared" gives direct access to the value
-
hasWhenPreparedElement
-
hasWhenPrepared
-
setWhenPreparedElement
- Parameters:
value
-whenPrepared
(The time when the dispensed product was packaged and reviewed.). This is the underlying object with id, value and extensions. The accessor "getWhenPrepared" gives direct access to the value
-
getWhenPrepared
- Returns:
- The time when the dispensed product was packaged and reviewed.
-
setWhenPrepared
- Parameters:
value
- The time when the dispensed product was packaged and reviewed.
-
getWhenHandedOverElement
- Returns:
whenHandedOver
(The time the dispensed product was provided to the patient or their representative.). This is the underlying object with id, value and extensions. The accessor "getWhenHandedOver" gives direct access to the value
-
hasWhenHandedOverElement
-
hasWhenHandedOver
-
setWhenHandedOverElement
- Parameters:
value
-whenHandedOver
(The time the dispensed product was provided to the patient or their representative.). This is the underlying object with id, value and extensions. The accessor "getWhenHandedOver" gives direct access to the value
-
getWhenHandedOver
- Returns:
- The time the dispensed product was provided to the patient or their representative.
-
setWhenHandedOver
- Parameters:
value
- The time the dispensed product was provided to the patient or their representative.
-
getDestination
- Returns:
destination
(Identification of the facility/location where the medication was shipped to, as part of the dispense event.)
-
hasDestination
-
setDestination
- Parameters:
value
-destination
(Identification of the facility/location where the medication was shipped to, as part of the dispense event.)
-
getDestinationTarget
- Returns:
destination
The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Identification of the facility/location where the medication was shipped to, as part of the dispense event.)
-
setDestinationTarget
- Parameters:
value
-destination
The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Identification of the facility/location where the medication was shipped to, as part of the dispense event.)
-
getReceiver
- Returns:
receiver
(Identifies the person who picked up the medication. This will usually be a patient or their caregiver, but some cases exist where it can be a healthcare professional.)
-
setReceiver
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasReceiver
-
addReceiver
-
addReceiver
-
getReceiverFirstRep
- Returns:
- The first repetition of repeating field
receiver
, creating it if it does not already exist
-
getReceiverTarget
Deprecated.Use Reference#setResource(IBaseResource) instead -
getNote
- Returns:
note
(Extra information about the dispense that could not be conveyed in the other attributes.)
-
setNote
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasNote
-
addNote
-
addNote
-
getNoteFirstRep
- Returns:
- The first repetition of repeating field
note
, creating it if it does not already exist
-
getDosageInstruction
- Returns:
dosageInstruction
(Indicates how the medication is to be used by the patient.)
-
setDosageInstruction
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasDosageInstruction
-
addDosageInstruction
-
addDosageInstruction
-
getDosageInstructionFirstRep
- Returns:
- The first repetition of repeating field
dosageInstruction
, creating it if it does not already exist
-
getSubstitution
- Returns:
substitution
(Indicates whether or not substitution was made as part of the dispense. In some cases, substitution will be expected but does not happen, in other cases substitution is not expected but does happen. This block explains what substitution did or did not happen and why. If nothing is specified, substitution was not done.)
-
hasSubstitution
-
setSubstitution
public MedicationDispense setSubstitution(MedicationDispense.MedicationDispenseSubstitutionComponent value) - Parameters:
value
-substitution
(Indicates whether or not substitution was made as part of the dispense. In some cases, substitution will be expected but does not happen, in other cases substitution is not expected but does happen. This block explains what substitution did or did not happen and why. If nothing is specified, substitution was not done.)
-
getDetectedIssue
- Returns:
detectedIssue
(Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient; e.g. drug-drug interaction, duplicate therapy, dosage alert etc.)
-
setDetectedIssue
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasDetectedIssue
-
addDetectedIssue
-
addDetectedIssue
-
getDetectedIssueFirstRep
- Returns:
- The first repetition of repeating field
detectedIssue
, creating it if it does not already exist
-
getDetectedIssueTarget
Deprecated.Use Reference#setResource(IBaseResource) instead -
addDetectedIssueTarget
Deprecated.Use Reference#setResource(IBaseResource) instead -
getEventHistory
- Returns:
eventHistory
(A summary of the events of interest that have occurred, such as when the dispense was verified.)
-
setEventHistory
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasEventHistory
-
addEventHistory
-
addEventHistory
-
getEventHistoryFirstRep
- Returns:
- The first repetition of repeating field
eventHistory
, creating it if it does not already exist
-
getEventHistoryTarget
Deprecated.Use Reference#setResource(IBaseResource) instead -
addEventHistoryTarget
Deprecated.Use Reference#setResource(IBaseResource) instead -
listChildren
- Overrides:
listChildren
in classDomainResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
removeChild
- Overrides:
removeChild
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makeProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChild
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classDomainResource
-
copy
- Specified by:
copy
in classDomainResource
-
copyValues
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeep
in classDomainResource
-
equalsShallow
- Overrides:
equalsShallow
in classDomainResource
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classDomainResource
-
getResourceType
- Specified by:
getResourceType
in classResource
-