<?xml version="1.0" encoding="UTF-8"?>
<xmi:XMI xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1" xmlns:CDA="http://www.openhealthtools.org/mdht/schemas/cda/4" xmlns:uml="http://www.eclipse.org/uml2/3.0.0/UML">
  <uml:Class xmi:id="_ypd08FmJEeCeYrW7M64v2A" name="MedicationsSection" clientDependency="_yprQU1mJEeCeYrW7M64v2A _ypr3YFmJEeCeYrW7M64v2A _ypr3YVmJEeCeYrW7M64v2A">
    <eAnnotations xmi:id="_ypfDEFmJEeCeYrW7M64v2A" source="sourceClass">
      <references xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.hitsp.model/model/.controlled/hitsp-medications.uml#_WI3zsMfwEd6VjLXh4DcWSg"/>
    </eAnnotations>
    <ownedComment xmi:id="_yprQUFmJEeCeYrW7M64v2A">
      <annotatedElement xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_OvmR4HfUEd6ZeOKq_2_a9g"/>
      <body>&lt;p>&#xD;
    The Medications section defines a patient's current medications and pertinent medication&#xD;
    history. At a minimum, the currently active medications should be listed, with an entire medication history as an&#xD;
    option, particularly when the summary document is used for comprehensive data export. The section may also include a&#xD;
    patient's prescription history, and enables the determination of the source of a medication list (e.g. from a pharmacy&#xD;
    system vs. from the patient).&#xD;
&lt;/p>&#xD;
&lt;p>Reconciliation of conflicting medication information from various sources is enabled both by indicating the source of information and by indicating whether the source is reporting intended or actual medication use. For instance, a physician may intend for a patient to be on a particular dose, but the patient may actually be taking a different dose; a pharmacy may fill a prescription for a particular dose only to then have the patient's physician lower the dose without notifying the pharmacy. Therefore, medication and supply activities can be expressed in CCD in either the &quot;EVN&quot; (event) mood or the &quot;INT&quot; (intent) mood. Medication activities in &quot;INT&quot; mood are not orders (which are represented in the Plan of Care section), but rather are reflections of what a clinician intends a patient to be taking. Medication activities in &quot;EVN&quot; mood reflect actual use. A pharmacy system will typically report what was actually filled (supply event), along with intended use (substance administration intent). A physician will often report intended use (substance administration and supply intent). A patient or family member will typically report actual use (substance administration event).&lt;/p></body>
    </ownedComment>
    <ownedComment xmi:id="_yprQUVmJEeCeYrW7M64v2A">
      <annotatedElement xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_8YbB4HomEd6WAZ28-5wkSg"/>
      <body>The medications section shall contain a description of the relevant medications for the patient, e.g. an ambulatory&#xD;
prescription list. It shall include entries for medications as described in the Entry Content Module.</body>
    </ownedComment>
    <ownedComment xmi:id="_ypd08VmJEeCeYrW7M64v2A" annotatedElement="_ypd08FmJEeCeYrW7M64v2A">
      <body>The Medications Section contains information about the relevant medications for the patient. At a minimum, the currently active medications should be listed.</body>
    </ownedComment>
    <ownedRule xmi:id="_ypoNAFmJEeCeYrW7M64v2A" name="hasMedicationOrSupplyActivity">
      <constrainedElement xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_OvmR4HfUEd6ZeOKq_2_a9g"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_ypoNAVmJEeCeYrW7M64v2A">
        <language>OCL</language>
        <language>Analysis</language>
        <body>self.getSubstanceAdministrations()->exists(activity : cda::SubstanceAdministration | activity.oclIsKindOf(ccd::MedicationActivity))&#xD;&#xA;   or self.getSupplies()->exists(activity : cda::Supply | activity.oclIsKindOf(ccd::SupplyActivity))</body>
        <body>Clinical statements include one or more Medication Activity and/or one or more Supply Activity.</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_ypo0EFmJEeCeYrW7M64v2A" name="absenceOfMedications">
      <constrainedElement xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_OvmR4HfUEd6ZeOKq_2_a9g"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_ypo0EVmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>The absence of known medications is explicitly asserted.</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_yppbIFmJEeCeYrW7M64v2A" name="titleValue">
      <constrainedElement xmi:type="uml:Property" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-problem.uml#_S9W4sIHNEd6Ncrr6L3Ublw"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_yppbIVmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>Valued with a case-insensitive language-insensitive string containing 'medication'.</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_ypqCMFmJEeCeYrW7M64v2A" name="hasDosing">
      <ownedComment xmi:id="_ypqCMVmJEeCeYrW7M64v2A">
        <body>There are a variety of special cases for dosing that need to be accounted for. &#xD;
Most of these special cases involve changing the dosage or frequency over time, or based on&#xD;
some measurement. When the dosage changes, then additional entries are required for each differing dosage.</body>
      </ownedComment>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_ypqCMlmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>Contains one dosing template to identify this as a particular type of medication event. Possible dosing templates: 1.3.6.1.4.1.19376.1.5.3.1.4.7.1 Normal Dosing, 1.3.6.1.4.1.19376.1.5.3.1.4.8, Tapered Dosing, 1.3.6.1.4.1.19376.1.5.3.1.4.9 Split Dosing, 1.3.6.1.4.1.19376.1.5.3.1.4.10 Conditional Dosing, 1.3.6.1.4.1.19376.1.5.3.1.4.11 Combination Dosing.</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_ypqpQFmJEeCeYrW7M64v2A" name="DosingRelationship">
      <ownedComment xmi:id="_ypqpQVmJEeCeYrW7M64v2A">
        <body>n the first three cases, the subordinate components shall specify only the changed &amp;lt;frequency>&#xD;
and/or &amp;lt;doseAmount> elements. For conditional dosing, each subordinate component shall have&#xD;
a &amp;lt;precondition> element that specifies the &amp;lt;observation> that must be obtained before&#xD;
administration of the dose. The value of the &amp;lt;sequenceNumber> shall be an ordinal number,&#xD;
starting at 1 for the first component, and increasing by 1 for each subsequent component.&#xD;
Components shall be sent in &amp;lt;sequenceNumber> order.</body>
      </ownedComment>
      <constrainedElement xmi:type="uml:Constraint" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_MWNEMEt5EeCAK_Z5vqvtzg"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_ypqpQlmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>contains one or more related components (&lt;entryRelationship typeCode='COMP'>, either to handle split, tapered or conditional dosing, or to support combination medications.</body>
      </specification>
    </ownedRule>
    <generalization xmi:id="_yprQUlmJEeCeYrW7M64v2A">
      <general xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda/model/cda.uml#_qIf_wDxXEd6JwqSGecoePg"/>
    </generalization>
    <substitution xmi:id="_yprQU1mJEeCeYrW7M64v2A" client="_ypd08FmJEeCeYrW7M64v2A">
      <supplier xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_OvmR4HfUEd6ZeOKq_2_a9g"/>
      <contract xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_OvmR4HfUEd6ZeOKq_2_a9g"/>
    </substitution>
    <substitution xmi:id="_ypr3YFmJEeCeYrW7M64v2A" client="_ypd08FmJEeCeYrW7M64v2A">
      <supplier xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_8YbB4HomEd6WAZ28-5wkSg"/>
      <contract xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_8YbB4HomEd6WAZ28-5wkSg"/>
    </substitution>
    <substitution xmi:id="_ypr3YVmJEeCeYrW7M64v2A" client="_ypd08FmJEeCeYrW7M64v2A">
      <supplier xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.hitsp.model/model/.controlled/hitsp-medications.uml#_WI3zsMfwEd6VjLXh4DcWSg"/>
      <contract xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.hitsp.model/model/.controlled/hitsp-medications.uml#_WI3zsMfwEd6VjLXh4DcWSg"/>
    </substitution>
    <ownedAttribute xmi:id="_ypiGYFmJEeCeYrW7M64v2A" name="code" visibility="private">
      <type xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.hl7.datatypes/model/datatypes.uml#_Z1EGIDxaEd6JwqSGecoePg"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_ypkioFmJEeCeYrW7M64v2A" name="title" visibility="private">
      <type xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.hl7.datatypes/model/datatypes.uml#_EaTNsDxaEd6JwqSGecoePg"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_yplJsFmJEeCeYrW7M64v2A" name="text" visibility="private" aggregation="composite">
      <type xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda/model/cda.uml#_0jvq8E8AEd6ohP_YEXs4Wg"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_yplJsVmJEeCeYrW7M64v2A" value="1"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_yplJslmJEeCeYrW7M64v2A"/>
      <redefinedProperty href="../../../org.openhealthtools.mdht.uml.cda/model/cda.uml#_vJtnoEAMEd6wZe6nFLrjsw"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_yplwwVmJEeCeYrW7M64v2A" name="supplyActivity" type="_xEJc8FmJEeCeYrW7M64v2A" association="_ypmX0FmJEeCeYrW7M64v2A">
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_yplwwlmJEeCeYrW7M64v2A" value="*"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_yplww1mJEeCeYrW7M64v2A"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_ypd081mJEeCeYrW7M64v2A" name="medication" type="_xCepAFmJEeCeYrW7M64v2A" association="_ypnl8FmJEeCeYrW7M64v2A">
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_ypd09FmJEeCeYrW7M64v2A" value="*"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_ypd09VmJEeCeYrW7M64v2A" value="1"/>
    </ownedAttribute>
  </uml:Class>
  <uml:Association xmi:id="_ypmX0FmJEeCeYrW7M64v2A" memberEnd="_yplwwVmJEeCeYrW7M64v2A _ypmX0VmJEeCeYrW7M64v2A">
    <ownedEnd xmi:id="_ypmX0VmJEeCeYrW7M64v2A" type="_ypd08FmJEeCeYrW7M64v2A" association="_ypmX0FmJEeCeYrW7M64v2A"/>
  </uml:Association>
  <uml:Association xmi:id="_ypnl8FmJEeCeYrW7M64v2A" memberEnd="_ypd081mJEeCeYrW7M64v2A _ypnl8VmJEeCeYrW7M64v2A">
    <ownedEnd xmi:id="_ypnl8VmJEeCeYrW7M64v2A" type="_ypd08FmJEeCeYrW7M64v2A" association="_ypnl8FmJEeCeYrW7M64v2A"/>
  </uml:Association>
  <CDA:CDATemplate xmi:id="_ypecAFmJEeCeYrW7M64v2A" base_Class="_ypd08FmJEeCeYrW7M64v2A" templateId="2.16.840.1.113883.3.88.11.83.112" assigningAuthorityName="HITSP C83"/>
  <CDA:ConstraintValidation xmi:id="_ypoNAlmJEeCeYrW7M64v2A" severity="WARNING" base_Constraint="_ypoNAFmJEeCeYrW7M64v2A">
    <ruleId>CONF-298</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_ypo0ElmJEeCeYrW7M64v2A" base_Constraint="_ypo0EFmJEeCeYrW7M64v2A">
    <ruleId>CONF-299</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_yppbIlmJEeCeYrW7M64v2A" severity="WARNING" base_Constraint="_yppbIFmJEeCeYrW7M64v2A">
    <ruleId>CONF-303</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_ypqCM1mJEeCeYrW7M64v2A" base_Constraint="_ypqCMFmJEeCeYrW7M64v2A"/>
  <CDA:ConstraintValidation xmi:id="_ypqpQ1mJEeCeYrW7M64v2A" severity="INFO" base_Constraint="_ypqpQFmJEeCeYrW7M64v2A"/>
  <CDA:CodeSystemConstraint xmi:id="_ypitcFmJEeCeYrW7M64v2A" code="10160-0" displayName="History of medication use" base_Property="_ypiGYFmJEeCeYrW7M64v2A">
    <reference href="../../../org.openhealthtools.mdht.uml.term.models/model/CodeSystems.uml#_3-cwsCWrEd-iTYfpNb4PkQ"/>
    <ruleId>CONF-300</ruleId>
    <ruleId>CONF-301</ruleId>
  </CDA:CodeSystemConstraint>
  <CDA:PropertyValidation xmi:id="_ypkioVmJEeCeYrW7M64v2A" base_Property="_ypkioFmJEeCeYrW7M64v2A">
    <ruleId>CONF-302</ruleId>
  </CDA:PropertyValidation>
  <CDA:PropertyValidation xmi:id="_yplwwFmJEeCeYrW7M64v2A" base_Property="_yplJsFmJEeCeYrW7M64v2A">
    <ruleId>CONF-298</ruleId>
  </CDA:PropertyValidation>
  <CDA:AssociationValidation xmi:id="_ypm-4FmJEeCeYrW7M64v2A" severity="WARNING" base_Association="_ypmX0FmJEeCeYrW7M64v2A">
    <ruleId>CONF-298</ruleId>
  </CDA:AssociationValidation>
  <uml:Class xmi:id="_xCepAFmJEeCeYrW7M64v2A" name="Medication" clientDependency="_xFNz81mJEeCeYrW7M64v2A _xFNz9FmJEeCeYrW7M64v2A _xFNz9VmJEeCeYrW7M64v2A">
    <eAnnotations xmi:id="_xC7U8FmJEeCeYrW7M64v2A" source="sourceClass">
      <references xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.hitsp.model/model/.controlled/hitsp-medications.uml#_IjIO0DxbEd6JwqSGecoePg"/>
    </eAnnotations>
    <ownedComment xmi:id="_xFNz8FmJEeCeYrW7M64v2A">
      <annotatedElement xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_W6aMoHfTEd6ZeOKq_2_a9g"/>
      <body>&lt;p>A medication activity is used to describe what is administered.&lt;/p>&#xD;
&lt;p>An indication describes the rationale for a medication activity. The indication can be an existing problem or can be a criterion that if met would warrant the activity. Criteria are typically associated with PRN (from the Latin &quot;pro re nata&quot;, meaning &quot;as needed&quot;) medications (e.g. &quot;give Medication X as needed for nausea&quot;).&lt;/p>&#xD;
&lt;p>A reaction represents an adverse event due to an administered substance. Significant reactions are to be listed in the Alerts section. Reactions in the Medications section can be used to track reactions associated with individual substance administrations or to track routine follow up to an administration (e.g. &quot;no adverse reaction 30 minutes post administration&quot;).&lt;/p></body>
    </ownedComment>
    <ownedComment xmi:id="_xFNz8VmJEeCeYrW7M64v2A">
      <annotatedElement xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_sFGZUHGfEd6bf47ZOcft4w"/>
      <body>&lt;p>&#xD;
This content module describes the general structure for a medication. All medication administration acts will be derived&#xD;
from this content module.&#xD;
&lt;/p>&#xD;
&lt;p>&#xD;
The &amp;lt;substanceAdministration> element may contain subordinate&#xD;
&amp;lt;substanceAdministration> elements in a related component entry to deal with special cases (see&#xD;
the section below on Special Cases). These cases include split, tapered, or conditional dosing, or&#xD;
combination medications. The use of subordinate &amp;lt;substanceAdministration> elements to deal with these cases is optional. The comment field should always be used in these cases to provide&#xD;
the same information as free text in the top level &amp;lt;substanceAdministration> element.&#xD;
&lt;/p></body>
    </ownedComment>
    <ownedRule xmi:id="_xE8HIlmJEeCeYrW7M64v2A" name="moodCode">
      <constrainedElement xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_W6aMoHfTEd6ZeOKq_2_a9g"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xE8HI1mJEeCeYrW7M64v2A">
        <language>OCL</language>
        <language>Analysis</language>
        <body>self.moodCode=vocab::x_DocumentSubstanceMood::EVN or self.moodCode=vocab::x_DocumentSubstanceMood::INT </body>
        <body>Value for moodCode is &quot;EVN&quot; or &quot;INT&quot; 2.16.840.1.113883.5.1001 ActMood STATIC</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xE8uMFmJEeCeYrW7M64v2A" name="hasDoseQuantityOrRateQuantity">
      <constrainedElement xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_W6aMoHfTEd6ZeOKq_2_a9g"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xE8uMVmJEeCeYrW7M64v2A">
        <language>OCL</language>
        <language>Analysis</language>
        <body>not self.doseQuantity.oclIsUndefined() or not self.rateQuantity.oclIsUndefined()</body>
        <body>Contains exactly one doseQuantity or rateQuantity.</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xE98UFmJEeCeYrW7M64v2A" name="hasConsents">
      <constrainedElement xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_W6aMoHfTEd6ZeOKq_2_a9g"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xE98UVmJEeCeYrW7M64v2A">
        <language>OCL</language>
        <language>Analysis</language>
        <body>self.getClinicalDocument().authorization->exists(auth : cda::Authorization | &#xD;&#xA;   not auth.oclIsUndefined() and not auth.consent.oclIsUndefined())</body>
        <body>Has one or more associated consents, represented in the CCD Header as ClinicalDocument / authorization / consent.</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xE-jYFmJEeCeYrW7M64v2A" name="informationSource">
      <constrainedElement xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-problem.uml#_IjIO0DxbEd6JwqSGecoePg"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xE-jYVmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <language>OCL</language>
        <body>Contains one or more sources of information.</body>
        <body>not self.informant->isEmpty() &#xD;&#xA;or not self.getSection().informant->isEmpty()&#xD;&#xA;or not self.getClinicalDocument().informant->isEmpty()&#xD;&#xA;or self.reference->exists(ref : cda::Reference | ref.typeCode = vocab::x_ActRelationshipExternalReference::XCRPT)&#xD;&#xA;or (self.entryRelationship->exists(rel : cda::EntryRelationship | &#xD;&#xA;   rel.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR&#xD;&#xA;   and rel.observation.code.code = '48766-0'))</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xE_KcFmJEeCeYrW7M64v2A" name="hasPreconditionCriterion">
      <ownedComment xmi:id="_xE_KcVmJEeCeYrW7M64v2A">
        <body>Indicates that the medication is administered only when the associated (coded or free text) criteria are met.</body>
      </ownedComment>
      <constrainedElement xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_W6aMoHfTEd6ZeOKq_2_a9g"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xE_KclmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <language>OCL</language>
        <body>Contains one or more precondition / Criterion, to indicate that the medication is administered only when the associated (coded or free text) criteria are met.</body>
        <body>self.precondition->exists(precondition : cda::Precondition | not precondition.criterion.oclIsUndefined())</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xE_xgFmJEeCeYrW7M64v2A" name="hasReason">
      <ownedComment xmi:id="_xE_xgVmJEeCeYrW7M64v2A">
        <body>The target of the relationship represents the indication for the activity.</body>
      </ownedComment>
      <constrainedElement xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_W6aMoHfTEd6ZeOKq_2_a9g"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xE_xglmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <language>OCL</language>
        <body>Contains one or more entryRelationship, where the value for @typeCode is &quot;RSON&quot; &quot;Has reason&quot; 2.16.840.1.113883.5.1002 ActRelationshipType STATIC.</body>
        <body>self.entryRelationship->exists(entryRel : cda::EntryRelationship | entryRel.typeCode = vocab::x_ActRelationshipEntryRelationship::RSON)</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xFAYkFmJEeCeYrW7M64v2A" name="hasReasonProblem">
      <constrainedElement xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_W6aMoHfTEd6ZeOKq_2_a9g"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xFAYkVmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <language>OCL</language>
        <body>entryRelationship / @typeCode=&quot;RSON&quot; in a medication activity has a target of problem act (templateId 2.16.840.1.113883.10.20.1.27), problem observation (templateId 2.16.840.1.113883.10.20.1.28), or some other clinical statement.</body>
        <body>self.getEntryRelationshipTargets(vocab::x_ActRelationshipEntryRelationship::RSON, cda::ClinicalStatement)->forAll(target : &#xD;&#xD;&#xA;cda::ClinicalStatement | not target.oclIsUndefined() and &#xD;&#xA;  (target.oclIsKindOf(ccd::ProblemAct) or target.oclIsKindOf(ccd::ProblemObservation)))</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xFA_oFmJEeCeYrW7M64v2A" name="hasProduct">
      <constrainedElement xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_W6aMoHfTEd6ZeOKq_2_a9g"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xFA_oVmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <language>OCL</language>
        <body>Contains exactly one consumable, the target of which is a Product template.</body>
        <body>self.consumable.manufacturedProduct.oclIsKindOf(ccd::Product)</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xFBmsFmJEeCeYrW7M64v2A" name="hasDosing">
      <ownedComment xmi:id="_xFBmsVmJEeCeYrW7M64v2A">
        <body>There are a variety of special cases for dosing that need to be accounted for. &#xD;
Most of these special cases involve changing the dosage or frequency over time, or based on&#xD;
some measurement. When the dosage changes, then additional entries are required for each differing dosage.</body>
      </ownedComment>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xFBmslmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>Contains one dosing template to identify this entry as a particular type of medication event. Possible dosing templates: 1.3.6.1.4.1.19376.1.5.3.1.4.7.1 Normal Dosing, 1.3.6.1.4.1.19376.1.5.3.1.4.8, Tapered Dosing, 1.3.6.1.4.1.19376.1.5.3.1.4.9 Split Dosing, 1.3.6.1.4.1.19376.1.5.3.1.4.10 Conditional Dosing, 1.3.6.1.4.1.19376.1.5.3.1.4.11 Combination Dosing.</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xFBms1mJEeCeYrW7M64v2A" name="DosingRelationship">
      <ownedComment xmi:id="_xFBmtFmJEeCeYrW7M64v2A">
        <body>n the first three cases, the subordinate components shall specify only the changed &amp;lt;frequency>&#xD;
and/or &amp;lt;doseAmount> elements. For conditional dosing, each subordinate component shall have&#xD;
a &amp;lt;precondition> element that specifies the &amp;lt;observation> that must be obtained before&#xD;
administration of the dose. The value of the &amp;lt;sequenceNumber> shall be an ordinal number,&#xD;
starting at 1 for the first component, and increasing by 1 for each subsequent component.&#xD;
Components shall be sent in &amp;lt;sequenceNumber> order.</body>
      </ownedComment>
      <constrainedElement xmi:type="uml:Constraint" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_MWNEMEt5EeCAK_Z5vqvtzg"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xFBmtVmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>contains one or more related components (&lt;entryRelationship typeCode='COMP'>, either to handle split, tapered or conditional dosing, or to support combination medications.</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xFCNwFmJEeCeYrW7M64v2A" name="hasDescriptionNoMedNotKnown">
      <ownedComment xmi:id="_xFCNwVmJEeCeYrW7M64v2A">
        <body>&lt;p>&#xD;
182904002 &quot;Drug Treatment Unknown&quot; (To indicate lack of knowledge about drug therapy)&#xD;
&lt;/p>&#xD;
&lt;p>&#xD;
182849000 &quot;No Drug Therapy Prescribed&quot; (To indicate the absense of any prescribed medications)&#xD;
&lt;/p>&#xD;
&lt;p>&#xD;
408350003 &quot;Patient Not On Self-Medications&quot; (To indicate no treatment)&#xD;
&lt;/p></body>
      </ownedComment>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xFCNwlmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>Values from SNOMED CT shall be used in the &lt;code> element to record that a patient is either not on medications, or that medications are not known.</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xFC00FmJEeCeYrW7M64v2A" name="ReasonClassMood">
      <constrainedElement xmi:type="uml:Constraint" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_AXxswEqcEeCTurDhhRqwBw"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xFC00VmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>The act/@classCode='ACT' and act/@moodCode='EVN' when recording reason for medication in InternalReference Template.</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xFDb4FmJEeCeYrW7M64v2A" name="hasEffectiveTime">
      <ownedComment xmi:id="_xFDb4VmJEeCeYrW7M64v2A">
        <body>&lt;p>&#xD;
The first &amp;lt;effectiveTime> element encodes the start and stop time of the medication regimen.&#xD;
This an interval of time (xsi:type='IVL_TS'), and must be specified as shown. This is an&#xD;
additional constraint placed upon CDA Release 2.0 by this profile, and simplifies the exchange&#xD;
of start/stop and frequency information between EMR systems.&#xD;
&lt;/p></body>
      </ownedComment>
      <constrainedElement xmi:type="uml:Constraint" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_0gwT0Es9EeCAK_Z5vqvtzg"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xFDb4lmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>Contains [0..2] effectiveTime elements.</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xFEC8FmJEeCeYrW7M64v2A" name="hasProductEntry">
      <constrainedElement xmi:type="uml:Constraint" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_-dRKAEtuEeCAK_Z5vqvtzg"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xFEC8VmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>The &lt;consumable> element shall be present, and shall contain a Product Entry template</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xFEqAFmJEeCeYrW7M64v2A" name="hasIntructionsInversion">
      <constrainedElement xmi:type="uml:Constraint" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_MWNEMEt5EeCAK_Z5vqvtzg"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xFEqAVmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>The entryRelationship/@inversionInd attribute is 'true' for Patient Medical Instructions relationship</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xFFREFmJEeCeYrW7M64v2A" name="ProductStrength">
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xFFREVmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>The name and strength of the medication is recorded in consumable/manufacturedProduct/manufacturedMaterial/code/originalText</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xFF4IFmJEeCeYrW7M64v2A" name="ProductName">
      <constrainedElement xmi:type="uml:Constraint" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_fk_lkEt_EeCAK_Z5vqvtzg"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xFF4IVmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>Name of the substance or product is recorded in consumable/manufacturedProduct/manufacturedMaterial/name</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xFGfMFmJEeCeYrW7M64v2A" name="PreconditionReference">
      <constrainedElement xmi:type="uml:Constraint" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_pw4KwEt_EeCAK_Z5vqvtzg"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xFGfMVmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>the preconditions for use of the medication are recorded in the&#xD;&#xA;&lt;precondition> element. element. The value attribute of the &lt;reference> element is a URL that points to&#xD;&#xA;the CDA narrative describing those preconditions.</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xFHGQFmJEeCeYrW7M64v2A" name="hasSupplyEntryInversion">
      <constrainedElement xmi:type="uml:Constraint" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_bYIRoEuBEeCAK_Z5vqvtzg"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xFHGQVmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>The entryRelationship/@inversionInd attribute is 'false' for Supply Entry relationship</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xFIUYFmJEeCeYrW7M64v2A" name="hasFillNumber">
      <ownedComment xmi:id="_xFIUYVmJEeCeYrW7M64v2A">
        <body>The prescription activity may have a &amp;lt;sequenceNumber> element to indicate the fill number. A&#xD;
value of 1, 2 or N indicates that it is the first, second, or Nth fill respectively of a specific&#xD;
prescription.</body>
      </ownedComment>
      <constrainedElement xmi:type="uml:Constraint" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_yYE_4E9KEeCYjrG3z1gQrQ"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xFIUYlmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>entryRelationship/sequenceNumber element should be present when the embedded 'supply' element has a&#xD;&#xA;moodCode attribute of EVN.</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xCepAVmJEeCeYrW7M64v2A" name="medicationStopped" constrainedElement="_xCepAFmJEeCeYrW7M64v2A">
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xCepAlmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>The time at which the medication was stopped is determined based on the content of the &amp;lt;high> element of the first &amp;lt;effectiveTime> element.</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xCfQEFmJEeCeYrW7M64v2A" name="administrativeTiming" constrainedElement="_xCepAFmJEeCeYrW7M64v2A">
      <ownedComment xmi:id="_xCfQEVmJEeCeYrW7M64v2A">
        <body>defines a specific administration or&#xD;
use time. Can be a text string (Morning, Evening,&#xD;
Before Meals, 1 Hour After Meals, 3 Hours After&#xD;
Meals, Before Bed) or an exact time</body>
      </ownedComment>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xCfQElmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>The HL7 data type for PIVL_TS uses the institutionSpecified attribute to indicate whether it is the interval (time between dosing), or frequency (number of doses in a time period) that is important. If instititutionSpecified is not present or is set to false, then the time between dosing is important (every 8 hours). If true, then the frequency of administration is important (e.g., 3 times per day).</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xCfQE1mJEeCeYrW7M64v2A" name="firstEffectiveTimeDatatype" constrainedElement="_xCepAFmJEeCeYrW7M64v2A">
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xCfQFFmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>The first &amp;lt;effectiveTime> SHALL use the IVL_TS data type unless for a single administration, in which case, it SHALL use the TS data type.</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xCfQFVmJEeCeYrW7M64v2A" name="dailyLivingActivities" constrainedElement="_xCepAFmJEeCeYrW7M64v2A">
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xCfQFlmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>Medications that are administered based on activities of daily living SHALL identify the events that trigger administration in the &amp;lt;event> element beneath the &amp;lt;effectiveTime> element. The &amp;lt;effectiveTime> element SHALL be of type EIVL_TS.</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xCfQF1mJEeCeYrW7M64v2A" name="specifiedFrequency" constrainedElement="_xCepAFmJEeCeYrW7M64v2A">
      <ownedComment xmi:id="_xCfQGFmJEeCeYrW7M64v2A">
        <body>defines how often the medication is&#xD;
to be administered as events per unit of time. Often&#xD;
expressed as the number of times per day (e.g., four&#xD;
times a day), but may also include event-related&#xD;
information (e.g., 1 hour before meals, in the morning,&#xD;
at bedtime). Complimentary to Interval, although&#xD;
equivalent expressions may have different&#xD;
implications (e.g., every 8 hours versus 3 times a day)</body>
      </ownedComment>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xCfQGVmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>Medications that are administered at a specified frequency SHALL record the expected interval between doses in the &amp;lt;period> element beneath an &amp;lt;effectiveTime> of type PIVL_TS. The &amp;lt;effectiveTime> element SHALL have an institutionSpecified attribute value of &quot;true&quot;.</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xCfQGlmJEeCeYrW7M64v2A" name="specifiedInterval" constrainedElement="_xCepAFmJEeCeYrW7M64v2A">
      <ownedComment xmi:id="_xCfQG1mJEeCeYrW7M64v2A">
        <body>defines how the product is to be&#xD;
administered as an interval of time. For example,&#xD;
every 8 hours. Complimentary to Frequency, although&#xD;
equivalent expressions may have different&#xD;
implications (e.g., every 8 hours versus 3 times a day)</body>
      </ownedComment>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xCfQHFmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>Medications that are administered at a specified interval SHALL record interval between doses in the &amp;lt;period> element beneath an &amp;lt;effectiveTime> element of type PIVL_TS. The &amp;lt;effectiveTime> element SHALL have an institutionSpecified attribute value of &quot;false&quot;.</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xCfQHVmJEeCeYrW7M64v2A" name="doseUnits" constrainedElement="_xCfQGlmJEeCeYrW7M64v2A">
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xCfQHlmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>doseQuantity/@unit, Dose Units MAY be present when needed. If present it SHALL be coded as 2.16.840.1.113883.3.88.12.80.29 Unit of Measure</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xCfQH1mJEeCeYrW7M64v2A" name="medicationStrengthUnit" constrainedElement="_xCfQHVmJEeCeYrW7M64v2A">
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xCfQIFmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>When the coded product or brand name describes the strength or concentration of the medication, and the dosing is in administration units (e.g., 1 tablet, 2 capsules), units SHOULD contain the preferred name of the presentation units within braces { } using the units of presentation from the NCI Thesaurus</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xCfQIVmJEeCeYrW7M64v2A" name="deliveryMethodDescription">
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xCfQIlmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>The free text description of the delivery method MAY be included within a &lt;originalText> element beneath the &lt;code> element</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xCfQI1mJEeCeYrW7M64v2A" name="hasMedicationInformation" constrainedElement="_xCepAFmJEeCeYrW7M64v2A">
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xCfQJFmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>Contains one consumable element which contains the Medication Information template. The name and code for the medication are recorded in the &lt;consumable> element.</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xCfQJVmJEeCeYrW7M64v2A" name="hasStatusOfMedication" constrainedElement="_xCfQI1mJEeCeYrW7M64v2A">
      <ownedComment xmi:id="_xCfQJlmJEeCeYrW7M64v2A">
        <body>If the medication is Active, Discharged, Chronic,&#xD;
Acute, etc</body>
      </ownedComment>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xCfQJ1mJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>The medication status MAY be recorded using the CCD Medication Status observation using the value set defined in the CCD</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xCfQKFmJEeCeYrW7M64v2A" name="hasIndication" constrainedElement="_xCfQJVmJEeCeYrW7M64v2A">
      <ownedComment xmi:id="_xCfQKVmJEeCeYrW7M64v2A">
        <body>The medical condition or problem&#xD;
intended to be addressed by the ordered product. For&#xD;
example: for chest pain, for pain, for high blood&#xD;
pressure</body>
      </ownedComment>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xCfQKlmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>[0..*] indications SHALL be recorded using the Indication problem observation (templateID 2.16.840.1.113883.10.20.1.28) described in the CCD Implementation Guide.</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xCfQK1mJEeCeYrW7M64v2A" name="hasIndicationNarrativeText" constrainedElement="_xCfQKFmJEeCeYrW7M64v2A">
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xCfQLFmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>The indication problem observation SHALL contain a &lt;text> element that includes a &lt;reference> element whose value attribute points to the narrative text that is the indication for the medication</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xCfQLVmJEeCeYrW7M64v2A" name="hasIndicationVocab" constrainedElement="_xCfQKFmJEeCeYrW7M64v2A">
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xCfQLlmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>The indication SHALL be coded as 2.16.840.1.113883.3.88.12.3221.7.4, Problem Value Set, version: 20100125, Dynamic</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xCfQL1mJEeCeYrW7M64v2A" name="hasPatientInstructions" constrainedElement="_xCfQLVmJEeCeYrW7M64v2A">
      <ownedComment xmi:id="_xCfQMFmJEeCeYrW7M64v2A">
        <body>&lt;p>&#xD;
Instructions to the patient that are not traditionally part&#xD;
of the Sig. For example, &quot;keep in the refrigerator.&quot;&#xD;
More extensive patient education materials can also&#xD;
be included&#xD;
&lt;/p>&#xD;
&lt;p>&#xD;
External patient educational materials can be referenced with an appropriate URL entry in the text/ reference/value.&#xD;
&lt;/p></body>
      </ownedComment>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xCfQMVmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>Patient Instructions SHALL be recorded using the Patient Medication Instructions template (templateID 1.3.6.1.4.1.19376.1.5.3.1.4.3)</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xCfQMlmJEeCeYrW7M64v2A" name="hasMedicationVehicle" constrainedElement="_xCfQL1mJEeCeYrW7M64v2A">
      <ownedComment xmi:id="_xCfQM1mJEeCeYrW7M64v2A">
        <body>Non-active ingredient(s), or&#xD;
substances not of therapeutic interest, in which the&#xD;
active ingredients are dispersed. Most often applied to&#xD;
liquid products where the major fluid component is&#xD;
considered the vehicle. For example: Normal Saline is&#xD;
the vehicle in &quot;Ampicillin 150mg in 50ml NS&quot;;&#xD;
Aquaphor is the vehicle in &quot;10% LCD in Aquaphor&quot;</body>
      </ownedComment>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xCfQNFmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>The vehicle for administering a medication MAY be recorded in a &lt;participantRole> element inside a &lt;participant> element in the &lt;substanceAdministration> element</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xCfQNVmJEeCeYrW7M64v2A" name="medicationVehicleType" constrainedElement="_xCfQMlmJEeCeYrW7M64v2A">
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xCfQNlmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>The typeCode attribute of the &lt;participant> element SHALL be CSM</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xCfQN1mJEeCeYrW7M64v2A" name="medicationVehicleClass" constrainedElement="_xCfQNVmJEeCeYrW7M64v2A">
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xCfQOFmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>The classCode of the &lt;participantRole> SHALL be MANU</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xCfQOVmJEeCeYrW7M64v2A" name="medicationVehicleCode" constrainedElement="_xCfQN1mJEeCeYrW7M64v2A">
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xCfQOlmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>A &lt;code> element for the &lt;participantRole> SHALL be present and SHALL contain the code 412307009 from the SNOMED CT code system</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xCfQO1mJEeCeYrW7M64v2A" name="medicationVehicleName" constrainedElement="_xCfQOVmJEeCeYrW7M64v2A">
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xCfQPFmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>The &lt;name> element in the &lt;playingEntity> element SHALL record the name of the drug vehicle</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xCfQPVmJEeCeYrW7M64v2A" name="medicationVehicleCodedName" constrainedElement="_xCfQO1mJEeCeYrW7M64v2A">
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xCfQPlmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>The &lt;code> element in the &lt;playingEntity> element MAY be used to supply a coded term for the drug vehicle</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xCfQP1mJEeCeYrW7M64v2A" name="medicationVehicleCodedNameVocab" constrainedElement="_xCfQPVmJEeCeYrW7M64v2A">
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xCfQQFmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>The Medication Vehicle shall be coded as 2.16.840.1.113883.3.88.12.80.21, Medication Vehicle Value Set, version: 20081218, Dynamic</body>
      </specification>
    </ownedRule>
    <generalization xmi:id="_xFNz8lmJEeCeYrW7M64v2A">
      <general xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda/model/cda.uml#_nazskEbuEd6besF9iFIJkQ"/>
    </generalization>
    <substitution xmi:id="_xFNz81mJEeCeYrW7M64v2A" client="_xCepAFmJEeCeYrW7M64v2A">
      <supplier xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_W6aMoHfTEd6ZeOKq_2_a9g"/>
      <contract xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_W6aMoHfTEd6ZeOKq_2_a9g"/>
    </substitution>
    <substitution xmi:id="_xFNz9FmJEeCeYrW7M64v2A" client="_xCepAFmJEeCeYrW7M64v2A">
      <supplier xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_sFGZUHGfEd6bf47ZOcft4w"/>
      <contract xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_sFGZUHGfEd6bf47ZOcft4w"/>
    </substitution>
    <substitution xmi:id="_xFNz9VmJEeCeYrW7M64v2A" client="_xCepAFmJEeCeYrW7M64v2A">
      <supplier xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.hitsp.model/model/.controlled/hitsp-medications.uml#_IjIO0DxbEd6JwqSGecoePg"/>
      <contract xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.hitsp.model/model/.controlled/hitsp-medications.uml#_IjIO0DxbEd6JwqSGecoePg"/>
    </substitution>
    <ownedAttribute xmi:id="_xC_mYFmJEeCeYrW7M64v2A" name="classCode" visibility="private">
      <type xmi:type="uml:Enumeration" href="../../../org.openhealthtools.mdht.uml.hl7.vocab/model/vocab.uml#__yVdYEDcEd6xYZuu1VKCVw"/>
      <defaultValue xmi:type="uml:InstanceValue" xmi:id="_xC_mYVmJEeCeYrW7M64v2A" name="SBADM">
        <type xmi:type="uml:Enumeration" href="../../../org.openhealthtools.mdht.uml.hl7.vocab/model/vocab.uml#__yVdYEDcEd6xYZuu1VKCVw"/>
        <instance xmi:type="uml:EnumerationLiteral" href="../../../org.openhealthtools.mdht.uml.hl7.vocab/model/vocab.uml#__yVdc0DcEd6xYZuu1VKCVw"/>
      </defaultValue>
    </ownedAttribute>
    <ownedAttribute xmi:id="_xC_mYlmJEeCeYrW7M64v2A" name="moodCode" visibility="private">
      <type xmi:type="uml:Enumeration" href="../../../org.openhealthtools.mdht.uml.hl7.vocab/model/vocab.uml#__zOpxEDcEd6xYZuu1VKCVw"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_xC_mY1mJEeCeYrW7M64v2A" name="id" visibility="private">
      <type xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.hl7.datatypes/model/datatypes.uml#_culQ8DxaEd6JwqSGecoePg"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_xC_mZFmJEeCeYrW7M64v2A" value="*"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_xC_mZVmJEeCeYrW7M64v2A" value="1"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_xCfQXlmJEeCeYrW7M64v2A" name="code" visibility="private" aggregation="composite">
      <ownedComment xmi:id="_xCfQX1mJEeCeYrW7M64v2A">
        <body>Delivery Method: A description of how the product is&#xD;
administered/consumed</body>
      </ownedComment>
      <type xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.hl7.datatypes/model/datatypes.uml#_VKl7EDxaEd6JwqSGecoePg"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_xCfQYFmJEeCeYrW7M64v2A" value="*"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_xCfQYVmJEeCeYrW7M64v2A"/>
      <redefinedProperty href="../../../org.openhealthtools.mdht.uml.cda/model/cda.uml#_jEJb8ErsEd6FXKclYGEDCw"/>
      <redefinedProperty href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_uixSsEqeEeCTurDhhRqwBw"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_xDCCoFmJEeCeYrW7M64v2A" name="statusCode" visibility="private" isReadOnly="true">
      <ownedComment xmi:id="_xDCCoVmJEeCeYrW7M64v2A">
        <body>The status of all 'substanceAdministration' elements must be &quot;completed&quot;. The act has either&#xD;
occurred, or the request or order has been placed.</body>
      </ownedComment>
      <type xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.hl7.datatypes/model/datatypes.uml#_iYn74D55Ed6cla2oXsPtlA"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_xDCColmJEeCeYrW7M64v2A" value="1"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_xDCCo1mJEeCeYrW7M64v2A" value="1"/>
      <redefinedProperty href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_f9zPMIHYEd6Ncrr6L3Ublw"/>
      <defaultValue xmi:type="uml:LiteralString" xmi:id="_xDCCpFmJEeCeYrW7M64v2A" value="completed"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_xCfQQlmJEeCeYrW7M64v2A" name="effectiveTime" visibility="private" aggregation="composite">
      <ownedComment xmi:id="_xCfQQ1mJEeCeYrW7M64v2A">
        <body>Indicate Medication Stopped: Used to express a &quot;hard stop,&quot; such as the last Sig sequence in a tapering dose, where the last sequence is 'then D/C' or where the therapy/drug is used to treat a condition and that treatment is for a fixed duration with a hard stop, such as antibiotic treatment, etc.</body>
      </ownedComment>
      <ownedComment xmi:id="_xCfQRFmJEeCeYrW7M64v2A">
        <body>Administration Timing: defines a specific administration or use time. Can be a text string (Morning, Evening, Before Meals, 1 Hour After Meals, 3 Hours After Meals, Before Bed) or an exact time.</body>
      </ownedComment>
      <ownedComment xmi:id="_xCfQRVmJEeCeYrW7M64v2A">
        <body>Frequency: defines how often the medication is to be administered as events per unit of time. Often expressed as the number of times per day (e.g., four times a day), but may also include event-related information (e.g., 1 hour before meals, in the morning, at bedtime). Complimentary to Interval, although equivalent expressions may have different implications (e.g., every 8 hours versus 3 times a day).</body>
      </ownedComment>
      <ownedComment xmi:id="_xCfQRlmJEeCeYrW7M64v2A">
        <body>Interval: defines how the product is to be administered as an interval of time. For example, every 8 hours. Complimentary to Frequency, although equivalent expressions may have different implications (e.g., every 8 hours versus 3 times a day).</body>
      </ownedComment>
      <ownedComment xmi:id="_xCfQR1mJEeCeYrW7M64v2A">
        <body>Duration: for non-instantaneous administrations, indicates the length of time the administration should be continued. For example, (infuse) over 30 minutes.</body>
      </ownedComment>
      <type xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.hl7.datatypes/model/datatypes.uml#_kSZ5QD5_Ed6cla2oXsPtlA"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_xCfQSFmJEeCeYrW7M64v2A" value="*"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_xCfQSVmJEeCeYrW7M64v2A" value="1"/>
      <redefinedProperty href="../../../org.openhealthtools.mdht.uml.cda/model/cda.uml#_u37zEErsEd6FXKclYGEDCw"/>
      <redefinedProperty href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_w93GUOecEd-aaJELhEID-A"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_xCfQSlmJEeCeYrW7M64v2A" name="routeCode" visibility="private" aggregation="composite">
      <ownedComment xmi:id="_xCfQS1mJEeCeYrW7M64v2A">
        <body>The route is a coded value, and indicates how the medication is received by the patient (by mouth, intravenously, topically, et cetera).</body>
      </ownedComment>
      <type xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.hl7.datatypes/model/datatypes.uml#_Z1EGIDxaEd6JwqSGecoePg"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_xCfQTFmJEeCeYrW7M64v2A" value="*"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_xCfQTVmJEeCeYrW7M64v2A" value="1"/>
      <redefinedProperty href="../../../org.openhealthtools.mdht.uml.cda/model/cda.uml#_9hNwoErsEd6FXKclYGEDCw"/>
      <redefinedProperty href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_w93tY-ecEd-aaJELhEID-A"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_xCfQWlmJEeCeYrW7M64v2A" name="approachSiteCode" visibility="private" aggregation="composite">
      <ownedComment xmi:id="_xCfQW1mJEeCeYrW7M64v2A">
        <body>The anatomic site where the&#xD;
medication is administered. Usually applicable to&#xD;
injected or topical products</body>
      </ownedComment>
      <type xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.hl7.datatypes/model/datatypes.uml#_VKl7EDxaEd6JwqSGecoePg"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_xCfQXFmJEeCeYrW7M64v2A" value="*"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_xCfQXVmJEeCeYrW7M64v2A"/>
      <redefinedProperty href="../../../org.openhealthtools.mdht.uml.cda/model/cda.uml#_ATlKkErtEd6FXKclYGEDCw"/>
      <redefinedProperty href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_qvyvcO7MEd-iKq5sSX9U2w"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_xCfQTlmJEeCeYrW7M64v2A" name="doseQuantity" visibility="private" aggregation="composite">
      <ownedComment xmi:id="_xCfQT1mJEeCeYrW7M64v2A">
        <body>the amount of the product to be&#xD;
given. This may be a known, measurable unit (e.g.,&#xD;
milliliters), an administration unit (e.g., tablet), or an&#xD;
amount of active ingredient (e.g., 250 mg). May define&#xD;
a variable dose, dose range or dose options based&#xD;
upon identified criteria (see Dose Indicator)</body>
      </ownedComment>
      <type xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.hl7.datatypes/model/datatypes.uml#_1VHHUErrEd6FXKclYGEDCw"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_xCfQUFmJEeCeYrW7M64v2A" value="*"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_xCfQUVmJEeCeYrW7M64v2A" value="1"/>
      <redefinedProperty href="../../../org.openhealthtools.mdht.uml.cda/model/cda.uml#_D1VaEErtEd6FXKclYGEDCw"/>
      <redefinedProperty href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_sPm8YO7MEd-iKq5sSX9U2w"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_xDIwUVmJEeCeYrW7M64v2A" name="rateQuantity" visibility="private" aggregation="composite">
      <ownedComment xmi:id="_xDIwUlmJEeCeYrW7M64v2A">
        <body>The rate is a measurement of how fast the dose is given to the patient over time (e.g., .5 liter / 1 hr), and is often used with IV drugs.</body>
      </ownedComment>
      <type xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.hl7.datatypes/model/datatypes.uml#_1VHHUErrEd6FXKclYGEDCw"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_xDIwU1mJEeCeYrW7M64v2A" value="1"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_xDIwVFmJEeCeYrW7M64v2A"/>
      <redefinedProperty href="../../../org.openhealthtools.mdht.uml.cda/model/cda.uml#_GsU1UErtEd6FXKclYGEDCw"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_xCfQVlmJEeCeYrW7M64v2A" name="maxDoseQuantity" visibility="private" aggregation="composite">
      <ownedComment xmi:id="_xCfQV1mJEeCeYrW7M64v2A">
        <body>defines a maximum or dose limit.&#xD;
This segment can repeat for more than one dose&#xD;
restriction</body>
      </ownedComment>
      <type xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.hl7.datatypes/model/datatypes.uml#_IZ0HUErsEd6FXKclYGEDCw"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_xCfQWFmJEeCeYrW7M64v2A" value="*"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_xCfQWVmJEeCeYrW7M64v2A" value="1"/>
      <redefinedProperty href="../../../org.openhealthtools.mdht.uml.cda/model/cda.uml#_J1e-oErtEd6FXKclYGEDCw"/>
      <redefinedProperty href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_w93tYOecEd-aaJELhEID-A"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_xCfQUlmJEeCeYrW7M64v2A" name="administrationUnitCode" visibility="private" aggregation="composite">
      <ownedComment xmi:id="_xCfQU1mJEeCeYrW7M64v2A">
        <body>The physical form of the product as presented to the&#xD;
patient. For example: tablet, capsule, liquid or&#xD;
ointment</body>
      </ownedComment>
      <type xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.hl7.datatypes/model/datatypes.uml#_Z1EGIDxaEd6JwqSGecoePg"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_xCfQVFmJEeCeYrW7M64v2A" value="1"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_xCfQVVmJEeCeYrW7M64v2A" value="1"/>
      <redefinedProperty href="../../../org.openhealthtools.mdht.uml.cda/model/cda.uml#_OJ6BMErtEd6FXKclYGEDCw"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_xDMasVmJEeCeYrW7M64v2A" name="consumable" visibility="private" aggregation="composite" association="_xDNBwFmJEeCeYrW7M64v2A">
      <type xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda/model/cda.uml#_gRI5MEcEEd6besF9iFIJkQ"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_xDMaslmJEeCeYrW7M64v2A" value="1"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_xDMas1mJEeCeYrW7M64v2A" value="1"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_xDNBwlmJEeCeYrW7M64v2A" name="medicationSeriesNumberObservation" visibility="private" type="_xDOP4FmJEeCeYrW7M64v2A" association="_xDXZ0FmJEeCeYrW7M64v2A">
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_xDNBw1mJEeCeYrW7M64v2A" value="1"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_xDNBxFmJEeCeYrW7M64v2A" value="1"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_xDYA4FmJEeCeYrW7M64v2A" name="medicationStatusObservation" visibility="private" type="_xDYn8FmJEeCeYrW7M64v2A" association="_xDdgcFmJEeCeYrW7M64v2A">
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_xDYA4VmJEeCeYrW7M64v2A" value="1"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_xDYA4lmJEeCeYrW7M64v2A" value="1"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_xDeHgFmJEeCeYrW7M64v2A" name="performer" association="_xDeukFmJEeCeYrW7M64v2A">
      <type xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda/model/cda.uml#_HP8qoEcaEd6besF9iFIJkQ"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_xDeHgVmJEeCeYrW7M64v2A" value="*"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_xDeHglmJEeCeYrW7M64v2A" value="1"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_xDfVoFmJEeCeYrW7M64v2A" name="reactionObservation" association="_xDq70FmJEeCeYrW7M64v2A">
      <type xmi:type="uml:Class" href="../consol.uml#_xDgjwFmJEeCeYrW7M64v2A"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_xDfVoVmJEeCeYrW7M64v2A" value="*"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_xDfVolmJEeCeYrW7M64v2A" value="1"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_xDri4FmJEeCeYrW7M64v2A" name="productInstance" type="_xDsJ8FmJEeCeYrW7M64v2A" association="_xDv0UFmJEeCeYrW7M64v2A">
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_xDri4VmJEeCeYrW7M64v2A" value="*"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_xDri4lmJEeCeYrW7M64v2A" value="1"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_xDxCcFmJEeCeYrW7M64v2A" name="internalReference" association="_xD168FmJEeCeYrW7M64v2A">
      <type xmi:type="uml:Class" href="consol-shared.uml#_xDxpgFmJEeCeYrW7M64v2A"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_xDxCcVmJEeCeYrW7M64v2A" value="*"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_xDxCclmJEeCeYrW7M64v2A" value="1"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_xD168lmJEeCeYrW7M64v2A" name="patientMedicalInstructions" type="_xD3JEFmJEeCeYrW7M64v2A" association="_xD_r8VmJEeCeYrW7M64v2A">
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_xD1681mJEeCeYrW7M64v2A" value="*"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_xD169FmJEeCeYrW7M64v2A" value="1"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_xCfQYlmJEeCeYrW7M64v2A" name="medicationType" type="_xEA6EFmJEeCeYrW7M64v2A" association="_xEIO0FmJEeCeYrW7M64v2A">
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_xCfQY1mJEeCeYrW7M64v2A"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_xCfQZFmJEeCeYrW7M64v2A" name="medicationOrderInformation" type="_xEJc8FmJEeCeYrW7M64v2A" association="_xE7gEFmJEeCeYrW7M64v2A">
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_xCfQZVmJEeCeYrW7M64v2A" value="*"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_xCfQZlmJEeCeYrW7M64v2A" value="1"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_xCfQZ1mJEeCeYrW7M64v2A" name="reactionObservation" association="_xE8HIFmJEeCeYrW7M64v2A">
      <type xmi:type="uml:Class" href="../consol.uml#_xDgjwFmJEeCeYrW7M64v2A"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_xCfQaFmJEeCeYrW7M64v2A" value="1"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_xCfQaVmJEeCeYrW7M64v2A"/>
      <redefinedProperty href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_pEouICp1EeCuGIaOlnUvyw"/>
    </ownedAttribute>
  </uml:Class>
  <uml:Association xmi:id="_xDNBwFmJEeCeYrW7M64v2A" memberEnd="_xDMasVmJEeCeYrW7M64v2A _xDNBwVmJEeCeYrW7M64v2A">
    <ownedEnd xmi:id="_xDNBwVmJEeCeYrW7M64v2A" type="_xCepAFmJEeCeYrW7M64v2A" association="_xDNBwFmJEeCeYrW7M64v2A"/>
  </uml:Association>
  <uml:Association xmi:id="_xDXZ0FmJEeCeYrW7M64v2A" memberEnd="_xDNBwlmJEeCeYrW7M64v2A _xDXZ0VmJEeCeYrW7M64v2A">
    <ownedEnd xmi:id="_xDXZ0VmJEeCeYrW7M64v2A" type="_xCepAFmJEeCeYrW7M64v2A" association="_xDXZ0FmJEeCeYrW7M64v2A"/>
  </uml:Association>
  <uml:Association xmi:id="_xDdgcFmJEeCeYrW7M64v2A" memberEnd="_xDYA4FmJEeCeYrW7M64v2A _xDdgcVmJEeCeYrW7M64v2A">
    <ownedEnd xmi:id="_xDdgcVmJEeCeYrW7M64v2A" type="_xCepAFmJEeCeYrW7M64v2A" association="_xDdgcFmJEeCeYrW7M64v2A"/>
  </uml:Association>
  <uml:Association xmi:id="_xDeukFmJEeCeYrW7M64v2A" memberEnd="_xDeHgFmJEeCeYrW7M64v2A _xDeukVmJEeCeYrW7M64v2A">
    <ownedEnd xmi:id="_xDeukVmJEeCeYrW7M64v2A" type="_xCepAFmJEeCeYrW7M64v2A" association="_xDeukFmJEeCeYrW7M64v2A"/>
  </uml:Association>
  <uml:Association xmi:id="_xDq70FmJEeCeYrW7M64v2A" memberEnd="_xDfVoFmJEeCeYrW7M64v2A _xDq70VmJEeCeYrW7M64v2A">
    <ownedEnd xmi:id="_xDq70VmJEeCeYrW7M64v2A" type="_xCepAFmJEeCeYrW7M64v2A" association="_xDq70FmJEeCeYrW7M64v2A"/>
  </uml:Association>
  <uml:Association xmi:id="_xDv0UFmJEeCeYrW7M64v2A" memberEnd="_xDri4FmJEeCeYrW7M64v2A _xDv0UVmJEeCeYrW7M64v2A">
    <ownedEnd xmi:id="_xDv0UVmJEeCeYrW7M64v2A" type="_xCepAFmJEeCeYrW7M64v2A" association="_xDv0UFmJEeCeYrW7M64v2A"/>
  </uml:Association>
  <uml:Association xmi:id="_xD168FmJEeCeYrW7M64v2A" memberEnd="_xDxCcFmJEeCeYrW7M64v2A _xD168VmJEeCeYrW7M64v2A">
    <ownedEnd xmi:id="_xD168VmJEeCeYrW7M64v2A" type="_xCepAFmJEeCeYrW7M64v2A" association="_xD168FmJEeCeYrW7M64v2A"/>
  </uml:Association>
  <uml:Association xmi:id="_xD_r8VmJEeCeYrW7M64v2A" memberEnd="_xD168lmJEeCeYrW7M64v2A _xEATAFmJEeCeYrW7M64v2A">
    <ownedEnd xmi:id="_xEATAFmJEeCeYrW7M64v2A" type="_xCepAFmJEeCeYrW7M64v2A" association="_xD_r8VmJEeCeYrW7M64v2A"/>
  </uml:Association>
  <uml:Association xmi:id="_xEIO0FmJEeCeYrW7M64v2A" memberEnd="_xCfQYlmJEeCeYrW7M64v2A _xEIO0VmJEeCeYrW7M64v2A">
    <ownedEnd xmi:id="_xEIO0VmJEeCeYrW7M64v2A" type="_xCepAFmJEeCeYrW7M64v2A" association="_xEIO0FmJEeCeYrW7M64v2A"/>
  </uml:Association>
  <uml:Association xmi:id="_xE7gEFmJEeCeYrW7M64v2A" memberEnd="_xCfQZFmJEeCeYrW7M64v2A _xE7gEVmJEeCeYrW7M64v2A">
    <ownedEnd xmi:id="_xE7gEVmJEeCeYrW7M64v2A" type="_xCepAFmJEeCeYrW7M64v2A" association="_xE7gEFmJEeCeYrW7M64v2A"/>
  </uml:Association>
  <uml:Association xmi:id="_xE8HIFmJEeCeYrW7M64v2A" memberEnd="_xCfQZ1mJEeCeYrW7M64v2A _xE8HIVmJEeCeYrW7M64v2A">
    <ownedEnd xmi:id="_xE8HIVmJEeCeYrW7M64v2A" type="_xCepAFmJEeCeYrW7M64v2A" association="_xE8HIFmJEeCeYrW7M64v2A"/>
  </uml:Association>
  <CDA:CDATemplate xmi:id="_xCjhgFmJEeCeYrW7M64v2A" base_Class="_xCepAFmJEeCeYrW7M64v2A" templateId="2.16.840.1.113883.3.88.11.83.8" assigningAuthorityName="HITSP C83" contextDependent="true">
    <ruleId>C83-[DE-8-CDA-1]</ruleId>
  </CDA:CDATemplate>
  <CDA:ConstraintValidation xmi:id="_xE8HJFmJEeCeYrW7M64v2A" base_Constraint="_xE8HIlmJEeCeYrW7M64v2A">
    <ruleId>CONF-305</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_xE9VQFmJEeCeYrW7M64v2A" severity="WARNING" base_Constraint="_xE8uMFmJEeCeYrW7M64v2A">
    <ruleId>CONF-311</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_xE98UlmJEeCeYrW7M64v2A" severity="INFO" base_Constraint="_xE98UFmJEeCeYrW7M64v2A">
    <ruleId>CONF-314</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_xE-jYlmJEeCeYrW7M64v2A" base_Constraint="_xE-jYFmJEeCeYrW7M64v2A">
    <ruleId>CONF-315</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_xE_Kc1mJEeCeYrW7M64v2A" severity="INFO" base_Constraint="_xE_KcFmJEeCeYrW7M64v2A">
    <ruleId>CONF-327</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_xE_xg1mJEeCeYrW7M64v2A" severity="INFO" base_Constraint="_xE_xgFmJEeCeYrW7M64v2A">
    <ruleId>CONF-328</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_xFAYklmJEeCeYrW7M64v2A" base_Constraint="_xFAYkFmJEeCeYrW7M64v2A">
    <ruleId>CONF-329</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_xFA_olmJEeCeYrW7M64v2A" base_Constraint="_xFA_oFmJEeCeYrW7M64v2A">
    <ruleId>CONF-354</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_xFCNw1mJEeCeYrW7M64v2A" base_Constraint="_xFCNwFmJEeCeYrW7M64v2A"/>
  <CDA:ConstraintValidation xmi:id="_xFC00lmJEeCeYrW7M64v2A" base_Constraint="_xFC00FmJEeCeYrW7M64v2A">
    <ruleId>6.3.4.16.22</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_xFDb41mJEeCeYrW7M64v2A" base_Constraint="_xFDb4FmJEeCeYrW7M64v2A"/>
  <CDA:ConstraintValidation xmi:id="_xFEC8lmJEeCeYrW7M64v2A" base_Constraint="_xFEC8FmJEeCeYrW7M64v2A"/>
  <CDA:ConstraintValidation xmi:id="_xFEqAlmJEeCeYrW7M64v2A" base_Constraint="_xFEqAFmJEeCeYrW7M64v2A"/>
  <CDA:ConstraintValidation xmi:id="_xFFRElmJEeCeYrW7M64v2A" severity="WARNING" base_Constraint="_xFFREFmJEeCeYrW7M64v2A"/>
  <CDA:ConstraintValidation xmi:id="_xFF4IlmJEeCeYrW7M64v2A" base_Constraint="_xFF4IFmJEeCeYrW7M64v2A"/>
  <CDA:ConstraintValidation xmi:id="_xFGfMlmJEeCeYrW7M64v2A" severity="INFO" base_Constraint="_xFGfMFmJEeCeYrW7M64v2A"/>
  <CDA:ConstraintValidation xmi:id="_xFHtUFmJEeCeYrW7M64v2A" base_Constraint="_xFHGQFmJEeCeYrW7M64v2A"/>
  <CDA:ConstraintValidation xmi:id="_xFIUY1mJEeCeYrW7M64v2A" severity="WARNING" base_Constraint="_xFIUYFmJEeCeYrW7M64v2A"/>
  <CDA:ConstraintValidation xmi:id="_xCt5kFmJEeCeYrW7M64v2A" base_Constraint="_xCepAVmJEeCeYrW7M64v2A">
    <ruleId>2.2.2.8.3</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_xCugoFmJEeCeYrW7M64v2A" base_Constraint="_xCfQEFmJEeCeYrW7M64v2A">
    <ruleId>2.2.2.8.4</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_xCvHsFmJEeCeYrW7M64v2A" base_Constraint="_xCfQE1mJEeCeYrW7M64v2A">
    <ruleId>C83-[DE-8-CDA-3]</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_xCvuwFmJEeCeYrW7M64v2A" base_Constraint="_xCfQFVmJEeCeYrW7M64v2A">
    <ruleId>C83-[DE-8.03-CDA-1]</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_xCwV0FmJEeCeYrW7M64v2A" base_Constraint="_xCfQF1mJEeCeYrW7M64v2A">
    <ruleId>C83-[DE-8.04-CDA-1]</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_xCw84FmJEeCeYrW7M64v2A" base_Constraint="_xCfQGlmJEeCeYrW7M64v2A">
    <ruleId>C83-[DE-8.05-CDA-1]</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_xCxj8FmJEeCeYrW7M64v2A" severity="INFO" base_Constraint="_xCfQHVmJEeCeYrW7M64v2A">
    <ruleId>C154-[DE-8.08-1]</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_xCyLAFmJEeCeYrW7M64v2A" severity="WARNING" base_Constraint="_xCfQH1mJEeCeYrW7M64v2A">
    <ruleId>C154-[DE-8.08-2]</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_xCyyEFmJEeCeYrW7M64v2A" severity="INFO" base_Constraint="_xCfQIVmJEeCeYrW7M64v2A">
    <ruleId>C83-[DE-8.12-CDA-2]</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_xCzZIFmJEeCeYrW7M64v2A" base_Constraint="_xCfQI1mJEeCeYrW7M64v2A"/>
  <CDA:ConstraintValidation xmi:id="_xC0AMFmJEeCeYrW7M64v2A" severity="INFO" base_Constraint="_xCfQJVmJEeCeYrW7M64v2A">
    <ruleId>C154-[DE-8.20-1]</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_xC0nQFmJEeCeYrW7M64v2A" base_Constraint="_xCfQKFmJEeCeYrW7M64v2A">
    <ruleId>C83-[DE-8.20-CDA-1]</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_xC1OUFmJEeCeYrW7M64v2A" base_Constraint="_xCfQK1mJEeCeYrW7M64v2A">
    <ruleId>C83-[DE-8.20-CDA-2]</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_xC11YFmJEeCeYrW7M64v2A" base_Constraint="_xCfQLVmJEeCeYrW7M64v2A">
    <ruleId>C154-[DE-8.20-1]</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_xC2ccFmJEeCeYrW7M64v2A" base_Constraint="_xCfQL1mJEeCeYrW7M64v2A">
    <ruleId>C83-[DE-8.22-CDA-1]</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_xC3DgFmJEeCeYrW7M64v2A" severity="INFO" base_Constraint="_xCfQMlmJEeCeYrW7M64v2A">
    <ruleId>C83-[DE-8.24-CDA-1]</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_xC3qkFmJEeCeYrW7M64v2A" base_Constraint="_xCfQNVmJEeCeYrW7M64v2A">
    <ruleId>C83-[DE-8.24-CDA-2]</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_xC4RoFmJEeCeYrW7M64v2A" base_Constraint="_xCfQN1mJEeCeYrW7M64v2A">
    <ruleId>C83-[DE-8.24-CDA-3]</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_xC44sFmJEeCeYrW7M64v2A" base_Constraint="_xCfQOVmJEeCeYrW7M64v2A">
    <ruleId>C83-[DE-8.24-CDA-4]</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_xC5fwFmJEeCeYrW7M64v2A" base_Constraint="_xCfQO1mJEeCeYrW7M64v2A">
    <ruleId>C83-[DE-8.24-CDA-5]</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_xC6G0FmJEeCeYrW7M64v2A" severity="INFO" base_Constraint="_xCfQPVmJEeCeYrW7M64v2A">
    <ruleId>C83-[DE-8.24-CDA-6]</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_xC6t4FmJEeCeYrW7M64v2A" base_Constraint="_xCfQP1mJEeCeYrW7M64v2A">
    <ruleId>C154-[DE-8.24-1]</ruleId>
  </CDA:ConstraintValidation>
  <CDA:PropertyValidation xmi:id="_xDANcFmJEeCeYrW7M64v2A" base_Property="_xC_mY1mJEeCeYrW7M64v2A">
    <ruleId>CONF-306</ruleId>
  </CDA:PropertyValidation>
  <CDA:PropertyValidation xmi:id="_xCtSgFmJEeCeYrW7M64v2A" severity="INFO" base_Property="_xCfQXlmJEeCeYrW7M64v2A">
    <ruleId>C83-[DE-8.12-CDA-1]</ruleId>
  </CDA:PropertyValidation>
  <CDA:PropertyValidation xmi:id="_xDCpsFmJEeCeYrW7M64v2A" base_Property="_xDCCoFmJEeCeYrW7M64v2A">
    <ruleId>CONF-307</ruleId>
  </CDA:PropertyValidation>
  <CDA:PropertyValidation xmi:id="_xCl9wFmJEeCeYrW7M64v2A" severity="INFO" base_Property="_xCfQQlmJEeCeYrW7M64v2A">
    <ruleId>CONF-308</ruleId>
  </CDA:PropertyValidation>
  <CDA:PropertyValidation xmi:id="_xCmk0FmJEeCeYrW7M64v2A" severity="INFO" base_Property="_xCfQSlmJEeCeYrW7M64v2A">
    <ruleId>CONF-309</ruleId>
    <ruleId>CONF-310</ruleId>
  </CDA:PropertyValidation>
  <CDA:ValueSetConstraint xmi:id="_xCnL4FmJEeCeYrW7M64v2A" base_Property="_xCfQSlmJEeCeYrW7M64v2A">
    <reference href="../consol-vocab.uml#_xDD30VmJEeCeYrW7M64v2A"/>
  </CDA:ValueSetConstraint>
  <CDA:PropertyValidation xmi:id="_xCq2QFmJEeCeYrW7M64v2A" severity="INFO" base_Property="_xCfQWlmJEeCeYrW7M64v2A">
    <ruleId>C154-[DE-8.09-1]</ruleId>
  </CDA:PropertyValidation>
  <CDA:ValueSetConstraint xmi:id="_xCrdUFmJEeCeYrW7M64v2A" base_Property="_xCfQWlmJEeCeYrW7M64v2A">
    <reference href="../consol-vocab.uml#_xDG7IVmJEeCeYrW7M64v2A"/>
  </CDA:ValueSetConstraint>
  <CDA:PropertyValidation xmi:id="_xCoaAFmJEeCeYrW7M64v2A" severity="INFO" base_Property="_xCfQTlmJEeCeYrW7M64v2A"/>
  <CDA:PropertyValidation xmi:id="_xDJXYFmJEeCeYrW7M64v2A" severity="WARNING" base_Property="_xDIwUVmJEeCeYrW7M64v2A"/>
  <CDA:PropertyValidation xmi:id="_xCqPMFmJEeCeYrW7M64v2A" severity="INFO" base_Property="_xCfQVlmJEeCeYrW7M64v2A">
    <ruleId>CONF-312</ruleId>
  </CDA:PropertyValidation>
  <CDA:ValueSetConstraint xmi:id="_xCpBEFmJEeCeYrW7M64v2A" base_Property="_xCfQUlmJEeCeYrW7M64v2A" severity="INFO">
    <reference href="../consol-vocab.uml#_xDKlgFmJEeCeYrW7M64v2A"/>
    <ruleId>C154-[DE-8.11-1]</ruleId>
  </CDA:ValueSetConstraint>
  <CDA:EntryRelationship xmi:id="_xDXZ0lmJEeCeYrW7M64v2A" severity="INFO" base_Association="_xDXZ0FmJEeCeYrW7M64v2A" typeCode="SUBJ">
    <ruleId>CONF-338</ruleId>
    <ruleId>CONF-339</ruleId>
  </CDA:EntryRelationship>
  <CDA:AssociationValidation xmi:id="_xDdgclmJEeCeYrW7M64v2A" severity="INFO" base_Association="_xDdgcFmJEeCeYrW7M64v2A">
    <ruleId>CONF-350</ruleId>
  </CDA:AssociationValidation>
  <CDA:AssociationValidation xmi:id="_xDeuklmJEeCeYrW7M64v2A" severity="INFO" base_Association="_xDeukFmJEeCeYrW7M64v2A">
    <ruleId>CONF-313</ruleId>
  </CDA:AssociationValidation>
  <CDA:EntryRelationship xmi:id="_xDq70lmJEeCeYrW7M64v2A" severity="INFO" base_Association="_xDq70FmJEeCeYrW7M64v2A">
    <ruleId>CONF-348</ruleId>
    <ruleId>CONF-349</ruleId>
  </CDA:EntryRelationship>
  <CDA:AssociationValidation xmi:id="_xDwbYFmJEeCeYrW7M64v2A" severity="INFO" base_Association="_xDv0UFmJEeCeYrW7M64v2A">
    <ruleId>CONF-368</ruleId>
  </CDA:AssociationValidation>
  <uml:Class xmi:id="_yp2PcFmJEeCeYrW7M64v2A" name="MedicationCombinationMedication" clientDependency="_yp2PeFmJEeCeYrW7M64v2A _yp2PeVmJEeCeYrW7M64v2A _yp22gFmJEeCeYrW7M64v2A _yp22gVmJEeCeYrW7M64v2A _yp22glmJEeCeYrW7M64v2A">
    <eAnnotations xmi:id="_yp2Pc1mJEeCeYrW7M64v2A" source="sourceClass">
      <references xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.hitsp.model/model/.controlled/hitsp-medications.uml#_cNo1kFI0Ed-4TsxSz4jnfg"/>
    </eAnnotations>
    <ownedComment xmi:id="_yp2PdlmJEeCeYrW7M64v2A">
      <body>&lt;p>&#xD;
This template identifier is used to identify medication administration events that require special&#xD;
processing to handle combination medications. The parent template is&#xD;
1.3.6.1.4.1.19376.1.5.3.1.4.7. A combination medication is made up of two or more other&#xD;
medications. These may be prepackaged, such as Percocet, which is a combination of&#xD;
Acetaminophen and oxycodone in predefined ratios, or prepared by a pharmacist, such as a GI&#xD;
cocktail.&#xD;
&lt;/p>&#xD;
&lt;p>&#xD;
In the case of the prepackaged combination, it is sufficient to supply the name of the&#xD;
combination drug product, and its strength designation in a single &amp;lt;substanceAdministation>&#xD;
entry. The dosing information should then be recorded as simply a count of administration units.&#xD;
In the latter case of a prepared mixture, the description of the mixture should be provided as the&#xD;
product name (e.g., &quot;GI Cocktail&quot;) , in the &amp;lt;substanceAdministration> entry. That entry may, but&#xD;
is not required, to have subordinate &amp;lt;substanceAdministration> entries included beneath it to record the components of the mixture.&#xD;
&lt;/p></body>
    </ownedComment>
    <ownedRule xmi:id="_yp2PdFmJEeCeYrW7M64v2A" name="CombinationMedicationSubstanceAdministration">
      <constrainedElement xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_QDIEMHyTEd6FS-4xbA1fBQ"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_yp2PdVmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>Subordinate &lt;substanceAdminstration> entries are included to record the components of the prepared mixture. If medication is a prepackaged mixture, a single &lt;substanceAdministration> entry is sufficient.</body>
      </specification>
    </ownedRule>
    <generalization xmi:id="_yp2Pd1mJEeCeYrW7M64v2A" general="_xCepAFmJEeCeYrW7M64v2A"/>
    <substitution xmi:id="_yp2PeFmJEeCeYrW7M64v2A" client="_yp2PcFmJEeCeYrW7M64v2A">
      <supplier xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_W6aMoHfTEd6ZeOKq_2_a9g"/>
      <contract xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_W6aMoHfTEd6ZeOKq_2_a9g"/>
    </substitution>
    <substitution xmi:id="_yp2PeVmJEeCeYrW7M64v2A" client="_yp2PcFmJEeCeYrW7M64v2A">
      <supplier xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_sFGZUHGfEd6bf47ZOcft4w"/>
      <contract xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_sFGZUHGfEd6bf47ZOcft4w"/>
    </substitution>
    <substitution xmi:id="_yp22gFmJEeCeYrW7M64v2A" client="_yp2PcFmJEeCeYrW7M64v2A">
      <supplier xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.hitsp.model/model/.controlled/hitsp-medications.uml#_IjIO0DxbEd6JwqSGecoePg"/>
      <contract xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.hitsp.model/model/.controlled/hitsp-medications.uml#_IjIO0DxbEd6JwqSGecoePg"/>
    </substitution>
    <substitution xmi:id="_yp22gVmJEeCeYrW7M64v2A" client="_yp2PcFmJEeCeYrW7M64v2A">
      <supplier xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_QDIEMHyTEd6FS-4xbA1fBQ"/>
      <contract xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_QDIEMHyTEd6FS-4xbA1fBQ"/>
    </substitution>
    <substitution xmi:id="_yp22glmJEeCeYrW7M64v2A" client="_yp2PcFmJEeCeYrW7M64v2A">
      <supplier xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.hitsp.model/model/.controlled/hitsp-medications.uml#_cNo1kFI0Ed-4TsxSz4jnfg"/>
      <contract xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.hitsp.model/model/.controlled/hitsp-medications.uml#_cNo1kFI0Ed-4TsxSz4jnfg"/>
    </substitution>
  </uml:Class>
  <CDA:CDATemplate xmi:id="_yp22g1mJEeCeYrW7M64v2A" base_Class="_yp2PcFmJEeCeYrW7M64v2A" templateId="1.3.6.1.4.1.19376.1.5.3.1.4.11"/>
  <uml:Class xmi:id="_ypzzMFmJEeCeYrW7M64v2A" name="MedicationConditionalDose" clientDependency="_yp1BUlmJEeCeYrW7M64v2A _yp1BU1mJEeCeYrW7M64v2A _yp1BVFmJEeCeYrW7M64v2A _yp1BVVmJEeCeYrW7M64v2A _yp1BVlmJEeCeYrW7M64v2A">
    <eAnnotations xmi:id="_ypzzM1mJEeCeYrW7M64v2A" source="sourceClass">
      <references xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.hitsp.model/model/.controlled/hitsp-medications.uml#_WXndYFI0Ed-4TsxSz4jnfg"/>
    </eAnnotations>
    <ownedComment xmi:id="_yp1BUFmJEeCeYrW7M64v2A">
      <body>&lt;p>&#xD;
This template identifier is used to identify medication administration events that require special&#xD;
processing to handle conditional dosing. The parent template is 1.3.6.1.4.1.19376.1.5.3.1.4.7. A&#xD;
conditional dose is often used when the dose amount differs based on some measurement (e.g.,&#xD;
an insulin sliding scale dose based on blood sugar level).&#xD;
&lt;/p></body>
    </ownedComment>
    <ownedRule xmi:id="_yp0aQFmJEeCeYrW7M64v2A" name="ConditionalDosingSubstanceAdministration">
      <constrainedElement xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_OeXF0HyTEd6FS-4xbA1fBQ"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_yp0aQVmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>A subordinate 'substanceAdministration' entry is required for each different dose, and the condition should be&#xD;&#xA;recorded</body>
      </specification>
    </ownedRule>
    <generalization xmi:id="_yp1BUVmJEeCeYrW7M64v2A" general="_xCepAFmJEeCeYrW7M64v2A"/>
    <substitution xmi:id="_yp1BUlmJEeCeYrW7M64v2A" client="_ypzzMFmJEeCeYrW7M64v2A">
      <supplier xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_W6aMoHfTEd6ZeOKq_2_a9g"/>
      <contract xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_W6aMoHfTEd6ZeOKq_2_a9g"/>
    </substitution>
    <substitution xmi:id="_yp1BU1mJEeCeYrW7M64v2A" client="_ypzzMFmJEeCeYrW7M64v2A">
      <supplier xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_sFGZUHGfEd6bf47ZOcft4w"/>
      <contract xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_sFGZUHGfEd6bf47ZOcft4w"/>
    </substitution>
    <substitution xmi:id="_yp1BVFmJEeCeYrW7M64v2A" client="_ypzzMFmJEeCeYrW7M64v2A">
      <supplier xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.hitsp.model/model/.controlled/hitsp-medications.uml#_IjIO0DxbEd6JwqSGecoePg"/>
      <contract xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.hitsp.model/model/.controlled/hitsp-medications.uml#_IjIO0DxbEd6JwqSGecoePg"/>
    </substitution>
    <substitution xmi:id="_yp1BVVmJEeCeYrW7M64v2A" client="_ypzzMFmJEeCeYrW7M64v2A">
      <supplier xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_OeXF0HyTEd6FS-4xbA1fBQ"/>
      <contract xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_OeXF0HyTEd6FS-4xbA1fBQ"/>
    </substitution>
    <substitution xmi:id="_yp1BVlmJEeCeYrW7M64v2A" client="_ypzzMFmJEeCeYrW7M64v2A">
      <supplier xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.hitsp.model/model/.controlled/hitsp-medications.uml#_WXndYFI0Ed-4TsxSz4jnfg"/>
      <contract xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.hitsp.model/model/.controlled/hitsp-medications.uml#_WXndYFI0Ed-4TsxSz4jnfg"/>
    </substitution>
  </uml:Class>
  <CDA:CDATemplate xmi:id="_yp1oYFmJEeCeYrW7M64v2A" base_Class="_ypzzMFmJEeCeYrW7M64v2A" templateId="1.3.6.1.4.1.19376.1.5.3.1.4.10"/>
  <CDA:ConstraintValidation xmi:id="_yp0aQlmJEeCeYrW7M64v2A" base_Constraint="_yp0aQFmJEeCeYrW7M64v2A"/>
  <uml:Class xmi:id="_xEjsoFmJEeCeYrW7M64v2A" name="MedicationFullfillmentInstructions" clientDependency="_xErocFmJEeCeYrW7M64v2A _xErocVmJEeCeYrW7M64v2A">
    <eAnnotations xmi:id="_xEpMMFmJEeCeYrW7M64v2A" source="sourceClass">
      <references xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_MD_HEEteEeCAK_Z5vqvtzg"/>
    </eAnnotations>
    <ownedComment xmi:id="_xErBYFmJEeCeYrW7M64v2A">
      <annotatedElement xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_IuPLEMKAEd6-XpBv2uxYrQ"/>
      <body>&lt;p>&#xD;
    Fulfillment instructions are additional information provided to the dispensing party (e.g. &quot;label in&#xD;
    spanish&quot;).&#xD;
&lt;/p></body>
    </ownedComment>
    <generalization xmi:id="_xErBYVmJEeCeYrW7M64v2A">
      <general xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda/model/cda.uml#_YiANsDxYEd6JwqSGecoePg"/>
    </generalization>
    <substitution xmi:id="_xErocFmJEeCeYrW7M64v2A" client="_xEjsoFmJEeCeYrW7M64v2A">
      <supplier xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_IuPLEMKAEd6-XpBv2uxYrQ"/>
      <contract xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_IuPLEMKAEd6-XpBv2uxYrQ"/>
    </substitution>
    <substitution xmi:id="_xErocVmJEeCeYrW7M64v2A" client="_xEjsoFmJEeCeYrW7M64v2A">
      <supplier xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_MD_HEEteEeCAK_Z5vqvtzg"/>
      <contract xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_MD_HEEteEeCAK_Z5vqvtzg"/>
    </substitution>
    <ownedAttribute xmi:id="_xEpzQFmJEeCeYrW7M64v2A" name="classCode" visibility="private">
      <type xmi:type="uml:Enumeration" href="../../../org.openhealthtools.mdht.uml.hl7.vocab/model/vocab.uml#__zOntkDcEd6xYZuu1VKCVw"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_xEpzQVmJEeCeYrW7M64v2A" name="moodCode" visibility="private" isReadOnly="true">
      <type xmi:type="uml:Enumeration" href="../../../org.openhealthtools.mdht.uml.hl7.vocab/model/vocab.uml#__yeW3UDcEd6xYZuu1VKCVw"/>
      <defaultValue xmi:type="uml:InstanceValue" xmi:id="_xEpzQlmJEeCeYrW7M64v2A" name="INT">
        <type xmi:type="uml:Enumeration" href="../../../org.openhealthtools.mdht.uml.hl7.vocab/model/vocab.uml#__yeW3UDcEd6xYZuu1VKCVw"/>
        <instance xmi:type="uml:EnumerationLiteral" href="../../../org.openhealthtools.mdht.uml.hl7.vocab/model/vocab.uml#__yeW4EDcEd6xYZuu1VKCVw"/>
      </defaultValue>
    </ownedAttribute>
    <ownedAttribute xmi:id="_xEjsolmJEeCeYrW7M64v2A" name="code" visibility="private" aggregation="composite">
      <ownedComment xmi:id="_xEjso1mJEeCeYrW7M64v2A">
        <body>The &amp;lt;code> element indicates that this is a medication fulfillment instruction.</body>
      </ownedComment>
      <type xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.hl7.datatypes/model/datatypes.uml#_VKl7EDxaEd6JwqSGecoePg"/>
      <redefinedProperty href="../../../org.openhealthtools.mdht.uml.cda/model/cda.uml#_HUTHQEocEd6c3qsAxlFHaQ"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_xEjsqFmJEeCeYrW7M64v2A" name="text" visibility="private" aggregation="composite">
      <ownedComment xmi:id="_xEjsqVmJEeCeYrW7M64v2A">
        <body>The &amp;lt;text> element contains a free text representation of the instruction. For CDA this SHALL&#xD;
contain a provides a &amp;lt;reference>element to thelink text of the comment in the narrative portion&#xD;
of the document. The comment itself is not the act being coded, so it appears in the &amp;lt;text> of the&#xD;
&amp;lt;observation>, not as part of the &amp;lt;code>.</body>
      </ownedComment>
      <type xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.hl7.datatypes/model/datatypes.uml#_CowXkDxaEd6JwqSGecoePg"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_xEjsqlmJEeCeYrW7M64v2A" value="1"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_xEjsq1mJEeCeYrW7M64v2A"/>
      <redefinedProperty href="../../../org.openhealthtools.mdht.uml.cda/model/cda.uml#_Njf0cEocEd6c3qsAxlFHaQ"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_xEjspFmJEeCeYrW7M64v2A" name="statusCode" visibility="private" isReadOnly="true" aggregation="composite">
      <type xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.hl7.datatypes/model/datatypes.uml#_iYn74D55Ed6cla2oXsPtlA"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_xEjspVmJEeCeYrW7M64v2A" value="1"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_xEjsplmJEeCeYrW7M64v2A"/>
      <redefinedProperty href="../../../org.openhealthtools.mdht.uml.cda/model/cda.uml#_Q0j8kEocEd6c3qsAxlFHaQ"/>
      <defaultValue xmi:type="uml:LiteralString" xmi:id="_xEjsp1mJEeCeYrW7M64v2A" value="completed"/>
    </ownedAttribute>
  </uml:Class>
  <CDA:CDATemplate xmi:id="_xEkTsFmJEeCeYrW7M64v2A" base_Class="_xEjsoFmJEeCeYrW7M64v2A" templateId="1.3.6.1.4.1.19376.1.5.3.1.4.3.1"/>
  <CDA:PropertyValidation xmi:id="_xEpzQ1mJEeCeYrW7M64v2A" base_Property="_xEpzQVmJEeCeYrW7M64v2A">
    <ruleId>CONF-336</ruleId>
  </CDA:PropertyValidation>
  <CDA:PropertyValidation xmi:id="_xEk6wFmJEeCeYrW7M64v2A" base_Property="_xEjsolmJEeCeYrW7M64v2A"/>
  <CDA:CodeSystemConstraint xmi:id="_xElh0FmJEeCeYrW7M64v2A" identifier="1.3.6.1.4.1.19376.1.5.3.2" name="IHEActCode" code="FINSTRUCT" base_Property="_xEjsolmJEeCeYrW7M64v2A"/>
  <CDA:TextValue xmi:id="_xEolIFmJEeCeYrW7M64v2A" base_Property="_xEjsqFmJEeCeYrW7M64v2A"/>
  <CDA:PropertyValidation xmi:id="_xEn-EFmJEeCeYrW7M64v2A" base_Property="_xEjspFmJEeCeYrW7M64v2A"/>
  <uml:Class xmi:id="_yp4EoFmJEeCeYrW7M64v2A" name="MedicationInformation" clientDependency="_yqLmolmJEeCeYrW7M64v2A _yqMNsFmJEeCeYrW7M64v2A _yqMNsVmJEeCeYrW7M64v2A">
    <eAnnotations xmi:id="_yp-LQFmJEeCeYrW7M64v2A" source="sourceClass">
      <references xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.hitsp.model/model/.controlled/hitsp-medications.uml#_ex_ugPyzEd-RgJ5u3I0u5A"/>
    </eAnnotations>
    <ownedComment xmi:id="_yqLmoFmJEeCeYrW7M64v2A">
      <body>&lt;p>&#xD;
The product entry describes a medication or immunization used in a 'substanceAdministration'&#xD;
or 'supply' act&#xD;
&lt;/p>&#xD;
&lt;p>&#xD;
In a CDA document, the name and strength of the medication are specified in the elements under&#xD;
the 'manufacturedMaterial' element.&#xD;
&lt;/p>&#xD;
&lt;p>&#xD;
The 'code' element of the 'manufacturedMaterial' describes the medication. This may be&#xD;
coded using a controlled vocabulary, such as RxNorm, First Databank, or other vocabulary&#xD;
system for medications, and should be the code that represents the generic medication name and&#xD;
strength (e.g., acetaminophen and oxycodone -5/325), or just the generic medication name alone&#xD;
if strength is not relevant (Acetaminophen).&#xD;
In a CDA document, the &amp;lt;originalText> shall contain a 'reference' whose URI value points to&#xD;
the generic name and strength of the medication, or just the generic name alone if strength is not&#xD;
relevant.&#xD;
&lt;/p></body>
    </ownedComment>
    <ownedComment xmi:id="_yp4EoVmJEeCeYrW7M64v2A">
      <body>The product concentration is determined from the coded product or brand name using knowledge base information in the vocabularies specified for these fields, and therefore this information is not explicitly included.</body>
    </ownedComment>
    <ownedRule xmi:id="_yp_ZYFmJEeCeYrW7M64v2A" name="hasMaterial">
      <constrainedElement xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_8Xj7UIiBEd66cKocspyVOg"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_yp_ZYVmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <language>OCL</language>
        <body>Contain exactly one manufacturedMaterial.</body>
        <body>not self.manufacturedMaterial.oclIsUndefined()</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_yqAAcFmJEeCeYrW7M64v2A" name="hasMaterialCode">
      <constrainedElement xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_8Xj7UIiBEd66cKocspyVOg"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_yqAAcVmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <language>OCL</language>
        <body>Contain exactly one manufacturedMaterial / code.</body>
        <body>not self.manufacturedMaterial.code.oclIsUndefined()</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_yqAngFmJEeCeYrW7M64v2A" name="hasMaterialCodeVocab">
      <constrainedElement xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_8Xj7UIiBEd66cKocspyVOg"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_yqAngVmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>The value for &quot;manufacturedMaterial / code&quot; in a product template SHOULD be selected from the RxNorm (2.16.840.1.113883.6.88) code system for medications, and from the CDC Vaccine Code (2.16.840.1.113883.6.59) code system for immunizations10, or MAY be selected from ValueSet 2.16.840.1.113883.1.11.20.8 MedicationTypeCode STATIC 20061017.</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_yqBOkFmJEeCeYrW7M64v2A" name="mayHavePrecoordinatedCode">
      <constrainedElement xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_8Xj7UIiBEd66cKocspyVOg"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_yqBOkVmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>The value for &quot;manufacturedMaterial / code&quot; in a product template MAY contain a precoordinated product strength, product form, or product concentration (e.g. &quot;metoprolol 25mg tablet”, “amoxicillin 400mg/5mL suspension&quot;).</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_yqB1oFmJEeCeYrW7M64v2A" name="hasPrecoordinatedUnitDose">
      <constrainedElement xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_8Xj7UIiBEd66cKocspyVOg"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_yqB1oVmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>If manufacturedMaterial / code contains a precoordinated unit dose (e.g. “metoprolol 25mg tablet”), then SubstanceAdministration / doseQuantity SHALL be a unitless number that indicates the number of products given per administration.</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_yqGuIFmJEeCeYrW7M64v2A" name="doesNotHavePrecoordinatedUnitDose">
      <constrainedElement xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_8Xj7UIiBEd66cKocspyVOg"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_yqGuIVmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>If manufacturedMaterial / code does not contain a precoordinated unit dose (e.g. “metoprolol product”), then SubstanceAdministration / doseQuantity SHALL be a physical quantity that indicates the amount of product given per administration.</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_yqH8QFmJEeCeYrW7M64v2A" name="hasMaterialCodeOriginalText">
      <constrainedElement xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_8Xj7UIiBEd66cKocspyVOg"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_yqH8QVmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <language>OCL</language>
        <body>A manufacturedMaterial in a product template contains exactly one code / originalText, which represents the generic name of the product.</body>
        <body>not self.manufacturedMaterial.code.originalText.oclIsUndefined()</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_yqIjUFmJEeCeYrW7M64v2A" name="hasMaterialName">
      <constrainedElement xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_8Xj7UIiBEd66cKocspyVOg"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_yqIjUVmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <language>OCL</language>
        <body>A manufacturedMaterial in a product template contains exactly one name, which represents the brand name of the product.</body>
        <body>not self.manufacturedMaterial.name.oclIsUndefined()</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_yqJKYFmJEeCeYrW7M64v2A" name="mayHaveMaterialManufacturer">
      <constrainedElement xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_8Xj7UIiBEd66cKocspyVOg"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_yqJKYVmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>contains exactly one manufacturedProduct / manufacturerOrganization, which represents the manufacturer of the Material.</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_yqJxcFmJEeCeYrW7M64v2A" name="shouldHaveMaterialManufacturer">
      <constrainedElement xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_8Xj7UIiBEd66cKocspyVOg"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_yqJxcVmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>If ManufacturedProduct in a product template contains manufacturedProduct / id, then ManufacturedProduct SHOULD also contain manufacturedProduct / manufacturerOrganization.</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_yp4EolmJEeCeYrW7M64v2A" name="codedProductName" constrainedElement="_yp4EoFmJEeCeYrW7M64v2A">
      <ownedComment xmi:id="_yp4Eo1mJEeCeYrW7M64v2A">
        <body>A code describing the product from a controlled&#xD;
vocabulary</body>
      </ownedComment>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_yp4EpFmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>The coded product name SHALL appear in the @code attribute of the manufacturedMaterial/code element.</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_yp4EpVmJEeCeYrW7M64v2A" name="genericProductCodeUnknown" constrainedElement="_yp4EolmJEeCeYrW7M64v2A">
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_yp4EplmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>If the code for the generic product is unknown, the code and codeSystem attributes MAY be omitted</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_yp4Ep1mJEeCeYrW7M64v2A" name="codedProductVocab" constrainedElement="_yp4EpVmJEeCeYrW7M64v2A">
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_yp4EqFmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>The coded product name SHALL be coded as 2.16.840.1.113883.3.88.12.80.17, Medication Clinical Drug Name Value Set, version: 20081218, Dynamic</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_yp4EqVmJEeCeYrW7M64v2A" name="codedDrugClassVocab" constrainedElement="_yp4Ep1mJEeCeYrW7M64v2A">
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_yp4EqlmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>When only the class of the drug is known (e.g., Beta Blocker or Sulfa Drug), it SHALL be coded as 2.16.840.1.113883.3.88.12.80.18, Medication Drug Class Value Set, version: 20081218, Dynamic</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_yp4Eq1mJEeCeYrW7M64v2A" name="codedIngredientVocab" constrainedElement="_yp4EqVmJEeCeYrW7M64v2A">
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_yp4ErFmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>When only the medication ingredient name is know, the coded product name MAY be coded as 2.16.840.1.113883.3.88.12.80.20, Ingredient Name Value Set, Dynamic</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_yp4ErVmJEeCeYrW7M64v2A" name="codedBrandName" constrainedElement="_yp4Eq1mJEeCeYrW7M64v2A">
      <ownedComment xmi:id="_yp4ErlmJEeCeYrW7M64v2A">
        <body>A code describing the product as a branded or&#xD;
trademarked entity from a controlled vocabulary</body>
      </ownedComment>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_yp4Er1mJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>The code for the specific brand of product SHALL appear in a manufacturedMaterial/translation element</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_yp4EsFmJEeCeYrW7M64v2A" name="codedBrandNameVocab" constrainedElement="_yp4ErVmJEeCeYrW7M64v2A">
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_yp4EsVmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>The brand name SHALL be coded as 2.16.840.1.113883.3.88.12.80.16, Medication Brand Name Value Set, version: 20081218, Dynamic, OR SHALL be coded as  2.16.840.1.113883.3.88.12.80.19, Medication Packaged Product Value Set, Dynamic</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_yp4EslmJEeCeYrW7M64v2A" name="freeTextProductName" constrainedElement="_yp4EsFmJEeCeYrW7M64v2A">
      <ownedComment xmi:id="_yp4Es1mJEeCeYrW7M64v2A">
        <body>The name of the substance or product without&#xD;
reference to a specific vendor (e.g., generic or other&#xD;
non-proprietary name). If a Coded Product Name is&#xD;
present, this is the text associated with the coded&#xD;
concept</body>
      </ownedComment>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_yp4EtFmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>The product (generic) name SHALL appear in the originalText element beneath the manufacturedMaterial/code element</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_yp4EtVmJEeCeYrW7M64v2A" name="freeTextBrandName" constrainedElement="_yp4EslmJEeCeYrW7M64v2A">
      <ownedComment xmi:id="_yp4EtlmJEeCeYrW7M64v2A">
        <body>The branded or trademarked name of the substance&#xD;
or product. If a Coded Brand Name is present, this is&#xD;
the text associated with the coded concept</body>
      </ownedComment>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_yp4Et1mJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>The brand name SHALL appear in the &lt;name> element of the &lt;manufacturedMaterial> element</body>
      </specification>
    </ownedRule>
    <generalization xmi:id="_yqLmoVmJEeCeYrW7M64v2A">
      <general xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda/model/cda.uml#_p6Zs8EcZEd6besF9iFIJkQ"/>
    </generalization>
    <substitution xmi:id="_yqLmolmJEeCeYrW7M64v2A" client="_yp4EoFmJEeCeYrW7M64v2A">
      <supplier xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_8Xj7UIiBEd66cKocspyVOg"/>
      <contract xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_8Xj7UIiBEd66cKocspyVOg"/>
    </substitution>
    <substitution xmi:id="_yqMNsFmJEeCeYrW7M64v2A" client="_yp4EoFmJEeCeYrW7M64v2A">
      <supplier xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_jZMQ0DuMEd-B8KE6Jx0UNQ"/>
      <contract xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_jZMQ0DuMEd-B8KE6Jx0UNQ"/>
    </substitution>
    <substitution xmi:id="_yqMNsVmJEeCeYrW7M64v2A" client="_yp4EoFmJEeCeYrW7M64v2A">
      <supplier xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.hitsp.model/model/.controlled/hitsp-medications.uml#_ex_ugPyzEd-RgJ5u3I0u5A"/>
      <contract xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.hitsp.model/model/.controlled/hitsp-medications.uml#_ex_ugPyzEd-RgJ5u3I0u5A"/>
    </substitution>
    <ownedAttribute xmi:id="_yp-yUFmJEeCeYrW7M64v2A" name="id" visibility="private" aggregation="composite">
      <ownedComment xmi:id="_yp-yUVmJEeCeYrW7M64v2A">
        <body>uniquely represents a particular kind of product</body>
      </ownedComment>
      <type xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.hl7.datatypes/model/datatypes.uml#_culQ8DxaEd6JwqSGecoePg"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_yp-yUlmJEeCeYrW7M64v2A" value="*"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_yp-yU1mJEeCeYrW7M64v2A" value="1"/>
      <redefinedProperty href="../../../org.openhealthtools.mdht.uml.cda/model/cda.uml#_TenzcEo6Ed6c3qsAxlFHaQ"/>
    </ownedAttribute>
  </uml:Class>
  <CDA:CDATemplate xmi:id="_yp4EuVmJEeCeYrW7M64v2A" base_Class="_yp4EoFmJEeCeYrW7M64v2A" templateId="2.16.840.1.113883.3.88.11.83.8.2">
    <ruleId>C83-[DE-8-CDA-5]</ruleId>
  </CDA:CDATemplate>
  <CDA:ConstraintValidation xmi:id="_yp_ZYlmJEeCeYrW7M64v2A" base_Constraint="_yp_ZYFmJEeCeYrW7M64v2A">
    <ruleId>CONF-357</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_yqAAclmJEeCeYrW7M64v2A" base_Constraint="_yqAAcFmJEeCeYrW7M64v2A">
    <ruleId>CONF-358</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_yqAnglmJEeCeYrW7M64v2A" severity="WARNING" base_Constraint="_yqAngFmJEeCeYrW7M64v2A">
    <ruleId>CONF-359</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_yqBOklmJEeCeYrW7M64v2A" severity="INFO" base_Constraint="_yqBOkFmJEeCeYrW7M64v2A">
    <ruleId>CONF-360</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_yqB1olmJEeCeYrW7M64v2A" base_Constraint="_yqB1oFmJEeCeYrW7M64v2A">
    <ruleId>CONF-361</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_yqHVMFmJEeCeYrW7M64v2A" base_Constraint="_yqGuIFmJEeCeYrW7M64v2A">
    <ruleId>CONF-362</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_yqH8QlmJEeCeYrW7M64v2A" base_Constraint="_yqH8QFmJEeCeYrW7M64v2A">
    <ruleId>CONF-363</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_yqIjUlmJEeCeYrW7M64v2A" severity="INFO" base_Constraint="_yqIjUFmJEeCeYrW7M64v2A">
    <ruleId>CONF-364</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_yqJKYlmJEeCeYrW7M64v2A" severity="INFO" base_Constraint="_yqJKYFmJEeCeYrW7M64v2A">
    <ruleId>CONF-365</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_yqJxclmJEeCeYrW7M64v2A" severity="WARNING" base_Constraint="_yqJxcFmJEeCeYrW7M64v2A">
    <ruleId>CONF-367</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_yp5SwFmJEeCeYrW7M64v2A" base_Constraint="_yp4EolmJEeCeYrW7M64v2A">
    <ruleId>C83-[DE-8.13-CDA-1]</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_yp550FmJEeCeYrW7M64v2A" severity="INFO" base_Constraint="_yp4EpVmJEeCeYrW7M64v2A">
    <ruleId>C83-[DE-8.13-CDA-2]</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_yp6g4FmJEeCeYrW7M64v2A" base_Constraint="_yp4Ep1mJEeCeYrW7M64v2A">
    <ruleId>C154-[DE-8.13-1]</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_yp7H8FmJEeCeYrW7M64v2A" base_Constraint="_yp4EqVmJEeCeYrW7M64v2A">
    <ruleId>C154-[DE-8.13-2]</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_yp7vAFmJEeCeYrW7M64v2A" severity="INFO" base_Constraint="_yp4Eq1mJEeCeYrW7M64v2A">
    <ruleId>C154-[DE-8.13-3]</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_yp8WEFmJEeCeYrW7M64v2A" base_Constraint="_yp4ErVmJEeCeYrW7M64v2A">
    <ruleId>C83-[DE-8.14-CDA-1]</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_yp89IFmJEeCeYrW7M64v2A" base_Constraint="_yp4EsFmJEeCeYrW7M64v2A">
    <ruleId>C154-[DE-8.14-1]</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_yp9kMFmJEeCeYrW7M64v2A" base_Constraint="_yp4EslmJEeCeYrW7M64v2A">
    <ruleId>C83-[DE-8.15-CDA-1]</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_yp9kMVmJEeCeYrW7M64v2A" base_Constraint="_yp4EtVmJEeCeYrW7M64v2A">
    <ruleId>C83-[DE-8.14-CDA-2]</ruleId>
  </CDA:ConstraintValidation>
  <CDA:PropertyValidation xmi:id="_yp-yVFmJEeCeYrW7M64v2A" severity="INFO" base_Property="_yp-yUFmJEeCeYrW7M64v2A">
    <ruleId>CONF-366</ruleId>
  </CDA:PropertyValidation>
  <uml:Class xmi:id="_ypsecFmJEeCeYrW7M64v2A" name="MedicationNormalDose" clientDependency="_yptFglmJEeCeYrW7M64v2A _yptskFmJEeCeYrW7M64v2A _yptskVmJEeCeYrW7M64v2A _yptsklmJEeCeYrW7M64v2A _yptsk1mJEeCeYrW7M64v2A">
    <eAnnotations xmi:id="_ypsec1mJEeCeYrW7M64v2A" source="sourceClass">
      <references xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.hitsp.model/model/.controlled/hitsp-medications.uml#_K3zLIFI0Ed-4TsxSz4jnfg"/>
    </eAnnotations>
    <ownedComment xmi:id="_yptFgFmJEeCeYrW7M64v2A">
      <body>This template identifier is used to identify medication administration events that do not require&#xD;
any special processing.</body>
    </ownedComment>
    <ownedRule xmi:id="_ypsedFmJEeCeYrW7M64v2A" name="NoSubordinateSubstanceAdministration">
      <constrainedElement xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#__HPx4HySEd6FS-4xbA1fBQ"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_ypsedVmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>Medications that use this template identifier shall not use subordinate 'substanceAdministation' acts.</body>
      </specification>
    </ownedRule>
    <generalization xmi:id="_yptFgVmJEeCeYrW7M64v2A" general="_xCepAFmJEeCeYrW7M64v2A"/>
    <substitution xmi:id="_yptFglmJEeCeYrW7M64v2A" client="_ypsecFmJEeCeYrW7M64v2A">
      <supplier xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_W6aMoHfTEd6ZeOKq_2_a9g"/>
      <contract xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_W6aMoHfTEd6ZeOKq_2_a9g"/>
    </substitution>
    <substitution xmi:id="_yptskFmJEeCeYrW7M64v2A" client="_ypsecFmJEeCeYrW7M64v2A">
      <supplier xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_sFGZUHGfEd6bf47ZOcft4w"/>
      <contract xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_sFGZUHGfEd6bf47ZOcft4w"/>
    </substitution>
    <substitution xmi:id="_yptskVmJEeCeYrW7M64v2A" client="_ypsecFmJEeCeYrW7M64v2A">
      <supplier xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.hitsp.model/model/.controlled/hitsp-medications.uml#_IjIO0DxbEd6JwqSGecoePg"/>
      <contract xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.hitsp.model/model/.controlled/hitsp-medications.uml#_IjIO0DxbEd6JwqSGecoePg"/>
    </substitution>
    <substitution xmi:id="_yptsklmJEeCeYrW7M64v2A" client="_ypsecFmJEeCeYrW7M64v2A">
      <supplier xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#__HPx4HySEd6FS-4xbA1fBQ"/>
      <contract xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#__HPx4HySEd6FS-4xbA1fBQ"/>
    </substitution>
    <substitution xmi:id="_yptsk1mJEeCeYrW7M64v2A" client="_ypsecFmJEeCeYrW7M64v2A">
      <supplier xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.hitsp.model/model/.controlled/hitsp-medications.uml#_K3zLIFI0Ed-4TsxSz4jnfg"/>
      <contract xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.hitsp.model/model/.controlled/hitsp-medications.uml#_K3zLIFI0Ed-4TsxSz4jnfg"/>
    </substitution>
  </uml:Class>
  <CDA:CDATemplate xmi:id="_ypuToFmJEeCeYrW7M64v2A" base_Class="_ypsecFmJEeCeYrW7M64v2A" templateId="1.3.6.1.4.1.19376.1.5.3.1.4.7.1"/>
  <CDA:ConstraintValidation xmi:id="_ypsedlmJEeCeYrW7M64v2A" base_Constraint="_ypsedFmJEeCeYrW7M64v2A"/>
  <uml:Class xmi:id="_xEJc8FmJEeCeYrW7M64v2A" name="MedicationOrderInformation" clientDependency="_xE65AVmJEeCeYrW7M64v2A _xE65AlmJEeCeYrW7M64v2A _xE65A1mJEeCeYrW7M64v2A">
    <eAnnotations xmi:id="_xEYGcFmJEeCeYrW7M64v2A" source="sourceClass">
      <references xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.hitsp.model/model/.controlled/hitsp-medications.uml#_vMJZwE8mEeCYjrG3z1gQrQ"/>
    </eAnnotations>
    <ownedComment xmi:id="_xE6R8FmJEeCeYrW7M64v2A">
      <body>a supply activity is used to describe what has been dispensed.</body>
    </ownedComment>
    <ownedComment xmi:id="_xE6R8VmJEeCeYrW7M64v2A">
      <body>The supply entry describes a prescription activity. The moodCode attribute shall be INT to reflect that a&#xD;
medication has been prescribed, or EVN to indicate that the prescription has been filled.</body>
    </ownedComment>
    <ownedComment xmi:id="_xEJc8VmJEeCeYrW7M64v2A">
      <body>Order information may be recorded as part of the fulfillment history (moodcode = EVN) or as part of the administration information (moodcode = INT)</body>
    </ownedComment>
    <ownedRule xmi:id="_xEsPglmJEeCeYrW7M64v2A" name="moodCode">
      <constrainedElement xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_W6aMoHfTEd6ZeOKq_2_a9g"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xEsPg1mJEeCeYrW7M64v2A">
        <language>OCL</language>
        <language>Analysis</language>
        <body>self.moodCode=vocab::x_DocumentSubstanceMood::EVN or self.moodCode=vocab::x_DocumentSubstanceMood::INT </body>
        <body>Value for moodCode is 'EVN' or 'INT' 2.16.840.1.113883.5.1001 ActMood STATIC</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xEs2kFmJEeCeYrW7M64v2A" name="hasAuthor">
      <ownedComment xmi:id="_xEs2kVmJEeCeYrW7M64v2A">
        <body>Indicates the prescriber.</body>
      </ownedComment>
      <constrainedElement xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_dAAnAHfVEd6ZeOKq_2_a9g"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xEs2klmJEeCeYrW7M64v2A">
        <language>OCL</language>
        <language>Analysis</language>
        <body>not self.author->isEmpty()</body>
        <body>Contains one or more author.</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xEtdoFmJEeCeYrW7M64v2A" name="hasPerformer">
      <ownedComment xmi:id="_xEtdoVmJEeCeYrW7M64v2A">
        <body>Indicates the person dispensing the product.</body>
      </ownedComment>
      <constrainedElement xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_dAAnAHfVEd6ZeOKq_2_a9g"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xEtdolmJEeCeYrW7M64v2A">
        <language>OCL</language>
        <language>Analysis</language>
        <body>not self.performer->isEmpty()</body>
        <body>Contains one or more performer.</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xEurwFmJEeCeYrW7M64v2A" name="hasParticipantLocation">
      <ownedComment xmi:id="_xEurwVmJEeCeYrW7M64v2A">
        <body>Iindicates the supply location.</body>
      </ownedComment>
      <constrainedElement xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_dAAnAHfVEd6ZeOKq_2_a9g"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xEurwlmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <language>OCL</language>
        <body>Contains exactly one participant / @typeCode = &quot;LOC&quot;.</body>
        <body>self.participant->one(part : cda::Participant2 | part.typeCode = vocab::ParticipationType::LOC)</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xEvS0FmJEeCeYrW7M64v2A" name="informationSource">
      <constrainedElement xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-problem.uml#_IjIO0DxbEd6JwqSGecoePg"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xEvS0VmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <language>OCL</language>
        <body>Contains one or more sources of information.</body>
        <body>not self.informant->isEmpty() &#xD;&#xA;or not self.getSection().informant->isEmpty()&#xD;&#xA;or not self.getClinicalDocument().informant->isEmpty()&#xD;&#xA;or self.reference->exists(ref : cda::Reference | ref.typeCode = vocab::x_ActRelationshipExternalReference::XCRPT)&#xD;&#xA;or (self.entryRelationship->exists(rel : cda::EntryRelationship | &#xD;&#xA;   rel.typeCode = vocab::x_ActRelationshipEntryRelationship::REFR&#xD;&#xA;   and rel.observation.code.code = '48766-0'))</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xEv54FmJEeCeYrW7M64v2A" name="hasProduct">
      <constrainedElement xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_dAAnAHfVEd6ZeOKq_2_a9g"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xEv54VmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <language>OCL</language>
        <body>Contains exactly one product, the target of which is a Product template.</body>
        <body>not self.product.oclIsUndefined() and self.product.oclIsKindOf(ccd::Product)</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xEwg8FmJEeCeYrW7M64v2A" name="hasSameProductInstance">
      <constrainedElement xmi:type="uml:Constraint" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_s53hACp6EeCuGIaOlnUvyw"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xEwg8VmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>Supply / participant / participantRole / id SHOULD be set to equal a [Act | Observation | Procedure] / participant / participantRole / id  to indicate that the Supply and the Procedure are referring to the same product instance.</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xExIAFmJEeCeYrW7M64v2A" name="HasIntentAuthor">
      <constrainedElement xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_e2pkwOw7Ed-HcKrkbxroPA"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xExIAVmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>A supply entry that describes an intent (&lt;supply classCode='SPLY' moodCode='INT'>) may include an &lt;author> element to identify the prescribing provider.</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xEyWIFmJEeCeYrW7M64v2A" name="HasAuthorTime">
      <constrainedElement xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_e2pkwOw7Ed-HcKrkbxroPA"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xEyWIVmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>The &lt;time> element must be present to indicate when the author created the prescription. If this&#xD;&#xA;information is unknown, it shall be recorded by setting the nullFlavor attribute to UNK.</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xEy9MFmJEeCeYrW7M64v2A" name="HasAssignedAuthor">
      <constrainedElement xmi:type="uml:Constraint" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_3YIDYEtaEeCAK_Z5vqvtzg"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xEy9MVmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>The &lt;assignedAuthor> element shall be present in author, and identifies the author.</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xEzkQFmJEeCeYrW7M64v2A" name="HasAssignedAuthorID">
      <ownedComment xmi:id="_xEzkQVmJEeCeYrW7M64v2A">
        <body>These identifiers identify the author of the act.&#xD;
When the author is the prescribing physician they may include local identifiers or regional&#xD;
identifiers necessary for prescribing.</body>
      </ownedComment>
      <constrainedElement xmi:type="uml:Constraint" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_9Rse0EtaEeCAK_Z5vqvtzg"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xEzkQlmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>One or more &lt;id> elements should be present in assignedAuthor</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xE0LUFmJEeCeYrW7M64v2A" name="HasAssignedAuthorPersonOrOrg">
      <constrainedElement xmi:type="uml:Constraint" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_37lgUEtbEeCAK_Z5vqvtzg"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xE0LUVmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>An &lt;assignedPerson> and/or &lt;representedOriganization> element shall be present in assignedAuthor. This element&#xD;&#xA;shall contain a &lt;name> element to identify the prescriber or their organization.</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xE0yYFmJEeCeYrW7M64v2A" name="HasPerformerTimeEvent">
      <constrainedElement xmi:type="uml:Constraint" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_DBTQgEtcEeCAK_Z5vqvtzg"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xE0yYVmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>The &lt;time> element shall be present in performer to indicate when the prescription was filled&#xD;&#xA;(moodCode='EVN'). If this information is unknown, it shall be recorded by setting the nullFlavor attribute to UNK.</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xE1ZcFmJEeCeYrW7M64v2A" name="HasPerformerTimeIntent">
      <constrainedElement xmi:type="uml:Constraint" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_RuNw4EtcEeCAK_Z5vqvtzg"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xE1ZcVmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>The &lt;time> element should be present to indicate when the prescription is intended to be filled&#xD;&#xA;(moodCode='INT').</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xE2AgFmJEeCeYrW7M64v2A" name="HasPerformerAssignedEntity">
      <constrainedElement xmi:type="uml:Constraint" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_s0Z7EEtcEeCAK_Z5vqvtzg"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xE2AgVmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>The performer/assignedEntity element shall be present, and identifies the filler of the prescription.</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xE2nkFmJEeCeYrW7M64v2A" name="HasPerformerAssignedEntityID">
      <constrainedElement xmi:type="uml:Constraint" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_D4ilEEtdEeCAK_Z5vqvtzg"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xE2nkVmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>One or more &lt;id> elements should be present. These identify the performer.</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xE3OoFmJEeCeYrW7M64v2A" name="HasPerformerEntityPersonOrOrg">
      <constrainedElement xmi:type="uml:Constraint" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_kYMuUEtdEeCAK_Z5vqvtzg"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xE3OoVmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>An &lt;assignedPerson> and/or &lt;representedOriganization> element shall be present. This element shall contain a &lt;name> element to identify the filler or their organization.</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xEJc8lmJEeCeYrW7M64v2A" name="orderNumber" constrainedElement="_xEJc-1mJEeCeYrW7M64v2A">
      <ownedComment xmi:id="_xEJc81mJEeCeYrW7M64v2A">
        <body>The order identifier from the perspective of the&#xD;
ordering clinician. Also known as the 'placer number'&#xD;
versus the pharmacies prescription number (or 'filler&#xD;
number')</body>
      </ownedComment>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xEJc9FmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>The order number, i.e., the identifier from the perspective of the ordering provider, SHOULD be recorded in the id element within the supply element with moodcode = 'INT'</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xEJc9VmJEeCeYrW7M64v2A" name="orderExpiration" constrainedElement="_xEJc8lmJEeCeYrW7M64v2A">
      <ownedComment xmi:id="_xEJc9lmJEeCeYrW7M64v2A">
        <body>The date, including time if applicable, when the order&#xD;
is no longer valid. Dispenses and administrations are&#xD;
not continued past this date for an order instance</body>
      </ownedComment>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xEJc91mJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>The effectiveTime/high element is present to record the order expiration date and time when supply/@moodcode = INT</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xEJc-FmJEeCeYrW7M64v2A" name="quantityOrdered" constrainedElement="_xEJc-1mJEeCeYrW7M64v2A">
      <ownedComment xmi:id="_xEJc-VmJEeCeYrW7M64v2A">
        <body>The amount of product indicated by the ordering&#xD;
provider to be dispensed. For example, number of&#xD;
dosage units or volume of a liquid substance. Note:&#xD;
this is comprised of both a numeric value and a unit of&#xD;
measure</body>
      </ownedComment>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xEJc-lmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>The quantity ordered SHALL be recorded in the value attribute of quantity element inside a supply element used to record order information</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xEJc-1mJEeCeYrW7M64v2A" name="quantityUnit">
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xEJc_FmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>the @unit attribute of quantity element is present</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xEJc_VmJEeCeYrW7M64v2A" name="quantityNotAdminUnits" constrainedElement="_xEJc-1mJEeCeYrW7M64v2A">
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xEJc_lmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>When the quantity ordered or dispensed is in other than administration units (e.g., when the quantity ordered is a volume of liquid or mass of substance) units SHALL be coded as 2.16.840.1.113883.3.88.12.80.29, Unit of Measure, Dynamic</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xEJc_1mJEeCeYrW7M64v2A" name="quantityAdminUnits" constrainedElement="_xEJc_VmJEeCeYrW7M64v2A">
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xEJdAFmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>When the quantity ordered or dispensed is in administration units, the unit attribute SHOULD contain the preferred name of the presentation units within braces { } using the units of presentation as 2.16.840.1.113883.3.88.12.3221.8.11, Medication Product Form Value Set, Dynamic</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xEJdAVmJEeCeYrW7M64v2A" name="prescriptionNumber">
      <ownedComment xmi:id="_xEJdAlmJEeCeYrW7M64v2A">
        <body>The prescription&#xD;
identifier assigned by the pharmacy</body>
      </ownedComment>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xEJdA1mJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>The prescription number SHALL be recorded in the extension attribute of the &lt;id> element within a supply element having a moodCode attribute of EVN</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xEJdBFmJEeCeYrW7M64v2A" name="assigningAuthority" constrainedElement="_xEJdAVmJEeCeYrW7M64v2A">
      <ownedComment xmi:id="_xEJdBVmJEeCeYrW7M64v2A">
        <body>determining the assigning authority is not feasible in all settings.</body>
      </ownedComment>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xEJdBlmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>The root attribute of the id element SHOULD be the OID of the assigning authority for the identifier.</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xEJdB1mJEeCeYrW7M64v2A" name="assigningAuthorityGUID" constrainedElement="_xEJdBFmJEeCeYrW7M64v2A">
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xEJdCFmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>A GUID MAY be used in place of the OID of the assigning authority</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xEJdCVmJEeCeYrW7M64v2A" name="dispenseDate" constrainedElement="_xEJdFFmJEeCeYrW7M64v2A">
      <ownedComment xmi:id="_xEJdClmJEeCeYrW7M64v2A">
        <body>The date of this&#xD;
dispense</body>
      </ownedComment>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xEJdC1mJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>The dispense date is recorded in effectiveTime element within a supply element with a moodCode attribute set to EVN</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xEJdDFmJEeCeYrW7M64v2A" name="dispensingPharmacyLocation" constrainedElement="_xEJdDlmJEeCeYrW7M64v2A">
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xEJdDVmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>The dispensing pharmacy's location is present in the addr element in performer/assignEntity element inside a supply element with a moodCode attribute set to EVN</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xEJdDlmJEeCeYrW7M64v2A" name="dispensingPharmacyLocationState" constrainedElement="_xEJdFFmJEeCeYrW7M64v2A">
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xEJdD1mJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>The state element of the performer/assignedEntity/addr element in the United States SHALL be recorded using 2.16.840.1.113883.3.88.12.80.1, State Value Set, version: 20081218, Dynamic</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xEJdEFmJEeCeYrW7M64v2A" name="dispensingPharmacyLocationPostal" constrainedElement="_xEJdFFmJEeCeYrW7M64v2A">
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xEJdEVmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>The postalCode element of the performer/assignedEntity/addr element in the United States SHALL be recorded using 2.16.840.1.113883.3.88.12.80.2, Postal Code Value Set, version: 20081218, Dynamic</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xEJdElmJEeCeYrW7M64v2A" name="dispensingPharmacyLocationCountry" constrainedElement="_xEJdFFmJEeCeYrW7M64v2A">
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xEJdE1mJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>The country element of the performer/assignedEntity/addr element in the United States SHALL be recorded using 2.16.840.1.113883.3.88.12.80.3, Country Value Set, version: 20081218, Dynamic</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xEJdFFmJEeCeYrW7M64v2A" name="quantityDispensed" constrainedElement="_xEJdB1mJEeCeYrW7M64v2A">
      <ownedComment xmi:id="_xEJdFVmJEeCeYrW7M64v2A">
        <body>The actual quantity of&#xD;
product supplied in this dispense. Note: This is&#xD;
comprised of both a numeric value and a unit of&#xD;
measure</body>
      </ownedComment>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xEJdFlmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>The quantity dispensed SHALL be recorded in the value attribute of quantity element inside a supply element with a moodCode attribute set to EVN</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_xEJdF1mJEeCeYrW7M64v2A" name="hasFillNumber" constrainedElement="_xEJdFFmJEeCeYrW7M64v2A">
      <ownedComment xmi:id="_xEJdGFmJEeCeYrW7M64v2A">
        <body>The fill number for the&#xD;
history entry. The fill number identifies the supply (dispense) event as a distinct activities against the prescription.</body>
      </ownedComment>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xEJdGVmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>The fill number SHOULD be recorded in the sequenceNumber attribute of a entryRelationship element with a typeCode attribute set to COMP</body>
      </specification>
    </ownedRule>
    <generalization xmi:id="_xE65AFmJEeCeYrW7M64v2A">
      <general xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda/model/cda.uml#_3gL0sEbuEd6besF9iFIJkQ"/>
    </generalization>
    <substitution xmi:id="_xE65AVmJEeCeYrW7M64v2A" client="_xEJc8FmJEeCeYrW7M64v2A">
      <supplier xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_dAAnAHfVEd6ZeOKq_2_a9g"/>
      <contract xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_dAAnAHfVEd6ZeOKq_2_a9g"/>
    </substitution>
    <substitution xmi:id="_xE65AlmJEeCeYrW7M64v2A" client="_xEJc8FmJEeCeYrW7M64v2A">
      <supplier xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_e2pkwOw7Ed-HcKrkbxroPA"/>
      <contract xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_e2pkwOw7Ed-HcKrkbxroPA"/>
    </substitution>
    <substitution xmi:id="_xE65A1mJEeCeYrW7M64v2A" client="_xEJc8FmJEeCeYrW7M64v2A">
      <supplier xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.hitsp.model/model/.controlled/hitsp-medications.uml#_vMJZwE8mEeCYjrG3z1gQrQ"/>
      <contract xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.hitsp.model/model/.controlled/hitsp-medications.uml#_vMJZwE8mEeCYjrG3z1gQrQ"/>
    </substitution>
    <ownedAttribute xmi:id="_xEZUkFmJEeCeYrW7M64v2A" name="classCode" visibility="private">
      <type xmi:type="uml:Enumeration" href="../../../org.openhealthtools.mdht.uml.hl7.vocab/model/vocab.uml#__yVfcUDcEd6xYZuu1VKCVw"/>
      <defaultValue xmi:type="uml:OpaqueExpression" xmi:id="_xEZUkVmJEeCeYrW7M64v2A">
        <type xmi:type="uml:Enumeration" href="../../../org.openhealthtools.mdht.uml.hl7.vocab/model/vocab.uml#__yVfcUDcEd6xYZuu1VKCVw"/>
        <body>SPLY</body>
      </defaultValue>
    </ownedAttribute>
    <ownedAttribute xmi:id="_xEZUklmJEeCeYrW7M64v2A" name="moodCode" visibility="private">
      <type xmi:type="uml:Enumeration" href="../../../org.openhealthtools.mdht.uml.hl7.vocab/model/vocab.uml#__zOpxEDcEd6xYZuu1VKCVw"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_xEZUk1mJEeCeYrW7M64v2A" name="id" visibility="private">
      <type xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.hl7.datatypes/model/datatypes.uml#_culQ8DxaEd6JwqSGecoePg"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_xEZUlFmJEeCeYrW7M64v2A" value="*"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_xEZUlVmJEeCeYrW7M64v2A" value="1"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_xEJdH1mJEeCeYrW7M64v2A" name="statusCode" visibility="private">
      <ownedComment xmi:id="_xEJdIFmJEeCeYrW7M64v2A">
        <body>When supply element has a moodCode attribute set to EVN</body>
      </ownedComment>
      <type xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.hl7.datatypes/model/datatypes.uml#_iYn74D55Ed6cla2oXsPtlA"/>
      <redefinedProperty href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_z-cTAIHYEd6Ncrr6L3Ublw"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_xEfbMFmJEeCeYrW7M64v2A" name="effectiveTime" visibility="private" aggregation="composite">
      <ownedComment xmi:id="_xEfbMVmJEeCeYrW7M64v2A">
        <body>Indicates the actual or intended time of dispensing.</body>
      </ownedComment>
      <type xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.hl7.datatypes/model/datatypes.uml#_kSZ5QD5_Ed6cla2oXsPtlA"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_xEfbMlmJEeCeYrW7M64v2A" value="1"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_xEfbM1mJEeCeYrW7M64v2A" value="1"/>
      <redefinedProperty href="../../../org.openhealthtools.mdht.uml.cda/model/cda.uml#_8voGMErtEd6FXKclYGEDCw"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_xEJdG1mJEeCeYrW7M64v2A" name="repeatNumber" visibility="private" aggregation="composite">
      <ownedComment xmi:id="_xEJdHFmJEeCeYrW7M64v2A">
        <body>&lt;p>&#xD;
The number of times that the ordering provider has&#xD;
authorized the pharmacy to dispense this medication&#xD;
&lt;/p>&#xD;
&lt;p>&#xD;
Please note that the number of fills requested is what is recorded in the document, not the number of refills. The number of refills is simply one less than the number of fills.&#xD;
&lt;/p></body>
      </ownedComment>
      <type xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.hl7.datatypes/model/datatypes.uml#_wDsPEEo9Ed6c3qsAxlFHaQ"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_xEJdHVmJEeCeYrW7M64v2A" value="1"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_xEJdHlmJEeCeYrW7M64v2A" value="1"/>
      <redefinedProperty href="../../../org.openhealthtools.mdht.uml.cda/model/cda.uml#_D-T6cEruEd6FXKclYGEDCw"/>
      <redefinedProperty href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_W2IOU-tTEd-aaJELhEID-A"/>
      <redefinedProperty href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_MRRj4EtYEeCAK_Z5vqvtzg"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_xEgCQFmJEeCeYrW7M64v2A" name="quantity" visibility="private" aggregation="composite">
      <ownedComment xmi:id="_xEgCQVmJEeCeYrW7M64v2A">
        <body>The supply entry should indicate the quantity supplied. The value attribute shall be present and&#xD;
indicates the quantity of medication supplied. If the medication is supplied in dosing units&#xD;
(tablets or capsules), then the unit attribute need not be present (and should be set to 1 if present).&#xD;
Otherwise, the unit element shall be present to indicate the quantity (e.g., volume or mass) of&#xD;
medication supplied.</body>
      </ownedComment>
      <type xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.hl7.datatypes/model/datatypes.uml#_3mPzYD59Ed6cla2oXsPtlA"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_xEgCQlmJEeCeYrW7M64v2A" value="1"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_xEgCQ1mJEeCeYrW7M64v2A" value="1"/>
      <redefinedProperty href="../../../org.openhealthtools.mdht.uml.cda/model/cda.uml#_KwFJMEruEd6FXKclYGEDCw"/>
      <redefinedProperty href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_W2IOUOtTEd-aaJELhEID-A"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_xEgpUFmJEeCeYrW7M64v2A" name="medicationStatusObservation" visibility="private" type="_xDYn8FmJEeCeYrW7M64v2A" association="_xEhQYFmJEeCeYrW7M64v2A">
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_xEgpUVmJEeCeYrW7M64v2A" value="1"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_xEgpUlmJEeCeYrW7M64v2A" value="1"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_xEh3cFmJEeCeYrW7M64v2A" name="productInstance" type="_xDsJ8FmJEeCeYrW7M64v2A" association="_xEiegFmJEeCeYrW7M64v2A">
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_xEh3cVmJEeCeYrW7M64v2A" value="*"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_xEh3clmJEeCeYrW7M64v2A" value="1"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_xEjFkFmJEeCeYrW7M64v2A" name="medicationFullfillmentInstructions" type="_xEjsoFmJEeCeYrW7M64v2A" association="_xEsPgFmJEeCeYrW7M64v2A">
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_xEjFkVmJEeCeYrW7M64v2A"/>
    </ownedAttribute>
  </uml:Class>
  <uml:Association xmi:id="_xEhQYFmJEeCeYrW7M64v2A" memberEnd="_xEgpUFmJEeCeYrW7M64v2A _xEhQYVmJEeCeYrW7M64v2A">
    <ownedEnd xmi:id="_xEhQYVmJEeCeYrW7M64v2A" type="_xEJc8FmJEeCeYrW7M64v2A" association="_xEhQYFmJEeCeYrW7M64v2A"/>
  </uml:Association>
  <uml:Association xmi:id="_xEiegFmJEeCeYrW7M64v2A" memberEnd="_xEh3cFmJEeCeYrW7M64v2A _xEiegVmJEeCeYrW7M64v2A">
    <ownedEnd xmi:id="_xEiegVmJEeCeYrW7M64v2A" type="_xEJc8FmJEeCeYrW7M64v2A" association="_xEiegFmJEeCeYrW7M64v2A"/>
  </uml:Association>
  <uml:Association xmi:id="_xEsPgFmJEeCeYrW7M64v2A" memberEnd="_xEjFkFmJEeCeYrW7M64v2A _xEsPgVmJEeCeYrW7M64v2A">
    <ownedEnd xmi:id="_xEsPgVmJEeCeYrW7M64v2A" type="_xEJc8FmJEeCeYrW7M64v2A" association="_xEsPgFmJEeCeYrW7M64v2A"/>
  </uml:Association>
  <CDA:CDATemplate xmi:id="_xEKrEFmJEeCeYrW7M64v2A" base_Class="_xEJc8FmJEeCeYrW7M64v2A" templateId="2.16.840.1.113883.3.88.11.83.8.3">
    <ruleId>C83-[DE-8-CDA-6]</ruleId>
  </CDA:CDATemplate>
  <CDA:ConstraintValidation xmi:id="_xEsPhFmJEeCeYrW7M64v2A" base_Constraint="_xEsPglmJEeCeYrW7M64v2A">
    <ruleId>CONF-317</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_xEs2k1mJEeCeYrW7M64v2A" severity="INFO" base_Constraint="_xEs2kFmJEeCeYrW7M64v2A">
    <ruleId>CONF-323</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_xEtdo1mJEeCeYrW7M64v2A" severity="INFO" base_Constraint="_xEtdoFmJEeCeYrW7M64v2A">
    <ruleId>CONF-324</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_xEurw1mJEeCeYrW7M64v2A" severity="INFO" base_Constraint="_xEurwFmJEeCeYrW7M64v2A">
    <ruleId>CONF-325</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_xEvS0lmJEeCeYrW7M64v2A" base_Constraint="_xEvS0FmJEeCeYrW7M64v2A">
    <ruleId>CONF-326</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_xEv54lmJEeCeYrW7M64v2A" severity="INFO" base_Constraint="_xEv54FmJEeCeYrW7M64v2A">
    <ruleId>CONF-355</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_xEwg8lmJEeCeYrW7M64v2A" severity="WARNING" base_Constraint="_xEwg8FmJEeCeYrW7M64v2A"/>
  <CDA:ConstraintValidation xmi:id="_xExvEFmJEeCeYrW7M64v2A" severity="INFO" base_Constraint="_xExIAFmJEeCeYrW7M64v2A"/>
  <CDA:ConstraintValidation xmi:id="_xEyWIlmJEeCeYrW7M64v2A" base_Constraint="_xEyWIFmJEeCeYrW7M64v2A"/>
  <CDA:ConstraintValidation xmi:id="_xEy9MlmJEeCeYrW7M64v2A" base_Constraint="_xEy9MFmJEeCeYrW7M64v2A"/>
  <CDA:ConstraintValidation xmi:id="_xEzkQ1mJEeCeYrW7M64v2A" severity="WARNING" base_Constraint="_xEzkQFmJEeCeYrW7M64v2A"/>
  <CDA:ConstraintValidation xmi:id="_xE0LUlmJEeCeYrW7M64v2A" base_Constraint="_xE0LUFmJEeCeYrW7M64v2A"/>
  <CDA:ConstraintValidation xmi:id="_xE0yYlmJEeCeYrW7M64v2A" base_Constraint="_xE0yYFmJEeCeYrW7M64v2A"/>
  <CDA:ConstraintValidation xmi:id="_xE1ZclmJEeCeYrW7M64v2A" severity="WARNING" base_Constraint="_xE1ZcFmJEeCeYrW7M64v2A"/>
  <CDA:ConstraintValidation xmi:id="_xE2AglmJEeCeYrW7M64v2A" base_Constraint="_xE2AgFmJEeCeYrW7M64v2A"/>
  <CDA:ConstraintValidation xmi:id="_xE2nklmJEeCeYrW7M64v2A" severity="WARNING" base_Constraint="_xE2nkFmJEeCeYrW7M64v2A"/>
  <CDA:ConstraintValidation xmi:id="_xE3OolmJEeCeYrW7M64v2A" base_Constraint="_xE3OoFmJEeCeYrW7M64v2A"/>
  <CDA:ConstraintValidation xmi:id="_xEOVcFmJEeCeYrW7M64v2A" severity="WARNING" base_Constraint="_xEJc8lmJEeCeYrW7M64v2A">
    <ruleId>C83-[DE-8.26-CDA-1]</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_xEO8gFmJEeCeYrW7M64v2A" severity="WARNING" base_Constraint="_xEJc9VmJEeCeYrW7M64v2A"/>
  <CDA:ConstraintValidation xmi:id="_xEPjkFmJEeCeYrW7M64v2A" base_Constraint="_xEJc-FmJEeCeYrW7M64v2A">
    <ruleId>C83-[DE-8.26-CDA-1]</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_xEQKoFmJEeCeYrW7M64v2A" base_Constraint="_xEJc-1mJEeCeYrW7M64v2A">
    <ruleId>C83-[DE-8.26-CDA-2]</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_xEQxsFmJEeCeYrW7M64v2A" base_Constraint="_xEJc_VmJEeCeYrW7M64v2A">
    <ruleId>C83-[DE-8.26-CDA-3]</ruleId>
    <ruleId>C83-[DE-8.38-CDA-2]</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_xERYwFmJEeCeYrW7M64v2A" severity="WARNING" base_Constraint="_xEJc_1mJEeCeYrW7M64v2A">
    <ruleId>C83-[DE-8.26-CDA-4]</ruleId>
    <ruleId>C83-[DE-8.38-CDA-3]</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_xER_0FmJEeCeYrW7M64v2A" base_Constraint="_xEJdAVmJEeCeYrW7M64v2A">
    <ruleId>C83-[DE-8.34-CDA-1]</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_xESm4FmJEeCeYrW7M64v2A" severity="WARNING" base_Constraint="_xEJdBFmJEeCeYrW7M64v2A">
    <ruleId>C83-[DE-8.34-CDA-2]</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_xETN8FmJEeCeYrW7M64v2A" severity="INFO" base_Constraint="_xEJdB1mJEeCeYrW7M64v2A">
    <ruleId>C83-[DE-8.34-CDA-3]</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_xEUcEFmJEeCeYrW7M64v2A" severity="INFO" base_Constraint="_xEJdDFmJEeCeYrW7M64v2A"/>
  <CDA:ConstraintValidation xmi:id="_xEVDIFmJEeCeYrW7M64v2A" base_Constraint="_xEJdDlmJEeCeYrW7M64v2A">
    <ruleId>C154-[DE-8.36-1]</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_xEVqMFmJEeCeYrW7M64v2A" base_Constraint="_xEJdEFmJEeCeYrW7M64v2A">
    <ruleId>C154-[DE-8.36-2]</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_xEWRQFmJEeCeYrW7M64v2A" base_Constraint="_xEJdElmJEeCeYrW7M64v2A">
    <ruleId>C154-[DE-8.36-3]</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_xEW4UFmJEeCeYrW7M64v2A" base_Constraint="_xEJdFFmJEeCeYrW7M64v2A"/>
  <CDA:ConstraintValidation xmi:id="_xEXfYFmJEeCeYrW7M64v2A" severity="WARNING" base_Constraint="_xEJdF1mJEeCeYrW7M64v2A">
    <ruleId>C83-[DE-8.39-CDA-1]</ruleId>
  </CDA:ConstraintValidation>
  <CDA:PropertyValidation xmi:id="_xEZ7oFmJEeCeYrW7M64v2A" base_Property="_xEZUk1mJEeCeYrW7M64v2A">
    <ruleId>CONF-318</ruleId>
  </CDA:PropertyValidation>
  <CDA:PropertyValidation xmi:id="_xEL5MFmJEeCeYrW7M64v2A" severity="INFO" base_Property="_xEJdH1mJEeCeYrW7M64v2A">
    <ruleId>CONF-319</ruleId>
  </CDA:PropertyValidation>
  <CDA:ValueSetConstraint xmi:id="_xEMgQFmJEeCeYrW7M64v2A" base_Property="_xEJdH1mJEeCeYrW7M64v2A">
    <reference href="../consol-vocab.uml#_xEbJw1mJEeCeYrW7M64v2A"/>
  </CDA:ValueSetConstraint>
  <CDA:PropertyValidation xmi:id="_xEfbNFmJEeCeYrW7M64v2A" severity="WARNING" base_Property="_xEfbMFmJEeCeYrW7M64v2A">
    <ruleId>CONF-320</ruleId>
  </CDA:PropertyValidation>
  <CDA:PropertyValidation xmi:id="_xELSIFmJEeCeYrW7M64v2A" severity="INFO" base_Property="_xEJdG1mJEeCeYrW7M64v2A">
    <ruleId>CONF-321</ruleId>
  </CDA:PropertyValidation>
  <CDA:PropertyValidation xmi:id="_xEgCRFmJEeCeYrW7M64v2A" severity="WARNING" base_Property="_xEgCQFmJEeCeYrW7M64v2A">
    <ruleId>CONF-322</ruleId>
  </CDA:PropertyValidation>
  <CDA:AssociationValidation xmi:id="_xEhQYlmJEeCeYrW7M64v2A" severity="INFO" base_Association="_xEhQYFmJEeCeYrW7M64v2A">
    <ruleId>CONF-351</ruleId>
  </CDA:AssociationValidation>
  <CDA:AssociationValidation xmi:id="_xEieglmJEeCeYrW7M64v2A" severity="INFO" base_Association="_xEiegFmJEeCeYrW7M64v2A">
    <ruleId>CONF-369</ruleId>
  </CDA:AssociationValidation>
  <uml:Class xmi:id="_xDOP4FmJEeCeYrW7M64v2A" name="MedicationSeriesNumberObservation" clientDependency="_xDWywFmJEeCeYrW7M64v2A">
    <eAnnotations xmi:id="_xDTIYFmJEeCeYrW7M64v2A" source="sourceClass">
      <references xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_VL2w0IiBEd66cKocspyVOg"/>
    </eAnnotations>
    <ownedComment xmi:id="_xDOP4VmJEeCeYrW7M64v2A" annotatedElement="_xDOP4FmJEeCeYrW7M64v2A">
      <body>&lt;p>&#xD;
    The medication series number observation can be used to indicate which in a series of administrations a&#xD;
    particular administration represents (e.g. &quot;hepatitis B vaccine number 2 was administered on Feb 07, 2004).&#xD;
&lt;/p></body>
    </ownedComment>
    <generalization xmi:id="_xDVkoFmJEeCeYrW7M64v2A">
      <general xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda/model/cda.uml#_bJyIQDxYEd6JwqSGecoePg"/>
    </generalization>
    <substitution xmi:id="_xDWywFmJEeCeYrW7M64v2A" client="_xDOP4FmJEeCeYrW7M64v2A">
      <supplier xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_VL2w0IiBEd66cKocspyVOg"/>
      <contract xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_VL2w0IiBEd66cKocspyVOg"/>
    </substitution>
    <ownedAttribute xmi:id="_xDOP41mJEeCeYrW7M64v2A" name="classCode" visibility="private" isReadOnly="true">
      <type xmi:type="uml:Enumeration" href="../../../org.openhealthtools.mdht.uml.hl7.vocab/model/vocab.uml#__yVdYEDcEd6xYZuu1VKCVw"/>
      <defaultValue xmi:type="uml:InstanceValue" xmi:id="_xDOP5FmJEeCeYrW7M64v2A" name="OBS">
        <type xmi:type="uml:Enumeration" href="../../../org.openhealthtools.mdht.uml.hl7.vocab/model/vocab.uml#__yVdYEDcEd6xYZuu1VKCVw"/>
        <instance xmi:type="uml:EnumerationLiteral" href="../../../org.openhealthtools.mdht.uml.hl7.vocab/model/vocab.uml#__yVdkkDcEd6xYZuu1VKCVw"/>
      </defaultValue>
    </ownedAttribute>
    <ownedAttribute xmi:id="_xDOP5VmJEeCeYrW7M64v2A" name="moodCode" visibility="private" isReadOnly="true">
      <type xmi:type="uml:Enumeration" href="../../../org.openhealthtools.mdht.uml.hl7.vocab/model/vocab.uml#__yeW3UDcEd6xYZuu1VKCVw"/>
      <defaultValue xmi:type="uml:InstanceValue" xmi:id="_xDOP5lmJEeCeYrW7M64v2A" name="EVN">
        <type xmi:type="uml:Enumeration" href="../../../org.openhealthtools.mdht.uml.hl7.vocab/model/vocab.uml#__yeW3UDcEd6xYZuu1VKCVw"/>
        <instance xmi:type="uml:EnumerationLiteral" href="../../../org.openhealthtools.mdht.uml.hl7.vocab/model/vocab.uml#__yeW30DcEd6xYZuu1VKCVw"/>
      </defaultValue>
    </ownedAttribute>
    <ownedAttribute xmi:id="_xDOP6FmJEeCeYrW7M64v2A" name="code" visibility="private">
      <type xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.hl7.datatypes/model/datatypes.uml#_VKl7EDxaEd6JwqSGecoePg"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_xDOP51mJEeCeYrW7M64v2A" name="statusCode" visibility="private">
      <type xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.hl7.datatypes/model/datatypes.uml#_iYn74D55Ed6cla2oXsPtlA"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_xDOP6VmJEeCeYrW7M64v2A" name="value" visibility="private">
      <type xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.hl7.datatypes/model/datatypes.uml#_co8uMD53Ed6cla2oXsPtlA"/>
    </ownedAttribute>
  </uml:Class>
  <CDA:CDATemplate xmi:id="_xDOP6lmJEeCeYrW7M64v2A" base_Class="_xDOP4FmJEeCeYrW7M64v2A" templateId="2.16.840.1.113883.10.20.1.46" assigningAuthorityName="CCD"/>
  <CDA:PropertyValidation xmi:id="_xDPeAFmJEeCeYrW7M64v2A" base_Property="_xDOP41mJEeCeYrW7M64v2A">
    <ruleId>CONF-341</ruleId>
  </CDA:PropertyValidation>
  <CDA:PropertyValidation xmi:id="_xDQFEFmJEeCeYrW7M64v2A" base_Property="_xDOP5VmJEeCeYrW7M64v2A">
    <ruleId>CONF-342</ruleId>
  </CDA:PropertyValidation>
  <CDA:CodeSystemConstraint xmi:id="_xDQsIFmJEeCeYrW7M64v2A" code="30973-2" displayName="Dose number" base_Property="_xDOP6FmJEeCeYrW7M64v2A">
    <reference href="../../../org.openhealthtools.mdht.uml.term.models/model/CodeSystems.uml#_3-cwsCWrEd-iTYfpNb4PkQ"/>
    <ruleId>CONF-344</ruleId>
    <ruleId>CONF-345</ruleId>
  </CDA:CodeSystemConstraint>
  <CDA:PropertyValidation xmi:id="_xDQFEVmJEeCeYrW7M64v2A" base_Property="_xDOP51mJEeCeYrW7M64v2A">
    <ruleId>CONF-343</ruleId>
  </CDA:PropertyValidation>
  <CDA:PropertyValidation xmi:id="_xDShUFmJEeCeYrW7M64v2A" base_Property="_xDOP6VmJEeCeYrW7M64v2A">
    <ruleId>CONF-346</ruleId>
    <ruleId>CONF-347</ruleId>
  </CDA:PropertyValidation>
  <uml:Class xmi:id="_ypu6sFmJEeCeYrW7M64v2A" name="MedicationSplitDose" clientDependency="_ypvhwlmJEeCeYrW7M64v2A _ypwI0FmJEeCeYrW7M64v2A _ypwI0VmJEeCeYrW7M64v2A _ypwI0lmJEeCeYrW7M64v2A _ypwI01mJEeCeYrW7M64v2A">
    <eAnnotations xmi:id="_ypu6s1mJEeCeYrW7M64v2A" source="sourceClass">
      <references xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.hitsp.model/model/.controlled/hitsp-medications.uml#_OUVjcFI0Ed-4TsxSz4jnfg"/>
    </eAnnotations>
    <ownedComment xmi:id="_ypvhwFmJEeCeYrW7M64v2A">
      <body>&lt;p>&#xD;
This template identifier is used to identify medication administration events that require special&#xD;
processing to handle split dosing. The parent template is 1.3.6.1.4.1.19376.1.5.3.1.4.7. A split&#xD;
dose is often used when different dosages are given at different times (e.g., at different times of day, or on different days). This may be to account for different metabolism rates at different&#xD;
times of day, or to simply address drug packaging deficiencies (e.g., and order for Coumadin&#xD;
2mg on even days, 2.5mg on odd days is used because Coumadin does not come in a 2.25mg&#xD;
dose form).&#xD;
&lt;/p></body>
    </ownedComment>
    <ownedRule xmi:id="_ypu6tFmJEeCeYrW7M64v2A" name="SplitDosingSubstanceAdministration">
      <constrainedElement xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_OY9BYHyTEd6FS-4xbA1fBQ"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_ypu6tVmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>A subordinate &lt;substanceAdministration> entry is required for each separate dosage.</body>
      </specification>
    </ownedRule>
    <generalization xmi:id="_ypvhwVmJEeCeYrW7M64v2A" general="_xCepAFmJEeCeYrW7M64v2A"/>
    <substitution xmi:id="_ypvhwlmJEeCeYrW7M64v2A" client="_ypu6sFmJEeCeYrW7M64v2A">
      <supplier xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_W6aMoHfTEd6ZeOKq_2_a9g"/>
      <contract xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_W6aMoHfTEd6ZeOKq_2_a9g"/>
    </substitution>
    <substitution xmi:id="_ypwI0FmJEeCeYrW7M64v2A" client="_ypu6sFmJEeCeYrW7M64v2A">
      <supplier xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_sFGZUHGfEd6bf47ZOcft4w"/>
      <contract xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_sFGZUHGfEd6bf47ZOcft4w"/>
    </substitution>
    <substitution xmi:id="_ypwI0VmJEeCeYrW7M64v2A" client="_ypu6sFmJEeCeYrW7M64v2A">
      <supplier xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.hitsp.model/model/.controlled/hitsp-medications.uml#_IjIO0DxbEd6JwqSGecoePg"/>
      <contract xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.hitsp.model/model/.controlled/hitsp-medications.uml#_IjIO0DxbEd6JwqSGecoePg"/>
    </substitution>
    <substitution xmi:id="_ypwI0lmJEeCeYrW7M64v2A" client="_ypu6sFmJEeCeYrW7M64v2A">
      <supplier xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_OY9BYHyTEd6FS-4xbA1fBQ"/>
      <contract xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_OY9BYHyTEd6FS-4xbA1fBQ"/>
    </substitution>
    <substitution xmi:id="_ypwI01mJEeCeYrW7M64v2A" client="_ypu6sFmJEeCeYrW7M64v2A">
      <supplier xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.hitsp.model/model/.controlled/hitsp-medications.uml#_OUVjcFI0Ed-4TsxSz4jnfg"/>
      <contract xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.hitsp.model/model/.controlled/hitsp-medications.uml#_OUVjcFI0Ed-4TsxSz4jnfg"/>
    </substitution>
  </uml:Class>
  <CDA:CDATemplate xmi:id="_ypwv4FmJEeCeYrW7M64v2A" base_Class="_ypu6sFmJEeCeYrW7M64v2A" templateId="1.3.6.1.4.1.19376.1.5.3.1.4.9"/>
  <CDA:ConstraintValidation xmi:id="_ypu6tlmJEeCeYrW7M64v2A" base_Constraint="_ypu6tFmJEeCeYrW7M64v2A"/>
  <uml:Class xmi:id="_xDYn8FmJEeCeYrW7M64v2A" name="MedicationStatusObservation" clientDependency="_xDcSUVmJEeCeYrW7M64v2A _xDc5YFmJEeCeYrW7M64v2A">
    <eAnnotations xmi:id="_xDbrQFmJEeCeYrW7M64v2A" source="sourceClass">
      <references xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_lgLT4IiBEd66cKocspyVOg"/>
    </eAnnotations>
    <generalization xmi:id="_xDcSUFmJEeCeYrW7M64v2A">
      <general xmi:type="uml:Class" href="consol-shared.uml#_TQ-5oFfdEeCb0LEisK_hTQ"/>
    </generalization>
    <substitution xmi:id="_xDcSUVmJEeCeYrW7M64v2A" client="_xDYn8FmJEeCeYrW7M64v2A">
      <supplier xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/ccd.uml#_V3Jy4HrTEd68l9lQ-TLEBQ"/>
      <contract xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/ccd.uml#_V3Jy4HrTEd68l9lQ-TLEBQ"/>
    </substitution>
    <substitution xmi:id="_xDc5YFmJEeCeYrW7M64v2A" client="_xDYn8FmJEeCeYrW7M64v2A">
      <supplier xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_lgLT4IiBEd66cKocspyVOg"/>
      <contract xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_lgLT4IiBEd66cKocspyVOg"/>
    </substitution>
    <ownedAttribute xmi:id="_xDYn8lmJEeCeYrW7M64v2A" name="value" visibility="private">
      <type xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.hl7.datatypes/model/datatypes.uml#_Z1EGIDxaEd6JwqSGecoePg"/>
    </ownedAttribute>
  </uml:Class>
  <CDA:CDATemplate xmi:id="_xDZPAFmJEeCeYrW7M64v2A" base_Class="_xDYn8FmJEeCeYrW7M64v2A" templateId="2.16.840.1.113883.10.20.1.47" assigningAuthorityName="CCD"/>
  <CDA:ValueSetConstraint xmi:id="_xDZ2EFmJEeCeYrW7M64v2A" identifier="2.16.840.1.113883.1.11.20.7" name="MedicationStatusCode" version="20061017" base_Property="_xDYn8lmJEeCeYrW7M64v2A">
    <ruleId>CONF-353</ruleId>
  </CDA:ValueSetConstraint>
  <uml:Class xmi:id="_ypwv4VmJEeCeYrW7M64v2A" name="MedicationTaperedDose" clientDependency="_ypylElmJEeCeYrW7M64v2A _ypzMIFmJEeCeYrW7M64v2A _ypzMIVmJEeCeYrW7M64v2A _ypzMIlmJEeCeYrW7M64v2A _ypzMI1mJEeCeYrW7M64v2A">
    <eAnnotations xmi:id="_ypx-AFmJEeCeYrW7M64v2A" source="sourceClass">
      <references xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.hitsp.model/model/.controlled/hitsp-medications.uml#_RuVlIFI0Ed-4TsxSz4jnfg"/>
    </eAnnotations>
    <ownedComment xmi:id="_ypylEFmJEeCeYrW7M64v2A">
      <annotatedElement xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_OCqBQHyTEd6FS-4xbA1fBQ"/>
      <body>&lt;p>&#xD;
    This template identifier is used to identify medication administration events that require special processing to handle&#xD;
    tapered dosing. The parent template is 1.3.6.1.4.1.19376.1.5.3.1.4.7. A tapered dose is often used for certain&#xD;
    medications where abrupt termination of the medication can have negative consequences. Tapered dosages may be done by&#xD;
    adjusting the dose frequency, the dose amount, or both.&#xD;
&lt;/p>&#xD;
&lt;p>&#xD;
    When merely the dose frequency is adjusted, (e.g., Prednisone 5mg b.i.d. for three days, then 5mg. daily for three&#xD;
    days, and then 5mg every other day), then only one medication entry is needed, multiple frequency specifications&#xD;
    recorded in &amp;lt;effectiveTime&amp;gt; elements. When the dose varies (eg. Prednisone 15mg daily for three days, then 10 mg&#xD;
    daily for three days, the 5 mg daily for three days), subordinate medication entries should be created for each&#xD;
    distinct dosage.&#xD;
&lt;/p></body>
    </ownedComment>
    <ownedRule xmi:id="_ypx-AVmJEeCeYrW7M64v2A" name="TaperedDosingSubstanceAdministration">
      <constrainedElement xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_OCqBQHyTEd6FS-4xbA1fBQ"/>
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_ypx-AlmJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>Subordinate Medication entries should be created for each distinct dosage.</body>
      </specification>
    </ownedRule>
    <generalization xmi:id="_ypylEVmJEeCeYrW7M64v2A" general="_xCepAFmJEeCeYrW7M64v2A"/>
    <substitution xmi:id="_ypylElmJEeCeYrW7M64v2A" client="_ypwv4VmJEeCeYrW7M64v2A">
      <supplier xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_W6aMoHfTEd6ZeOKq_2_a9g"/>
      <contract xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_W6aMoHfTEd6ZeOKq_2_a9g"/>
    </substitution>
    <substitution xmi:id="_ypzMIFmJEeCeYrW7M64v2A" client="_ypwv4VmJEeCeYrW7M64v2A">
      <supplier xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_sFGZUHGfEd6bf47ZOcft4w"/>
      <contract xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_sFGZUHGfEd6bf47ZOcft4w"/>
    </substitution>
    <substitution xmi:id="_ypzMIVmJEeCeYrW7M64v2A" client="_ypwv4VmJEeCeYrW7M64v2A">
      <supplier xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.hitsp.model/model/.controlled/hitsp-medications.uml#_IjIO0DxbEd6JwqSGecoePg"/>
      <contract xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.hitsp.model/model/.controlled/hitsp-medications.uml#_IjIO0DxbEd6JwqSGecoePg"/>
    </substitution>
    <substitution xmi:id="_ypzMIlmJEeCeYrW7M64v2A" client="_ypwv4VmJEeCeYrW7M64v2A">
      <supplier xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_OCqBQHyTEd6FS-4xbA1fBQ"/>
      <contract xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_OCqBQHyTEd6FS-4xbA1fBQ"/>
    </substitution>
    <substitution xmi:id="_ypzMI1mJEeCeYrW7M64v2A" client="_ypwv4VmJEeCeYrW7M64v2A">
      <supplier xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.hitsp.model/model/.controlled/hitsp-medications.uml#_RuVlIFI0Ed-4TsxSz4jnfg"/>
      <contract xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.hitsp.model/model/.controlled/hitsp-medications.uml#_RuVlIFI0Ed-4TsxSz4jnfg"/>
    </substitution>
  </uml:Class>
  <CDA:CDATemplate xmi:id="_ypxW8lmJEeCeYrW7M64v2A" base_Class="_ypwv4VmJEeCeYrW7M64v2A"/>
  <CDA:ConstraintValidation xmi:id="_ypx-A1mJEeCeYrW7M64v2A" base_Constraint="_ypx-AVmJEeCeYrW7M64v2A"/>
  <uml:Class xmi:id="_xEA6EFmJEeCeYrW7M64v2A" name="MedicationType" clientDependency="_xEHnwVmJEeCeYrW7M64v2A">
    <eAnnotations xmi:id="_xEDWUFmJEeCeYrW7M64v2A" source="sourceClass">
      <references xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.hitsp.model/model/.controlled/hitsp-medications.uml#_NC6JAE51EeC-IOl-lQ-2xA"/>
    </eAnnotations>
    <ownedComment xmi:id="_xEA6EVmJEeCeYrW7M64v2A">
      <body>A classification based on how the medication is&#xD;
marketed (e.g., prescription, over the counter drug)</body>
    </ownedComment>
    <generalization xmi:id="_xEHnwFmJEeCeYrW7M64v2A">
      <general xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda/model/cda.uml#_bJyIQDxYEd6JwqSGecoePg"/>
    </generalization>
    <substitution xmi:id="_xEHnwVmJEeCeYrW7M64v2A" client="_xEA6EFmJEeCeYrW7M64v2A">
      <supplier xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.hitsp.model/model/.controlled/hitsp-medications.uml#_NC6JAE51EeC-IOl-lQ-2xA"/>
      <contract xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.hitsp.model/model/.controlled/hitsp-medications.uml#_NC6JAE51EeC-IOl-lQ-2xA"/>
    </substitution>
    <ownedAttribute xmi:id="_xEDWUVmJEeCeYrW7M64v2A" name="classCode" visibility="private">
      <type xmi:type="uml:Enumeration" href="../../../org.openhealthtools.mdht.uml.hl7.vocab/model/vocab.uml#__yVecEDcEd6xYZuu1VKCVw"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_xEDWUlmJEeCeYrW7M64v2A" name="moodCode" visibility="private">
      <type xmi:type="uml:Enumeration" href="../../../org.openhealthtools.mdht.uml.hl7.vocab/model/vocab.uml#__zOoCEDcEd6xYZuu1VKCVw"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_xEA6E1mJEeCeYrW7M64v2A" name="code" visibility="private" aggregation="composite">
      <type xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.hl7.datatypes/model/datatypes.uml#_VKl7EDxaEd6JwqSGecoePg"/>
      <redefinedProperty href="../../../org.openhealthtools.mdht.uml.cda/model/cda.uml#_WEYp4Eo8Ed6c3qsAxlFHaQ"/>
    </ownedAttribute>
  </uml:Class>
  <CDA:CDATemplate xmi:id="_xEA6FFmJEeCeYrW7M64v2A" base_Class="_xEA6EFmJEeCeYrW7M64v2A" templateId="2.16.840.1.113883.3.88.11.83.8.1">
    <ruleId>C83-[DE-8.19-CDA-1]</ruleId>
    <ruleId>C83-[DE-8.19-CDA-4]</ruleId>
  </CDA:CDATemplate>
  <CDA:ValueSetConstraint xmi:id="_xECIMFmJEeCeYrW7M64v2A" base_Property="_xEA6E1mJEeCeYrW7M64v2A">
    <reference href="../consol-vocab.uml#_xED9Y1mJEeCeYrW7M64v2A"/>
    <ruleId>C83-[DE-8.19-CDA-5]</ruleId>
    <ruleId>C154-[DE-8.19-1]</ruleId>
  </CDA:ValueSetConstraint>
  <uml:Class xmi:id="_xD3JEFmJEeCeYrW7M64v2A" name="PatientMedicalInstructions" clientDependency="_xD_E4lmJEeCeYrW7M64v2A _xD_r8FmJEeCeYrW7M64v2A">
    <eAnnotations xmi:id="_xD8ooFmJEeCeYrW7M64v2A" source="sourceClass">
      <references xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_nzLQYEqtEeCJlNjgFmcEiA"/>
    </eAnnotations>
    <ownedComment xmi:id="_xD_E4FmJEeCeYrW7M64v2A">
      <annotatedElement xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_F9_RAMKAEd6-XpBv2uxYrQ"/>
      <body>&lt;p>&#xD;
    Patient instructions are additional information provided to a patient related to one of their&#xD;
    medications (e.g. &quot;take on an empty stomach&quot;).&#xD;
&lt;/p></body>
    </ownedComment>
    <ownedComment xmi:id="_xD3JEVmJEeCeYrW7M64v2A">
      <body>Any medication may be the subject of further instructions to the patient, for example to indicate&#xD;
that it should be taken with food, et cetera. This structure is included in the target substance administration or supply act using the&#xD;
&amp;lt;entryRelationship> element defined in the CDA Schema.</body>
    </ownedComment>
    <generalization xmi:id="_xD_E4VmJEeCeYrW7M64v2A">
      <general xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda/model/cda.uml#_YiANsDxYEd6JwqSGecoePg"/>
    </generalization>
    <substitution xmi:id="_xD_E4lmJEeCeYrW7M64v2A" client="_xD3JEFmJEeCeYrW7M64v2A">
      <supplier xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_F9_RAMKAEd6-XpBv2uxYrQ"/>
      <contract xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_F9_RAMKAEd6-XpBv2uxYrQ"/>
    </substitution>
    <substitution xmi:id="_xD_r8FmJEeCeYrW7M64v2A" client="_xD3JEFmJEeCeYrW7M64v2A">
      <supplier xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_nzLQYEqtEeCJlNjgFmcEiA"/>
      <contract xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ihe.model/model/.controlled/ihe-medications.uml#_nzLQYEqtEeCJlNjgFmcEiA"/>
    </substitution>
    <ownedAttribute xmi:id="_xD3JE1mJEeCeYrW7M64v2A" name="classCode" visibility="private">
      <type xmi:type="uml:Enumeration" href="../../../org.openhealthtools.mdht.uml.hl7.vocab/model/vocab.uml#__zOntkDcEd6xYZuu1VKCVw"/>
      <redefinedProperty href="../../../org.openhealthtools.mdht.uml.cda/model/cda.uml#_1DWqEEbnEd6besF9iFIJkQ"/>
      <defaultValue xmi:type="uml:LiteralString" xmi:id="_xD3JFFmJEeCeYrW7M64v2A" value="ACT"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_xD92wFmJEeCeYrW7M64v2A" name="moodCode" visibility="private" isReadOnly="true">
      <type xmi:type="uml:Enumeration" href="../../../org.openhealthtools.mdht.uml.hl7.vocab/model/vocab.uml#__yeW3UDcEd6xYZuu1VKCVw"/>
      <defaultValue xmi:type="uml:InstanceValue" xmi:id="_xD92wVmJEeCeYrW7M64v2A" name="INT">
        <type xmi:type="uml:Enumeration" href="../../../org.openhealthtools.mdht.uml.hl7.vocab/model/vocab.uml#__yeW3UDcEd6xYZuu1VKCVw"/>
        <instance xmi:type="uml:EnumerationLiteral" href="../../../org.openhealthtools.mdht.uml.hl7.vocab/model/vocab.uml#__yeW4EDcEd6xYZuu1VKCVw"/>
      </defaultValue>
    </ownedAttribute>
    <ownedAttribute xmi:id="_xD3JFVmJEeCeYrW7M64v2A" name="code" visibility="private" aggregation="composite">
      <type xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.hl7.datatypes/model/datatypes.uml#_VKl7EDxaEd6JwqSGecoePg"/>
      <redefinedProperty href="../../../org.openhealthtools.mdht.uml.cda/model/cda.uml#_HUTHQEocEd6c3qsAxlFHaQ"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_xD3JG1mJEeCeYrW7M64v2A" name="text" visibility="private" aggregation="composite">
      <ownedComment xmi:id="_xD3JHFmJEeCeYrW7M64v2A">
        <body>The &amp;lt;text> element indicates the text of the comment. For CDA, this SHALL be represented as a &amp;lt;reference> element that points at the narrative portion of the document. The comment itself is&#xD;
not the act being coded, so it appears in the &amp;lt;text> of the &amp;lt;observation>, not as part of the&#xD;
&amp;lt;code>.</body>
      </ownedComment>
      <type xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.hl7.datatypes/model/datatypes.uml#_CowXkDxaEd6JwqSGecoePg"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_xD3JHVmJEeCeYrW7M64v2A" value="1"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_xD3JHlmJEeCeYrW7M64v2A"/>
      <redefinedProperty href="../../../org.openhealthtools.mdht.uml.cda/model/cda.uml#_Njf0cEocEd6c3qsAxlFHaQ"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_xD3JFlmJEeCeYrW7M64v2A" name="statusCode" visibility="private" isReadOnly="true" aggregation="composite">
      <ownedComment xmi:id="_xD3JF1mJEeCeYrW7M64v2A">
        <body>The code attribute of &amp;lt;statusCode> for all comments must be completed</body>
      </ownedComment>
      <type xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.hl7.datatypes/model/datatypes.uml#_iYn74D55Ed6cla2oXsPtlA"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_xD3JGFmJEeCeYrW7M64v2A" value="1"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_xD3JGVmJEeCeYrW7M64v2A"/>
      <redefinedProperty href="../../../org.openhealthtools.mdht.uml.cda/model/cda.uml#_Q0j8kEocEd6c3qsAxlFHaQ"/>
      <defaultValue xmi:type="uml:LiteralString" xmi:id="_xD3JGlmJEeCeYrW7M64v2A" value="completed"/>
    </ownedAttribute>
  </uml:Class>
  <CDA:CDATemplate xmi:id="_xD3wIFmJEeCeYrW7M64v2A" base_Class="_xD3JEFmJEeCeYrW7M64v2A" templateId="1.3.6.1.4.1.19376.1.5.3.1.4.3"/>
  <CDA:PropertyValidation xmi:id="_xD4XMFmJEeCeYrW7M64v2A" base_Property="_xD3JE1mJEeCeYrW7M64v2A"/>
  <CDA:PropertyValidation xmi:id="_xD92wlmJEeCeYrW7M64v2A" base_Property="_xD92wFmJEeCeYrW7M64v2A">
    <ruleId>CONF-332</ruleId>
  </CDA:PropertyValidation>
  <CDA:PropertyValidation xmi:id="_xD4-QFmJEeCeYrW7M64v2A" base_Property="_xD3JFVmJEeCeYrW7M64v2A"/>
  <CDA:CodeSystemConstraint xmi:id="_xD5lUFmJEeCeYrW7M64v2A" identifier="1.3.6.1.4.1.19376.1.5.3.2" name="IHEActCode" code="PINSTRUCT" base_Property="_xD3JFVmJEeCeYrW7M64v2A"/>
  <CDA:TextValue xmi:id="_xD8BkVmJEeCeYrW7M64v2A" base_Property="_xD3JG1mJEeCeYrW7M64v2A"/>
  <CDA:PropertyValidation xmi:id="_xD8BkFmJEeCeYrW7M64v2A" base_Property="_xD3JFlmJEeCeYrW7M64v2A"/>
  <uml:Class xmi:id="_xDsJ8FmJEeCeYrW7M64v2A" name="ProductInstance" clientDependency="_xDvNQVmJEeCeYrW7M64v2A">
    <eAnnotations xmi:id="_xDumMFmJEeCeYrW7M64v2A" source="sourceClass">
      <references xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_JpjIEMMVEd6-XpBv2uxYrQ"/>
    </eAnnotations>
    <ownedComment xmi:id="_xDsJ8VmJEeCeYrW7M64v2A">
      <body>identifes a particular product instance</body>
    </ownedComment>
    <ownedRule xmi:id="_xDsJ8lmJEeCeYrW7M64v2A" name="hasScopingEntity" constrainedElement="_xDsJ8FmJEeCeYrW7M64v2A">
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_xDsJ81mJEeCeYrW7M64v2A">
        <language>Analysis</language>
        <body>If participantRole in a product instance contains participantRole / id, then participantRole SHOULD also contain participantRole / scopingEntity.</body>
      </specification>
    </ownedRule>
    <generalization xmi:id="_xDvNQFmJEeCeYrW7M64v2A">
      <general xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda/model/cda.uml#__QZaIEcZEd6besF9iFIJkQ"/>
    </generalization>
    <substitution xmi:id="_xDvNQVmJEeCeYrW7M64v2A" client="_xDsJ8FmJEeCeYrW7M64v2A">
      <supplier xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_JpjIEMMVEd6-XpBv2uxYrQ"/>
      <contract xmi:type="uml:Class" href="../../../org.openhealthtools.mdht.uml.cda.ccd.model/model/.controlled/ccd-medications.uml#_JpjIEMMVEd6-XpBv2uxYrQ"/>
    </substitution>
    <ownedAttribute xmi:id="_xDsJ9VmJEeCeYrW7M64v2A" name="classCode" visibility="private" isReadOnly="true">
      <type xmi:type="uml:Enumeration" href="../../../org.openhealthtools.mdht.uml.hl7.vocab/model/vocab.uml#__zE2iEDcEd6xYZuu1VKCVw"/>
      <defaultValue xmi:type="uml:InstanceValue" xmi:id="_xDsJ9lmJEeCeYrW7M64v2A" name="MANU">
        <type xmi:type="uml:Enumeration" href="../../../org.openhealthtools.mdht.uml.hl7.vocab/model/vocab.uml#__zE2iEDcEd6xYZuu1VKCVw"/>
        <instance xmi:type="uml:EnumerationLiteral" href="../../../org.openhealthtools.mdht.uml.hl7.vocab/model/vocab.uml#__zE2v0DcEd6xYZuu1VKCVw"/>
      </defaultValue>
    </ownedAttribute>
  </uml:Class>
  <CDA:CDATemplate xmi:id="_xDsxAFmJEeCeYrW7M64v2A" base_Class="_xDsJ8FmJEeCeYrW7M64v2A" templateId="2.16.840.1.113883.10.20.1.52" assigningAuthorityName="CCD"/>
  <CDA:ConstraintValidation xmi:id="_xDt_IFmJEeCeYrW7M64v2A" severity="WARNING" base_Constraint="_xDsJ8lmJEeCeYrW7M64v2A">
    <ruleId>CONF-451</ruleId>
  </CDA:ConstraintValidation>
  <CDA:PropertyValidation xmi:id="_xDtYEFmJEeCeYrW7M64v2A" base_Property="_xDsJ9VmJEeCeYrW7M64v2A"/>
</xmi:XMI>
