blob: a97dd14bbd38629f088f300fbda168357535ca6d [file] [log] [blame]
/**
*/
package org.hl7.fhir;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Usage Context</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* Specifies clinical/business/etc. metadata that can be used to retrieve, index and/or categorize an artifact. This metadata can either be specific to the applicable population (e.g., age category, DRG) or the specific context of care (e.g., venue, care setting, provider of care).
* If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.hl7.fhir.UsageContext#getCode <em>Code</em>}</li>
* <li>{@link org.hl7.fhir.UsageContext#getValueCodeableConcept <em>Value Codeable Concept</em>}</li>
* <li>{@link org.hl7.fhir.UsageContext#getValueQuantity <em>Value Quantity</em>}</li>
* <li>{@link org.hl7.fhir.UsageContext#getValueRange <em>Value Range</em>}</li>
* <li>{@link org.hl7.fhir.UsageContext#getValueReference <em>Value Reference</em>}</li>
* </ul>
*
* @see org.hl7.fhir.FhirPackage#getUsageContext()
* @model extendedMetaData="name='UsageContext' kind='elementOnly'"
* @generated
*/
public interface UsageContext extends Element {
/**
* Returns the value of the '<em><b>Code</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* A code that identifies the type of context being specified by this usage context.
* <!-- end-model-doc -->
* @return the value of the '<em>Code</em>' containment reference.
* @see #setCode(Coding)
* @see org.hl7.fhir.FhirPackage#getUsageContext_Code()
* @model containment="true" required="true"
* extendedMetaData="kind='element' name='code' namespace='##targetNamespace'"
* @generated
*/
Coding getCode();
/**
* Sets the value of the '{@link org.hl7.fhir.UsageContext#getCode <em>Code</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Code</em>' containment reference.
* @see #getCode()
* @generated
*/
void setCode(Coding value);
/**
* Returns the value of the '<em><b>Value Codeable Concept</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Value 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>Value Codeable Concept</em>' containment reference.
* @see #setValueCodeableConcept(CodeableConcept)
* @see org.hl7.fhir.FhirPackage#getUsageContext_ValueCodeableConcept()
* @model containment="true"
* extendedMetaData="kind='element' name='valueCodeableConcept' namespace='##targetNamespace'"
* @generated
*/
CodeableConcept getValueCodeableConcept();
/**
* Sets the value of the '{@link org.hl7.fhir.UsageContext#getValueCodeableConcept <em>Value Codeable Concept</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Value Codeable Concept</em>' containment reference.
* @see #getValueCodeableConcept()
* @generated
*/
void setValueCodeableConcept(CodeableConcept value);
/**
* Returns the value of the '<em><b>Value Quantity</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Value Quantity</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>Value Quantity</em>' containment reference.
* @see #setValueQuantity(Quantity)
* @see org.hl7.fhir.FhirPackage#getUsageContext_ValueQuantity()
* @model containment="true"
* extendedMetaData="kind='element' name='valueQuantity' namespace='##targetNamespace'"
* @generated
*/
Quantity getValueQuantity();
/**
* Sets the value of the '{@link org.hl7.fhir.UsageContext#getValueQuantity <em>Value Quantity</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Value Quantity</em>' containment reference.
* @see #getValueQuantity()
* @generated
*/
void setValueQuantity(Quantity value);
/**
* Returns the value of the '<em><b>Value Range</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Value Range</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>Value Range</em>' containment reference.
* @see #setValueRange(Range)
* @see org.hl7.fhir.FhirPackage#getUsageContext_ValueRange()
* @model containment="true"
* extendedMetaData="kind='element' name='valueRange' namespace='##targetNamespace'"
* @generated
*/
Range getValueRange();
/**
* Sets the value of the '{@link org.hl7.fhir.UsageContext#getValueRange <em>Value Range</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Value Range</em>' containment reference.
* @see #getValueRange()
* @generated
*/
void setValueRange(Range value);
/**
* Returns the value of the '<em><b>Value Reference</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Value 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>Value Reference</em>' containment reference.
* @see #setValueReference(Reference)
* @see org.hl7.fhir.FhirPackage#getUsageContext_ValueReference()
* @model containment="true"
* extendedMetaData="kind='element' name='valueReference' namespace='##targetNamespace'"
* @generated
*/
Reference getValueReference();
/**
* Sets the value of the '{@link org.hl7.fhir.UsageContext#getValueReference <em>Value Reference</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Value Reference</em>' containment reference.
* @see #getValueReference()
* @generated
*/
void setValueReference(Reference value);
} // UsageContext