public class MedicationDispense extends DomainResource
| Modifier and Type | Class and Description |
|---|---|
static class |
MedicationDispense.MedicationDispensePerformerComponent |
static class |
MedicationDispense.MedicationDispenseStatus |
static class |
MedicationDispense.MedicationDispenseStatusEnumFactory |
static class |
MedicationDispense.MedicationDispenseSubstitutionComponent |
| Modifier and Type | Field and Description |
|---|---|
protected List<Reference> |
authorizingPrescription
Indicates the medication order that is being dispensed against.
|
protected List<MedicationRequest> |
authorizingPrescriptionTarget
The actual objects that are the target of the reference (Indicates the medication order that is being dispensed against.)
|
protected CodeableConcept |
category
Indicates the type of medication dispense (for example, where the medication is expected to be consumed or administered (i.e.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
CODE
Fluent Client search parameter constant for code
|
protected Reference |
context
The encounter or episode of care that establishes the context for this event.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
CONTEXT
Fluent Client search parameter constant for context
|
protected Resource |
contextTarget
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 |
daysSupply
The amount of medication expressed as a timing amount.
|
protected Reference |
destination
Identification of the facility/location where the medication was shipped to, as part of the dispense event.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
DESTINATION
Fluent Client search parameter constant for destination
|
protected Location |
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.)
|
protected List<Reference> |
detectedIssue
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> |
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.
|
protected List<Dosage> |
dosageInstruction
Indicates how the medication is to be used by the patient.
|
protected List<Reference> |
eventHistory
A summary of the events of interest that have occurred, such as when the dispense was verified.
|
protected List<Provenance> |
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.)
|
protected List<Identifier> |
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 ca.uhn.fhir.rest.gclient.TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_CONTEXT
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_DESTINATION
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_MEDICATION
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_PERFORMER
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_PRESCRIPTION
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_RECEIVER
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_RESPONSIBLEPARTY
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements.
|
protected Reference |
location
The principal physical location where the dispense was performed.
|
protected Location |
locationTarget
The actual object that is the target of the reference (The principal physical location where the dispense was performed.)
|
protected Type |
medication
Identifies the medication being administered.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
MEDICATION
Fluent Client search parameter constant for medication
|
protected List<Annotation> |
note
Extra information about the dispense that could not be conveyed in the other attributes.
|
protected List<Reference> |
partOf
The procedure that trigger the dispense.
|
protected List<Procedure> |
partOfTarget
The actual objects that are the target of the reference (The procedure that trigger the dispense.)
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
protected List<MedicationDispense.MedicationDispensePerformerComponent> |
performer
Indicates who or what performed the event.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
PERFORMER
Fluent Client search parameter constant for performer
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
PRESCRIPTION
Fluent Client search parameter constant for prescription
|
protected Quantity |
quantity
The amount of medication that has been dispensed.
|
protected List<Reference> |
receiver
Identifies the person who picked up the medication.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
RECEIVER
Fluent Client search parameter constant for receiver
|
protected List<Resource> |
receiverTarget
The actual objects that are the target of the reference (Identifies the person who picked up the medication.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
RESPONSIBLEPARTY
Fluent Client search parameter constant for responsibleparty
|
static String |
SP_CODE
Search parameter: code
|
static String |
SP_CONTEXT
Search parameter: context
|
static String |
SP_DESTINATION
Search parameter: destination
|
static String |
SP_IDENTIFIER
Search parameter: identifier
|
static String |
SP_MEDICATION
Search parameter: medication
|
static String |
SP_PATIENT
Search parameter: patient
|
static String |
SP_PERFORMER
Search parameter: performer
|
static String |
SP_PRESCRIPTION
Search parameter: prescription
|
static String |
SP_RECEIVER
Search parameter: receiver
|
static String |
SP_RESPONSIBLEPARTY
Search parameter: responsibleparty
|
static String |
SP_STATUS
Search parameter: status
|
static String |
SP_SUBJECT
Search parameter: subject
|
static String |
SP_TYPE
Search parameter: type
|
static String |
SP_WHENHANDEDOVER
Search parameter: whenhandedover
|
static String |
SP_WHENPREPARED
Search parameter: whenprepared
|
protected Enumeration<MedicationDispense.MedicationDispenseStatus> |
status
A code specifying the state of the set of dispense events.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
STATUS
Fluent Client search parameter constant for status
|
protected Type |
statusReason
Indicates the reason why a dispense was not performed.
|
protected Reference |
subject
A link to a resource representing the person or the group to whom the medication will be given.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
SUBJECT
Fluent Client search parameter constant for subject
|
protected Resource |
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.)
|
protected MedicationDispense.MedicationDispenseSubstitutionComponent |
substitution
Indicates whether or not substitution was made as part of the dispense.
|
protected List<Reference> |
supportingInformation
Additional information that supports the medication being dispensed.
|
protected List<Resource> |
supportingInformationTarget
The actual objects that are the target of the reference (Additional information that supports the medication being dispensed.)
|
protected CodeableConcept |
type
Indicates the type of dispensing event that is performed.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
TYPE
Fluent Client search parameter constant for type
|
protected DateTimeType |
whenHandedOver
The time the dispensed product was provided to the patient or their representative.
|
static ca.uhn.fhir.rest.gclient.DateClientParam |
WHENHANDEDOVER
Fluent Client search parameter constant for whenhandedover
|
protected DateTimeType |
whenPrepared
The time when the dispensed product was packaged and reviewed.
|
static ca.uhn.fhir.rest.gclient.DateClientParam |
WHENPREPARED
Fluent Client search parameter constant for whenprepared
|
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
MedicationDispense()
Constructor
|
MedicationDispense(Enumeration<MedicationDispense.MedicationDispenseStatus> status,
Type medication)
Constructor
|
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setTextcopyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetagetStructureFhirVersionEnum, isResource, setIdcastToAddress, 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, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDataprotected List<Identifier> identifier
protected List<Procedure> partOfTarget
protected Enumeration<MedicationDispense.MedicationDispenseStatus> status
protected Type statusReason
protected CodeableConcept category
protected Type medication
protected Reference subject
protected Resource subjectTarget
protected Reference context
protected Resource contextTarget
protected List<Reference> supportingInformation
protected List<Resource> supportingInformationTarget
protected List<MedicationDispense.MedicationDispensePerformerComponent> performer
protected Reference location
protected Location locationTarget
protected List<Reference> authorizingPrescription
protected List<MedicationRequest> authorizingPrescriptionTarget
protected CodeableConcept type
protected Quantity quantity
protected Quantity daysSupply
protected DateTimeType whenPrepared
protected DateTimeType whenHandedOver
protected Reference destination
protected Location destinationTarget
protected List<Reference> receiver
protected List<Resource> receiverTarget
protected List<Annotation> note
protected List<Dosage> dosageInstruction
protected MedicationDispense.MedicationDispenseSubstitutionComponent substitution
protected List<Reference> detectedIssue
protected List<DetectedIssue> detectedIssueTarget
protected List<Reference> eventHistory
protected List<Provenance> eventHistoryTarget
public static final String SP_IDENTIFIER
Description: Returns dispenses with this external identifier
Type: token
Path: MedicationDispense.identifier
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Description: Returns dispenses with this external identifier
Type: token
Path: MedicationDispense.identifier
public static final String SP_PERFORMER
Description: Returns dispenses performed by a specific individual
Type: reference
Path: MedicationDispense.performer.actor
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PERFORMER
Description: Returns dispenses performed by a specific individual
Type: reference
Path: MedicationDispense.performer.actor
public static final ca.uhn.fhir.model.api.Include INCLUDE_PERFORMER
public static final String SP_CODE
Description: Returns dispenses of this medicine code
Type: token
Path: MedicationDispense.medicationCodeableConcept
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE
Description: Returns dispenses of this medicine code
Type: token
Path: MedicationDispense.medicationCodeableConcept
public static final String SP_RECEIVER
Description: The identity of a receiver to list dispenses for
Type: reference
Path: MedicationDispense.receiver
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam RECEIVER
Description: The identity of a receiver to list dispenses for
Type: reference
Path: MedicationDispense.receiver
public static final ca.uhn.fhir.model.api.Include INCLUDE_RECEIVER
public static final String SP_SUBJECT
Description: The identity of a patient for whom to list dispenses
Type: reference
Path: MedicationDispense.subject
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT
Description: The identity of a patient for whom to list dispenses
Type: reference
Path: MedicationDispense.subject
public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT
public static final String SP_DESTINATION
Description: Returns dispenses that should be sent to a specific destination
Type: reference
Path: MedicationDispense.destination
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam DESTINATION
Description: Returns dispenses that should be sent to a specific destination
Type: reference
Path: MedicationDispense.destination
public static final ca.uhn.fhir.model.api.Include INCLUDE_DESTINATION
public static final String SP_MEDICATION
Description: Returns dispenses of this medicine resource
Type: reference
Path: MedicationDispense.medicationReference
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam MEDICATION
Description: Returns dispenses of this medicine resource
Type: reference
Path: MedicationDispense.medicationReference
public static final ca.uhn.fhir.model.api.Include INCLUDE_MEDICATION
public static final String SP_RESPONSIBLEPARTY
Description: Returns dispenses with the specified responsible party
Type: reference
Path: MedicationDispense.substitution.responsibleParty
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam RESPONSIBLEPARTY
Description: Returns dispenses with the specified responsible party
Type: reference
Path: MedicationDispense.substitution.responsibleParty
public static final ca.uhn.fhir.model.api.Include INCLUDE_RESPONSIBLEPARTY
public static final String SP_TYPE
Description: Returns dispenses of a specific type
Type: token
Path: MedicationDispense.type
public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE
Description: Returns dispenses of a specific type
Type: token
Path: MedicationDispense.type
public static final String SP_WHENHANDEDOVER
Description: Returns dispenses handed over on this date
Type: date
Path: MedicationDispense.whenHandedOver
public static final ca.uhn.fhir.rest.gclient.DateClientParam WHENHANDEDOVER
Description: Returns dispenses handed over on this date
Type: date
Path: MedicationDispense.whenHandedOver
public static final String SP_WHENPREPARED
Description: Returns dispenses prepared on this date
Type: date
Path: MedicationDispense.whenPrepared
public static final ca.uhn.fhir.rest.gclient.DateClientParam WHENPREPARED
Description: Returns dispenses prepared on this date
Type: date
Path: MedicationDispense.whenPrepared
public static final String SP_PRESCRIPTION
Description: The identity of a prescription to list dispenses from
Type: reference
Path: MedicationDispense.authorizingPrescription
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PRESCRIPTION
Description: The identity of a prescription to list dispenses from
Type: reference
Path: MedicationDispense.authorizingPrescription
public static final ca.uhn.fhir.model.api.Include INCLUDE_PRESCRIPTION
public static final String SP_PATIENT
Description: The identity of a patient to list dispenses for
Type: reference
Path: MedicationDispense.subject
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
Description: The identity of a patient to list dispenses for
Type: reference
Path: MedicationDispense.subject
public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
public static final String SP_CONTEXT
Description: Returns dispenses with a specific context (episode or episode of care)
Type: reference
Path: MedicationDispense.context
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam CONTEXT
Description: Returns dispenses with a specific context (episode or episode of care)
Type: reference
Path: MedicationDispense.context
public static final ca.uhn.fhir.model.api.Include INCLUDE_CONTEXT
public static final String SP_STATUS
Description: Returns dispenses with a specified dispense status
Type: token
Path: MedicationDispense.status
public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS
Description: Returns dispenses with a specified dispense status
Type: token
Path: MedicationDispense.status
public MedicationDispense()
public MedicationDispense(Enumeration<MedicationDispense.MedicationDispenseStatus> status, Type medication)
public List<Identifier> getIdentifier()
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.)public MedicationDispense setIdentifier(List<Identifier> theIdentifier)
this for easy method chainingpublic boolean hasIdentifier()
public Identifier addIdentifier()
public MedicationDispense addIdentifier(Identifier t)
public Identifier getIdentifierFirstRep()
identifier, creating it if it does not already existpublic List<Reference> getPartOf()
partOf (The procedure that trigger the dispense.)public MedicationDispense setPartOf(List<Reference> thePartOf)
this for easy method chainingpublic boolean hasPartOf()
public MedicationDispense addPartOf(Reference t)
public Reference getPartOfFirstRep()
partOf, creating it if it does not already exist@Deprecated public List<Procedure> getPartOfTarget()
@Deprecated public Procedure addPartOfTarget()
public Enumeration<MedicationDispense.MedicationDispenseStatus> getStatusElement()
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 valuepublic boolean hasStatusElement()
public boolean hasStatus()
public MedicationDispense setStatusElement(Enumeration<MedicationDispense.MedicationDispenseStatus> value)
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 valuepublic MedicationDispense.MedicationDispenseStatus getStatus()
public MedicationDispense setStatus(MedicationDispense.MedicationDispenseStatus value)
value - A code specifying the state of the set of dispense events.public Type getStatusReason()
statusReason (Indicates the reason why a dispense was not performed.)public CodeableConcept getStatusReasonCodeableConcept() throws org.hl7.fhir.exceptions.FHIRException
statusReason (Indicates the reason why a dispense was not performed.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasStatusReasonCodeableConcept()
public Reference getStatusReasonReference() throws org.hl7.fhir.exceptions.FHIRException
statusReason (Indicates the reason why a dispense was not performed.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasStatusReasonReference()
public boolean hasStatusReason()
public MedicationDispense setStatusReason(Type value)
value - statusReason (Indicates the reason why a dispense was not performed.)public CodeableConcept getCategory()
category (Indicates the type of medication dispense (for example, where the medication is expected to be consumed or administered (i.e. inpatient or outpatient)).)public boolean hasCategory()
public MedicationDispense setCategory(CodeableConcept value)
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)).)public Type getMedication()
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.)public CodeableConcept getMedicationCodeableConcept() throws org.hl7.fhir.exceptions.FHIRException
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.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasMedicationCodeableConcept()
public Reference getMedicationReference() throws org.hl7.fhir.exceptions.FHIRException
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.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasMedicationReference()
public boolean hasMedication()
public MedicationDispense setMedication(Type value)
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.)public Reference getSubject()
subject (A link to a resource representing the person or the group to whom the medication will be given.)public boolean hasSubject()
public MedicationDispense setSubject(Reference value)
value - subject (A link to a resource representing the person or the group to whom the medication will be given.)public Resource getSubjectTarget()
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.)public MedicationDispense setSubjectTarget(Resource value)
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.)public Reference getContext()
context (The encounter or episode of care that establishes the context for this event.)public boolean hasContext()
public MedicationDispense setContext(Reference value)
value - context (The encounter or episode of care that establishes the context for this event.)public Resource getContextTarget()
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.)public MedicationDispense setContextTarget(Resource value)
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.)public List<Reference> getSupportingInformation()
supportingInformation (Additional information that supports the medication being dispensed.)public MedicationDispense setSupportingInformation(List<Reference> theSupportingInformation)
this for easy method chainingpublic boolean hasSupportingInformation()
public Reference addSupportingInformation()
public MedicationDispense addSupportingInformation(Reference t)
public Reference getSupportingInformationFirstRep()
supportingInformation, creating it if it does not already exist@Deprecated public List<Resource> getSupportingInformationTarget()
public List<MedicationDispense.MedicationDispensePerformerComponent> getPerformer()
performer (Indicates who or what performed the event.)public MedicationDispense setPerformer(List<MedicationDispense.MedicationDispensePerformerComponent> thePerformer)
this for easy method chainingpublic boolean hasPerformer()
public MedicationDispense.MedicationDispensePerformerComponent addPerformer()
public MedicationDispense addPerformer(MedicationDispense.MedicationDispensePerformerComponent t)
public MedicationDispense.MedicationDispensePerformerComponent getPerformerFirstRep()
performer, creating it if it does not already existpublic Reference getLocation()
location (The principal physical location where the dispense was performed.)public boolean hasLocation()
public MedicationDispense setLocation(Reference value)
value - location (The principal physical location where the dispense was performed.)public Location getLocationTarget()
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.)public MedicationDispense setLocationTarget(Location value)
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.)public List<Reference> getAuthorizingPrescription()
authorizingPrescription (Indicates the medication order that is being dispensed against.)public MedicationDispense setAuthorizingPrescription(List<Reference> theAuthorizingPrescription)
this for easy method chainingpublic boolean hasAuthorizingPrescription()
public Reference addAuthorizingPrescription()
public MedicationDispense addAuthorizingPrescription(Reference t)
public Reference getAuthorizingPrescriptionFirstRep()
authorizingPrescription, creating it if it does not already exist@Deprecated public List<MedicationRequest> getAuthorizingPrescriptionTarget()
@Deprecated public MedicationRequest addAuthorizingPrescriptionTarget()
public CodeableConcept getType()
type (Indicates the type of dispensing event that is performed. For example, Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc.)public boolean hasType()
public MedicationDispense setType(CodeableConcept value)
value - type (Indicates the type of dispensing event that is performed. For example, Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc.)public Quantity getQuantity()
quantity (The amount of medication that has been dispensed. Includes unit of measure.)public boolean hasQuantity()
public MedicationDispense setQuantity(Quantity value)
value - quantity (The amount of medication that has been dispensed. Includes unit of measure.)public Quantity getDaysSupply()
daysSupply (The amount of medication expressed as a timing amount.)public boolean hasDaysSupply()
public MedicationDispense setDaysSupply(Quantity value)
value - daysSupply (The amount of medication expressed as a timing amount.)public DateTimeType getWhenPreparedElement()
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 valuepublic boolean hasWhenPreparedElement()
public boolean hasWhenPrepared()
public MedicationDispense setWhenPreparedElement(DateTimeType value)
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 valuepublic Date getWhenPrepared()
public MedicationDispense setWhenPrepared(Date value)
value - The time when the dispensed product was packaged and reviewed.public DateTimeType getWhenHandedOverElement()
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 valuepublic boolean hasWhenHandedOverElement()
public boolean hasWhenHandedOver()
public MedicationDispense setWhenHandedOverElement(DateTimeType value)
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 valuepublic Date getWhenHandedOver()
public MedicationDispense setWhenHandedOver(Date value)
value - The time the dispensed product was provided to the patient or their representative.public Reference getDestination()
destination (Identification of the facility/location where the medication was shipped to, as part of the dispense event.)public boolean hasDestination()
public MedicationDispense setDestination(Reference value)
value - destination (Identification of the facility/location where the medication was shipped to, as part of the dispense event.)public Location getDestinationTarget()
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.)public MedicationDispense setDestinationTarget(Location value)
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.)public List<Reference> getReceiver()
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.)public MedicationDispense setReceiver(List<Reference> theReceiver)
this for easy method chainingpublic boolean hasReceiver()
public Reference addReceiver()
public MedicationDispense addReceiver(Reference t)
public Reference getReceiverFirstRep()
receiver, creating it if it does not already exist@Deprecated public List<Resource> getReceiverTarget()
public List<Annotation> getNote()
note (Extra information about the dispense that could not be conveyed in the other attributes.)public MedicationDispense setNote(List<Annotation> theNote)
this for easy method chainingpublic boolean hasNote()
public Annotation addNote()
public MedicationDispense addNote(Annotation t)
public Annotation getNoteFirstRep()
note, creating it if it does not already existpublic List<Dosage> getDosageInstruction()
dosageInstruction (Indicates how the medication is to be used by the patient.)public MedicationDispense setDosageInstruction(List<Dosage> theDosageInstruction)
this for easy method chainingpublic boolean hasDosageInstruction()
public Dosage addDosageInstruction()
public MedicationDispense addDosageInstruction(Dosage t)
public Dosage getDosageInstructionFirstRep()
dosageInstruction, creating it if it does not already existpublic MedicationDispense.MedicationDispenseSubstitutionComponent getSubstitution()
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.)public boolean hasSubstitution()
public MedicationDispense setSubstitution(MedicationDispense.MedicationDispenseSubstitutionComponent value)
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.)public List<Reference> getDetectedIssue()
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.)public MedicationDispense setDetectedIssue(List<Reference> theDetectedIssue)
this for easy method chainingpublic boolean hasDetectedIssue()
public Reference addDetectedIssue()
public MedicationDispense addDetectedIssue(Reference t)
public Reference getDetectedIssueFirstRep()
detectedIssue, creating it if it does not already exist@Deprecated public List<DetectedIssue> getDetectedIssueTarget()
@Deprecated public DetectedIssue addDetectedIssueTarget()
public List<Reference> getEventHistory()
eventHistory (A summary of the events of interest that have occurred, such as when the dispense was verified.)public MedicationDispense setEventHistory(List<Reference> theEventHistory)
this for easy method chainingpublic boolean hasEventHistory()
public Reference addEventHistory()
public MedicationDispense addEventHistory(Reference t)
public Reference getEventHistoryFirstRep()
eventHistory, creating it if it does not already exist@Deprecated public List<Provenance> getEventHistoryTarget()
@Deprecated public Provenance addEventHistoryTarget()
protected void listChildren(List<Property> children)
listChildren in class DomainResourcepublic Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
getNamedProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
getTypesForProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
addChild in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic String fhirType()
fhirType in interface org.hl7.fhir.instance.model.api.IBasefhirType in class DomainResourcepublic MedicationDispense copy()
copy in class DomainResourcepublic void copyValues(MedicationDispense dst)
protected MedicationDispense typedCopy()
public boolean equalsDeep(Base other_)
equalsDeep in class DomainResourcepublic boolean equalsShallow(Base other_)
equalsShallow in class DomainResourcepublic boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2021 Health Level 7. All rights reserved.