blob: d8570545237c3c5bf000e89c0d51255bbe0802eb [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>Order</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* A request to perform an action.
* 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.Order#getIdentifier <em>Identifier</em>}</li>
* <li>{@link org.hl7.fhir.Order#getDate <em>Date</em>}</li>
* <li>{@link org.hl7.fhir.Order#getSubject <em>Subject</em>}</li>
* <li>{@link org.hl7.fhir.Order#getSource <em>Source</em>}</li>
* <li>{@link org.hl7.fhir.Order#getTarget <em>Target</em>}</li>
* <li>{@link org.hl7.fhir.Order#getReasonCodeableConcept <em>Reason Codeable Concept</em>}</li>
* <li>{@link org.hl7.fhir.Order#getReasonReference <em>Reason Reference</em>}</li>
* <li>{@link org.hl7.fhir.Order#getWhen <em>When</em>}</li>
* <li>{@link org.hl7.fhir.Order#getDetail <em>Detail</em>}</li>
* </ul>
*
* @see org.hl7.fhir.FhirPackage#getOrder()
* @model extendedMetaData="name='Order' kind='elementOnly'"
* @generated
*/
public interface Order 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 assigned to this order by the orderer or by the receiver.
* <!-- end-model-doc -->
* @return the value of the '<em>Identifier</em>' containment reference list.
* @see org.hl7.fhir.FhirPackage#getOrder_Identifier()
* @model containment="true"
* extendedMetaData="kind='element' name='identifier' namespace='##targetNamespace'"
* @generated
*/
EList<Identifier> getIdentifier();
/**
* Returns the value of the '<em><b>Date</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* When the order was made.
* <!-- end-model-doc -->
* @return the value of the '<em>Date</em>' containment reference.
* @see #setDate(DateTime)
* @see org.hl7.fhir.FhirPackage#getOrder_Date()
* @model containment="true"
* extendedMetaData="kind='element' name='date' namespace='##targetNamespace'"
* @generated
*/
DateTime getDate();
/**
* Sets the value of the '{@link org.hl7.fhir.Order#getDate <em>Date</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Date</em>' containment reference.
* @see #getDate()
* @generated
*/
void setDate(DateTime value);
/**
* Returns the value of the '<em><b>Subject</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Patient this order is about.
* <!-- end-model-doc -->
* @return the value of the '<em>Subject</em>' containment reference.
* @see #setSubject(Reference)
* @see org.hl7.fhir.FhirPackage#getOrder_Subject()
* @model containment="true"
* extendedMetaData="kind='element' name='subject' namespace='##targetNamespace'"
* @generated
*/
Reference getSubject();
/**
* Sets the value of the '{@link org.hl7.fhir.Order#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>Source</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Who initiated the order.
* <!-- end-model-doc -->
* @return the value of the '<em>Source</em>' containment reference.
* @see #setSource(Reference)
* @see org.hl7.fhir.FhirPackage#getOrder_Source()
* @model containment="true"
* extendedMetaData="kind='element' name='source' namespace='##targetNamespace'"
* @generated
*/
Reference getSource();
/**
* Sets the value of the '{@link org.hl7.fhir.Order#getSource <em>Source</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Source</em>' containment reference.
* @see #getSource()
* @generated
*/
void setSource(Reference value);
/**
* Returns the value of the '<em><b>Target</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Who is intended to fulfill the order.
* <!-- end-model-doc -->
* @return the value of the '<em>Target</em>' containment reference.
* @see #setTarget(Reference)
* @see org.hl7.fhir.FhirPackage#getOrder_Target()
* @model containment="true"
* extendedMetaData="kind='element' name='target' namespace='##targetNamespace'"
* @generated
*/
Reference getTarget();
/**
* Sets the value of the '{@link org.hl7.fhir.Order#getTarget <em>Target</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Target</em>' containment reference.
* @see #getTarget()
* @generated
*/
void setTarget(Reference value);
/**
* Returns the value of the '<em><b>Reason Codeable Concept</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>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>Reason Codeable Concept</em>' containment reference.
* @see #setReasonCodeableConcept(CodeableConcept)
* @see org.hl7.fhir.FhirPackage#getOrder_ReasonCodeableConcept()
* @model containment="true"
* extendedMetaData="kind='element' name='reasonCodeableConcept' namespace='##targetNamespace'"
* @generated
*/
CodeableConcept getReasonCodeableConcept();
/**
* Sets the value of the '{@link org.hl7.fhir.Order#getReasonCodeableConcept <em>Reason Codeable Concept</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Reason Codeable Concept</em>' containment reference.
* @see #getReasonCodeableConcept()
* @generated
*/
void setReasonCodeableConcept(CodeableConcept value);
/**
* Returns the value of the '<em><b>Reason Reference</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>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>Reason Reference</em>' containment reference.
* @see #setReasonReference(Reference)
* @see org.hl7.fhir.FhirPackage#getOrder_ReasonReference()
* @model containment="true"
* extendedMetaData="kind='element' name='reasonReference' namespace='##targetNamespace'"
* @generated
*/
Reference getReasonReference();
/**
* Sets the value of the '{@link org.hl7.fhir.Order#getReasonReference <em>Reason Reference</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Reason Reference</em>' containment reference.
* @see #getReasonReference()
* @generated
*/
void setReasonReference(Reference value);
/**
* Returns the value of the '<em><b>When</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* When order should be fulfilled.
* <!-- end-model-doc -->
* @return the value of the '<em>When</em>' containment reference.
* @see #setWhen(OrderWhen)
* @see org.hl7.fhir.FhirPackage#getOrder_When()
* @model containment="true"
* extendedMetaData="kind='element' name='when' namespace='##targetNamespace'"
* @generated
*/
OrderWhen getWhen();
/**
* Sets the value of the '{@link org.hl7.fhir.Order#getWhen <em>When</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>When</em>' containment reference.
* @see #getWhen()
* @generated
*/
void setWhen(OrderWhen value);
/**
* Returns the value of the '<em><b>Detail</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 -->
* What action is being ordered.
* <!-- end-model-doc -->
* @return the value of the '<em>Detail</em>' containment reference list.
* @see org.hl7.fhir.FhirPackage#getOrder_Detail()
* @model containment="true" required="true"
* extendedMetaData="kind='element' name='detail' namespace='##targetNamespace'"
* @generated
*/
EList<Reference> getDetail();
} // Order