<?xml version="1.0" encoding="UTF-8"?>
<xmi:XMI xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Default="http:///schemas/Default/1" xmlns:Ecore="http://www.eclipse.org/uml2/schemas/Ecore/5" xmlns:HDF="http:///schemas/HDF/_D_mP4FwxEd63D_E2UJKpvQ/12" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/2.1.0/UML" xsi:schemaLocation="http:///schemas/Default/1 pathmap://UML2_MSL_PROFILES/Default.epx#_IN8k8MmBEdqBcN1R6EvWUw?Default/Default? http://www.eclipse.org/uml2/schemas/Ecore/5 pathmap://UML_PROFILES/Ecore.profile.uml#_z1OFcHjqEdy8S4Cr8Rc_NA http:///schemas/HDF/_D_mP4FwxEd63D_E2UJKpvQ/12 pathmap://HL7_PROFILES/HDF.profile.uml#_D_tkoFwxEd63D_E2UJKpvQ">
  <uml:Package xmi:id="_qQyD8jxVEd6JwqSGecoePg" name="ccd">
    <packageImport xmi:id="_-xRsgDxVEd6JwqSGecoePg">
      <importedPackage href="platform:/resource/org.openhealthtools.mdht.uml.cda/model/cda.uml#_ii81kjxVEd6JwqSGecoePg?cda?"/>
    </packageImport>
    <packageImport xmi:id="_pMrdQHu8Ed6jfbAJq2V82w">
      <importedPackage href="platform:/resource/org.openhealthtools.mdht.uml.hl7.datatypes/model/datatypes.uml#_XgMSwzxVEd6JwqSGecoePg?datatypes?"/>
    </packageImport>
    <packageImport xmi:id="_tV7QUIhOEd6UrJD25cKDew">
      <importedPackage href="platform:/resource/org.openhealthtools.mdht.uml.hl7.vocab/model/vocab.uml#__yVbeUDcEd6xYZuu1VKCVw?vocab?"/>
    </packageImport>
    <packagedElement xmi:type="uml:Class" xmi:id="_OvmR4HfUEd6ZeOKq_2_a9g" name="MedicationSection">
      <ownedComment xmi:id="_CfWEYIjvEd66cKocspyVOg" annotatedElement="_OvmR4HfUEd6ZeOKq_2_a9g">
        <body>&lt;p>&#xD;
    &lt;font size=&quot;2&quot;>&lt;font size=&quot;2&quot;>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).&lt;/font>&lt;/font>&#xD;
&lt;/p></body>
      </ownedComment>
      <ownedRule xmi:id="_Jl7HgI27Ed6BUommmCUt6w" name="MedicationSection_templateId" constrainedElement="_OvmR4HfUEd6ZeOKq_2_a9g">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_JmXzcI27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.hasTemplateId('2.16.840.1.113883.10.20.1.8')</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_JzCWcI27Ed6BUommmCUt6w" name="MedicationSection_code" constrainedElement="_OvmR4HfUEd6ZeOKq_2_a9g">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_JzCWcY27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>not self.code.oclIsUndefined() and self.code.oclIsTypeOf(datatypes::CE) and &#xD;&#xA;let value : datatypes::CE = self.code.oclAsType(datatypes::CE) in (&#xD;&#xA;value.code = '10160-0' and value.codeSystem = '2.16.840.1.113883.6.1' and value.codeSystemName = 'LOINC')</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_JzCWco27Ed6BUommmCUt6w" name="MedicationSection_title" constrainedElement="_OvmR4HfUEd6ZeOKq_2_a9g">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_JzCWc427Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>not self.title.oclIsUndefined()</body>
        </specification>
      </ownedRule>
      <generalization xmi:id="_rdDU0HfUEd6ZeOKq_2_a9g">
        <general xmi:type="uml:Class" href="platform:/resource/org.openhealthtools.mdht.uml.cda/model/cda.uml#_qIf_wDxXEd6JwqSGecoePg"/>
      </generalization>
    </packagedElement>
    <packagedElement xmi:type="uml:Class" xmi:id="_Ze7UsGESEd69D7zx7EkLMA" name="ContinuityOfCareDocument">
      <ownedRule xmi:id="_CUNkQGwYEd6q29qQGU-SBA" name="ContinuityOfCareDocument_code" constrainedElement="_Ze7UsGESEd69D7zx7EkLMA">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_CUNkQWwYEd6q29qQGU-SBA">
          <language>OCL</language>
          <body></body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_EUXeIGwYEd6q29qQGU-SBA" name="ContinuityOfCareDocument_title" constrainedElement="_Ze7UsGESEd69D7zx7EkLMA">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_EUXeIWwYEd6q29qQGU-SBA">
          <language>OCL</language>
          <body></body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_JzCWdI27Ed6BUommmCUt6w" name="ContinuityOfCareDocument_templateId" constrainedElement="_Ze7UsGESEd69D7zx7EkLMA">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_JzCWdY27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.hasTemplateId('2.16.840.1.113883.10.20.1')</body>
        </specification>
      </ownedRule>
      <generalization xmi:id="_tf1eQGESEd69D7zx7EkLMA">
        <general xmi:type="uml:Class" href="platform:/resource/org.openhealthtools.mdht.uml.cda/model/cda.uml#_S9OzADxXEd6JwqSGecoePg?cda/ClinicalDocument?"/>
      </generalization>
    </packagedElement>
    <packagedElement xmi:type="uml:Class" xmi:id="_GgvgUDxbEd6JwqSGecoePg" name="ProblemAct">
      <ownedRule xmi:id="_7l0sIGBPEd6N94MqzCgt-g" name="ProblemAct_code" constrainedElement="_GgvgUDxbEd6JwqSGecoePg">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_7l0sIWBPEd6N94MqzCgt-g">
          <language>OCL</language>
          <body>self.code.nullFlavor = vocab::NullFlavor::NA</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_JzoMUI27Ed6BUommmCUt6w" name="ProblemAct_templateId" constrainedElement="_GgvgUDxbEd6JwqSGecoePg">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_JzoMUY27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.hasTemplateId('2.16.840.1.113883.10.20.1.27')</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J0rVMI27Ed6BUommmCUt6w" name="ProblemAct_classCode" constrainedElement="_GgvgUDxbEd6JwqSGecoePg">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J0rVMY27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.classCode=vocab::x_ActClassDocumentEntryAct::ACT</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J0rVMo27Ed6BUommmCUt6w" name="ProblemAct_moodCode" constrainedElement="_GgvgUDxbEd6JwqSGecoePg">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J0rVM427Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.moodCode=vocab::x_DocumentActMood::EVN</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J0rVNI27Ed6BUommmCUt6w" name="ProblemAct_id" constrainedElement="_GgvgUDxbEd6JwqSGecoePg">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J0rVNY27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>not self.id->isEmpty()</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_KBozJo27Ed6BUommmCUt6w" name="ProblemAct_problemObservation" constrainedElement="_GgvgUDxbEd6JwqSGecoePg">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_KBozJ427Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.entryRelationship->exists(entryRelationship : cda::EntryRelationship | entryRelationship.observation.oclIsKindOf(ccd::ProblemObservation))</body>
        </specification>
      </ownedRule>
      <generalization xmi:id="_H4qVgDxbEd6JwqSGecoePg">
        <general xmi:type="uml:Class" href="platform:/resource/org.openhealthtools.mdht.uml.cda/model/cda.uml#_YiANsDxYEd6JwqSGecoePg"/>
      </generalization>
    </packagedElement>
    <packagedElement xmi:type="uml:Class" xmi:id="_IjIO0DxbEd6JwqSGecoePg" name="ProblemObservation">
      <ownedRule xmi:id="_J0rVNo27Ed6BUommmCUt6w" name="ProblemObservation_templateId" constrainedElement="_IjIO0DxbEd6JwqSGecoePg">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J0rVN427Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.hasTemplateId('2.16.840.1.113883.10.20.1.28')</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J1RLEI27Ed6BUommmCUt6w" name="ProblemObservation_moodCode" constrainedElement="_IjIO0DxbEd6JwqSGecoePg">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J1RLEY27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.moodCode=vocab::x_ActMoodDocumentObservation::EVN</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J1RLEo27Ed6BUommmCUt6w" name="ProblemObservation_statusCode" constrainedElement="_IjIO0DxbEd6JwqSGecoePg">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J1RLE427Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>not self.statusCode.oclIsUndefined() and self.statusCode.oclIsTypeOf(datatypes::CS) and &#xD;&#xA;let value : datatypes::CS = self.statusCode.oclAsType(datatypes::CS) in (&#xD;&#xA;value.code = 'completed' and value.codeSystem = '2.16.840.1.113883.5.14' and value.codeSystemName = 'ActStatus')</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J1RLFI27Ed6BUommmCUt6w" name="ProblemObservation_effectiveTime" constrainedElement="_IjIO0DxbEd6JwqSGecoePg">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J1RLFY27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>not self.effectiveTime.oclIsUndefined()</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J1RLFo27Ed6BUommmCUt6w" name="ProblemObservation_code" constrainedElement="_IjIO0DxbEd6JwqSGecoePg">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J1RLF427Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>not self.code.oclIsUndefined() and self.code.oclIsTypeOf(datatypes::CD) and &#xD;&#xA;let value : datatypes::CD = self.code.oclAsType(datatypes::CD) in (&#xD;&#xA;value.codeSystem = '2.16.840.1.113883.1.11.20.14' and value.codeSystemName = 'ProblemTypeCode' and value.codeSystemVersion = '20061017')</body>
        </specification>
      </ownedRule>
      <generalization xmi:id="_KLIucDxbEd6JwqSGecoePg">
        <general xmi:type="uml:Class" href="platform:/resource/org.openhealthtools.mdht.uml.cda/model/cda.uml#_bJyIQDxYEd6JwqSGecoePg"/>
      </generalization>
    </packagedElement>
    <packagedElement xmi:type="uml:Class" xmi:id="_vjPMEGaGEd6Hk_bPOfEjYA" name="ProblemSection">
      <ownedRule xmi:id="_J1RLGI27Ed6BUommmCUt6w" name="ProblemSection_templateId" constrainedElement="_vjPMEGaGEd6Hk_bPOfEjYA">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J1RLGY27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.hasTemplateId('2.16.840.1.113883.10.20.1.11')</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J1t3AI27Ed6BUommmCUt6w" name="ProblemSection_code" constrainedElement="_vjPMEGaGEd6Hk_bPOfEjYA">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J1t3AY27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>not self.code.oclIsUndefined() and self.code.oclIsTypeOf(datatypes::CE) and &#xD;&#xA;let value : datatypes::CE = self.code.oclAsType(datatypes::CE) in (&#xD;&#xA;value.code = '11450-4' and value.codeSystem = '2.16.840.1.113883.6.1' and value.codeSystemName = 'LOINC')</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J1t3Ao27Ed6BUommmCUt6w" name="ProblemSection_title" constrainedElement="_vjPMEGaGEd6Hk_bPOfEjYA">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J1t3A427Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>not self.title.oclIsUndefined()</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_KBozJI27Ed6BUommmCUt6w" name="ProblemSection_problemAct" constrainedElement="_vjPMEGaGEd6Hk_bPOfEjYA">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_KBozJY27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.entry->exists(entry : cda::Entry | entry.act.oclIsKindOf(ccd::ProblemAct))</body>
        </specification>
      </ownedRule>
      <generalization xmi:id="_xw8ZwGaGEd6Hk_bPOfEjYA">
        <general xmi:type="uml:Class" href="platform:/resource/org.openhealthtools.mdht.uml.cda/model/cda.uml#_qIf_wDxXEd6JwqSGecoePg"/>
      </generalization>
    </packagedElement>
    <packagedElement xmi:type="uml:Class" xmi:id="_TrwngGaJEd6Hk_bPOfEjYA" name="ProblemStatus">
      <ownedRule xmi:id="_J1t3BI27Ed6BUommmCUt6w" name="ProblemStatus_templateId" constrainedElement="_TrwngGaJEd6Hk_bPOfEjYA">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J1t3BY27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.hasTemplateId('2.16.840.1.113883.10.20.1.50')</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J2Ki8I27Ed6BUommmCUt6w" name="ProblemStatus_value" constrainedElement="_TrwngGaJEd6Hk_bPOfEjYA">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J2Ki8Y27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CE) and &#xD;&#xA;let value : datatypes::CE = element.oclAsType(datatypes::CE) in &#xD;&#xA;value.codeSystem = '2.16.840.1.113883.1.11.20.13' and value.codeSystemName = 'ProblemStatusCode' and value.codeSystemVersion = '20061017')</body>
        </specification>
      </ownedRule>
      <generalization xmi:id="_Trwng2aJEd6Hk_bPOfEjYA" general="_V3Jy4HrTEd68l9lQ-TLEBQ"/>
    </packagedElement>
    <packagedElement xmi:type="uml:Class" xmi:id="_T6kfkGaJEd6Hk_bPOfEjYA" name="ProblemHealthStatus">
      <ownedRule xmi:id="_J2Ki8o27Ed6BUommmCUt6w" name="ProblemHealthStatus_templateId" constrainedElement="_T6kfkGaJEd6Hk_bPOfEjYA">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J2Ki8427Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.hasTemplateId('2.16.840.1.113883.10.20.1.51')</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J2dd4I27Ed6BUommmCUt6w" name="ProblemHealthStatus_code" constrainedElement="_T6kfkGaJEd6Hk_bPOfEjYA">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J2dd4Y27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>not self.code.oclIsUndefined() and self.code.oclIsTypeOf(datatypes::CD) and &#xD;&#xA;let value : datatypes::CD = self.code.oclAsType(datatypes::CD) in (&#xD;&#xA;value.code = '11323-3' and value.codeSystem = '2.16.840.1.113883.6.1' and value.codeSystemName = 'LOINC')</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J2dd4o27Ed6BUommmCUt6w" name="ProblemHealthStatus_value" constrainedElement="_T6kfkGaJEd6Hk_bPOfEjYA">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J2dd4427Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CE) and &#xD;&#xA;let value : datatypes::CE = element.oclAsType(datatypes::CE) in &#xD;&#xA;value.codeSystem = '2.16.840.1.113883.1.11.20.12' and value.codeSystemName = 'ProblemHealthStatusCode' and value.codeSystemVersion = '20061017')</body>
        </specification>
      </ownedRule>
      <generalization xmi:id="_T6kfk2aJEd6Hk_bPOfEjYA" general="_V3Jy4HrTEd68l9lQ-TLEBQ"/>
    </packagedElement>
    <packagedElement xmi:type="uml:Class" xmi:id="_AwcXkGaKEd6Hk_bPOfEjYA" name="EpisodeObservation">
      <ownedRule xmi:id="_J2dd5I27Ed6BUommmCUt6w" name="EpisodeObservation_templateId" constrainedElement="_AwcXkGaKEd6Hk_bPOfEjYA">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J2nO4I27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.hasTemplateId('2.16.840.1.113883.10.20.1.41')</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J26J0I27Ed6BUommmCUt6w" name="EpisodeObservation_classCode" constrainedElement="_AwcXkGaKEd6Hk_bPOfEjYA">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J26J0Y27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.classCode=vocab::ActClassObservation::OBS</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J26J0o27Ed6BUommmCUt6w" name="EpisodeObservation_moodCode" constrainedElement="_AwcXkGaKEd6Hk_bPOfEjYA">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J26J0427Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.moodCode=vocab::x_ActMoodDocumentObservation::EVN</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J26J1I27Ed6BUommmCUt6w" name="EpisodeObservation_statusCode" constrainedElement="_AwcXkGaKEd6Hk_bPOfEjYA">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J26J1Y27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>not self.statusCode.oclIsUndefined() and self.statusCode.oclIsTypeOf(datatypes::CS) and &#xD;&#xA;let value : datatypes::CS = self.statusCode.oclAsType(datatypes::CS) in (&#xD;&#xA;value.code = 'completed' and value.codeSystem = '2.16.840.1.113883.5.14' and value.codeSystemName = 'ActStatus')</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J26J1o27Ed6BUommmCUt6w" name="EpisodeObservation_code" constrainedElement="_AwcXkGaKEd6Hk_bPOfEjYA">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J26J1427Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>not self.code.oclIsUndefined() and self.code.oclIsTypeOf(datatypes::CD) and &#xD;&#xA;let value : datatypes::CD = self.code.oclAsType(datatypes::CD) in (&#xD;&#xA;value.code = 'ASSERTION' and value.codeSystem = '2.16.840.1.113883.5.4' and value.codeSystemName = 'ActCode')</body>
        </specification>
      </ownedRule>
      <generalization xmi:id="_AwcXk2aKEd6Hk_bPOfEjYA">
        <general xmi:type="uml:Class" href="platform:/resource/org.openhealthtools.mdht.uml.cda/model/cda.uml#_bJyIQDxYEd6JwqSGecoePg"/>
      </generalization>
    </packagedElement>
    <packagedElement xmi:type="uml:Class" xmi:id="_3cYVwGaKEd6Hk_bPOfEjYA" name="PatientAwareness">
      <ownedRule xmi:id="_J3D60I27Ed6BUommmCUt6w" name="PatientAwareness_templateId" constrainedElement="_3cYVwGaKEd6Hk_bPOfEjYA">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J3D60Y27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.hasTemplateId('2.16.840.1.113883.10.20.1.48')</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J3W1wI27Ed6BUommmCUt6w" name="PatientAwareness_typeCode" constrainedElement="_3cYVwGaKEd6Hk_bPOfEjYA">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J3W1wY27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.typeCode=vocab::ParticipationType::SBJ</body>
        </specification>
      </ownedRule>
      <generalization xmi:id="_3cYVw2aKEd6Hk_bPOfEjYA">
        <general xmi:type="uml:Class" href="platform:/resource/org.openhealthtools.mdht.uml.cda/model/cda.uml#_51DLwEcZEd6besF9iFIJkQ"/>
      </generalization>
    </packagedElement>
    <packagedElement xmi:type="uml:Class" xmi:id="_5ET7oGwWEd6q29qQGU-SBA" name="FamilyHistorySection">
      <ownedRule xmi:id="_J3W1wo27Ed6BUommmCUt6w" name="FamilyHistorySection_templateId" constrainedElement="_5ET7oGwWEd6q29qQGU-SBA">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J3W1w427Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.hasTemplateId('2.16.840.1.113883.10.20.1.4')</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J3zhsI27Ed6BUommmCUt6w" name="FamilyHistorySection_code" constrainedElement="_5ET7oGwWEd6q29qQGU-SBA">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J3zhsY27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>not self.code.oclIsUndefined() and self.code.oclIsTypeOf(datatypes::CE) and &#xD;&#xA;let value : datatypes::CE = self.code.oclAsType(datatypes::CE) in (&#xD;&#xA;value.code = '10157-6' and value.codeSystem = '2.16.840.1.113883.6.1' and value.codeSystemName = 'LOINC')</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J3zhso27Ed6BUommmCUt6w" name="FamilyHistorySection_title" constrainedElement="_5ET7oGwWEd6q29qQGU-SBA">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J3zhs427Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>not self.title.oclIsUndefined()</body>
        </specification>
      </ownedRule>
      <generalization xmi:id="_h1M7QGwXEd6q29qQGU-SBA">
        <general xmi:type="uml:Class" href="platform:/resource/org.openhealthtools.mdht.uml.cda/model/cda.uml#_qIf_wDxXEd6JwqSGecoePg"/>
      </generalization>
    </packagedElement>
    <packagedElement xmi:type="uml:Class" xmi:id="_7tlrAGwWEd6q29qQGU-SBA" name="FamilyHistoryObservation">
      <ownedRule xmi:id="_J3zhtI27Ed6BUommmCUt6w" name="FamilyHistoryObservation_templateId" constrainedElement="_7tlrAGwWEd6q29qQGU-SBA">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J3zhtY27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.hasTemplateId('2.16.840.1.113883.10.20.1.22')</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J4QNoI27Ed6BUommmCUt6w" name="FamilyHistoryObservation_id" constrainedElement="_7tlrAGwWEd6q29qQGU-SBA">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J4QNoY27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>not self.id->isEmpty()</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J4QNoo27Ed6BUommmCUt6w" name="FamilyHistoryObservation_statusCode" constrainedElement="_7tlrAGwWEd6q29qQGU-SBA">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J4QNo427Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>not self.statusCode.oclIsUndefined() and self.statusCode.oclIsTypeOf(datatypes::CS) and &#xD;&#xA;let value : datatypes::CS = self.statusCode.oclAsType(datatypes::CS) in (&#xD;&#xA;value.code = 'completed' and value.codeSystem = '2.16.840.1.113883.5.14' and value.codeSystemName = 'ActStatus')</body>
        </specification>
      </ownedRule>
      <generalization xmi:id="_plaIMGwXEd6q29qQGU-SBA">
        <general xmi:type="uml:Class" href="platform:/resource/org.openhealthtools.mdht.uml.cda/model/cda.uml#_bJyIQDxYEd6JwqSGecoePg"/>
      </generalization>
    </packagedElement>
    <packagedElement xmi:type="uml:Class" xmi:id="_9QFYgGwWEd6q29qQGU-SBA" name="FamilyHistoryOrganizer">
      <ownedRule xmi:id="_J4QNpI27Ed6BUommmCUt6w" name="FamilyHistoryOrganizer_templateId" constrainedElement="_9QFYgGwWEd6q29qQGU-SBA">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J4QNpY27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.hasTemplateId('2.16.840.1.113883.10.20.1.23')</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J4s5kI27Ed6BUommmCUt6w" name="FamilyHistoryOrganizer_statusCode" constrainedElement="_9QFYgGwWEd6q29qQGU-SBA">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J4s5kY27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>not self.statusCode.oclIsUndefined() and self.statusCode.oclIsTypeOf(datatypes::CS) and &#xD;&#xA;let value : datatypes::CS = self.statusCode.oclAsType(datatypes::CS) in (&#xD;&#xA;value.code = 'completed' and value.codeSystem = '2.16.840.1.113883.5.14' and value.codeSystemName = 'ActStatus')</body>
        </specification>
      </ownedRule>
      <generalization xmi:id="_lBDMMGwXEd6q29qQGU-SBA">
        <general xmi:type="uml:Class" href="platform:/resource/org.openhealthtools.mdht.uml.cda/model/cda.uml#_B6aX4EbvEd6besF9iFIJkQ"/>
      </generalization>
    </packagedElement>
    <packagedElement xmi:type="uml:Class" xmi:id="_Ht_RsHDAEd6eItyqb1FoWg" name="ResultOrganizer">
      <ownedRule xmi:id="_J4s5ko27Ed6BUommmCUt6w" name="ResultOrganizer_templateId" constrainedElement="_Ht_RsHDAEd6eItyqb1FoWg">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J4s5k427Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.hasTemplateId('2.16.840.1.113883.10.20.1.32')</body>
        </specification>
      </ownedRule>
      <generalization xmi:id="_hZltMHDAEd6eItyqb1FoWg">
        <general xmi:type="uml:Class" href="platform:/resource/org.openhealthtools.mdht.uml.cda/model/cda.uml#_B6aX4EbvEd6besF9iFIJkQ?cda/Organizer?"/>
      </generalization>
    </packagedElement>
    <packagedElement xmi:type="uml:Class" xmi:id="_MQHZEHDAEd6eItyqb1FoWg" name="ResultObservation">
      <ownedRule xmi:id="_J4_0gI27Ed6BUommmCUt6w" name="ResultObservation_templateId" constrainedElement="_MQHZEHDAEd6eItyqb1FoWg">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J4_0gY27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.hasTemplateId('2.16.840.1.113883.10.20.1.31')</body>
        </specification>
      </ownedRule>
      <generalization xmi:id="_eOylIHDAEd6eItyqb1FoWg">
        <general xmi:type="uml:Class" href="platform:/resource/org.openhealthtools.mdht.uml.cda/model/cda.uml#_bJyIQDxYEd6JwqSGecoePg?cda/Observation?"/>
      </generalization>
    </packagedElement>
    <packagedElement xmi:type="uml:Class" xmi:id="_UOVM0HDAEd6eItyqb1FoWg" name="SocialHistorySection">
      <ownedRule xmi:id="_J5cgcI27Ed6BUommmCUt6w" name="SocialHistorySection_templateId" constrainedElement="_UOVM0HDAEd6eItyqb1FoWg">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J5cgcY27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.hasTemplateId('2.16.840.1.113883.10.20.1.15')</body>
        </specification>
      </ownedRule>
      <generalization xmi:id="_pTCVsHDAEd6eItyqb1FoWg">
        <general xmi:type="uml:Class" href="platform:/resource/org.openhealthtools.mdht.uml.cda/model/cda.uml#_qIf_wDxXEd6JwqSGecoePg?cda/Section?"/>
      </generalization>
    </packagedElement>
    <packagedElement xmi:type="uml:Class" xmi:id="_Wa2uwHDAEd6eItyqb1FoWg" name="SocialHistoryObservation">
      <ownedRule xmi:id="_J5vbYI27Ed6BUommmCUt6w" name="SocialHistoryObservation_templateId" constrainedElement="_Wa2uwHDAEd6eItyqb1FoWg">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J5vbYY27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.hasTemplateId('2.16.840.1.113883.10.20.1.33')</body>
        </specification>
      </ownedRule>
      <generalization xmi:id="_krQSQHDAEd6eItyqb1FoWg">
        <general xmi:type="uml:Class" href="platform:/resource/org.openhealthtools.mdht.uml.cda/model/cda.uml#_bJyIQDxYEd6JwqSGecoePg?cda/Observation?"/>
      </generalization>
    </packagedElement>
    <packagedElement xmi:type="uml:Class" xmi:id="_rJDcIHDAEd6eItyqb1FoWg" name="EncountersSection">
      <ownedComment xmi:id="_1XZEwIjwEd66cKocspyVOg" annotatedElement="_rJDcIHDAEd6eItyqb1FoWg">
        <body>&lt;p>&#xD;
    &lt;font size=&quot;2&quot;>This section is used to list and describe any healthcare encounters pertinent to the patient’s current&#xD;
    health status or historical health history. An Encounter is an interaction, regardless of the setting, between a&#xD;
    patient and a practitioner who is vested with primary responsibility for diagnosing, evaluating, or treating the&#xD;
    patient’s condition. It may include visits, appointments, as well as non face-to-face interactions. It is also a&#xD;
    contact between a patient and a practitioner who has primary responsibility for assessing and treating the patient at a&#xD;
    given contact, exercising independent judgment. This section may contain all encounters for the time period being&#xD;
    summarized, but should include notable encounters.&lt;/font>&#xD;
&lt;/p></body>
      </ownedComment>
      <ownedRule xmi:id="_J6MHUI27Ed6BUommmCUt6w" name="EncountersSection_templateId" constrainedElement="_rJDcIHDAEd6eItyqb1FoWg">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J6MHUY27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.hasTemplateId('2.16.840.1.113883.10.20.1.3')</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J6ozQI27Ed6BUommmCUt6w" name="EncountersSection_code" constrainedElement="_rJDcIHDAEd6eItyqb1FoWg">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J6ozQY27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>not self.code.oclIsUndefined() and self.code.oclIsTypeOf(datatypes::CE) and &#xD;&#xA;let value : datatypes::CE = self.code.oclAsType(datatypes::CE) in (&#xD;&#xA;value.code = '46240-8' and value.codeSystem = '2.16.840.1.113883.6.1' and value.codeSystemName = 'LOINC')</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J6ozQo27Ed6BUommmCUt6w" name="EncountersSection_title" constrainedElement="_rJDcIHDAEd6eItyqb1FoWg">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J6ozQ427Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>not self.title.oclIsUndefined()</body>
        </specification>
      </ownedRule>
      <generalization xmi:id="_wbv8cHDOEd6eItyqb1FoWg">
        <general xmi:type="uml:Class" href="platform:/resource/org.openhealthtools.mdht.uml.cda/model/cda.uml#_qIf_wDxXEd6JwqSGecoePg"/>
      </generalization>
    </packagedElement>
    <packagedElement xmi:type="uml:Class" xmi:id="_CinbMHDPEd6eItyqb1FoWg" name="ImmunizationsSection">
      <ownedRule xmi:id="_J6ozRI27Ed6BUommmCUt6w" name="ImmunizationsSection_templateId" constrainedElement="_CinbMHDPEd6eItyqb1FoWg">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J6ozRY27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.hasTemplateId('2.16.840.1.113883.10.20.1.6')</body>
        </specification>
      </ownedRule>
      <generalization xmi:id="_H448UHDPEd6eItyqb1FoWg">
        <general xmi:type="uml:Class" href="platform:/resource/org.openhealthtools.mdht.uml.cda/model/cda.uml#_qIf_wDxXEd6JwqSGecoePg?cda/Section?"/>
      </generalization>
    </packagedElement>
    <packagedElement xmi:type="uml:Class" xmi:id="_mO8KEHJWEd6cacuAk5qrhg" name="EncountersActivity">
      <ownedRule xmi:id="_J67uMI27Ed6BUommmCUt6w" name="EncountersActivity_templateId" constrainedElement="_mO8KEHJWEd6cacuAk5qrhg">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J67uMY27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.hasTemplateId('2.16.840.1.113883.10.20.1.21')</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J7YaII27Ed6BUommmCUt6w" name="EncountersActivity_id" constrainedElement="_mO8KEHJWEd6cacuAk5qrhg">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J7YaIY27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>not self.id->isEmpty()</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J7YaIo27Ed6BUommmCUt6w" name="EncountersActivity_code" constrainedElement="_mO8KEHJWEd6cacuAk5qrhg">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J7YaI427Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>not self.code.oclIsUndefined() and self.code.oclIsTypeOf(datatypes::CD) and &#xD;&#xA;let value : datatypes::CD = self.code.oclAsType(datatypes::CD) in (&#xD;&#xA;value.codeSystem = '2.16.840.1.113883.1.11.13955' and value.codeSystemName = 'EncounterCode')</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J7YaJI27Ed6BUommmCUt6w" name="EncountersActivity_effectiveTime" constrainedElement="_mO8KEHJWEd6cacuAk5qrhg">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J7YaJY27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>not self.effectiveTime.oclIsUndefined()</body>
        </specification>
      </ownedRule>
      <generalization xmi:id="_vuapUHJjEd6cacuAk5qrhg">
        <general xmi:type="uml:Class" href="platform:/resource/org.openhealthtools.mdht.uml.cda/model/cda.uml#_AAXtEEbvEd6besF9iFIJkQ"/>
      </generalization>
    </packagedElement>
    <packagedElement xmi:type="uml:Class" xmi:id="_W6aMoHfTEd6ZeOKq_2_a9g" name="MedicationActivity">
      <ownedComment xmi:id="_0hxWQIjuEd66cKocspyVOg" annotatedElement="_W6aMoHfTEd6ZeOKq_2_a9g">
        <body>&lt;p>&#xD;
    &lt;font size=&quot;2&quot;>A medication activity is used to describe what is administered whereas a supply activity is used to&#xD;
    describe what has been dispensed.&lt;/font>&#xD;
&lt;/p></body>
      </ownedComment>
      <ownedRule xmi:id="_J7YaJo27Ed6BUommmCUt6w" name="MedicationActivity_templateId" constrainedElement="_W6aMoHfTEd6ZeOKq_2_a9g">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J7YaJ427Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.hasTemplateId('2.16.840.1.113883.10.20.1.24')</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J71GEI27Ed6BUommmCUt6w" name="MedicationActivity_id" constrainedElement="_W6aMoHfTEd6ZeOKq_2_a9g">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J71GEY27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>not self.id->isEmpty()</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J71GEo27Ed6BUommmCUt6w" name="MedicationActivity_statusCode" constrainedElement="_W6aMoHfTEd6ZeOKq_2_a9g">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J71GE427Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>not self.statusCode.oclIsUndefined()</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_KBMHMI27Ed6BUommmCUt6w" name="MedicationActivity_medicationSeriesNumberObservation" constrainedElement="_W6aMoHfTEd6ZeOKq_2_a9g">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_KBMHMY27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.entryRelationship->one(entryRelationship : cda::EntryRelationship | entryRelationship.observation.oclIsKindOf(ccd::MedicationSeriesNumberObservation))</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_KBMHMo27Ed6BUommmCUt6w" name="MedicationActivity_medicationStatusObservation" constrainedElement="_W6aMoHfTEd6ZeOKq_2_a9g">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_KBMHM427Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.entryRelationship->one(entryRelationship : cda::EntryRelationship | entryRelationship.observation.oclIsKindOf(ccd::MedicationStatusObservation))</body>
        </specification>
      </ownedRule>
      <generalization xmi:id="_sAvQsHfUEd6ZeOKq_2_a9g">
        <general xmi:type="uml:Class" href="platform:/resource/org.openhealthtools.mdht.uml.cda/model/cda.uml#_nazskEbuEd6besF9iFIJkQ"/>
      </generalization>
    </packagedElement>
    <packagedElement xmi:type="uml:Class" xmi:id="_dAAnAHfVEd6ZeOKq_2_a9g" name="SupplyActivity">
      <ownedRule xmi:id="_J71GFI27Ed6BUommmCUt6w" name="SupplyActivity_templateId" constrainedElement="_dAAnAHfVEd6ZeOKq_2_a9g">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J71GFY27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.hasTemplateId('2.16.840.1.113883.10.20.1.34')</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J8RyAI27Ed6BUommmCUt6w" name="SupplyActivity_id" constrainedElement="_dAAnAHfVEd6ZeOKq_2_a9g">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J8RyAY27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>not self.id->isEmpty()</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J8RyAo27Ed6BUommmCUt6w" name="SupplyActivity_statusCode" constrainedElement="_dAAnAHfVEd6ZeOKq_2_a9g">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J8RyA427Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>not self.statusCode.oclIsUndefined()</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_KBMHNI27Ed6BUommmCUt6w" name="SupplyActivity_medicationStatusObservation" constrainedElement="_dAAnAHfVEd6ZeOKq_2_a9g">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_KBMHNY27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.entryRelationship->one(entryRelationship : cda::EntryRelationship | entryRelationship.observation.oclIsKindOf(ccd::MedicationStatusObservation))</body>
        </specification>
      </ownedRule>
      <generalization xmi:id="_pWBhcHfVEd6ZeOKq_2_a9g">
        <general xmi:type="uml:Class" href="platform:/resource/org.openhealthtools.mdht.uml.cda/model/cda.uml#_3gL0sEbuEd6besF9iFIJkQ"/>
      </generalization>
    </packagedElement>
    <packagedElement xmi:type="uml:Class" xmi:id="_PgsSAHrREd68l9lQ-TLEBQ" name="AlertsSection">
      <ownedRule xmi:id="_J8RyBI27Ed6BUommmCUt6w" name="AlertsSection_templateId" constrainedElement="_PgsSAHrREd68l9lQ-TLEBQ">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J8RyBY27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.hasTemplateId('2.16.840.1.113883.10.20.1.2')</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J8ks8I27Ed6BUommmCUt6w" name="AlertsSection_code" constrainedElement="_PgsSAHrREd68l9lQ-TLEBQ">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J8ks8Y27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>not self.code.oclIsUndefined() and self.code.oclIsTypeOf(datatypes::CE) and &#xD;&#xA;let value : datatypes::CE = self.code.oclAsType(datatypes::CE) in (&#xD;&#xA;value.code = '48765-2' and value.codeSystem = '2.16.840.1.113883.6.1' and value.codeSystemName = 'LOINC')</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J8ks8o27Ed6BUommmCUt6w" name="AlertsSection_title" constrainedElement="_PgsSAHrREd68l9lQ-TLEBQ">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J8ks8427Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>not self.title.oclIsUndefined()</body>
        </specification>
      </ownedRule>
      <generalization xmi:id="_YiaKIHrREd68l9lQ-TLEBQ">
        <general xmi:type="uml:Class" href="platform:/resource/org.openhealthtools.mdht.uml.cda/model/cda.uml#_qIf_wDxXEd6JwqSGecoePg"/>
      </generalization>
    </packagedElement>
    <packagedElement xmi:type="uml:Class" xmi:id="_qV72IHrREd68l9lQ-TLEBQ" name="AlertObservation">
      <ownedRule xmi:id="_J8ks9I27Ed6BUommmCUt6w" name="AlertObservation_templateId" constrainedElement="_qV72IHrREd68l9lQ-TLEBQ">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J8ks9Y27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.hasTemplateId('2.16.840.1.113883.10.20.1.18')</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J9BY4I27Ed6BUommmCUt6w" name="AlertObservation_statusCode" constrainedElement="_qV72IHrREd68l9lQ-TLEBQ">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J9BY4Y27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>not self.statusCode.oclIsUndefined() and self.statusCode.oclIsTypeOf(datatypes::CS) and &#xD;&#xA;let value : datatypes::CS = self.statusCode.oclAsType(datatypes::CS) in (&#xD;&#xA;value.code = 'completed' and value.codeSystem = '2.16.840.1.113883.5.14' and value.codeSystemName = 'ActStatus')</body>
        </specification>
      </ownedRule>
      <generalization xmi:id="_9yumAHrREd68l9lQ-TLEBQ">
        <general xmi:type="uml:Class" href="platform:/resource/org.openhealthtools.mdht.uml.cda/model/cda.uml#_bJyIQDxYEd6JwqSGecoePg"/>
      </generalization>
    </packagedElement>
    <packagedElement xmi:type="uml:Class" xmi:id="__XC4cHrREd68l9lQ-TLEBQ" name="ReactionObservation">
      <ownedRule xmi:id="_J9BY4o27Ed6BUommmCUt6w" name="ReactionObservation_templateId" constrainedElement="__XC4cHrREd68l9lQ-TLEBQ">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J9BY4427Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.hasTemplateId('2.16.840.1.113883.10.20.1.54')</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J9eE0I27Ed6BUommmCUt6w" name="ReactionObservation_statusCode" constrainedElement="__XC4cHrREd68l9lQ-TLEBQ">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J9eE0Y27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>not self.statusCode.oclIsUndefined() and self.statusCode.oclIsTypeOf(datatypes::CS) and &#xD;&#xA;let value : datatypes::CS = self.statusCode.oclAsType(datatypes::CS) in (&#xD;&#xA;value.code = 'completed' and value.codeSystem = '2.16.840.1.113883.5.14' and value.codeSystemName = 'ActStatus')</body>
        </specification>
      </ownedRule>
      <generalization xmi:id="_PipkYHrSEd68l9lQ-TLEBQ">
        <general xmi:type="uml:Class" href="platform:/resource/org.openhealthtools.mdht.uml.cda/model/cda.uml#_bJyIQDxYEd6JwqSGecoePg"/>
      </generalization>
    </packagedElement>
    <packagedElement xmi:type="uml:Class" xmi:id="_ILkpIHrSEd68l9lQ-TLEBQ" name="SeverityObservation">
      <ownedRule xmi:id="_J9eE0o27Ed6BUommmCUt6w" name="SeverityObservation_templateId" constrainedElement="_ILkpIHrSEd68l9lQ-TLEBQ">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J9eE0427Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.hasTemplateId('2.16.840.1.113883.10.20.1.55')</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J96wwI27Ed6BUommmCUt6w" name="SeverityObservation_code" constrainedElement="_ILkpIHrSEd68l9lQ-TLEBQ">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J96wwY27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>not self.code.oclIsUndefined() and self.code.oclIsTypeOf(datatypes::CD) and &#xD;&#xA;let value : datatypes::CD = self.code.oclAsType(datatypes::CD) in (&#xD;&#xA;value.code = 'SEV' and value.codeSystem = '2.16.840.1.113883.5.4' and value.codeSystemName = 'ActCode')</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J96wwo27Ed6BUommmCUt6w" name="SeverityObservation_statusCode" constrainedElement="_ILkpIHrSEd68l9lQ-TLEBQ">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J96ww427Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>not self.statusCode.oclIsUndefined() and self.statusCode.oclIsTypeOf(datatypes::CS) and &#xD;&#xA;let value : datatypes::CS = self.statusCode.oclAsType(datatypes::CS) in (&#xD;&#xA;value.code = 'completed' and value.codeSystem = '2.16.840.1.113883.5.14' and value.codeSystemName = 'ActStatus')</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J96wxI27Ed6BUommmCUt6w" name="SeverityObservation_value" constrainedElement="_ILkpIHrSEd68l9lQ-TLEBQ">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J96wxY27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.value->size() = 1</body>
        </specification>
      </ownedRule>
      <generalization xmi:id="_QQ4jYHrSEd68l9lQ-TLEBQ">
        <general xmi:type="uml:Class" href="platform:/resource/org.openhealthtools.mdht.uml.cda/model/cda.uml#_bJyIQDxYEd6JwqSGecoePg"/>
      </generalization>
    </packagedElement>
    <packagedElement xmi:type="uml:Class" xmi:id="_e8n_EHrSEd68l9lQ-TLEBQ" name="AlertStatusObservation">
      <ownedRule xmi:id="_J96wxo27Ed6BUommmCUt6w" name="AlertStatusObservation_templateId" constrainedElement="_e8n_EHrSEd68l9lQ-TLEBQ">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J96wx427Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.hasTemplateId('2.16.840.1.113883.10.20.1.39')</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J-W1oI27Ed6BUommmCUt6w" name="AlertStatusObservation_value" constrainedElement="_e8n_EHrSEd68l9lQ-TLEBQ">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J-W1oY27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CE) and &#xD;&#xA;let value : datatypes::CE = element.oclAsType(datatypes::CE) in &#xD;&#xA;value.codeSystem = '2.16.840.1.113883.1.11.20.3' and value.codeSystemName = 'AlertStatusCode' and value.codeSystemVersion = '20061017')</body>
        </specification>
      </ownedRule>
      <generalization xmi:id="_b0MZEHrTEd68l9lQ-TLEBQ" general="_V3Jy4HrTEd68l9lQ-TLEBQ"/>
    </packagedElement>
    <packagedElement xmi:type="uml:Class" xmi:id="_V3Jy4HrTEd68l9lQ-TLEBQ" name="StatusObservation">
      <ownedRule xmi:id="_J-W1oo27Ed6BUommmCUt6w" name="StatusObservation_templateId" constrainedElement="_V3Jy4HrTEd68l9lQ-TLEBQ">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J-W1o427Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.hasTemplateId('2.16.840.1.113883.10.20.1.57')</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J-qXoI27Ed6BUommmCUt6w" name="StatusObservation_classCode" constrainedElement="_V3Jy4HrTEd68l9lQ-TLEBQ">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J-qXoY27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.classCode=vocab::ActClassObservation::OBS</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J-zhkI27Ed6BUommmCUt6w" name="StatusObservation_moodCode" constrainedElement="_V3Jy4HrTEd68l9lQ-TLEBQ">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J-zhkY27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.moodCode=vocab::x_ActMoodDocumentObservation::EVN</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J-zhko27Ed6BUommmCUt6w" name="StatusObservation_code" constrainedElement="_V3Jy4HrTEd68l9lQ-TLEBQ">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J-zhk427Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>not self.code.oclIsUndefined() and self.code.oclIsTypeOf(datatypes::CD) and &#xD;&#xA;let value : datatypes::CD = self.code.oclAsType(datatypes::CD) in (&#xD;&#xA;value.code = '33999-4' and value.codeSystem = '2.16.840.1.113883.6.1' and value.codeSystemName = 'LOINC')</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J-zhlI27Ed6BUommmCUt6w" name="StatusObservation_statusCode" constrainedElement="_V3Jy4HrTEd68l9lQ-TLEBQ">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J-zhlY27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>not self.statusCode.oclIsUndefined() and self.statusCode.oclIsTypeOf(datatypes::CS) and &#xD;&#xA;let value : datatypes::CS = self.statusCode.oclAsType(datatypes::CS) in (&#xD;&#xA;value.code = 'completed' and value.codeSystem = '2.16.840.1.113883.5.14' and value.codeSystemName = 'ActStatus')</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J-zhlo27Ed6BUommmCUt6w" name="StatusObservation_value" constrainedElement="_V3Jy4HrTEd68l9lQ-TLEBQ">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J-zhl427Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CE))</body>
        </specification>
      </ownedRule>
      <generalization xmi:id="_s4YvUHrSEd68l9lQ-TLEBQ">
        <general xmi:type="uml:Class" href="platform:/resource/org.openhealthtools.mdht.uml.cda/model/cda.uml#_bJyIQDxYEd6JwqSGecoePg"/>
      </generalization>
    </packagedElement>
    <packagedElement xmi:type="uml:Class" xmi:id="_joG2YIHbEd6Ncrr6L3Ublw" name="CauseOfDeathObservation">
      <ownedRule xmi:id="_J-zhmI27Ed6BUommmCUt6w" name="CauseOfDeathObservation_templateId" constrainedElement="_joG2YIHbEd6Ncrr6L3Ublw">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J-zhmY27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.hasTemplateId('2.16.840.1.113883.10.20.1.42')</body>
        </specification>
      </ownedRule>
      <generalization xmi:id="_my2UEIHbEd6Ncrr6L3Ublw" general="_7tlrAGwWEd6q29qQGU-SBA"/>
    </packagedElement>
    <packagedElement xmi:type="uml:Class" xmi:id="_7TVToIiAEd66cKocspyVOg" name="ResultsSection">
      <ownedComment xmi:id="_yswHoIjpEd66cKocspyVOg" annotatedElement="_7TVToIiAEd66cKocspyVOg">
        <body>&lt;p align=&quot;left&quot;>&#xD;
    &lt;font size=&quot;2&quot;>This section contains the results of observations generated by laboratories, imaging procedures, and&#xD;
    other procedures. The scope includes hematology, chemistry, serology, virology, toxicology, microbiology, plain x-ray,&#xD;
    ultrasound, CT, MRI, angiography, cardiac echo, nuclear medicine, pathology, and procedure observations. The section&#xD;
    may contain all results for the period of time being summarized, but should include notable results such as abnormal&#xD;
    values or relevant trends.&lt;/font>&#xD;
&lt;/p>&#xD;
&lt;p align=&quot;left&quot;>&#xD;
    &lt;font size=&quot;2&quot;>Lab results are typically generated by laboratories providing analytic services in areas such as&#xD;
    chemistry, hematology, serology, histology, cytology, anatomic pathology, microbiology, and/or virology. These&#xD;
    observations are based on analysis of specimens obtained from the patient, submitted to the lab.&lt;/font>&#xD;
&lt;/p>&#xD;
&lt;p align=&quot;left&quot;>&#xD;
    &lt;font size=&quot;2&quot;>Imaging results are typically generated by a clinician reviewing the output of an imaging procedure,&#xD;
    such as where a cardiologist reports the left ventricular ejection fraction based on the review of a cardiac&#xD;
    echo.&lt;/font>&#xD;
&lt;/p>&#xD;
&lt;p>&#xD;
    &lt;font size=&quot;2&quot;>Procedure results are typically generated by a clinician wanting to provide more granular information&#xD;
    about component observations made during the performance of a procedure, such as where a gastroenterologist reports the&#xD;
    size of a polyp observed during a colonoscopy.&lt;/font>&#xD;
&lt;/p></body>
      </ownedComment>
      <ownedRule xmi:id="_J_HDkI27Ed6BUommmCUt6w" name="ResultsSection_templateId" constrainedElement="_7TVToIiAEd66cKocspyVOg">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J_HDkY27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.hasTemplateId('2.16.840.1.113883.10.20.1.14')</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J_jIcI27Ed6BUommmCUt6w" name="ResultsSection_code" constrainedElement="_7TVToIiAEd66cKocspyVOg">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J_jIcY27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>not self.code.oclIsUndefined() and self.code.oclIsTypeOf(datatypes::CE) and &#xD;&#xA;let value : datatypes::CE = self.code.oclAsType(datatypes::CE) in (&#xD;&#xA;value.code = '30954-2' and value.codeSystem = '2.16.840.1.113883.6.1' and value.codeSystemName = 'LOINC')</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J_jIco27Ed6BUommmCUt6w" name="ResultsSection_title" constrainedElement="_7TVToIiAEd66cKocspyVOg">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J_jIc427Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>not self.title.oclIsUndefined()</body>
        </specification>
      </ownedRule>
      <generalization xmi:id="_-vG7sIjoEd66cKocspyVOg">
        <general xmi:type="uml:Class" href="platform:/resource/org.openhealthtools.mdht.uml.cda/model/cda.uml#_qIf_wDxXEd6JwqSGecoePg"/>
      </generalization>
    </packagedElement>
    <packagedElement xmi:type="uml:Class" xmi:id="_VL2w0IiBEd66cKocspyVOg" name="MedicationSeriesNumberObservation">
      <ownedComment xmi:id="_NUpzUIjqEd66cKocspyVOg" annotatedElement="_VL2w0IiBEd66cKocspyVOg">
        <body>&lt;p>&#xD;
    &lt;font size=&quot;2&quot;>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).&lt;/font>&#xD;
&lt;/p></body>
      </ownedComment>
      <ownedRule xmi:id="_J_jIdI27Ed6BUommmCUt6w" name="MedicationSeriesNumberObservation_templateId" constrainedElement="_VL2w0IiBEd66cKocspyVOg">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J_jIdY27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.hasTemplateId('2.16.840.1.113883.10.20.1.46')</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J__0YI27Ed6BUommmCUt6w" name="MedicationSeriesNumberObservation_statusCode" constrainedElement="_VL2w0IiBEd66cKocspyVOg">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J__0YY27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>not self.statusCode.oclIsUndefined()</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J__0Yo27Ed6BUommmCUt6w" name="MedicationSeriesNumberObservation_code" constrainedElement="_VL2w0IiBEd66cKocspyVOg">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J__0Y427Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>not self.code.oclIsUndefined() and self.code.oclIsTypeOf(datatypes::CD) and &#xD;&#xA;let value : datatypes::CD = self.code.oclAsType(datatypes::CD) in (&#xD;&#xA;value.code = '30973-2' and value.codeSystem = '2.16.840.1.113883.6.1' and value.codeSystemName = 'LOINC')</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_J__0ZI27Ed6BUommmCUt6w" name="MedicationSeriesNumberObservation_value" constrainedElement="_VL2w0IiBEd66cKocspyVOg">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J__0ZY27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::INT))</body>
        </specification>
      </ownedRule>
      <generalization xmi:id="_ciR0EIjqEd66cKocspyVOg">
        <general xmi:type="uml:Class" href="platform:/resource/org.openhealthtools.mdht.uml.cda/model/cda.uml#_bJyIQDxYEd6JwqSGecoePg"/>
      </generalization>
    </packagedElement>
    <packagedElement xmi:type="uml:Class" xmi:id="_lgLT4IiBEd66cKocspyVOg" name="MedicationStatusObservation">
      <ownedRule xmi:id="_J__0Zo27Ed6BUommmCUt6w" name="MedicationStatusObservation_templateId" constrainedElement="_lgLT4IiBEd66cKocspyVOg">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_J__0Z427Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.hasTemplateId('2.16.840.1.113883.10.20.1.47')</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_KATWYI27Ed6BUommmCUt6w" name="MedicationStatusObservation_value" constrainedElement="_lgLT4IiBEd66cKocspyVOg">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_KAcgUI27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.value->size() = 1 and self.value->forAll(element | element.oclIsTypeOf(datatypes::CE) and &#xD;&#xA;let value : datatypes::CE = element.oclAsType(datatypes::CE) in &#xD;&#xA;value.codeSystem = '2.16.840.1.113883.1.11.20.7' and value.codeSystemName = 'MedicationStatusCode' and value.codeSystemVersion = '20061017')</body>
        </specification>
      </ownedRule>
      <generalization xmi:id="_dKuUIIjqEd66cKocspyVOg" general="_V3Jy4HrTEd68l9lQ-TLEBQ"/>
    </packagedElement>
    <packagedElement xmi:type="uml:Class" xmi:id="_2QJRIIiBEd66cKocspyVOg" name="EncounterLocation">
      <ownedRule xmi:id="_KAcgUY27Ed6BUommmCUt6w" name="EncounterLocation_templateId" constrainedElement="_2QJRIIiBEd66cKocspyVOg">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_KAcgUo27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.hasTemplateId('2.16.840.1.113883.10.20.1.45')</body>
        </specification>
      </ownedRule>
      <generalization xmi:id="_lD-rMIjxEd66cKocspyVOg">
        <general xmi:type="uml:Class" href="platform:/resource/org.openhealthtools.mdht.uml.cda/model/cda.uml#_51DLwEcZEd6besF9iFIJkQ"/>
      </generalization>
    </packagedElement>
    <packagedElement xmi:type="uml:Class" xmi:id="_8Xj7UIiBEd66cKocspyVOg" name="Product">
      <ownedRule xmi:id="_KAvbQI27Ed6BUommmCUt6w" name="Product_templateId" constrainedElement="_8Xj7UIiBEd66cKocspyVOg">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_KAvbQY27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.hasTemplateId('2.16.840.1.113883.10.20.1.53')</body>
        </specification>
      </ownedRule>
      <generalization xmi:id="_zWedQIjtEd66cKocspyVOg">
        <general xmi:type="uml:Class" href="platform:/resource/org.openhealthtools.mdht.uml.cda/model/cda.uml#_p6Zs8EcZEd6besF9iFIJkQ?cda/ManufacturedProduct?"/>
      </generalization>
    </packagedElement>
    <packagedElement xmi:type="uml:Class" xmi:id="_p_LEwIjvEd66cKocspyVOg" name="ProceduresSection">
      <ownedComment xmi:id="_p_LEwYjvEd66cKocspyVOg" annotatedElement="_p_LEwIjvEd66cKocspyVOg">
        <body>&lt;p>&#xD;
    &lt;font size=&quot;2&quot;>This section defines all interventional, surgical, diagnostic, or therapeutic procedures or treatments&#xD;
    pertinent to the patient historically at the time the document is generated. The section may contain all procedures for&#xD;
    the period of time being summarized, but should include notable procedures.&lt;/font>&#xD;
&lt;/p></body>
      </ownedComment>
      <ownedRule xmi:id="_KBMHNo27Ed6BUommmCUt6w" name="ProceduresSection_templateId" constrainedElement="_p_LEwIjvEd66cKocspyVOg">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_KBMHN427Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>self.hasTemplateId('2.16.840.1.113883.10.20.1.14')</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_KBozII27Ed6BUommmCUt6w" name="ProceduresSection_code" constrainedElement="_p_LEwIjvEd66cKocspyVOg">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_KBozIY27Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>not self.code.oclIsUndefined() and self.code.oclIsTypeOf(datatypes::CE) and &#xD;&#xA;let value : datatypes::CE = self.code.oclAsType(datatypes::CE) in (&#xD;&#xA;value.code = '47519-4' and value.codeSystem = '2.16.840.1.113883.6.1' and value.codeSystemName = 'LOINC')</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:id="_KBozIo27Ed6BUommmCUt6w" name="ProceduresSection_title" constrainedElement="_p_LEwIjvEd66cKocspyVOg">
        <specification xmi:type="uml:OpaqueExpression" xmi:id="_KBozI427Ed6BUommmCUt6w">
          <language>OCL</language>
          <body>not self.title.oclIsUndefined()</body>
        </specification>
      </ownedRule>
      <generalization xmi:id="_p_LEwojvEd66cKocspyVOg">
        <general xmi:type="uml:Class" href="platform:/resource/org.openhealthtools.mdht.uml.cda/model/cda.uml#_qIf_wDxXEd6JwqSGecoePg"/>
      </generalization>
    </packagedElement>
    <profileApplication xmi:id="_qQyD9zxVEd6JwqSGecoePg">
      <eAnnotations xmi:id="_qQyD-DxVEd6JwqSGecoePg" source="http://www.eclipse.org/uml2/2.0.0/UML">
        <references xmi:type="ecore:EPackage" href="pathmap://UML_PROFILES/Standard.profile.uml#_yzU58YinEdqtvbnfB2L_5w"/>
      </eAnnotations>
      <appliedProfile href="pathmap://UML_PROFILES/Standard.profile.uml#_0"/>
    </profileApplication>
    <profileApplication xmi:id="_sPcJADxVEd6JwqSGecoePg">
      <eAnnotations xmi:id="_sPcJATxVEd6JwqSGecoePg" source="http://www.eclipse.org/uml2/2.0.0/UML">
        <references xmi:type="ecore:EPackage" href="pathmap://UML_PROFILES/Ecore.profile.uml#_z1OFcHjqEdy8S4Cr8Rc_NA"/>
      </eAnnotations>
      <appliedProfile href="pathmap://UML_PROFILES/Ecore.profile.uml#_0"/>
    </profileApplication>
    <profileApplication xmi:id="_h_cnYHfTEd6ZeOKq_2_a9g">
      <eAnnotations xmi:id="_h_cnYXfTEd6ZeOKq_2_a9g" source="http://www.eclipse.org/uml2/2.0.0/UML">
        <references xmi:type="ecore:EPackage" href="pathmap://HL7_PROFILES/HDF.profile.uml#_D_tkoFwxEd63D_E2UJKpvQ"/>
      </eAnnotations>
      <appliedProfile href="pathmap://HL7_PROFILES/HDF.profile.uml#_XQSZwERPEdyoutEhWTC49A"/>
    </profileApplication>
    <profileApplication xmi:id="_Ah-uIIhSEd6UrJD25cKDew">
      <eAnnotations xmi:id="_AiAjUIhSEd6UrJD25cKDew" source="http://www.eclipse.org/uml2/2.0.0/UML">
        <references xmi:type="ecore:EPackage" href="pathmap://CDA_PROFILES/CDA.profile.uml#_cjWgIYwhEd6Y4K3S_JksBA"/>
      </eAnnotations>
      <appliedProfile href="pathmap://CDA_PROFILES/CDA.profile.uml#_cxOJEIEVEd6H8o-hO3-B4Q"/>
    </profileApplication>
  </uml:Package>
  <Ecore:EPackage xmi:id="_sGrZIDxWEd6JwqSGecoePg" base_Package="_qQyD8jxVEd6JwqSGecoePg" packageName="ccd" nsPrefix="ccd" nsURI="http://www.openhealthtools.org/mdht/uml/cda/ccd" basePackage="org.openhealthtools.mdht.uml.cda" prefix="CCD"/>
  <Ecore:EClass xmi:id="_OjEDIEV-Ed6QuJiOJFSRPQ" base_Class="_GgvgUDxbEd6JwqSGecoePg">
    <annotation>http://www.openhealthtools.org/mdht/uml/cda/annotation moodCode='EVN' classCode='ACT' code.nullFlavor='NA' templateId.root='2.16.840.1.113883.10.20.1.27' constraints.validation.error='ProblemAct_code ProblemAct_templateId ProblemAct_classCode ProblemAct_moodCode ProblemAct_id' constraints.validation.warning='ProblemAct_problemObservation'</annotation>
  </Ecore:EClass>
  <Ecore:EClass xmi:id="_fIRjkGGmEd6fgsyFIHi17Q" xmlName="ClinicalDocument" base_Class="_Ze7UsGESEd69D7zx7EkLMA">
    <annotation>http://www.openhealthtools.org/mdht/uml/cda/annotation templateId.root='2.16.840.1.113883.10.20.1' constraints.validation.error='ContinuityOfCareDocument_templateId'</annotation>
  </Ecore:EClass>
  <HDF:HL7Template xmi:id="_jGUI0HfTEd6ZeOKq_2_a9g" base_Class="_W6aMoHfTEd6ZeOKq_2_a9g" id="2.16.840.1.113883.10.20.1.24"/>
  <HDF:HL7Template xmi:id="_YC5CMHfUEd6ZeOKq_2_a9g" base_Class="_OvmR4HfUEd6ZeOKq_2_a9g" id="2.16.840.1.113883.10.20.1.8"/>
  <HDF:HL7Template xmi:id="_q_v4UHfVEd6ZeOKq_2_a9g" base_Class="_dAAnAHfVEd6ZeOKq_2_a9g" id="2.16.840.1.113883.10.20.1.34"/>
  <HDF:HL7Template xmi:id="_VImT8HfXEd6ZeOKq_2_a9g" base_Class="_Ze7UsGESEd69D7zx7EkLMA" id="2.16.840.1.113883.10.20.1"/>
  <HDF:HL7Template xmi:id="_ug3cYHfaEd6ZeOKq_2_a9g" base_Class="_rJDcIHDAEd6eItyqb1FoWg" id="2.16.840.1.113883.10.20.1.3"/>
  <HDF:HL7Template xmi:id="_dumwMHo3Ed6UPbrR4QTFoQ" base_Class="_mO8KEHJWEd6cacuAk5qrhg" id="2.16.840.1.113883.10.20.1.21"/>
  <HDF:HL7Template xmi:id="_wOJNoHo3Ed6UPbrR4QTFoQ" base_Class="_AwcXkGaKEd6Hk_bPOfEjYA" id="2.16.840.1.113883.10.20.1.41"/>
  <HDF:HL7Template xmi:id="_7FE68Ho3Ed6UPbrR4QTFoQ" base_Class="_7tlrAGwWEd6q29qQGU-SBA" id="2.16.840.1.113883.10.20.1.22"/>
  <HDF:HL7Template xmi:id="_LCCG4Ho4Ed6UPbrR4QTFoQ" base_Class="_5ET7oGwWEd6q29qQGU-SBA" id="2.16.840.1.113883.10.20.1.4"/>
  <HDF:HL7Template xmi:id="_W0JDAHo4Ed6UPbrR4QTFoQ" base_Class="_9QFYgGwWEd6q29qQGU-SBA" id="2.16.840.1.113883.10.20.1.23"/>
  <HDF:HL7Template xmi:id="_dqEZAHo4Ed6UPbrR4QTFoQ" base_Class="_CinbMHDPEd6eItyqb1FoWg" id="2.16.840.1.113883.10.20.1.6"/>
  <HDF:HL7Template xmi:id="_4ua6sHo5Ed6UPbrR4QTFoQ" base_Class="_3cYVwGaKEd6Hk_bPOfEjYA" id="2.16.840.1.113883.10.20.1.48"/>
  <HDF:HL7Template xmi:id="_ECBV4Ho6Ed6UPbrR4QTFoQ" base_Class="_GgvgUDxbEd6JwqSGecoePg" id="2.16.840.1.113883.10.20.1.27"/>
  <HDF:HL7Template xmi:id="_JHA5wHo6Ed6UPbrR4QTFoQ" base_Class="_T6kfkGaJEd6Hk_bPOfEjYA" id="2.16.840.1.113883.10.20.1.51"/>
  <HDF:HL7Template xmi:id="_N2xNcHo6Ed6UPbrR4QTFoQ" base_Class="_IjIO0DxbEd6JwqSGecoePg" id="2.16.840.1.113883.10.20.1.28"/>
  <HDF:HL7Template xmi:id="_S9yxoHo6Ed6UPbrR4QTFoQ" base_Class="_vjPMEGaGEd6Hk_bPOfEjYA" id="2.16.840.1.113883.10.20.1.11"/>
  <HDF:HL7Template xmi:id="_dbSEMHo6Ed6UPbrR4QTFoQ" base_Class="_TrwngGaJEd6Hk_bPOfEjYA" id="2.16.840.1.113883.10.20.1.50"/>
  <HDF:HL7Template xmi:id="_ioUJwHo6Ed6UPbrR4QTFoQ" base_Class="_MQHZEHDAEd6eItyqb1FoWg" id="2.16.840.1.113883.10.20.1.31"/>
  <HDF:HL7Template xmi:id="_n00D0Ho6Ed6UPbrR4QTFoQ" base_Class="_Ht_RsHDAEd6eItyqb1FoWg" id="2.16.840.1.113883.10.20.1.32"/>
  <HDF:HL7Template xmi:id="_ueyBcHo6Ed6UPbrR4QTFoQ" base_Class="_Wa2uwHDAEd6eItyqb1FoWg" id="2.16.840.1.113883.10.20.1.33"/>
  <HDF:HL7Template xmi:id="_zFaOUHo6Ed6UPbrR4QTFoQ" base_Class="_UOVM0HDAEd6eItyqb1FoWg" id="2.16.840.1.113883.10.20.1.15"/>
  <HDF:HL7Template xmi:id="_RJAToHrREd68l9lQ-TLEBQ" base_Class="_PgsSAHrREd68l9lQ-TLEBQ" id="2.16.840.1.113883.10.20.1.2"/>
  <HDF:HL7Template xmi:id="_sPJagHrREd68l9lQ-TLEBQ" base_Class="_qV72IHrREd68l9lQ-TLEBQ" id="2.16.840.1.113883.10.20.1.18"/>
  <HDF:HL7Template xmi:id="_BUtfAHrSEd68l9lQ-TLEBQ" base_Class="__XC4cHrREd68l9lQ-TLEBQ" id="2.16.840.1.113883.10.20.1.54"/>
  <HDF:HL7Template xmi:id="_J6uSkHrSEd68l9lQ-TLEBQ" base_Class="_ILkpIHrSEd68l9lQ-TLEBQ" id="2.16.840.1.113883.10.20.1.55"/>
  <HDF:HL7Template xmi:id="_g5EdoHrSEd68l9lQ-TLEBQ" base_Class="_e8n_EHrSEd68l9lQ-TLEBQ" id="2.16.840.1.113883.10.20.1.39"/>
  <HDF:HL7Template xmi:id="_Xv1y0HrTEd68l9lQ-TLEBQ" base_Class="_V3Jy4HrTEd68l9lQ-TLEBQ" id="2.16.840.1.113883.10.20.1.57"/>
  <HDF:HL7Template xmi:id="_ohNTUIHbEd6Ncrr6L3Ublw" base_Class="_joG2YIHbEd6Ncrr6L3Ublw" id="2.16.840.1.113883.10.20.1.42"/>
  <HDF:HL7Template xmi:id="_940IIIiAEd66cKocspyVOg" base_Class="_7TVToIiAEd66cKocspyVOg" id="2.16.840.1.113883.10.20.1.14"/>
  <HDF:HL7Template xmi:id="_azcEYIiBEd66cKocspyVOg" base_Class="_VL2w0IiBEd66cKocspyVOg" id="2.16.840.1.113883.10.20.1.46"/>
  <HDF:HL7Template xmi:id="_ovERwIiBEd66cKocspyVOg" base_Class="_lgLT4IiBEd66cKocspyVOg" id="2.16.840.1.113883.10.20.1.47"/>
  <HDF:HL7Template xmi:id="_4sxEkIiBEd66cKocspyVOg" base_Class="_2QJRIIiBEd66cKocspyVOg" id="2.16.840.1.113883.10.20.1.45"/>
  <HDF:HL7Template xmi:id="_P0aVkIiCEd66cKocspyVOg" base_Class="_8Xj7UIiBEd66cKocspyVOg" id="2.16.840.1.113883.10.20.1.53"/>
  <Default:Documentation xmi:id="_ys1AIIjpEd66cKocspyVOg" base_Comment="_yswHoIjpEd66cKocspyVOg"/>
  <Default:Documentation xmi:id="_NUuEwIjqEd66cKocspyVOg" base_Comment="_NUpzUIjqEd66cKocspyVOg"/>
  <Default:Documentation xmi:id="_0h1nsIjuEd66cKocspyVOg" base_Comment="_0hxWQIjuEd66cKocspyVOg"/>
  <Default:Documentation xmi:id="_CfaV0IjvEd66cKocspyVOg" base_Comment="_CfWEYIjvEd66cKocspyVOg"/>
  <HDF:HL7Template xmi:id="_p_Lr0IjvEd66cKocspyVOg" base_Class="_p_LEwIjvEd66cKocspyVOg" id="2.16.840.1.113883.10.20.1.14"/>
  <Default:Documentation xmi:id="_p_Lr0YjvEd66cKocspyVOg" base_Comment="_p_LEwYjvEd66cKocspyVOg"/>
  <Default:Documentation xmi:id="_1XdWMIjwEd66cKocspyVOg" base_Comment="_1XZEwIjwEd66cKocspyVOg"/>
  <Ecore:EClass xmi:id="_JrSIoI27Ed6BUommmCUt6w" base_Class="_OvmR4HfUEd6ZeOKq_2_a9g">
    <annotation>http://www.openhealthtools.org/mdht/uml/cda/annotation code.codeSystemName='LOINC' constraints.validation.error='MedicationSection_templateId MedicationSection_code MedicationSection_title' templateId.root='2.16.840.1.113883.10.20.1.8' code.displayName='History of medication use' code.codeSystem='2.16.840.1.113883.6.1' code.code='10160-0'</annotation>
  </Ecore:EClass>
  <Ecore:EClass xmi:id="_J00fII27Ed6BUommmCUt6w" base_Class="_IjIO0DxbEd6JwqSGecoePg">
    <annotation>http://www.openhealthtools.org/mdht/uml/cda/annotation moodCode='EVN' classCode='OBS' statusCode.codeSystemName='ActStatus' code.codeSystemName='ProblemTypeCode' constraints.validation.info='ProblemObservation_code' statusCode.codeSystem='2.16.840.1.113883.5.14' templateId.root='2.16.840.1.113883.10.20.1.28' constraints.validation.error='ProblemObservation_templateId ProblemObservation_moodCode ProblemObservation_statusCode' code.codeSystemVersion='20061017' statusCode.code='completed' code.codeSystem='2.16.840.1.113883.1.11.20.14' constraints.validation.warning='ProblemObservation_effectiveTime'</annotation>
  </Ecore:EClass>
  <Ecore:EClass xmi:id="_J1RLGo27Ed6BUommmCUt6w" base_Class="_vjPMEGaGEd6Hk_bPOfEjYA">
    <annotation>http://www.openhealthtools.org/mdht/uml/cda/annotation code.codeSystemName='LOINC' templateId.root='2.16.840.1.113883.10.20.1.11' constraints.validation.error='ProblemSection_templateId ProblemSection_code ProblemSection_title' code.displayName='Problem list' code.codeSystem='2.16.840.1.113883.6.1' code.code='11450-4' constraints.validation.warning='ProblemSection_problemAct'</annotation>
  </Ecore:EClass>
  <Ecore:EClass xmi:id="_J1t3Bo27Ed6BUommmCUt6w" base_Class="_TrwngGaJEd6Hk_bPOfEjYA">
    <annotation>http://www.openhealthtools.org/mdht/uml/cda/annotation value.codeSystemName='ProblemStatusCode' value.codeSystem='2.16.840.1.113883.1.11.20.13' templateId.root='2.16.840.1.113883.10.20.1.50' constraints.validation.error='ProblemStatus_templateId ProblemStatus_value' value.codeSystemVersion='20061017'</annotation>
  </Ecore:EClass>
  <Ecore:EClass xmi:id="_J2Ki9I27Ed6BUommmCUt6w" base_Class="_T6kfkGaJEd6Hk_bPOfEjYA">
    <annotation>http://www.openhealthtools.org/mdht/uml/cda/annotation value.codeSystemName='ProblemHealthStatusCode' code.codeSystemName='LOINC' value.codeSystem='2.16.840.1.113883.1.11.20.12' templateId.root='2.16.840.1.113883.10.20.1.51' constraints.validation.error='ProblemHealthStatus_templateId ProblemHealthStatus_code ProblemHealthStatus_value' code.displayName='Health status' code.codeSystem='2.16.840.1.113883.6.1' code.code='11323-3' value.codeSystemVersion='20061017'</annotation>
  </Ecore:EClass>
  <Ecore:EClass xmi:id="_J2nO4Y27Ed6BUommmCUt6w" base_Class="_AwcXkGaKEd6Hk_bPOfEjYA">
    <annotation>http://www.openhealthtools.org/mdht/uml/cda/annotation moodCode='EVN' classCode='OBS' statusCode.codeSystemName='ActStatus' code.codeSystemName='ActCode' templateId.root='2.16.840.1.113883.10.20.1.41' constraints.validation.error='EpisodeObservation_templateId EpisodeObservation_classCode EpisodeObservation_moodCode EpisodeObservation_statusCode' statusCode.codeSystem='2.16.840.1.113883.5.14' statusCode.code='completed' code.codeSystem='2.16.840.1.113883.5.4' code.code='ASSERTION' constraints.validation.warning='EpisodeObservation_code'</annotation>
  </Ecore:EClass>
  <Ecore:EClass xmi:id="_J3D60o27Ed6BUommmCUt6w" base_Class="_3cYVwGaKEd6Hk_bPOfEjYA">
    <annotation>http://www.openhealthtools.org/mdht/uml/cda/annotation typeCode='SBJ' templateId.root='2.16.840.1.113883.10.20.1.48' constraints.validation.error='PatientAwareness_templateId PatientAwareness_typeCode'</annotation>
  </Ecore:EClass>
  <Ecore:EClass xmi:id="_J3W1xI27Ed6BUommmCUt6w" base_Class="_5ET7oGwWEd6q29qQGU-SBA">
    <annotation>http://www.openhealthtools.org/mdht/uml/cda/annotation code.codeSystemName='LOINC' constraints.validation.error='FamilyHistorySection_templateId FamilyHistorySection_code FamilyHistorySection_title' templateId.root='2.16.840.1.113883.10.20.1.4' code.displayName='History of family member diseases' code.codeSystem='2.16.840.1.113883.6.1' code.code='10157-6'</annotation>
  </Ecore:EClass>
  <Ecore:EClass xmi:id="_J3zhto27Ed6BUommmCUt6w" base_Class="_7tlrAGwWEd6q29qQGU-SBA">
    <annotation>http://www.openhealthtools.org/mdht/uml/cda/annotation statusCode.codeSystemName='ActStatus' constraints.validation.error='FamilyHistoryObservation_templateId FamilyHistoryObservation_id FamilyHistoryObservation_statusCode' templateId.root='2.16.840.1.113883.10.20.1.22' statusCode.codeSystem='2.16.840.1.113883.5.14' statusCode.code='completed'</annotation>
  </Ecore:EClass>
  <Ecore:EClass xmi:id="_J4QNpo27Ed6BUommmCUt6w" base_Class="_9QFYgGwWEd6q29qQGU-SBA">
    <annotation>http://www.openhealthtools.org/mdht/uml/cda/annotation statusCode.codeSystemName='ActStatus' templateId.root='2.16.840.1.113883.10.20.1.23' constraints.validation.error='FamilyHistoryOrganizer_templateId FamilyHistoryOrganizer_statusCode' statusCode.codeSystem='2.16.840.1.113883.5.14' statusCode.code='completed'</annotation>
  </Ecore:EClass>
  <Ecore:EClass xmi:id="_J4s5lI27Ed6BUommmCUt6w" base_Class="_Ht_RsHDAEd6eItyqb1FoWg">
    <annotation>http://www.openhealthtools.org/mdht/uml/cda/annotation templateId.root='2.16.840.1.113883.10.20.1.32' constraints.validation.error='ResultOrganizer_templateId'</annotation>
  </Ecore:EClass>
  <Ecore:EClass xmi:id="_J4_0go27Ed6BUommmCUt6w" base_Class="_MQHZEHDAEd6eItyqb1FoWg">
    <annotation>http://www.openhealthtools.org/mdht/uml/cda/annotation templateId.root='2.16.840.1.113883.10.20.1.31' constraints.validation.error='ResultObservation_templateId'</annotation>
  </Ecore:EClass>
  <Ecore:EClass xmi:id="_J5cgco27Ed6BUommmCUt6w" base_Class="_UOVM0HDAEd6eItyqb1FoWg">
    <annotation>http://www.openhealthtools.org/mdht/uml/cda/annotation templateId.root='2.16.840.1.113883.10.20.1.15' constraints.validation.error='SocialHistorySection_templateId'</annotation>
  </Ecore:EClass>
  <Ecore:EClass xmi:id="_J5vbYo27Ed6BUommmCUt6w" base_Class="_Wa2uwHDAEd6eItyqb1FoWg">
    <annotation>http://www.openhealthtools.org/mdht/uml/cda/annotation templateId.root='2.16.840.1.113883.10.20.1.33' constraints.validation.error='SocialHistoryObservation_templateId'</annotation>
  </Ecore:EClass>
  <Ecore:EClass xmi:id="_J6MHUo27Ed6BUommmCUt6w" base_Class="_rJDcIHDAEd6eItyqb1FoWg">
    <annotation>http://www.openhealthtools.org/mdht/uml/cda/annotation code.codeSystemName='LOINC' constraints.validation.error='EncountersSection_templateId EncountersSection_code EncountersSection_title' templateId.root='2.16.840.1.113883.10.20.1.3' code.displayName='History of encounters' code.codeSystem='2.16.840.1.113883.6.1' code.code='46240-8'</annotation>
  </Ecore:EClass>
  <Ecore:EClass xmi:id="_J6ozRo27Ed6BUommmCUt6w" base_Class="_CinbMHDPEd6eItyqb1FoWg">
    <annotation>http://www.openhealthtools.org/mdht/uml/cda/annotation templateId.root='2.16.840.1.113883.10.20.1.6' constraints.validation.error='ImmunizationsSection_templateId'</annotation>
  </Ecore:EClass>
  <Ecore:EClass xmi:id="_J67uMo27Ed6BUommmCUt6w" base_Class="_mO8KEHJWEd6cacuAk5qrhg">
    <annotation>http://www.openhealthtools.org/mdht/uml/cda/annotation moodCode='EVN' classCode='ENC' code.codeSystemName='EncounterCode' constraints.validation.info='EncountersActivity_effectiveTime' templateId.root='2.16.840.1.113883.10.20.1.21' constraints.validation.error='EncountersActivity_templateId EncountersActivity_id' code.codeSystem='2.16.840.1.113883.1.11.13955' constraints.validation.warning='EncountersActivity_code'</annotation>
  </Ecore:EClass>
  <Ecore:EClass xmi:id="_J7YaKI27Ed6BUommmCUt6w" base_Class="_W6aMoHfTEd6ZeOKq_2_a9g">
    <annotation>http://www.openhealthtools.org/mdht/uml/cda/annotation templateId.root='2.16.840.1.113883.10.20.1.24' constraints.validation.error='MedicationActivity_templateId MedicationActivity_id MedicationActivity_statusCode' constraints.validation.info='MedicationActivity_medicationSeriesNumberObservation MedicationActivity_medicationStatusObservation'</annotation>
  </Ecore:EClass>
  <Ecore:EClass xmi:id="_J71GFo27Ed6BUommmCUt6w" base_Class="_dAAnAHfVEd6ZeOKq_2_a9g">
    <annotation>http://www.openhealthtools.org/mdht/uml/cda/annotation constraints.validation.info='SupplyActivity_medicationStatusObservation' constraints.validation.error='SupplyActivity_templateId SupplyActivity_id SupplyActivity_statusCode' templateId.root='2.16.840.1.113883.10.20.1.34'</annotation>
  </Ecore:EClass>
  <Ecore:EClass xmi:id="_J8RyBo27Ed6BUommmCUt6w" base_Class="_PgsSAHrREd68l9lQ-TLEBQ">
    <annotation>http://www.openhealthtools.org/mdht/uml/cda/annotation code.codeSystemName='LOINC' constraints.validation.error='AlertsSection_templateId AlertsSection_code AlertsSection_title' templateId.root='2.16.840.1.113883.10.20.1.2' code.displayName='Allergies, adverse reactions, alerts' code.codeSystem='2.16.840.1.113883.6.1' code.code='48765-2'</annotation>
  </Ecore:EClass>
  <Ecore:EClass xmi:id="_J8ud8I27Ed6BUommmCUt6w" base_Class="_qV72IHrREd68l9lQ-TLEBQ">
    <annotation>http://www.openhealthtools.org/mdht/uml/cda/annotation statusCode.codeSystemName='ActStatus' templateId.root='2.16.840.1.113883.10.20.1.18' constraints.validation.error='AlertObservation_templateId AlertObservation_statusCode' statusCode.codeSystem='2.16.840.1.113883.5.14' statusCode.code='completed'</annotation>
  </Ecore:EClass>
  <Ecore:EClass xmi:id="_J9BY5I27Ed6BUommmCUt6w" base_Class="__XC4cHrREd68l9lQ-TLEBQ">
    <annotation>http://www.openhealthtools.org/mdht/uml/cda/annotation statusCode.codeSystemName='ActStatus' templateId.root='2.16.840.1.113883.10.20.1.54' constraints.validation.error='ReactionObservation_templateId ReactionObservation_statusCode' statusCode.codeSystem='2.16.840.1.113883.5.14' statusCode.code='completed'</annotation>
  </Ecore:EClass>
  <Ecore:EClass xmi:id="_J9eE1I27Ed6BUommmCUt6w" base_Class="_ILkpIHrSEd68l9lQ-TLEBQ">
    <annotation>http://www.openhealthtools.org/mdht/uml/cda/annotation statusCode.codeSystemName='ActStatus' code.codeSystemName='ActCode' statusCode.codeSystem='2.16.840.1.113883.5.14' constraints.validation.error='SeverityObservation_templateId SeverityObservation_code SeverityObservation_statusCode SeverityObservation_value' templateId.root='2.16.840.1.113883.10.20.1.55' statusCode.code='completed' code.displayName='Severity observation' code.codeSystem='2.16.840.1.113883.5.4' code.code='SEV'</annotation>
  </Ecore:EClass>
  <Ecore:EClass xmi:id="_J96wyI27Ed6BUommmCUt6w" base_Class="_e8n_EHrSEd68l9lQ-TLEBQ">
    <annotation>http://www.openhealthtools.org/mdht/uml/cda/annotation value.codeSystemName='AlertStatusCode' value.codeSystem='2.16.840.1.113883.1.11.20.3' templateId.root='2.16.840.1.113883.10.20.1.39' constraints.validation.error='AlertStatusObservation_templateId AlertStatusObservation_value' value.codeSystemVersion='20061017'</annotation>
  </Ecore:EClass>
  <Ecore:EClass xmi:id="_J-W1pI27Ed6BUommmCUt6w" base_Class="_V3Jy4HrTEd68l9lQ-TLEBQ">
    <annotation>http://www.openhealthtools.org/mdht/uml/cda/annotation moodCode='EVN' classCode='OBS' statusCode.codeSystemName='ActStatus' code.codeSystemName='LOINC' statusCode.codeSystem='2.16.840.1.113883.5.14' constraints.validation.error='StatusObservation_templateId StatusObservation_classCode StatusObservation_moodCode StatusObservation_code StatusObservation_statusCode StatusObservation_value' templateId.root='2.16.840.1.113883.10.20.1.57' statusCode.code='completed' code.displayName='Status' code.codeSystem='2.16.840.1.113883.6.1' code.code='33999-4'</annotation>
  </Ecore:EClass>
  <Ecore:EClass xmi:id="_J-zhmo27Ed6BUommmCUt6w" base_Class="_joG2YIHbEd6Ncrr6L3Ublw">
    <annotation>http://www.openhealthtools.org/mdht/uml/cda/annotation templateId.root='2.16.840.1.113883.10.20.1.42' constraints.validation.error='CauseOfDeathObservation_templateId'</annotation>
  </Ecore:EClass>
  <Ecore:EClass xmi:id="_J_HDko27Ed6BUommmCUt6w" base_Class="_7TVToIiAEd66cKocspyVOg">
    <annotation>http://www.openhealthtools.org/mdht/uml/cda/annotation code.codeSystemName='LOINC' constraints.validation.error='ResultsSection_templateId ResultsSection_code ResultsSection_title' templateId.root='2.16.840.1.113883.10.20.1.14' code.displayName='Relevant diagnostic tests and/or laboratory data' code.codeSystem='2.16.840.1.113883.6.1' code.code='30954-2'</annotation>
  </Ecore:EClass>
  <Ecore:EClass xmi:id="_J_jIdo27Ed6BUommmCUt6w" base_Class="_VL2w0IiBEd66cKocspyVOg">
    <annotation>http://www.openhealthtools.org/mdht/uml/cda/annotation moodCode='EVN' classCode='OBS' code.codeSystemName='LOINC' templateId.root='2.16.840.1.113883.10.20.1.46' constraints.validation.error='MedicationSeriesNumberObservation_templateId MedicationSeriesNumberObservation_statusCode MedicationSeriesNumberObservation_code MedicationSeriesNumberObservation_value' code.displayName='Dose number' code.codeSystem='2.16.840.1.113883.6.1' code.code='30973-2'</annotation>
  </Ecore:EClass>
  <Ecore:EClass xmi:id="_J__0aI27Ed6BUommmCUt6w" base_Class="_lgLT4IiBEd66cKocspyVOg">
    <annotation>http://www.openhealthtools.org/mdht/uml/cda/annotation value.codeSystemName='MedicationStatusCode' value.codeSystem='2.16.840.1.113883.1.11.20.7' templateId.root='2.16.840.1.113883.10.20.1.47' constraints.validation.error='MedicationStatusObservation_templateId MedicationStatusObservation_value' value.codeSystemVersion='20061017'</annotation>
  </Ecore:EClass>
  <Ecore:EClass xmi:id="_KAcgU427Ed6BUommmCUt6w" base_Class="_2QJRIIiBEd66cKocspyVOg">
    <annotation>http://www.openhealthtools.org/mdht/uml/cda/annotation typeCode='LOC' constraints.validation.error='EncounterLocation_templateId' templateId.root='2.16.840.1.113883.10.20.1.45'</annotation>
  </Ecore:EClass>
  <Ecore:EClass xmi:id="_KAvbQo27Ed6BUommmCUt6w" base_Class="_8Xj7UIiBEd66cKocspyVOg">
    <annotation>http://www.openhealthtools.org/mdht/uml/cda/annotation templateId.root='2.16.840.1.113883.10.20.1.53' constraints.validation.error='Product_templateId'</annotation>
  </Ecore:EClass>
  <Ecore:EClass xmi:id="_KBMHOI27Ed6BUommmCUt6w" base_Class="_p_LEwIjvEd66cKocspyVOg">
    <annotation>http://www.openhealthtools.org/mdht/uml/cda/annotation code.codeSystemName='LOINC' constraints.validation.error='ProceduresSection_templateId ProceduresSection_code ProceduresSection_title' templateId.root='2.16.840.1.113883.10.20.1.14' code.displayName='History of procedures' code.codeSystem='2.16.840.1.113883.6.1' code.code='47519-4'</annotation>
  </Ecore:EClass>
</xmi:XMI>
