blob: 03b77de51c58aa75494f4ebc9ee932b236e3d735 [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>Supply Delivery</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* Record of delivery of what is supplied.
* 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.SupplyDelivery#getIdentifier <em>Identifier</em>}</li>
* <li>{@link org.hl7.fhir.SupplyDelivery#getStatus <em>Status</em>}</li>
* <li>{@link org.hl7.fhir.SupplyDelivery#getPatient <em>Patient</em>}</li>
* <li>{@link org.hl7.fhir.SupplyDelivery#getType <em>Type</em>}</li>
* <li>{@link org.hl7.fhir.SupplyDelivery#getQuantity <em>Quantity</em>}</li>
* <li>{@link org.hl7.fhir.SupplyDelivery#getSuppliedItem <em>Supplied Item</em>}</li>
* <li>{@link org.hl7.fhir.SupplyDelivery#getSupplier <em>Supplier</em>}</li>
* <li>{@link org.hl7.fhir.SupplyDelivery#getWhenPrepared <em>When Prepared</em>}</li>
* <li>{@link org.hl7.fhir.SupplyDelivery#getTime <em>Time</em>}</li>
* <li>{@link org.hl7.fhir.SupplyDelivery#getDestination <em>Destination</em>}</li>
* <li>{@link org.hl7.fhir.SupplyDelivery#getReceiver <em>Receiver</em>}</li>
* </ul>
*
* @see org.hl7.fhir.FhirPackage#getSupplyDelivery()
* @model extendedMetaData="name='SupplyDelivery' kind='elementOnly'"
* @generated
*/
public interface SupplyDelivery extends DomainResource {
/**
* Returns the value of the '<em><b>Identifier</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Identifier assigned by the dispensing facility when the item(s) is dispensed.
* <!-- end-model-doc -->
* @return the value of the '<em>Identifier</em>' containment reference.
* @see #setIdentifier(Identifier)
* @see org.hl7.fhir.FhirPackage#getSupplyDelivery_Identifier()
* @model containment="true"
* extendedMetaData="kind='element' name='identifier' namespace='##targetNamespace'"
* @generated
*/
Identifier getIdentifier();
/**
* Sets the value of the '{@link org.hl7.fhir.SupplyDelivery#getIdentifier <em>Identifier</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Identifier</em>' containment reference.
* @see #getIdentifier()
* @generated
*/
void setIdentifier(Identifier value);
/**
* 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 dispense event.
* <!-- end-model-doc -->
* @return the value of the '<em>Status</em>' containment reference.
* @see #setStatus(SupplyDeliveryStatus)
* @see org.hl7.fhir.FhirPackage#getSupplyDelivery_Status()
* @model containment="true"
* extendedMetaData="kind='element' name='status' namespace='##targetNamespace'"
* @generated
*/
SupplyDeliveryStatus getStatus();
/**
* Sets the value of the '{@link org.hl7.fhir.SupplyDelivery#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(SupplyDeliveryStatus value);
/**
* Returns the value of the '<em><b>Patient</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* A link to a resource representing the person whom the delivered item is for.
* <!-- end-model-doc -->
* @return the value of the '<em>Patient</em>' containment reference.
* @see #setPatient(Reference)
* @see org.hl7.fhir.FhirPackage#getSupplyDelivery_Patient()
* @model containment="true"
* extendedMetaData="kind='element' name='patient' namespace='##targetNamespace'"
* @generated
*/
Reference getPatient();
/**
* Sets the value of the '{@link org.hl7.fhir.SupplyDelivery#getPatient <em>Patient</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Patient</em>' containment reference.
* @see #getPatient()
* @generated
*/
void setPatient(Reference value);
/**
* 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. Examples include: 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#getSupplyDelivery_Type()
* @model containment="true"
* extendedMetaData="kind='element' name='type' namespace='##targetNamespace'"
* @generated
*/
CodeableConcept getType();
/**
* Sets the value of the '{@link org.hl7.fhir.SupplyDelivery#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 supply that has been dispensed. Includes unit of measure.
* <!-- end-model-doc -->
* @return the value of the '<em>Quantity</em>' containment reference.
* @see #setQuantity(SimpleQuantity)
* @see org.hl7.fhir.FhirPackage#getSupplyDelivery_Quantity()
* @model containment="true"
* extendedMetaData="kind='element' name='quantity' namespace='##targetNamespace'"
* @generated
*/
SimpleQuantity getQuantity();
/**
* Sets the value of the '{@link org.hl7.fhir.SupplyDelivery#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(SimpleQuantity value);
/**
* Returns the value of the '<em><b>Supplied Item</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Identifies the medication, substance or device being dispensed. This is either a link to a resource representing the details of the item or a simple attribute carrying a code that identifies the item from a known list.
* <!-- end-model-doc -->
* @return the value of the '<em>Supplied Item</em>' containment reference.
* @see #setSuppliedItem(Reference)
* @see org.hl7.fhir.FhirPackage#getSupplyDelivery_SuppliedItem()
* @model containment="true"
* extendedMetaData="kind='element' name='suppliedItem' namespace='##targetNamespace'"
* @generated
*/
Reference getSuppliedItem();
/**
* Sets the value of the '{@link org.hl7.fhir.SupplyDelivery#getSuppliedItem <em>Supplied Item</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Supplied Item</em>' containment reference.
* @see #getSuppliedItem()
* @generated
*/
void setSuppliedItem(Reference value);
/**
* Returns the value of the '<em><b>Supplier</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* The individual responsible for dispensing the medication, supplier or device.
* <!-- end-model-doc -->
* @return the value of the '<em>Supplier</em>' containment reference.
* @see #setSupplier(Reference)
* @see org.hl7.fhir.FhirPackage#getSupplyDelivery_Supplier()
* @model containment="true"
* extendedMetaData="kind='element' name='supplier' namespace='##targetNamespace'"
* @generated
*/
Reference getSupplier();
/**
* Sets the value of the '{@link org.hl7.fhir.SupplyDelivery#getSupplier <em>Supplier</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Supplier</em>' containment reference.
* @see #getSupplier()
* @generated
*/
void setSupplier(Reference 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 the dispense event occurred.
* <!-- end-model-doc -->
* @return the value of the '<em>When Prepared</em>' containment reference.
* @see #setWhenPrepared(Period)
* @see org.hl7.fhir.FhirPackage#getSupplyDelivery_WhenPrepared()
* @model containment="true"
* extendedMetaData="kind='element' name='whenPrepared' namespace='##targetNamespace'"
* @generated
*/
Period getWhenPrepared();
/**
* Sets the value of the '{@link org.hl7.fhir.SupplyDelivery#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(Period value);
/**
* Returns the value of the '<em><b>Time</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* The time the dispensed item was sent or handed to the patient (or agent).
* <!-- end-model-doc -->
* @return the value of the '<em>Time</em>' containment reference.
* @see #setTime(DateTime)
* @see org.hl7.fhir.FhirPackage#getSupplyDelivery_Time()
* @model containment="true"
* extendedMetaData="kind='element' name='time' namespace='##targetNamespace'"
* @generated
*/
DateTime getTime();
/**
* Sets the value of the '{@link org.hl7.fhir.SupplyDelivery#getTime <em>Time</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Time</em>' containment reference.
* @see #getTime()
* @generated
*/
void setTime(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 Supply 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#getSupplyDelivery_Destination()
* @model containment="true"
* extendedMetaData="kind='element' name='destination' namespace='##targetNamespace'"
* @generated
*/
Reference getDestination();
/**
* Sets the value of the '{@link org.hl7.fhir.SupplyDelivery#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 Supply.
* <!-- end-model-doc -->
* @return the value of the '<em>Receiver</em>' containment reference list.
* @see org.hl7.fhir.FhirPackage#getSupplyDelivery_Receiver()
* @model containment="true"
* extendedMetaData="kind='element' name='receiver' namespace='##targetNamespace'"
* @generated
*/
EList<Reference> getReceiver();
} // SupplyDelivery