blob: 0727f883ce04d0465d206f97f7464f55c68ad3ea [file] [log] [blame]
/**
*/
package org.hl7.fhir;
import org.eclipse.emf.common.util.EList;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Medication Dispense</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* Indicates that a medication product is to be or has been dispensed for a named person/patient. This includes a description of the medication product (supply) provided and the instructions for administering the medication. The medication dispense is the result of a pharmacy system responding to a medication order.
* If the element is present, it must have either a @value, an @id, or extensions
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.hl7.fhir.MedicationDispense#getIdentifier <em>Identifier</em>}</li>
* <li>{@link org.hl7.fhir.MedicationDispense#getPartOf <em>Part Of</em>}</li>
* <li>{@link org.hl7.fhir.MedicationDispense#getStatus <em>Status</em>}</li>
* <li>{@link org.hl7.fhir.MedicationDispense#getStatusReasonCodeableConcept <em>Status Reason Codeable Concept</em>}</li>
* <li>{@link org.hl7.fhir.MedicationDispense#getStatusReasonReference <em>Status Reason Reference</em>}</li>
* <li>{@link org.hl7.fhir.MedicationDispense#getCategory <em>Category</em>}</li>
* <li>{@link org.hl7.fhir.MedicationDispense#getMedicationCodeableConcept <em>Medication Codeable Concept</em>}</li>
* <li>{@link org.hl7.fhir.MedicationDispense#getMedicationReference <em>Medication Reference</em>}</li>
* <li>{@link org.hl7.fhir.MedicationDispense#getSubject <em>Subject</em>}</li>
* <li>{@link org.hl7.fhir.MedicationDispense#getContext <em>Context</em>}</li>
* <li>{@link org.hl7.fhir.MedicationDispense#getSupportingInformation <em>Supporting Information</em>}</li>
* <li>{@link org.hl7.fhir.MedicationDispense#getPerformer <em>Performer</em>}</li>
* <li>{@link org.hl7.fhir.MedicationDispense#getLocation <em>Location</em>}</li>
* <li>{@link org.hl7.fhir.MedicationDispense#getAuthorizingPrescription <em>Authorizing Prescription</em>}</li>
* <li>{@link org.hl7.fhir.MedicationDispense#getType <em>Type</em>}</li>
* <li>{@link org.hl7.fhir.MedicationDispense#getQuantity <em>Quantity</em>}</li>
* <li>{@link org.hl7.fhir.MedicationDispense#getDaysSupply <em>Days Supply</em>}</li>
* <li>{@link org.hl7.fhir.MedicationDispense#getWhenPrepared <em>When Prepared</em>}</li>
* <li>{@link org.hl7.fhir.MedicationDispense#getWhenHandedOver <em>When Handed Over</em>}</li>
* <li>{@link org.hl7.fhir.MedicationDispense#getDestination <em>Destination</em>}</li>
* <li>{@link org.hl7.fhir.MedicationDispense#getReceiver <em>Receiver</em>}</li>
* <li>{@link org.hl7.fhir.MedicationDispense#getNote <em>Note</em>}</li>
* <li>{@link org.hl7.fhir.MedicationDispense#getDosageInstruction <em>Dosage Instruction</em>}</li>
* <li>{@link org.hl7.fhir.MedicationDispense#getSubstitution <em>Substitution</em>}</li>
* <li>{@link org.hl7.fhir.MedicationDispense#getDetectedIssue <em>Detected Issue</em>}</li>
* <li>{@link org.hl7.fhir.MedicationDispense#getEventHistory <em>Event History</em>}</li>
* </ul>
*
* @see org.hl7.fhir.FhirPackage#getMedicationDispense()
* @model extendedMetaData="name='MedicationDispense' kind='elementOnly'"
* @generated
*/
public interface MedicationDispense extends DomainResource {
/**
* Returns the value of the '<em><b>Identifier</b></em>' containment reference list.
* The list contents are of type {@link org.hl7.fhir.Identifier}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* 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.
* <!-- end-model-doc -->
* @return the value of the '<em>Identifier</em>' containment reference list.
* @see org.hl7.fhir.FhirPackage#getMedicationDispense_Identifier()
* @model containment="true"
* extendedMetaData="kind='element' name='identifier' namespace='##targetNamespace'"
* @generated
*/
EList<Identifier> getIdentifier();
/**
* Returns the value of the '<em><b>Part Of</b></em>' containment reference list.
* The list contents are of type {@link org.hl7.fhir.Reference}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* The procedure that trigger the dispense.
* <!-- end-model-doc -->
* @return the value of the '<em>Part Of</em>' containment reference list.
* @see org.hl7.fhir.FhirPackage#getMedicationDispense_PartOf()
* @model containment="true"
* extendedMetaData="kind='element' name='partOf' namespace='##targetNamespace'"
* @generated
*/
EList<Reference> getPartOf();
/**
* Returns the value of the '<em><b>Status</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* A code specifying the state of the set of dispense events.
* <!-- end-model-doc -->
* @return the value of the '<em>Status</em>' containment reference.
* @see #setStatus(Code)
* @see org.hl7.fhir.FhirPackage#getMedicationDispense_Status()
* @model containment="true" required="true"
* extendedMetaData="kind='element' name='status' namespace='##targetNamespace'"
* @generated
*/
Code getStatus();
/**
* Sets the value of the '{@link org.hl7.fhir.MedicationDispense#getStatus <em>Status</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Status</em>' containment reference.
* @see #getStatus()
* @generated
*/
void setStatus(Code value);
/**
* Returns the value of the '<em><b>Status Reason Codeable Concept</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Status Reason Codeable Concept</em>' containment reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Status Reason Codeable Concept</em>' containment reference.
* @see #setStatusReasonCodeableConcept(CodeableConcept)
* @see org.hl7.fhir.FhirPackage#getMedicationDispense_StatusReasonCodeableConcept()
* @model containment="true"
* extendedMetaData="kind='element' name='statusReasonCodeableConcept' namespace='##targetNamespace'"
* @generated
*/
CodeableConcept getStatusReasonCodeableConcept();
/**
* Sets the value of the '{@link org.hl7.fhir.MedicationDispense#getStatusReasonCodeableConcept <em>Status Reason Codeable Concept</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Status Reason Codeable Concept</em>' containment reference.
* @see #getStatusReasonCodeableConcept()
* @generated
*/
void setStatusReasonCodeableConcept(CodeableConcept value);
/**
* Returns the value of the '<em><b>Status Reason Reference</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Status Reason Reference</em>' containment reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Status Reason Reference</em>' containment reference.
* @see #setStatusReasonReference(Reference)
* @see org.hl7.fhir.FhirPackage#getMedicationDispense_StatusReasonReference()
* @model containment="true"
* extendedMetaData="kind='element' name='statusReasonReference' namespace='##targetNamespace'"
* @generated
*/
Reference getStatusReasonReference();
/**
* Sets the value of the '{@link org.hl7.fhir.MedicationDispense#getStatusReasonReference <em>Status Reason Reference</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Status Reason Reference</em>' containment reference.
* @see #getStatusReasonReference()
* @generated
*/
void setStatusReasonReference(Reference value);
/**
* Returns the value of the '<em><b>Category</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Indicates the type of medication dispense (for example, where the medication is expected to be consumed or administered (i.e. inpatient or outpatient)).
* <!-- end-model-doc -->
* @return the value of the '<em>Category</em>' containment reference.
* @see #setCategory(CodeableConcept)
* @see org.hl7.fhir.FhirPackage#getMedicationDispense_Category()
* @model containment="true"
* extendedMetaData="kind='element' name='category' namespace='##targetNamespace'"
* @generated
*/
CodeableConcept getCategory();
/**
* Sets the value of the '{@link org.hl7.fhir.MedicationDispense#getCategory <em>Category</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Category</em>' containment reference.
* @see #getCategory()
* @generated
*/
void setCategory(CodeableConcept value);
/**
* Returns the value of the '<em><b>Medication Codeable Concept</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Medication Codeable Concept</em>' containment reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Medication Codeable Concept</em>' containment reference.
* @see #setMedicationCodeableConcept(CodeableConcept)
* @see org.hl7.fhir.FhirPackage#getMedicationDispense_MedicationCodeableConcept()
* @model containment="true"
* extendedMetaData="kind='element' name='medicationCodeableConcept' namespace='##targetNamespace'"
* @generated
*/
CodeableConcept getMedicationCodeableConcept();
/**
* Sets the value of the '{@link org.hl7.fhir.MedicationDispense#getMedicationCodeableConcept <em>Medication Codeable Concept</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Medication Codeable Concept</em>' containment reference.
* @see #getMedicationCodeableConcept()
* @generated
*/
void setMedicationCodeableConcept(CodeableConcept value);
/**
* Returns the value of the '<em><b>Medication Reference</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Medication Reference</em>' containment reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Medication Reference</em>' containment reference.
* @see #setMedicationReference(Reference)
* @see org.hl7.fhir.FhirPackage#getMedicationDispense_MedicationReference()
* @model containment="true"
* extendedMetaData="kind='element' name='medicationReference' namespace='##targetNamespace'"
* @generated
*/
Reference getMedicationReference();
/**
* Sets the value of the '{@link org.hl7.fhir.MedicationDispense#getMedicationReference <em>Medication Reference</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Medication Reference</em>' containment reference.
* @see #getMedicationReference()
* @generated
*/
void setMedicationReference(Reference value);
/**
* Returns the value of the '<em><b>Subject</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* A link to a resource representing the person or the group to whom the medication will be given.
* <!-- end-model-doc -->
* @return the value of the '<em>Subject</em>' containment reference.
* @see #setSubject(Reference)
* @see org.hl7.fhir.FhirPackage#getMedicationDispense_Subject()
* @model containment="true"
* extendedMetaData="kind='element' name='subject' namespace='##targetNamespace'"
* @generated
*/
Reference getSubject();
/**
* Sets the value of the '{@link org.hl7.fhir.MedicationDispense#getSubject <em>Subject</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Subject</em>' containment reference.
* @see #getSubject()
* @generated
*/
void setSubject(Reference value);
/**
* Returns the value of the '<em><b>Context</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* The encounter or episode of care that establishes the context for this event.
* <!-- end-model-doc -->
* @return the value of the '<em>Context</em>' containment reference.
* @see #setContext(Reference)
* @see org.hl7.fhir.FhirPackage#getMedicationDispense_Context()
* @model containment="true"
* extendedMetaData="kind='element' name='context' namespace='##targetNamespace'"
* @generated
*/
Reference getContext();
/**
* Sets the value of the '{@link org.hl7.fhir.MedicationDispense#getContext <em>Context</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Context</em>' containment reference.
* @see #getContext()
* @generated
*/
void setContext(Reference value);
/**
* Returns the value of the '<em><b>Supporting Information</b></em>' containment reference list.
* The list contents are of type {@link org.hl7.fhir.Reference}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Additional information that supports the medication being dispensed.
* <!-- end-model-doc -->
* @return the value of the '<em>Supporting Information</em>' containment reference list.
* @see org.hl7.fhir.FhirPackage#getMedicationDispense_SupportingInformation()
* @model containment="true"
* extendedMetaData="kind='element' name='supportingInformation' namespace='##targetNamespace'"
* @generated
*/
EList<Reference> getSupportingInformation();
/**
* Returns the value of the '<em><b>Performer</b></em>' containment reference list.
* The list contents are of type {@link org.hl7.fhir.MedicationDispensePerformer}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Indicates who or what performed the event.
* <!-- end-model-doc -->
* @return the value of the '<em>Performer</em>' containment reference list.
* @see org.hl7.fhir.FhirPackage#getMedicationDispense_Performer()
* @model containment="true"
* extendedMetaData="kind='element' name='performer' namespace='##targetNamespace'"
* @generated
*/
EList<MedicationDispensePerformer> getPerformer();
/**
* Returns the value of the '<em><b>Location</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* The principal physical location where the dispense was performed.
* <!-- end-model-doc -->
* @return the value of the '<em>Location</em>' containment reference.
* @see #setLocation(Reference)
* @see org.hl7.fhir.FhirPackage#getMedicationDispense_Location()
* @model containment="true"
* extendedMetaData="kind='element' name='location' namespace='##targetNamespace'"
* @generated
*/
Reference getLocation();
/**
* Sets the value of the '{@link org.hl7.fhir.MedicationDispense#getLocation <em>Location</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Location</em>' containment reference.
* @see #getLocation()
* @generated
*/
void setLocation(Reference value);
/**
* Returns the value of the '<em><b>Authorizing Prescription</b></em>' containment reference list.
* The list contents are of type {@link org.hl7.fhir.Reference}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Indicates the medication order that is being dispensed against.
* <!-- end-model-doc -->
* @return the value of the '<em>Authorizing Prescription</em>' containment reference list.
* @see org.hl7.fhir.FhirPackage#getMedicationDispense_AuthorizingPrescription()
* @model containment="true"
* extendedMetaData="kind='element' name='authorizingPrescription' namespace='##targetNamespace'"
* @generated
*/
EList<Reference> getAuthorizingPrescription();
/**
* Returns the value of the '<em><b>Type</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Indicates the type of dispensing event that is performed. For example, Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc.
* <!-- end-model-doc -->
* @return the value of the '<em>Type</em>' containment reference.
* @see #setType(CodeableConcept)
* @see org.hl7.fhir.FhirPackage#getMedicationDispense_Type()
* @model containment="true"
* extendedMetaData="kind='element' name='type' namespace='##targetNamespace'"
* @generated
*/
CodeableConcept getType();
/**
* Sets the value of the '{@link org.hl7.fhir.MedicationDispense#getType <em>Type</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Type</em>' containment reference.
* @see #getType()
* @generated
*/
void setType(CodeableConcept value);
/**
* Returns the value of the '<em><b>Quantity</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* The amount of medication that has been dispensed. Includes unit of measure.
* <!-- end-model-doc -->
* @return the value of the '<em>Quantity</em>' containment reference.
* @see #setQuantity(Quantity)
* @see org.hl7.fhir.FhirPackage#getMedicationDispense_Quantity()
* @model containment="true"
* extendedMetaData="kind='element' name='quantity' namespace='##targetNamespace'"
* @generated
*/
Quantity getQuantity();
/**
* Sets the value of the '{@link org.hl7.fhir.MedicationDispense#getQuantity <em>Quantity</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Quantity</em>' containment reference.
* @see #getQuantity()
* @generated
*/
void setQuantity(Quantity value);
/**
* Returns the value of the '<em><b>Days Supply</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* The amount of medication expressed as a timing amount.
* <!-- end-model-doc -->
* @return the value of the '<em>Days Supply</em>' containment reference.
* @see #setDaysSupply(Quantity)
* @see org.hl7.fhir.FhirPackage#getMedicationDispense_DaysSupply()
* @model containment="true"
* extendedMetaData="kind='element' name='daysSupply' namespace='##targetNamespace'"
* @generated
*/
Quantity getDaysSupply();
/**
* Sets the value of the '{@link org.hl7.fhir.MedicationDispense#getDaysSupply <em>Days Supply</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Days Supply</em>' containment reference.
* @see #getDaysSupply()
* @generated
*/
void setDaysSupply(Quantity value);
/**
* Returns the value of the '<em><b>When Prepared</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* The time when the dispensed product was packaged and reviewed.
* <!-- end-model-doc -->
* @return the value of the '<em>When Prepared</em>' containment reference.
* @see #setWhenPrepared(DateTime)
* @see org.hl7.fhir.FhirPackage#getMedicationDispense_WhenPrepared()
* @model containment="true"
* extendedMetaData="kind='element' name='whenPrepared' namespace='##targetNamespace'"
* @generated
*/
DateTime getWhenPrepared();
/**
* Sets the value of the '{@link org.hl7.fhir.MedicationDispense#getWhenPrepared <em>When Prepared</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>When Prepared</em>' containment reference.
* @see #getWhenPrepared()
* @generated
*/
void setWhenPrepared(DateTime value);
/**
* Returns the value of the '<em><b>When Handed Over</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* The time the dispensed product was provided to the patient or their representative.
* <!-- end-model-doc -->
* @return the value of the '<em>When Handed Over</em>' containment reference.
* @see #setWhenHandedOver(DateTime)
* @see org.hl7.fhir.FhirPackage#getMedicationDispense_WhenHandedOver()
* @model containment="true"
* extendedMetaData="kind='element' name='whenHandedOver' namespace='##targetNamespace'"
* @generated
*/
DateTime getWhenHandedOver();
/**
* Sets the value of the '{@link org.hl7.fhir.MedicationDispense#getWhenHandedOver <em>When Handed Over</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>When Handed Over</em>' containment reference.
* @see #getWhenHandedOver()
* @generated
*/
void setWhenHandedOver(DateTime value);
/**
* Returns the value of the '<em><b>Destination</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Identification of the facility/location where the medication was shipped to, as part of the dispense event.
* <!-- end-model-doc -->
* @return the value of the '<em>Destination</em>' containment reference.
* @see #setDestination(Reference)
* @see org.hl7.fhir.FhirPackage#getMedicationDispense_Destination()
* @model containment="true"
* extendedMetaData="kind='element' name='destination' namespace='##targetNamespace'"
* @generated
*/
Reference getDestination();
/**
* Sets the value of the '{@link org.hl7.fhir.MedicationDispense#getDestination <em>Destination</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Destination</em>' containment reference.
* @see #getDestination()
* @generated
*/
void setDestination(Reference value);
/**
* Returns the value of the '<em><b>Receiver</b></em>' containment reference list.
* The list contents are of type {@link org.hl7.fhir.Reference}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* 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.
* <!-- end-model-doc -->
* @return the value of the '<em>Receiver</em>' containment reference list.
* @see org.hl7.fhir.FhirPackage#getMedicationDispense_Receiver()
* @model containment="true"
* extendedMetaData="kind='element' name='receiver' namespace='##targetNamespace'"
* @generated
*/
EList<Reference> getReceiver();
/**
* Returns the value of the '<em><b>Note</b></em>' containment reference list.
* The list contents are of type {@link org.hl7.fhir.Annotation}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Extra information about the dispense that could not be conveyed in the other attributes.
* <!-- end-model-doc -->
* @return the value of the '<em>Note</em>' containment reference list.
* @see org.hl7.fhir.FhirPackage#getMedicationDispense_Note()
* @model containment="true"
* extendedMetaData="kind='element' name='note' namespace='##targetNamespace'"
* @generated
*/
EList<Annotation> getNote();
/**
* Returns the value of the '<em><b>Dosage Instruction</b></em>' containment reference list.
* The list contents are of type {@link org.hl7.fhir.Dosage}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Indicates how the medication is to be used by the patient.
* <!-- end-model-doc -->
* @return the value of the '<em>Dosage Instruction</em>' containment reference list.
* @see org.hl7.fhir.FhirPackage#getMedicationDispense_DosageInstruction()
* @model containment="true"
* extendedMetaData="kind='element' name='dosageInstruction' namespace='##targetNamespace'"
* @generated
*/
EList<Dosage> getDosageInstruction();
/**
* Returns the value of the '<em><b>Substitution</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* 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.
* <!-- end-model-doc -->
* @return the value of the '<em>Substitution</em>' containment reference.
* @see #setSubstitution(MedicationDispenseSubstitution)
* @see org.hl7.fhir.FhirPackage#getMedicationDispense_Substitution()
* @model containment="true"
* extendedMetaData="kind='element' name='substitution' namespace='##targetNamespace'"
* @generated
*/
MedicationDispenseSubstitution getSubstitution();
/**
* Sets the value of the '{@link org.hl7.fhir.MedicationDispense#getSubstitution <em>Substitution</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Substitution</em>' containment reference.
* @see #getSubstitution()
* @generated
*/
void setSubstitution(MedicationDispenseSubstitution value);
/**
* Returns the value of the '<em><b>Detected Issue</b></em>' containment reference list.
* The list contents are of type {@link org.hl7.fhir.Reference}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* 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.
* <!-- end-model-doc -->
* @return the value of the '<em>Detected Issue</em>' containment reference list.
* @see org.hl7.fhir.FhirPackage#getMedicationDispense_DetectedIssue()
* @model containment="true"
* extendedMetaData="kind='element' name='detectedIssue' namespace='##targetNamespace'"
* @generated
*/
EList<Reference> getDetectedIssue();
/**
* Returns the value of the '<em><b>Event History</b></em>' containment reference list.
* The list contents are of type {@link org.hl7.fhir.Reference}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* A summary of the events of interest that have occurred, such as when the dispense was verified.
* <!-- end-model-doc -->
* @return the value of the '<em>Event History</em>' containment reference list.
* @see org.hl7.fhir.FhirPackage#getMedicationDispense_EventHistory()
* @model containment="true"
* extendedMetaData="kind='element' name='eventHistory' namespace='##targetNamespace'"
* @generated
*/
EList<Reference> getEventHistory();
} // MedicationDispense