blob: d280876ababa1cbf92298223acc94b0a29f165a8 [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.mdht.uml.fhir.core.datatype.CodeableConcept;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Medication</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.Medication#getCode <em>Code</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.Medication#getIsBrand <em>Is Brand</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.Medication#getManufacturer <em>Manufacturer</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.Medication#getProduct <em>Product</em>}</li>
* <li>{@link org.eclipse.mdht.uml.fhir.core.resource.Medication#getPackage <em>Package</em>}</li>
* </ul>
*
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMedication()
* @model
* @generated
*/
public interface Medication extends DomainResource {
/**
* Returns the value of the '<em><b>Code</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Code</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Code</em>' reference.
* @see #setCode(CodeableConcept)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMedication_Code()
* @model
* @generated
*/
CodeableConcept getCode();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.Medication#getCode <em>Code</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Code</em>' reference.
* @see #getCode()
* @generated
*/
void setCode(CodeableConcept value);
/**
* Returns the value of the '<em><b>Is Brand</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Is Brand</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Is Brand</em>' reference.
* @see #setIsBrand(org.eclipse.mdht.uml.fhir.core.datatype.Boolean)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMedication_IsBrand()
* @model
* @generated
*/
org.eclipse.mdht.uml.fhir.core.datatype.Boolean getIsBrand();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.Medication#getIsBrand <em>Is Brand</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Is Brand</em>' reference.
* @see #getIsBrand()
* @generated
*/
void setIsBrand(org.eclipse.mdht.uml.fhir.core.datatype.Boolean value);
/**
* Returns the value of the '<em><b>Manufacturer</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Manufacturer</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Manufacturer</em>' reference.
* @see #setManufacturer(Organization)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMedication_Manufacturer()
* @model
* @generated
*/
Organization getManufacturer();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.Medication#getManufacturer <em>Manufacturer</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Manufacturer</em>' reference.
* @see #getManufacturer()
* @generated
*/
void setManufacturer(Organization value);
/**
* Returns the value of the '<em><b>Product</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Product</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>Product</em>' containment reference.
* @see #setProduct(MedicationProduct)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMedication_Product()
* @model containment="true"
* @generated
*/
MedicationProduct getProduct();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.Medication#getProduct <em>Product</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Product</em>' containment reference.
* @see #getProduct()
* @generated
*/
void setProduct(MedicationProduct value);
/**
* Returns the value of the '<em><b>Package</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Package</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>Package</em>' containment reference.
* @see #setPackage(MedicationPackage)
* @see org.eclipse.mdht.uml.fhir.core.resource.FhirResourcePackage#getMedication_Package()
* @model containment="true"
* @generated
*/
MedicationPackage getPackage();
/**
* Sets the value of the '{@link org.eclipse.mdht.uml.fhir.core.resource.Medication#getPackage <em>Package</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Package</em>' containment reference.
* @see #getPackage()
* @generated
*/
void setPackage(MedicationPackage value);
} // Medication