| /** |
| */ |
| package org.hl7.fhir; |
| |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Substance Instance</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <!-- begin-model-doc --> |
| * A homogeneous material with a definite composition. |
| * <!-- end-model-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * </p> |
| * <ul> |
| * <li>{@link org.hl7.fhir.SubstanceInstance#getIdentifier <em>Identifier</em>}</li> |
| * <li>{@link org.hl7.fhir.SubstanceInstance#getExpiry <em>Expiry</em>}</li> |
| * <li>{@link org.hl7.fhir.SubstanceInstance#getQuantity <em>Quantity</em>}</li> |
| * </ul> |
| * |
| * @see org.hl7.fhir.FhirPackage#getSubstanceInstance() |
| * @model extendedMetaData="name='Substance.Instance' kind='elementOnly'" |
| * @generated |
| */ |
| public interface SubstanceInstance extends BackboneElement { |
| /** |
| * Returns the value of the '<em><b>Identifier</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * Identifier associated with the package/container (usually a label affixed directly). |
| * <!-- end-model-doc --> |
| * @return the value of the '<em>Identifier</em>' containment reference. |
| * @see #setIdentifier(Identifier) |
| * @see org.hl7.fhir.FhirPackage#getSubstanceInstance_Identifier() |
| * @model containment="true" |
| * extendedMetaData="kind='element' name='identifier' namespace='##targetNamespace'" |
| * @generated |
| */ |
| Identifier getIdentifier(); |
| |
| /** |
| * Sets the value of the '{@link org.hl7.fhir.SubstanceInstance#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>Expiry</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * When the substance is no longer valid to use. For some substances, a single arbitrary date is used for expiry. |
| * <!-- end-model-doc --> |
| * @return the value of the '<em>Expiry</em>' containment reference. |
| * @see #setExpiry(DateTime) |
| * @see org.hl7.fhir.FhirPackage#getSubstanceInstance_Expiry() |
| * @model containment="true" |
| * extendedMetaData="kind='element' name='expiry' namespace='##targetNamespace'" |
| * @generated |
| */ |
| DateTime getExpiry(); |
| |
| /** |
| * Sets the value of the '{@link org.hl7.fhir.SubstanceInstance#getExpiry <em>Expiry</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Expiry</em>' containment reference. |
| * @see #getExpiry() |
| * @generated |
| */ |
| void setExpiry(DateTime 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 the substance. |
| * <!-- end-model-doc --> |
| * @return the value of the '<em>Quantity</em>' containment reference. |
| * @see #setQuantity(SimpleQuantity) |
| * @see org.hl7.fhir.FhirPackage#getSubstanceInstance_Quantity() |
| * @model containment="true" |
| * extendedMetaData="kind='element' name='quantity' namespace='##targetNamespace'" |
| * @generated |
| */ |
| SimpleQuantity getQuantity(); |
| |
| /** |
| * Sets the value of the '{@link org.hl7.fhir.SubstanceInstance#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); |
| |
| } // SubstanceInstance |