blob: 932b769d329438b2c92b5f869331aa40b45f85df [file] [log] [blame]
/*******************************************************************************
* 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.DataType;
import org.eclipse.mdht.uml.fhir.core.datatype.Identifier;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Medication Administration</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.MedicationAdministration#getIdentifiers <em>Identifier</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationAdministration#getStatus <em>Status</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationAdministration#getPatient <em>Patient</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationAdministration#getPractitioner <em>Practitioner</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationAdministration#getEncounter <em>Encounter</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationAdministration#getPrescription <em>Prescription</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationAdministration#getWasNotGiven <em>Was Not Given</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationAdministration#getReasonNotGivens <em>Reason Not Given</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationAdministration#getReasonGivens <em>Reason Given</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationAdministration#getEffectiveTimex <em>Effective Timex</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationAdministration#getMedicationx <em>Medicationx</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationAdministration#getDevices <em>Device</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationAdministration#getNote <em>Note</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationAdministration#getDosage <em>Dosage</em>}</li>
* </ul>
*
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMedicationAdministration()
* @model
* @generated
*/
public interface MedicationAdministration extends DomainResource {
/**
* Returns the value of the '<em><b>Identifier</b></em>' reference list.
* The list contents are of type {@link org.eclipse.mdht.uml.fhir.core.datatype.Identifier}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Identifier</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>Identifier</em>' reference list.
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMedicationAdministration_Identifier()
* @model
* @generated
*/
EList<Identifier> getIdentifiers();
/**
* 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#getMedicationAdministration_Status()
* @model required="true"
* @generated
*/
Code getStatus();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationAdministration#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#getMedicationAdministration_Patient()
* @model required="true"
* @generated
*/
Patient getPatient();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationAdministration#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>Practitioner</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Practitioner</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Practitioner</em>' reference.
* @see #setPractitioner(Resource)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMedicationAdministration_Practitioner()
* @model
* @generated
*/
Resource getPractitioner();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationAdministration#getPractitioner <em>Practitioner</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Practitioner</em>' reference.
* @see #getPractitioner()
* @generated
*/
void setPractitioner(Resource value);
/**
* Returns the value of the '<em><b>Encounter</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Encounter</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Encounter</em>' reference.
* @see #setEncounter(Encounter)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMedicationAdministration_Encounter()
* @model
* @generated
*/
Encounter getEncounter();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationAdministration#getEncounter <em>Encounter</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Encounter</em>' reference.
* @see #getEncounter()
* @generated
*/
void setEncounter(Encounter value);
/**
* Returns the value of the '<em><b>Prescription</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Prescription</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Prescription</em>' reference.
* @see #setPrescription(MedicationOrder)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMedicationAdministration_Prescription()
* @model
* @generated
*/
MedicationOrder getPrescription();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationAdministration#getPrescription <em>Prescription</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Prescription</em>' reference.
* @see #getPrescription()
* @generated
*/
void setPrescription(MedicationOrder value);
/**
* Returns the value of the '<em><b>Was Not Given</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Was Not Given</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Was Not Given</em>' reference.
* @see #setWasNotGiven(org.eclipse.mdht.uml.fhir.core.datatype.Boolean)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMedicationAdministration_WasNotGiven()
* @model
* @generated
*/
org.eclipse.mdht.uml.fhir.core.datatype.Boolean getWasNotGiven();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationAdministration#getWasNotGiven <em>Was Not Given</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Was Not Given</em>' reference.
* @see #getWasNotGiven()
* @generated
*/
void setWasNotGiven(org.eclipse.mdht.uml.fhir.core.datatype.Boolean value);
/**
* Returns the value of the '<em><b>Reason Not Given</b></em>' reference list.
* The list contents are of type {@link org.eclipse.mdht.uml.fhir.core.datatype.CodeableConcept}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Reason Not Given</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>Reason Not Given</em>' reference list.
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMedicationAdministration_ReasonNotGiven()
* @model
* @generated
*/
EList<CodeableConcept> getReasonNotGivens();
/**
* Returns the value of the '<em><b>Reason Given</b></em>' reference list.
* The list contents are of type {@link org.eclipse.mdht.uml.fhir.core.datatype.CodeableConcept}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Reason Given</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>Reason Given</em>' reference list.
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMedicationAdministration_ReasonGiven()
* @model
* @generated
*/
EList<CodeableConcept> getReasonGivens();
/**
* Returns the value of the '<em><b>Effective Timex</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Effective Timex</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Effective Timex</em>' reference.
* @see #setEffectiveTimex(DataType)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMedicationAdministration_EffectiveTimex()
* @model required="true"
* annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='effectiveTime[x]'"
* @generated
*/
DataType getEffectiveTimex();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationAdministration#getEffectiveTimex <em>Effective Timex</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Effective Timex</em>' reference.
* @see #getEffectiveTimex()
* @generated
*/
void setEffectiveTimex(DataType 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#getMedicationAdministration_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.MedicationAdministration#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>Device</b></em>' reference list.
* The list contents are of type {@link org.eclipse.mdht.uml.fhir.core.resource.Device}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Device</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>Device</em>' reference list.
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMedicationAdministration_Device()
* @model
* @generated
*/
EList<Device> getDevices();
/**
* 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#getMedicationAdministration_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.MedicationAdministration#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</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Dosage</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>Dosage</em>' containment reference.
* @see #setDosage(MedicationAdministrationDosage)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMedicationAdministration_Dosage()
* @model containment="true"
* @generated
*/
MedicationAdministrationDosage getDosage();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.MedicationAdministration#getDosage <em>Dosage</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Dosage</em>' containment reference.
* @see #getDosage()
* @generated
*/
void setDosage(MedicationAdministrationDosage value);
} // MedicationAdministration