blob: cb1c7fec1617373c12773037152f7a94eef7c475 [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>Decision Support Rule</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* This resource defines a decision support rule of the form [on Event] if Condition then 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.DecisionSupportRule#getIdentifier <em>Identifier</em>}</li>
* <li>{@link org.hl7.fhir.DecisionSupportRule#getVersion <em>Version</em>}</li>
* <li>{@link org.hl7.fhir.DecisionSupportRule#getModuleMetadata <em>Module Metadata</em>}</li>
* <li>{@link org.hl7.fhir.DecisionSupportRule#getLibrary <em>Library</em>}</li>
* <li>{@link org.hl7.fhir.DecisionSupportRule#getTrigger <em>Trigger</em>}</li>
* <li>{@link org.hl7.fhir.DecisionSupportRule#getCondition <em>Condition</em>}</li>
* <li>{@link org.hl7.fhir.DecisionSupportRule#getAction <em>Action</em>}</li>
* </ul>
*
* @see org.hl7.fhir.FhirPackage#getDecisionSupportRule()
* @model extendedMetaData="name='DecisionSupportRule' kind='elementOnly'"
* @generated
*/
public interface DecisionSupportRule 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 -->
* A logical identifier for the module such as the CMS or NQF identifiers for a measure artifact.
* <!-- end-model-doc -->
* @return the value of the '<em>Identifier</em>' containment reference list.
* @see org.hl7.fhir.FhirPackage#getDecisionSupportRule_Identifier()
* @model containment="true"
* extendedMetaData="kind='element' name='identifier' namespace='##targetNamespace'"
* @generated
*/
EList<Identifier> getIdentifier();
/**
* Returns the value of the '<em><b>Version</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* The version of the module, if any. To provide a version consistent with the Decision Support Service specification, use the format Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge modules, refer to the Decision Support Service specification.
* <!-- end-model-doc -->
* @return the value of the '<em>Version</em>' containment reference.
* @see #setVersion(org.hl7.fhir.String)
* @see org.hl7.fhir.FhirPackage#getDecisionSupportRule_Version()
* @model containment="true"
* extendedMetaData="kind='element' name='version' namespace='##targetNamespace'"
* @generated
*/
org.hl7.fhir.String getVersion();
/**
* Sets the value of the '{@link org.hl7.fhir.DecisionSupportRule#getVersion <em>Version</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Version</em>' containment reference.
* @see #getVersion()
* @generated
*/
void setVersion(org.hl7.fhir.String value);
/**
* Returns the value of the '<em><b>Module Metadata</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* A reference to a ModuleMetadata resource that provides metadata for the rule.
* <!-- end-model-doc -->
* @return the value of the '<em>Module Metadata</em>' containment reference.
* @see #setModuleMetadata(Reference)
* @see org.hl7.fhir.FhirPackage#getDecisionSupportRule_ModuleMetadata()
* @model containment="true"
* extendedMetaData="kind='element' name='moduleMetadata' namespace='##targetNamespace'"
* @generated
*/
Reference getModuleMetadata();
/**
* Sets the value of the '{@link org.hl7.fhir.DecisionSupportRule#getModuleMetadata <em>Module Metadata</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Module Metadata</em>' containment reference.
* @see #getModuleMetadata()
* @generated
*/
void setModuleMetadata(Reference value);
/**
* Returns the value of the '<em><b>Library</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 -->
* A reference to a Library containing the formal logic used by the rule.
* <!-- end-model-doc -->
* @return the value of the '<em>Library</em>' containment reference list.
* @see org.hl7.fhir.FhirPackage#getDecisionSupportRule_Library()
* @model containment="true"
* extendedMetaData="kind='element' name='library' namespace='##targetNamespace'"
* @generated
*/
EList<Reference> getLibrary();
/**
* Returns the value of the '<em><b>Trigger</b></em>' containment reference list.
* The list contents are of type {@link org.hl7.fhir.DecisionSupportRuleTrigger}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* A description of a triggering event.
* <!-- end-model-doc -->
* @return the value of the '<em>Trigger</em>' containment reference list.
* @see org.hl7.fhir.FhirPackage#getDecisionSupportRule_Trigger()
* @model containment="true"
* extendedMetaData="kind='element' name='trigger' namespace='##targetNamespace'"
* @generated
*/
EList<DecisionSupportRuleTrigger> getTrigger();
/**
* Returns the value of the '<em><b>Condition</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* The condition for the artifact.
* <!-- end-model-doc -->
* @return the value of the '<em>Condition</em>' containment reference.
* @see #setCondition(org.hl7.fhir.String)
* @see org.hl7.fhir.FhirPackage#getDecisionSupportRule_Condition()
* @model containment="true"
* extendedMetaData="kind='element' name='condition' namespace='##targetNamespace'"
* @generated
*/
org.hl7.fhir.String getCondition();
/**
* Sets the value of the '{@link org.hl7.fhir.DecisionSupportRule#getCondition <em>Condition</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Condition</em>' containment reference.
* @see #getCondition()
* @generated
*/
void setCondition(org.hl7.fhir.String value);
/**
* Returns the value of the '<em><b>Action</b></em>' containment reference list.
* The list contents are of type {@link org.hl7.fhir.DecisionSupportRuleAction}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* The definition of the actions that should be returned by evaluation of the artifact.
* <!-- end-model-doc -->
* @return the value of the '<em>Action</em>' containment reference list.
* @see org.hl7.fhir.FhirPackage#getDecisionSupportRule_Action()
* @model containment="true"
* extendedMetaData="kind='element' name='action' namespace='##targetNamespace'"
* @generated
*/
EList<DecisionSupportRuleAction> getAction();
} // DecisionSupportRule