| /******************************************************************************* |
| * Copyright (c) 2016 David Carlson and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * David Carlson (Clinical Cloud Solutions, LLC) - initial API and implementation |
| *******************************************************************************/ |
| /** |
| */ |
| package org.eclipse.mdht.uml.fhir.core.resource; |
| |
| import org.eclipse.emf.common.util.EList; |
| |
| import org.eclipse.mdht.uml.fhir.core.datatype.Base; |
| import org.eclipse.mdht.uml.fhir.core.datatype.Code; |
| import org.eclipse.mdht.uml.fhir.core.datatype.CodeableConcept; |
| import org.eclipse.mdht.uml.fhir.core.datatype.DateTime; |
| import org.eclipse.mdht.uml.fhir.core.datatype.Identifier; |
| import org.eclipse.mdht.uml.fhir.core.datatype.SimpleQuantity; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Medication Dispense</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <!-- begin-model-doc --> |
| * |
| * <!-- end-model-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * </p> |
| * <ul> |
| * <li>{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationDispense#getIdentifier <em>Identifier</em>}</li> |
| * <li>{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationDispense#getStatus <em>Status</em>}</li> |
| * <li>{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationDispense#getPatient <em>Patient</em>}</li> |
| * <li>{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationDispense#getDispenser <em>Dispenser</em>}</li> |
| * <li>{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationDispense#getAuthorizingPrescriptions <em>Authorizing Prescription</em>}</li> |
| * <li>{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationDispense#getType <em>Type</em>}</li> |
| * <li>{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationDispense#getQuantity <em>Quantity</em>}</li> |
| * <li>{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationDispense#getDaysSupply <em>Days Supply</em>}</li> |
| * <li>{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationDispense#getMedicationx <em>Medicationx</em>}</li> |
| * <li>{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationDispense#getWhenPrepared <em>When Prepared</em>}</li> |
| * <li>{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationDispense#getWhenHandedOver <em>When Handed Over</em>}</li> |
| * <li>{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationDispense#getDestination <em>Destination</em>}</li> |
| * <li>{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationDispense#getReceivers <em>Receiver</em>}</li> |
| * <li>{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationDispense#getNote <em>Note</em>}</li> |
| * <li>{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationDispense#getDosageInstructions <em>Dosage Instruction</em>}</li> |
| * <li>{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationDispense#getSubstitution <em>Substitution</em>}</li> |
| * </ul> |
| * |
| * @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMedicationDispense() |
| * @model |
| * @generated |
| */ |
| public interface MedicationDispense extends DomainResource { |
| /** |
| * Returns the value of the '<em><b>Identifier</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Identifier</em>' reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Identifier</em>' reference. |
| * @see #setIdentifier(Identifier) |
| * @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMedicationDispense_Identifier() |
| * @model |
| * @generated |
| */ |
| Identifier getIdentifier(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationDispense#getIdentifier <em>Identifier</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Identifier</em>' reference. |
| * @see #getIdentifier() |
| * @generated |
| */ |
| void setIdentifier(Identifier value); |
| |
| /** |
| * Returns the value of the '<em><b>Status</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Status</em>' reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Status</em>' reference. |
| * @see #setStatus(Code) |
| * @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMedicationDispense_Status() |
| * @model |
| * @generated |
| */ |
| Code getStatus(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationDispense#getStatus <em>Status</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Status</em>' reference. |
| * @see #getStatus() |
| * @generated |
| */ |
| void setStatus(Code value); |
| |
| /** |
| * Returns the value of the '<em><b>Patient</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Patient</em>' reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Patient</em>' reference. |
| * @see #setPatient(Patient) |
| * @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMedicationDispense_Patient() |
| * @model |
| * @generated |
| */ |
| Patient getPatient(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationDispense#getPatient <em>Patient</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Patient</em>' reference. |
| * @see #getPatient() |
| * @generated |
| */ |
| void setPatient(Patient value); |
| |
| /** |
| * Returns the value of the '<em><b>Dispenser</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Dispenser</em>' reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Dispenser</em>' reference. |
| * @see #setDispenser(Practitioner) |
| * @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMedicationDispense_Dispenser() |
| * @model |
| * @generated |
| */ |
| Practitioner getDispenser(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationDispense#getDispenser <em>Dispenser</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Dispenser</em>' reference. |
| * @see #getDispenser() |
| * @generated |
| */ |
| void setDispenser(Practitioner value); |
| |
| /** |
| * Returns the value of the '<em><b>Authorizing Prescription</b></em>' reference list. |
| * The list contents are of type {@link org.eclipse.mdht.uml.fhir.core.resource.MedicationOrder}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Authorizing Prescription</em>' reference list isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Authorizing Prescription</em>' reference list. |
| * @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMedicationDispense_AuthorizingPrescription() |
| * @model |
| * @generated |
| */ |
| EList<MedicationOrder> getAuthorizingPrescriptions(); |
| |
| /** |
| * Returns the value of the '<em><b>Type</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Type</em>' reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Type</em>' reference. |
| * @see #setType(CodeableConcept) |
| * @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMedicationDispense_Type() |
| * @model |
| * @generated |
| */ |
| CodeableConcept getType(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationDispense#getType <em>Type</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Type</em>' reference. |
| * @see #getType() |
| * @generated |
| */ |
| void setType(CodeableConcept value); |
| |
| /** |
| * Returns the value of the '<em><b>Quantity</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Quantity</em>' reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Quantity</em>' reference. |
| * @see #setQuantity(SimpleQuantity) |
| * @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMedicationDispense_Quantity() |
| * @model |
| * @generated |
| */ |
| SimpleQuantity getQuantity(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationDispense#getQuantity <em>Quantity</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Quantity</em>' reference. |
| * @see #getQuantity() |
| * @generated |
| */ |
| void setQuantity(SimpleQuantity value); |
| |
| /** |
| * Returns the value of the '<em><b>Days Supply</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Days Supply</em>' reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Days Supply</em>' reference. |
| * @see #setDaysSupply(SimpleQuantity) |
| * @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMedicationDispense_DaysSupply() |
| * @model |
| * @generated |
| */ |
| SimpleQuantity getDaysSupply(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationDispense#getDaysSupply <em>Days Supply</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Days Supply</em>' reference. |
| * @see #getDaysSupply() |
| * @generated |
| */ |
| void setDaysSupply(SimpleQuantity value); |
| |
| /** |
| * Returns the value of the '<em><b>Medicationx</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Medicationx</em>' reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Medicationx</em>' reference. |
| * @see #setMedicationx(Base) |
| * @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMedicationDispense_Medicationx() |
| * @model required="true" |
| * annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='medication[x]'" |
| * @generated |
| */ |
| Base getMedicationx(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationDispense#getMedicationx <em>Medicationx</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Medicationx</em>' reference. |
| * @see #getMedicationx() |
| * @generated |
| */ |
| void setMedicationx(Base value); |
| |
| /** |
| * Returns the value of the '<em><b>When Prepared</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>When Prepared</em>' reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>When Prepared</em>' reference. |
| * @see #setWhenPrepared(DateTime) |
| * @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMedicationDispense_WhenPrepared() |
| * @model |
| * @generated |
| */ |
| DateTime getWhenPrepared(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationDispense#getWhenPrepared <em>When Prepared</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>When Prepared</em>' reference. |
| * @see #getWhenPrepared() |
| * @generated |
| */ |
| void setWhenPrepared(DateTime value); |
| |
| /** |
| * Returns the value of the '<em><b>When Handed Over</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>When Handed Over</em>' reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>When Handed Over</em>' reference. |
| * @see #setWhenHandedOver(DateTime) |
| * @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMedicationDispense_WhenHandedOver() |
| * @model |
| * @generated |
| */ |
| DateTime getWhenHandedOver(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationDispense#getWhenHandedOver <em>When Handed Over</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>When Handed Over</em>' reference. |
| * @see #getWhenHandedOver() |
| * @generated |
| */ |
| void setWhenHandedOver(DateTime value); |
| |
| /** |
| * Returns the value of the '<em><b>Destination</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Destination</em>' reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Destination</em>' reference. |
| * @see #setDestination(Location) |
| * @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMedicationDispense_Destination() |
| * @model |
| * @generated |
| */ |
| Location getDestination(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationDispense#getDestination <em>Destination</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Destination</em>' reference. |
| * @see #getDestination() |
| * @generated |
| */ |
| void setDestination(Location value); |
| |
| /** |
| * Returns the value of the '<em><b>Receiver</b></em>' reference list. |
| * The list contents are of type {@link org.eclipse.mdht.uml.fhir.core.resource.Resource}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Receiver</em>' reference list isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Receiver</em>' reference list. |
| * @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMedicationDispense_Receiver() |
| * @model |
| * @generated |
| */ |
| EList<Resource> getReceivers(); |
| |
| /** |
| * Returns the value of the '<em><b>Note</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Note</em>' reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Note</em>' reference. |
| * @see #setNote(org.eclipse.mdht.uml.fhir.core.datatype.String) |
| * @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMedicationDispense_Note() |
| * @model |
| * @generated |
| */ |
| org.eclipse.mdht.uml.fhir.core.datatype.String getNote(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationDispense#getNote <em>Note</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Note</em>' reference. |
| * @see #getNote() |
| * @generated |
| */ |
| void setNote(org.eclipse.mdht.uml.fhir.core.datatype.String value); |
| |
| /** |
| * Returns the value of the '<em><b>Dosage Instruction</b></em>' containment reference list. |
| * The list contents are of type {@link org.eclipse.mdht.uml.fhir.core.resource.MedicationDispenseDosageInstruction}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Dosage Instruction</em>' containment reference list isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Dosage Instruction</em>' containment reference list. |
| * @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMedicationDispense_DosageInstruction() |
| * @model containment="true" |
| * @generated |
| */ |
| EList<MedicationDispenseDosageInstruction> getDosageInstructions(); |
| |
| /** |
| * Returns the value of the '<em><b>Substitution</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Substitution</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>Substitution</em>' containment reference. |
| * @see #setSubstitution(MedicationDispenseSubstitution) |
| * @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMedicationDispense_Substitution() |
| * @model containment="true" |
| * @generated |
| */ |
| MedicationDispenseSubstitution getSubstitution(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.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); |
| |
| } // MedicationDispense |