<?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:MDMI="http://org.mdmi.uml.profile/1" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML">
  <uml:Class xmi:id="_2LWg0BSVEeGGzu7fmW9pXw" name="EncountersSection">
    <ownedComment xmi:id="_2L7IkBSVEeGGzu7fmW9pXw" annotatedElement="_2LWg0BSVEeGGzu7fmW9pXw">
      <body>This section lists and describes any healthcare encounters pertinent to the patient's current health status or historical health history. An Encounter is an interaction, regardless of the setting, between a patient and a practitioner who is vested with primary responsibility for diagnosing, evaluating, or treating the patient's condition. It may include visits, appointments, as well as non face-to-face interactions. It is also a contact between a patient and a practitioner who has primary responsibility for assessing and treating the patient at a given contact, exercising independent judgment. This section may contain all encounters for the time period being summarized, but should include notable encounters.</body>
    </ownedComment>
    <generalization xmi:id="_KVkvoBVgEeGQCvUGzi1kDQ" general="_4yj2wBVdEeGQCvUGzi1kDQ">
      <ownedComment xmi:id="_pkUdgHauEeGK39q3kclbsA">
        <body>couple</body>
      </ownedComment>
    </generalization>
    <ownedAttribute xmi:id="_qg2HIDFVEeGbx9xBxK_Upg" name="encounterActivities" type="_2LayQBSVEeGGzu7fmW9pXw" association="_qg2uMDFVEeGbx9xBxK_Upg">
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_8Q0I0DFVEeGbx9xBxK_Upg" value="1"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_8QzhwDFVEeGbx9xBxK_Upg" value="*"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_mURhIFGjEeG3H6xvuD7Z0Q" name="code" visibility="private" redefinedProperty="_4yj2yBVdEeGQCvUGzi1kDQ">
      <type xmi:type="uml:Class" href="pathmap://DATATYPES_MODEL/datatypes.uml#_Z1EGIDxaEd6JwqSGecoePg"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_mUbSIFGjEeG3H6xvuD7Z0Q" name="text" visibility="private" aggregation="composite" redefinedProperty="_4yj2yhVdEeGQCvUGzi1kDQ">
      <type xmi:type="uml:Class" href="pathmap://CDA_MODEL/cda.uml#_0jvq8E8AEd6ohP_YEXs4Wg"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_mUbSIlGjEeG3H6xvuD7Z0Q" value="1"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_mUbSIVGjEeG3H6xvuD7Z0Q" value="1"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_mUbSJFGjEeG3H6xvuD7Z0Q" name="title" visibility="private" redefinedProperty="_4yj2yRVdEeGQCvUGzi1kDQ">
      <type xmi:type="uml:Class" href="pathmap://DATATYPES_MODEL/datatypes.uml#_EaTNsDxaEd6JwqSGecoePg"/>
    </ownedAttribute>
  </uml:Class>
  <CDA:CDATemplate xmi:id="_2LXH4BSVEeGGzu7fmW9pXw" base_Class="_2LWg0BSVEeGGzu7fmW9pXw" templateId="2.16.840.1.113883.10.20.22.2.22.1">
    <ruleId>CONF:10387</ruleId>
  </CDA:CDATemplate>
  <CDA:ConstraintValidation xmi:id="_2L6hhBSVEeGGzu7fmW9pXw" severity="WARNING">
    <ruleId>CONF-457</ruleId>
  </CDA:ConstraintValidation>
  <CDA:CodeSystemConstraint xmi:id="_2LYWARSVEeGGzu7fmW9pXw" code="46240-8" displayName="History of encounters">
    <reference href="pathmap://TERM_MODEL/CodeSystems.uml#_3-cwsCWrEd-iTYfpNb4PkQ"/>
    <ruleId>CONF-454</ruleId>
    <ruleId>CONF-455</ruleId>
  </CDA:CodeSystemConstraint>
  <CDA:PropertyValidation xmi:id="_2LZkIRSVEeGGzu7fmW9pXw">
    <ruleId>CONF-456</ruleId>
  </CDA:PropertyValidation>
  <CDA:PropertyValidation xmi:id="_2LaLMBSVEeGGzu7fmW9pXw">
    <ruleId>CONF-453</ruleId>
  </CDA:PropertyValidation>
  <uml:Class xmi:id="_4yj2wBVdEeGQCvUGzi1kDQ" name="EncountersSectionEntriesOptional">
    <ownedComment xmi:id="_4yj2wRVdEeGQCvUGzi1kDQ" annotatedElement="_4yj2wBVdEeGQCvUGzi1kDQ">
      <body>This section lists and describes any healthcare encounters pertinent to the patient's current health status or historical health history. An Encounter is an interaction, regardless of the setting, between a patient and a practitioner who is vested with primary responsibility for diagnosing, evaluating, or treating the patient's condition. It may include visits, appointments, as well as non face-to-face interactions. It is also a contact between a patient and a practitioner who has primary responsibility for assessing and treating the patient at a given contact, exercising independent judgment. This section may contain all encounters for the time period being summarized, but should include notable encounters.</body>
    </ownedComment>
    <generalization xmi:id="_4yj2xxVdEeGQCvUGzi1kDQ">
      <general xmi:type="uml:Class" href="pathmap://CDA_MODEL/cda.uml#_qIf_wDxXEd6JwqSGecoePg"/>
    </generalization>
    <ownedAttribute xmi:id="_4yj2yBVdEeGQCvUGzi1kDQ" name="code" visibility="private">
      <type xmi:type="uml:Class" href="pathmap://DATATYPES_MODEL/datatypes.uml#_Z1EGIDxaEd6JwqSGecoePg"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_4yj2yRVdEeGQCvUGzi1kDQ" name="title" visibility="private">
      <type xmi:type="uml:Class" href="pathmap://DATATYPES_MODEL/datatypes.uml#_EaTNsDxaEd6JwqSGecoePg"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_4yj2yhVdEeGQCvUGzi1kDQ" name="text" visibility="private" aggregation="composite">
      <type xmi:type="uml:Class" href="pathmap://CDA_MODEL/cda.uml#_0jvq8E8AEd6ohP_YEXs4Wg"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_4yj2zBVdEeGQCvUGzi1kDQ" value="1"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_4yj2yxVdEeGQCvUGzi1kDQ" value="1"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_tEKYcDFVEeGbx9xBxK_Upg" name="encounterActivities" type="_2LayQBSVEeGGzu7fmW9pXw" association="_tEK_gDFVEeGbx9xBxK_Upg">
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_7o2J4TFVEeGbx9xBxK_Upg"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_7o2J4DFVEeGbx9xBxK_Upg" value="*"/>
    </ownedAttribute>
  </uml:Class>
  <CDA:CDATemplate xmi:id="_aJLnwBVfEeGQCvUGzi1kDQ" base_Class="_4yj2wBVdEeGQCvUGzi1kDQ" templateId="2.16.840.1.113883.10.20.22.2.22" assigningAuthorityName="HL7">
    <ruleId>CONF:10386</ruleId>
  </CDA:CDATemplate>
  <uml:Class xmi:id="_2LayQBSVEeGGzu7fmW9pXw" name="EncounterActivities">
    <ownedComment xmi:id="_PZy1MCwOEeGKLc4ckmfDag">
      <body>This clinical statement describes the interactions between the patient and clinicians. Interactions include in-person encounters, telephone conversations, and email exchanges.</body>
    </ownedComment>
    <ownedRule xmi:id="_a_2b4CwaEeGKLc4ckmfDag" name="codeOriginalText" constrainedElement="_2LayQBSVEeGGzu7fmW9pXw">
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_dbyS0CwaEeGKLc4ckmfDag">
        <language>Analysis</language>
        <language>OCL</language>
        <body>code, if present, SHOULD contain zero or one [0..1] originalText</body>
        <body>not code.oclIsUndefined() implies not code.originalText.oclIsUndefined()</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_fTZ7wCwaEeGKLc4ckmfDag" name="codeOriginalTextReference" constrainedElement="_a_2b4CwaEeGKLc4ckmfDag">
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_h1T30CwaEeGKLc4ckmfDag">
        <language>Analysis</language>
        <language>OCL</language>
        <body>originalText, if present, SHOULD contain zero or one [0..1] reference</body>
        <body>not self.code.originalText.oclIsUndefined() implies not self.code.originalText.reference.value.oclIsUndefined()</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_7xneQOM0EeGfv4R-kzpM0g" name="referenceValue" constrainedElement="_ktatYCwaEeGKLc4ckmfDag">
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_9wOgAOM0EeGfv4R-kzpM0g">
        <language>Analysis</language>
        <language>OCL</language>
        <body>reference, if present, SHOULD contain zero or one [0..1] @value</body>
        <body>not self.code.originalText.reference.oclIsUndefined() implies not self.code.originalText.reference.value.oclIsUndefined()</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_ktatYCwaEeGKLc4ckmfDag" name="codeOriginalTextReferenceValue" constrainedElement="_fTZ7wCwaEeGKLc4ckmfDag">
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_m7qtoCwaEeGKLc4ckmfDag">
        <language>Analysis</language>
        <language>OCL</language>
        <body>reference/@value SHALL begin with a '#' and SHALL point to its corresponding narrative (using the approach defined in CDA Release 2, section 4.3.5.1)</body>
        <body>not self.code.originalText.reference.value.oclIsUndefined() implies not self.getSection().text.getText(self.code.originalText.reference.value.substring(2, self.code.originalText.reference.value.size())).oclIsUndefined()</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_EywuoCwaEeGKLc4ckmfDag" name="serviceDeliveryTypeCode" constrainedElement="_2LayQBSVEeGGzu7fmW9pXw">
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_JwPVQCwaEeGKLc4ckmfDag">
        <language>Analysis</language>
        <language>OCL</language>
        <body>EncounterActivities with target entry Service Delivery Location SHALL contain exactly one [1..1] @typeCode=&quot;LOC&quot; Location (CodeSystem: 2.16.840.1.113883.5.1002 HL7ActRelationshipType) STATIC</body>
        <body>self.participant->select(par : cda::Participant2 | par.participantRole.oclIsKindOf(consol::ServiceDeliveryLocation))->forAll(p : cda::Participant2 | p.typeCode=vocab::ParticipationType::LOC)</body>
      </specification>
    </ownedRule>
    <ownedRule xmi:id="_soEP8EglEeSfpbeq3Ftc1g" name="sdtcDDCFromNUBCOrDD">
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_soEP8UglEeSfpbeq3Ftc1g">
        <language>Analysis</language>
        <language>OCL</language>
        <body>sdtc:dischargeDispositionCode SHALL be selected from ValueSet 2.16.840.1.113883.3.88.12.80.33 NUBC UB-04 FL17-Patient Status DYNAMIC or, if access to NUBC is unavailable, from CodeSystem 2.16.840.1.113883.12.112 HL7 Discharge Disposition</body>
        <body>(self.sDTCDischargeDispositionCode->isEmpty() or self.sDTCDischargeDispositionCode->exists(element | element.isNullFlavorUndefined())) implies (self.sDTCDischargeDispositionCode->forAll( element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CE) and let value : datatypes::CE = element.oclAsType(datatypes::CE) in (value.codeSystem = '2.16.840.1.113883.6.301.5' or value.codeSystem = '2.16.840.1.113883.12.112') and not value.code.oclIsUndefined()))</body>
      </specification>
    </ownedRule>
    <generalization xmi:id="_2LttMBSVEeGGzu7fmW9pXw">
      <general xmi:type="uml:Class" href="pathmap://CDA_MODEL/cda.uml#_AAXtEEbvEd6besF9iFIJkQ"/>
    </generalization>
    <ownedAttribute xmi:id="_2LaySxSVEeGGzu7fmW9pXw" name="classCode" visibility="private" isReadOnly="true">
      <type xmi:type="uml:Enumeration" href="pathmap://VOCAB_MODEL/vocab.uml#__yVdYEDcEd6xYZuu1VKCVw"/>
      <defaultValue xmi:type="uml:InstanceValue" xmi:id="_2LayTBSVEeGGzu7fmW9pXw" name="ENC">
        <type xmi:type="uml:Enumeration" href="pathmap://VOCAB_MODEL/vocab.uml#__yVdYEDcEd6xYZuu1VKCVw"/>
        <instance xmi:type="uml:EnumerationLiteral" href="pathmap://VOCAB_MODEL/vocab.uml#__yVdeEDcEd6xYZuu1VKCVw"/>
      </defaultValue>
    </ownedAttribute>
    <ownedAttribute xmi:id="_2LayTRSVEeGGzu7fmW9pXw" name="moodCode" visibility="private" isReadOnly="true">
      <type xmi:type="uml:Enumeration" href="pathmap://VOCAB_MODEL/vocab.uml#__yeW3UDcEd6xYZuu1VKCVw"/>
      <defaultValue xmi:type="uml:InstanceValue" xmi:id="_2LayThSVEeGGzu7fmW9pXw" name="EVN">
        <type xmi:type="uml:Enumeration" href="pathmap://VOCAB_MODEL/vocab.uml#__yeW3UDcEd6xYZuu1VKCVw"/>
        <instance xmi:type="uml:EnumerationLiteral" href="pathmap://VOCAB_MODEL/vocab.uml#__yeW30DcEd6xYZuu1VKCVw"/>
      </defaultValue>
    </ownedAttribute>
    <ownedAttribute xmi:id="_2LayTxSVEeGGzu7fmW9pXw" name="id" visibility="private">
      <type xmi:type="uml:Class" href="pathmap://DATATYPES_MODEL/datatypes.uml#_culQ8DxaEd6JwqSGecoePg"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_2LayURSVEeGGzu7fmW9pXw" value="1"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_2LayUBSVEeGGzu7fmW9pXw" value="*"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_2LayUhSVEeGGzu7fmW9pXw" name="code" visibility="private">
      <type xmi:type="uml:Class" href="pathmap://DATATYPES_MODEL/datatypes.uml#_VKl7EDxaEd6JwqSGecoePg"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_vilWkSwOEeGKLc4ckmfDag"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_vilWkCwOEeGKLc4ckmfDag" value="1"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_2LayUxSVEeGGzu7fmW9pXw" name="effectiveTime" visibility="private" aggregation="composite">
      <type xmi:type="uml:Class" href="pathmap://DATATYPES_MODEL/datatypes.uml#_QYeW4D5-Ed6cla2oXsPtlA"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_KsXnUSwPEeGKLc4ckmfDag" value="1"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_KsXnUCwPEeGKLc4ckmfDag" value="1"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_2LayWxSVEeGGzu7fmW9pXw" name="serviceDeliveryLocation" association="_2Lg44BSVEeGGzu7fmW9pXw">
      <type xmi:type="uml:Class" href="consol-other.uml#_2LiHABSVEeGGzu7fmW9pXw"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_2LayXRSVEeGGzu7fmW9pXw"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_2LayXBSVEeGGzu7fmW9pXw" value="*"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_6DavkBU6EeGbmN_W114JUw" name="indication" association="_6DavkhU6EeGbmN_W114JUw">
      <type xmi:type="uml:Class" href="consol-other.uml#_sHrUoBUSEeG6PvUxSTZnaw"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_hFfwASwQEeGKLc4ckmfDag"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_hFfwACwQEeGKLc4ckmfDag" value="*"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_62c0QG65EeGeVrQbtyMiPg" name="encounterPerformer" type="_D5azMCwXEeGKLc4ckmfDag" association="_62epcG65EeGeVrQbtyMiPg">
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_LD-y0W66EeGeVrQbtyMiPg"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_LD-y0G66EeGeVrQbtyMiPg" value="*"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_2T934OM2EeGfv4R-kzpM0g" name="encounterDiagnosis" type="_Ker6MOM2EeGfv4R-kzpM0g" association="_2UHo4OM2EeGfv4R-kzpM0g">
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_4FxzwOM2EeGfv4R-kzpM0g"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_4Fop0OM2EeGfv4R-kzpM0g" value="*"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_0IhGsJAOEeKDcJPVSJHobw" name="sDTCDischargeDispositionCode" visibility="private" aggregation="composite">
      <ownedComment xmi:id="_33Mt8KbCEeKAJ7JddNoP1Q">
        <body>The prefix sdtc: SHALL be bound to the namespace &quot;urn:hl7-org:sdtc&quot;. The use of the namespace provides a necessary extension to CDA R2 for the use of the dischargeDispositionCode element.</body>
      </ownedComment>
      <type xmi:type="uml:Class" href="pathmap://DATATYPES_MODEL/datatypes.uml#_Z1EGIDxaEd6JwqSGecoePg"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_UFHmMJAPEeKDcJPVSJHobw"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_UFG_IJAPEeKDcJPVSJHobw" value="1"/>
      <redefinedProperty href="pathmap://CDA_MODEL/cda.uml#_eCTm4I_1EeKDcJPVSJHobw"/>
    </ownedAttribute>
    <nestedClassifier xmi:type="uml:Class" xmi:id="_D5azMCwXEeGKLc4ckmfDag" name="EncounterPerformer">
      <ownedComment xmi:id="_jO95wCwXEeGKLc4ckmfDag">
        <body>INLINE</body>
      </ownedComment>
      <generalization xmi:id="_D5azMSwXEeGKLc4ckmfDag">
        <general xmi:type="uml:Class" href="pathmap://CDA_MODEL/cda.uml#_HP8qoEcaEd6besF9iFIJkQ"/>
      </generalization>
      <ownedAttribute xmi:id="_-WBScG65EeGeVrQbtyMiPg" name="encounterPerformerAssignedEntity" type="_I1LikCwXEeGKLc4ckmfDag" aggregation="composite" association="_-WDHoG65EeGeVrQbtyMiPg">
        <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_F7UP4W66EeGeVrQbtyMiPg" value="1"/>
        <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_F7UP4G66EeGeVrQbtyMiPg" value="1"/>
        <redefinedProperty href="pathmap://CDA_MODEL/cda.uml#_toc7gUoYEd6c3qsAxlFHaQ"/>
      </ownedAttribute>
      <nestedClassifier xmi:type="uml:Class" xmi:id="_I1LikCwXEeGKLc4ckmfDag" name="EncounterPerformerAssignedEntity">
        <generalization xmi:id="_I1LikSwXEeGKLc4ckmfDag">
          <general xmi:type="uml:Class" href="pathmap://CDA_MODEL/cda.uml#_6qmVsEcDEd6besF9iFIJkQ"/>
        </generalization>
        <ownedAttribute xmi:id="_Ja3pkCwXEeGKLc4ckmfDag" name="code" visibility="private" aggregation="composite">
          <type xmi:type="uml:Class" href="pathmap://DATATYPES_MODEL/datatypes.uml#_Z1EGIDxaEd6JwqSGecoePg"/>
          <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_Ja3pkiwXEeGKLc4ckmfDag"/>
          <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_Ja3pkSwXEeGKLc4ckmfDag" value="1"/>
          <redefinedProperty href="pathmap://CDA_MODEL/cda.uml#_CDS1wEoeEd6c3qsAxlFHaQ"/>
        </ownedAttribute>
      </nestedClassifier>
    </nestedClassifier>
  </uml:Class>
  <uml:Association xmi:id="_2Lg44BSVEeGGzu7fmW9pXw" memberEnd="_2LayWxSVEeGGzu7fmW9pXw _2Lg44RSVEeGGzu7fmW9pXw">
    <ownedEnd xmi:id="_2Lg44RSVEeGGzu7fmW9pXw" type="_2LayQBSVEeGGzu7fmW9pXw" association="_2Lg44BSVEeGGzu7fmW9pXw"/>
  </uml:Association>
  <uml:Association xmi:id="_6DavkhU6EeGbmN_W114JUw" memberEnd="_6DavkBU6EeGbmN_W114JUw _6DavkxU6EeGbmN_W114JUw">
    <ownedEnd xmi:id="_6DavkxU6EeGbmN_W114JUw" type="_2LayQBSVEeGGzu7fmW9pXw" association="_6DavkhU6EeGbmN_W114JUw"/>
  </uml:Association>
  <CDA:CDATemplate xmi:id="_2LayXhSVEeGGzu7fmW9pXw" base_Class="_2LayQBSVEeGGzu7fmW9pXw" templateId="2.16.840.1.113883.10.20.22.4.49" assigningAuthorityName="HL7">
    <ruleId>CONF:8712, CONF:26353</ruleId>
  </CDA:CDATemplate>
  <CDA:ConstraintValidation xmi:id="_2Ld1kBSVEeGGzu7fmW9pXw" severity="INFO"/>
  <CDA:ConstraintValidation xmi:id="_2LecoBSVEeGGzu7fmW9pXw" severity="INFO"/>
  <CDA:ConstraintValidation xmi:id="_2LecoRSVEeGGzu7fmW9pXw" severity="INFO"/>
  <CDA:ConstraintValidation xmi:id="_2LfDsBSVEeGGzu7fmW9pXw">
    <ruleId>CONF-470</ruleId>
  </CDA:ConstraintValidation>
  <CDA:PropertyValidation xmi:id="_2LbZUBSVEeGGzu7fmW9pXw" base_Property="_2LaySxSVEeGGzu7fmW9pXw">
    <ruleId>CONF:8710, R2.1=CONF:1198-8710</ruleId>
  </CDA:PropertyValidation>
  <CDA:PropertyValidation xmi:id="_2LcAYBSVEeGGzu7fmW9pXw" base_Property="_2LayTRSVEeGGzu7fmW9pXw">
    <ruleId>CONF:8711, R2.1=CONF:1198-8711</ruleId>
  </CDA:PropertyValidation>
  <CDA:PropertyValidation xmi:id="_2LcAYRSVEeGGzu7fmW9pXw" base_Property="_2LayTxSVEeGGzu7fmW9pXw">
    <ruleId>CONF:8713, R2.1=CONF:1198-8713</ruleId>
  </CDA:PropertyValidation>
  <CDA:ValueSetConstraint xmi:id="_2LcncBSVEeGGzu7fmW9pXw" severity="WARNING" base_Property="_2LayUhSVEeGGzu7fmW9pXw">
    <ruleId>CONF:8714</ruleId>
    <reference href="../consol-vocab.uml#_2L3eMhSVEeGGzu7fmW9pXw"/>
  </CDA:ValueSetConstraint>
  <CDA:PropertyValidation xmi:id="_2LdOgBSVEeGGzu7fmW9pXw" base_Property="_2LayUxSVEeGGzu7fmW9pXw">
    <ruleId>CONF:8715, R2.1=CONF:1198-8715</ruleId>
  </CDA:PropertyValidation>
  <CDA:AssociationValidation xmi:id="_2Lg44hSVEeGGzu7fmW9pXw" severity="INFO" base_Association="_2Lg44BSVEeGGzu7fmW9pXw">
    <ruleId>CONF:8738, CONF:14903</ruleId>
  </CDA:AssociationValidation>
  <CDA:CodeSystemConstraint xmi:id="_lUGl0CwNEeGKLc4ckmfDag" code="46240-8" displayName="Encounters" base_Property="_4yj2yBVdEeGQCvUGzi1kDQ">
    <reference href="pathmap://TERM_MODEL/CodeSystems.uml#_3-cwsCWrEd-iTYfpNb4PkQ"/>
    <ruleId>CONF:15462</ruleId>
  </CDA:CodeSystemConstraint>
  <CDA:TextValue xmi:id="_oPZ5UCwNEeGKLc4ckmfDag" base_Property="_4yj2yRVdEeGQCvUGzi1kDQ">
    <ruleId>CONF:7942, R2.1=CONF:1198-7942</ruleId>
  </CDA:TextValue>
  <CDA:PropertyValidation xmi:id="_qFrecCwNEeGKLc4ckmfDag" base_Property="_4yj2yhVdEeGQCvUGzi1kDQ">
    <ruleId>CONF:7943, R2.1=CONF:1198-7943</ruleId>
  </CDA:PropertyValidation>
  <CDA:EntryRelationship xmi:id="_lkcAgCwQEeGKLc4ckmfDag" severity="INFO" base_Association="_6DavkhU6EeGbmN_W114JUw" typeCode="RSON">
    <ruleId>CONF:8722, CONF:8723, CONF:14899</ruleId>
  </CDA:EntryRelationship>
  <CDA:ConstraintValidation xmi:id="_MrEusCwaEeGKLc4ckmfDag" base_Constraint="_EywuoCwaEeGKLc4ckmfDag">
    <ruleId>CONF:8740, R2.1=CONF:1198-8740</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_d7Xx0CwaEeGKLc4ckmfDag" severity="WARNING" base_Constraint="_a_2b4CwaEeGKLc4ckmfDag">
    <ruleId>CONF:8719, R2.1=CONF:1198-8719</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_iPTFICwaEeGKLc4ckmfDag" severity="WARNING" base_Constraint="_fTZ7wCwaEeGKLc4ckmfDag">
    <ruleId>CONF:15970, R2.1=CONF:1198-15970</ruleId>
  </CDA:ConstraintValidation>
  <CDA:ConstraintValidation xmi:id="_nZocACwaEeGKLc4ckmfDag" base_Constraint="_ktatYCwaEeGKLc4ckmfDag">
    <ruleId>CONF:15972, R2.1=CONF:1198-15972</ruleId>
  </CDA:ConstraintValidation>
  <uml:Association xmi:id="_tEK_gDFVEeGbx9xBxK_Upg" memberEnd="_tEKYcDFVEeGbx9xBxK_Upg _tEK_gTFVEeGbx9xBxK_Upg">
    <ownedEnd xmi:id="_tEK_gTFVEeGbx9xBxK_Upg" type="_4yj2wBVdEeGQCvUGzi1kDQ" association="_tEK_gDFVEeGbx9xBxK_Upg"/>
  </uml:Association>
  <uml:Association xmi:id="_qg2uMDFVEeGbx9xBxK_Upg" memberEnd="_qg2HIDFVEeGbx9xBxK_Upg _qg2uMTFVEeGbx9xBxK_Upg">
    <ownedEnd xmi:id="_qg2uMTFVEeGbx9xBxK_Upg" type="_2LWg0BSVEeGGzu7fmW9pXw" association="_qg2uMDFVEeGbx9xBxK_Upg"/>
  </uml:Association>
  <CDA:CodeSystemConstraint xmi:id="_mURhIlGjEeG3H6xvuD7Z0Q" code="46240-8" displayName="Encounters" base_Property="_mURhIFGjEeG3H6xvuD7Z0Q">
    <reference href="pathmap://TERM_MODEL/CodeSystems.uml#_3-cwsCWrEd-iTYfpNb4PkQ"/>
    <ruleId>CONF:15467</ruleId>
  </CDA:CodeSystemConstraint>
  <CDA:PropertyValidation xmi:id="_mUbSI1GjEeG3H6xvuD7Z0Q" base_Property="_mUbSIFGjEeG3H6xvuD7Z0Q">
    <ruleId>CONF:8708</ruleId>
  </CDA:PropertyValidation>
  <CDA:TextValue xmi:id="_mUbSJVGjEeG3H6xvuD7Z0Q" base_Property="_mUbSJFGjEeG3H6xvuD7Z0Q">
    <ruleId>CONF:8707</ruleId>
  </CDA:TextValue>
  <uml:Association xmi:id="_62epcG65EeGeVrQbtyMiPg" memberEnd="_62c0QG65EeGeVrQbtyMiPg _62fQgG65EeGeVrQbtyMiPg">
    <ownedEnd xmi:id="_62fQgG65EeGeVrQbtyMiPg" type="_2LayQBSVEeGGzu7fmW9pXw" association="_62epcG65EeGeVrQbtyMiPg"/>
  </uml:Association>
  <uml:Association xmi:id="_-WDHoG65EeGeVrQbtyMiPg" memberEnd="_-WBScG65EeGeVrQbtyMiPg _-WDHoW65EeGeVrQbtyMiPg">
    <ownedEnd xmi:id="_-WDHoW65EeGeVrQbtyMiPg" type="_D5azMCwXEeGKLc4ckmfDag" association="_-WDHoG65EeGeVrQbtyMiPg"/>
  </uml:Association>
  <CDA:AssociationValidation xmi:id="_GRAzEG66EeGeVrQbtyMiPg" base_Association="_-WDHoG65EeGeVrQbtyMiPg">
    <ruleId>CONF:8726</ruleId>
  </CDA:AssociationValidation>
  <CDA:AssociationValidation xmi:id="_LbJVoG66EeGeVrQbtyMiPg" severity="INFO" base_Association="_62epcG65EeGeVrQbtyMiPg">
    <ruleId>CONF:8725</ruleId>
  </CDA:AssociationValidation>
  <CDA:PropertyValidation xmi:id="_fAiKcCwXEeGKLc4ckmfDag" severity="INFO" base_Property="_Ja3pkCwXEeGKLc4ckmfDag">
    <ruleId>CONF:8727</ruleId>
  </CDA:PropertyValidation>
  <CDA:PropertyValidation xmi:id="_cEDgUOM0EeGfv4R-kzpM0g" base_Property="_4yj2yBVdEeGQCvUGzi1kDQ">
    <ruleId>CONF:15461</ruleId>
  </CDA:PropertyValidation>
  <CDA:PropertyValidation xmi:id="_iTEAQOM0EeGfv4R-kzpM0g" base_Property="_mURhIFGjEeG3H6xvuD7Z0Q">
    <ruleId>CONF:15466</ruleId>
  </CDA:PropertyValidation>
  <CDA:ConstraintValidation xmi:id="__KO_4OM0EeGfv4R-kzpM0g" severity="WARNING" base_Constraint="_7xneQOM0EeGfv4R-kzpM0g">
    <ruleId>CONF:15971, R2.1=CONF:1198-15971</ruleId>
  </CDA:ConstraintValidation>
  <uml:Class xmi:id="_Ker6MOM2EeGfv4R-kzpM0g" name="EncounterDiagnosis">
    <ownedComment xmi:id="_yctScOM2EeGfv4R-kzpM0g">
      <body>This template wraps relevant problems or diagnoses at the close of a visit or that need to be followed after the visit. If the encounter is associated with a Hospital Discharge, the Hospital Discharge Diagnosis must be used. This entry requires at least one Problem Observation entry.</body>
    </ownedComment>
    <generalization xmi:id="_Ker6MeM2EeGfv4R-kzpM0g">
      <general xmi:type="uml:Class" href="pathmap://CDA_MODEL/cda.uml#_YiANsDxYEd6JwqSGecoePg"/>
    </generalization>
    <ownedAttribute xmi:id="_NEbNYOM2EeGfv4R-kzpM0g" name="classCode" visibility="private" isReadOnly="true">
      <type xmi:type="uml:Enumeration" href="pathmap://VOCAB_MODEL/vocab.uml#__zOntkDcEd6xYZuu1VKCVw"/>
      <defaultValue xmi:type="uml:LiteralString" xmi:id="_WJFr0OM2EeGfv4R-kzpM0g" value="ACT"/>
      <redefinedProperty href="pathmap://CDA_MODEL/cda.uml#_1DWqEEbnEd6besF9iFIJkQ"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_NEkXUeM2EeGfv4R-kzpM0g" name="moodCode" visibility="private" isReadOnly="true">
      <type xmi:type="uml:Enumeration" href="pathmap://VOCAB_MODEL/vocab.uml#__zOpkkDcEd6xYZuu1VKCVw"/>
      <defaultValue xmi:type="uml:LiteralString" xmi:id="_XTUqUOM2EeGfv4R-kzpM0g" value="EVN"/>
      <redefinedProperty href="pathmap://CDA_MODEL/cda.uml#_yWn-AEocEd6c3qsAxlFHaQ"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_NEkXUOM2EeGfv4R-kzpM0g" name="code" visibility="private" aggregation="composite">
      <type xmi:type="uml:Class" href="pathmap://DATATYPES_MODEL/datatypes.uml#_VKl7EDxaEd6JwqSGecoePg"/>
      <redefinedProperty href="pathmap://CDA_MODEL/cda.uml#_HUTHQEocEd6c3qsAxlFHaQ"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_lWEzYOM2EeGfv4R-kzpM0g" name="problemObservation" association="_lWEzYuM2EeGfv4R-kzpM0g">
      <type xmi:type="uml:Class" href="consol-problems.uml#_5Ha7ABUyEeGbmN_W114JUw"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_nGPwgeM2EeGfv4R-kzpM0g" value="1"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_nGPwgOM2EeGfv4R-kzpM0g" value="*"/>
    </ownedAttribute>
  </uml:Class>
  <CDA:CDATemplate xmi:id="_Pzro8OM2EeGfv4R-kzpM0g" base_Class="_Ker6MOM2EeGfv4R-kzpM0g" templateId="2.16.840.1.113883.10.20.22.4.80">
    <ruleId>CONF:14895, CONF:14896</ruleId>
  </CDA:CDATemplate>
  <CDA:PropertyValidation xmi:id="_ZKoxQOM2EeGfv4R-kzpM0g" base_Property="_NEbNYOM2EeGfv4R-kzpM0g">
    <ruleId>CONF:14889, R2.1=CONF:1198-14889</ruleId>
  </CDA:PropertyValidation>
  <CDA:PropertyValidation xmi:id="_ZpIrIOM2EeGfv4R-kzpM0g" base_Property="_NEkXUeM2EeGfv4R-kzpM0g">
    <ruleId>CONF:14890, R2.1=CONF:1198-14890</ruleId>
  </CDA:PropertyValidation>
  <CDA:PropertyValidation xmi:id="_cg3tQOM2EeGfv4R-kzpM0g" base_Property="_NEkXUOM2EeGfv4R-kzpM0g">
    <ruleId>CONF:14891</ruleId>
  </CDA:PropertyValidation>
  <CDA:CodeSystemConstraint xmi:id="_eKNCkOM2EeGfv4R-kzpM0g" code="29308-4" displayName="Diagnosis" base_Property="_NEkXUOM2EeGfv4R-kzpM0g">
    <reference href="pathmap://TERM_MODEL/CodeSystems.uml#_3-cwsCWrEd-iTYfpNb4PkQ"/>
    <ruleId>CONF:14897</ruleId>
  </CDA:CodeSystemConstraint>
  <uml:Association xmi:id="_lWEzYuM2EeGfv4R-kzpM0g" memberEnd="_lWEzYOM2EeGfv4R-kzpM0g _lWEzY-M2EeGfv4R-kzpM0g">
    <ownedEnd xmi:id="_lWEzY-M2EeGfv4R-kzpM0g" type="_Ker6MOM2EeGfv4R-kzpM0g" association="_lWEzYuM2EeGfv4R-kzpM0g"/>
  </uml:Association>
  <CDA:EntryRelationship xmi:id="_pBlb0OM2EeGfv4R-kzpM0g" base_Association="_lWEzYuM2EeGfv4R-kzpM0g" typeCode="SUBJ">
    <ruleId>CONF:14892, CONF:14893, CONF:14898</ruleId>
  </CDA:EntryRelationship>
  <uml:Association xmi:id="_2UHo4OM2EeGfv4R-kzpM0g" memberEnd="_2T934OM2EeGfv4R-kzpM0g _2UHo4eM2EeGfv4R-kzpM0g">
    <ownedEnd xmi:id="_2UHo4eM2EeGfv4R-kzpM0g" type="_2LayQBSVEeGGzu7fmW9pXw" association="_2UHo4OM2EeGfv4R-kzpM0g"/>
  </uml:Association>
  <CDA:AssociationValidation xmi:id="_4gahUOM2EeGfv4R-kzpM0g" severity="INFO" base_Association="_2UHo4OM2EeGfv4R-kzpM0g">
    <ruleId>CONF:15492, CONF:15973</ruleId>
  </CDA:AssociationValidation>
  <CDA:PropertyValidation xmi:id="_QKx3kJAPEeKDcJPVSJHobw" severity="INFO" base_Property="_0IhGsJAOEeKDcJPVSJHobw">
    <ruleId>CONF:9929</ruleId>
  </CDA:PropertyValidation>
  <uml:Class xmi:id="_RGU34MzDEeO93sHu8pHB2g" name="EncounterActivity2">
    <ownedComment xmi:id="_3BOh0MzDEeO93sHu8pHB2g">
      <body>This clinical statement describes an interaction between a patient and clinician. Interactions may include in-person encounters, telephone conversations, and email exchanges.</body>
    </ownedComment>
    <ownedRule xmi:id="_tMxrkMzLEeO93sHu8pHB2g" name="sdtcDDCFromNUBCOrDD" constrainedElement="_RGU34MzDEeO93sHu8pHB2g">
      <specification xmi:type="uml:OpaqueExpression" xmi:id="_DnY3cMzMEeO93sHu8pHB2g">
        <language>Analysis</language>
        <language>OCL</language>
        <body>sdtc:dischargeDispositionCode SHALL contain exactly [1..1] @code, which SHALL be selected from ValueSet 2.16.840.1.113883.3.88.12.80.33 NUBC UB-04 FL17-Patient Status (code system 2.16.840.1.113883.6.301.5) DYNAMIC or, if access to NUBC is unavailable, from CodeSystem 2.16.840.1.113883.12.112 HL7 Discharge Disposition. sdtc:dischargeDispositionCode SHALL contain exactly [1..1] @codeSystem, which SHALL be either CodeSystem: NUBC 2.16.840.1.113883.6.301.5 OR CodeSystem: HL7 Discharge Disposition 2.16.840.1.113883.12.112</body>
        <body>(self.sDTCDischargeDispositionCode->isEmpty() or self.sDTCDischargeDispositionCode->exists(element | element.isNullFlavorUndefined())) implies (self.sDTCDischargeDispositionCode->forAll( element | not element.oclIsUndefined() and element.oclIsKindOf(datatypes::CE) and let value : datatypes::CE = element.oclAsType(datatypes::CE) in (value.codeSystem = '2.16.840.1.113883.6.301.5' or value.codeSystem = '2.16.840.1.113883.12.112') and not value.code.oclIsUndefined()))</body>
      </specification>
    </ownedRule>
    <generalization xmi:id="_RGVe8MzDEeO93sHu8pHB2g" general="_2LayQBSVEeGGzu7fmW9pXw"/>
    <substitution xmi:id="_M21jMMzEEeO93sHu8pHB2g" name="EncounterActivities" client="_RGU34MzDEeO93sHu8pHB2g" supplier="_2LayQBSVEeGGzu7fmW9pXw" contract="_2LayQBSVEeGGzu7fmW9pXw"/>
    <ownedAttribute xmi:id="_E-OUQK14EeS-n_bBhdNjYg" name="code" visibility="private" type="_W0YoEK15EeS-n_bBhdNjYg" redefinedProperty="_2LayUhSVEeGGzu7fmW9pXw">
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_Kz2D0a14EeS-n_bBhdNjYg" value="1"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_Kz2D0K14EeS-n_bBhdNjYg" value="1"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_bj5_IMzFEeO93sHu8pHB2g" name="sDTCDischargeDispositionCode" visibility="private" aggregation="composite" redefinedProperty="_0IhGsJAOEeKDcJPVSJHobw">
      <ownedComment xmi:id="_El3j0MzKEeO93sHu8pHB2g">
        <body>Note: The prefix sdtc: SHALL be bound to the namespace &quot;urn:hl7-org:sdtc&quot;. The use of the namespace provides a necessary extension to CDA R2 for the use of the dischargeDispositionCode element.</body>
      </ownedComment>
      <type xmi:type="uml:Class" href="pathmap://DATATYPES_MODEL/datatypes.uml#_Z1EGIDxaEd6JwqSGecoePg"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_bj5_IszFEeO93sHu8pHB2g"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_bj5_IczFEeO93sHu8pHB2g" value="1"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_Px_yIK1zEeS-n_bBhdNjYg" name="serviceDeliveryLocation" redefinedProperty="_2LayWxSVEeGGzu7fmW9pXw" association="_PyBAQK1zEeS-n_bBhdNjYg">
      <type xmi:type="uml:Class" href="consol-other.uml#_2LiHABSVEeGGzu7fmW9pXw"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_Px_yIa1zEeS-n_bBhdNjYg"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_Px_yIq1zEeS-n_bBhdNjYg" value="*"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_iVWx8PgAEeOYeZoWJF5yyQ" name="indication2" redefinedProperty="_6DavkBU6EeGbmN_W114JUw" association="_iVYAEPgAEeOYeZoWJF5yyQ">
      <type xmi:type="uml:Class" href="consol-other.uml#_PrEOIOHoEeO04sHNODkHmQ"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_iVWx8fgAEeOYeZoWJF5yyQ"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_iVWx8vgAEeOYeZoWJF5yyQ" value="*"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_kKBJQK11EeS-n_bBhdNjYg" name="encounterPerformer" type="_9es5kK11EeS-n_bBhdNjYg" redefinedProperty="_62c0QG65EeGeVrQbtyMiPg">
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_kKBJQa11EeS-n_bBhdNjYg"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_kKBJQq11EeS-n_bBhdNjYg" value="*"/>
      <association href="../consol.uml#_kKEzoK11EeS-n_bBhdNjYg"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_-bDRUPgAEeOYeZoWJF5yyQ" name="encounterDiagnosis2" type="_jH6CcMzNEeO93sHu8pHB2g" redefinedProperty="_2T934OM2EeGfv4R-kzpM0g" association="_-bEfcPgAEeOYeZoWJF5yyQ">
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_-bDRUfgAEeOYeZoWJF5yyQ"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_-bD4YPgAEeOYeZoWJF5yyQ" value="*"/>
    </ownedAttribute>
    <nestedClassifier xmi:type="uml:Class" xmi:id="_9es5kK11EeS-n_bBhdNjYg" name="EncounterPerformer">
      <ownedComment xmi:id="_BzYa0K12EeS-n_bBhdNjYg">
        <body>INLINE</body>
      </ownedComment>
      <generalization xmi:id="_9etgoK11EeS-n_bBhdNjYg" general="_D5azMCwXEeGKLc4ckmfDag"/>
      <ownedAttribute xmi:id="_ATf8cK12EeS-n_bBhdNjYg" name="encounterPerformerAssignedEntity" type="_TYZwwK12EeS-n_bBhdNjYg" aggregation="composite" redefinedProperty="_-WBScG65EeGeVrQbtyMiPg">
        <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_ATf8ca12EeS-n_bBhdNjYg" value="1"/>
        <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_ATf8cq12EeS-n_bBhdNjYg" value="1"/>
        <association href="../consol.uml#_AThKkK12EeS-n_bBhdNjYg"/>
      </ownedAttribute>
      <nestedClassifier xmi:type="uml:Class" xmi:id="_TYZwwK12EeS-n_bBhdNjYg" name="EncounterPerformerAssignedEntity">
        <generalization xmi:id="_TYZwwa12EeS-n_bBhdNjYg" general="_I1LikCwXEeGKLc4ckmfDag"/>
        <ownedAttribute xmi:id="_U9mM8K12EeS-n_bBhdNjYg" name="code" visibility="private" aggregation="composite" redefinedProperty="_Ja3pkCwXEeGKLc4ckmfDag">
          <type xmi:type="uml:Class" href="pathmap://DATATYPES_MODEL/datatypes.uml#_Z1EGIDxaEd6JwqSGecoePg"/>
          <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_U9mM8a12EeS-n_bBhdNjYg"/>
          <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_U9mM8q12EeS-n_bBhdNjYg" value="1"/>
        </ownedAttribute>
      </nestedClassifier>
    </nestedClassifier>
    <nestedClassifier xmi:type="uml:Class" xmi:id="_W0YoEK15EeS-n_bBhdNjYg" name="CD">
      <ownedComment xmi:id="_ZzLUcK15EeS-n_bBhdNjYg">
        <body>INLINE</body>
      </ownedComment>
      <generalization xmi:id="_W0ZPIK15EeS-n_bBhdNjYg">
        <general xmi:type="uml:Class" href="pathmap://DATATYPES_MODEL/datatypes.uml#_VKl7EDxaEd6JwqSGecoePg"/>
      </generalization>
      <ownedAttribute xmi:id="_YFMIoK15EeS-n_bBhdNjYg" name="translation" visibility="private" aggregation="composite">
        <ownedComment xmi:id="_nt-bYK15EeS-n_bBhdNjYg">
          <body>The translation may exist to map the code of EncounterTypeCode (2.16.840.1.113883.3.88.12.80.32) valueset to the code of Encounter Planned (2.16.840.1.113883.11.20.9.52) valueset.</body>
        </ownedComment>
        <type xmi:type="uml:Class" href="pathmap://DATATYPES_MODEL/datatypes.uml#_VKl7EDxaEd6JwqSGecoePg"/>
        <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_dcyfcK15EeS-n_bBhdNjYg"/>
        <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_dcx4YK15EeS-n_bBhdNjYg" value="1"/>
        <redefinedProperty href="pathmap://DATATYPES_MODEL/datatypes.uml#_DtKpQD57Ed6cla2oXsPtlA"/>
      </ownedAttribute>
    </nestedClassifier>
  </uml:Class>
  <CDA:CDATemplate xmi:id="_WBACIMzDEeO93sHu8pHB2g" base_Class="_RGU34MzDEeO93sHu8pHB2g" templateId="2.16.840.1.113883.10.20.22.4.49" templateVersion="2015-08-01">
    <ruleId>CONF:1198-8712, CONF:1198-26353, CONF:1198-32546</ruleId>
  </CDA:CDATemplate>
  <CDA:ConformsTo xmi:id="_IkqjYMzEEeO93sHu8pHB2g" base_Generalization="_RGVe8MzDEeO93sHu8pHB2g"/>
  <CDA:PropertyValidation xmi:id="_bj6mMMzFEeO93sHu8pHB2g" severity="INFO" base_Property="_bj5_IMzFEeO93sHu8pHB2g">
    <ruleId>CONF:1198-32176</ruleId>
  </CDA:PropertyValidation>
  <CDA:ConstraintValidation xmi:id="_tpYvEMzLEeO93sHu8pHB2g" base_Constraint="_tMxrkMzLEeO93sHu8pHB2g">
    <ruleId>CONF:1198-32177, CONF:1198-32377</ruleId>
  </CDA:ConstraintValidation>
  <uml:Class xmi:id="_jH6CcMzNEeO93sHu8pHB2g" name="EncounterDiagnosis2">
    <ownedComment xmi:id="_JPYv0MzOEeO93sHu8pHB2g">
      <body>This template wraps relevant problems or diagnoses at the close of a visit or that need to be followed after the visit. If the encounter is associated with a Hospital Discharge, the Hospital Discharge Diagnosis must be used. This entry requires at least one Problem Observation entry.</body>
    </ownedComment>
    <generalization xmi:id="_jH6CcczNEeO93sHu8pHB2g" general="_Ker6MOM2EeGfv4R-kzpM0g"/>
    <substitution xmi:id="_O_CaQMzOEeO93sHu8pHB2g" name="EncounterDiagnosis" client="_jH6CcMzNEeO93sHu8pHB2g" supplier="_Ker6MOM2EeGfv4R-kzpM0g" contract="_Ker6MOM2EeGfv4R-kzpM0g"/>
    <ownedAttribute xmi:id="_xa_4IMzOEeO93sHu8pHB2g" name="code" visibility="private" aggregation="composite" redefinedProperty="_NEkXUOM2EeGfv4R-kzpM0g">
      <type xmi:type="uml:Class" href="pathmap://DATATYPES_MODEL/datatypes.uml#_VKl7EDxaEd6JwqSGecoePg"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_S3ekIPf_EeOYeZoWJF5yyQ" name="problemObservation2" redefinedProperty="_lWEzYOM2EeGfv4R-kzpM0g" association="_S3hAYPf_EeOYeZoWJF5yyQ">
      <type xmi:type="uml:Class" href="consol-problems.uml#_prDAkPDCEeOKPKE9au0oug"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_X3uK4ff_EeOYeZoWJF5yyQ" value="1"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_X3uK4Pf_EeOYeZoWJF5yyQ" value="*"/>
    </ownedAttribute>
  </uml:Class>
  <CDA:CDATemplate xmi:id="_wJ4rAMzNEeO93sHu8pHB2g" base_Class="_jH6CcMzNEeO93sHu8pHB2g" templateId="2.16.840.1.113883.10.20.22.4.80" templateVersion="2015-08-01">
    <ruleId>CONF:1198-14895, CONF:1198-14896, CONF:1198-32542</ruleId>
  </CDA:CDATemplate>
  <CDA:ConformsTo xmi:id="_K3ogAMzOEeO93sHu8pHB2g" base_Generalization="_jH6CcczNEeO93sHu8pHB2g"/>
  <CDA:PropertyValidation xmi:id="_xbAfMMzOEeO93sHu8pHB2g" base_Property="_xa_4IMzOEeO93sHu8pHB2g">
    <ruleId>CONF:1198-19182</ruleId>
  </CDA:PropertyValidation>
  <CDA:CodeSystemConstraint xmi:id="_xbAfMczOEeO93sHu8pHB2g" code="29308-4" displayName="Diagnosis" base_Property="_xa_4IMzOEeO93sHu8pHB2g">
    <reference href="pathmap://TERM_MODEL/CodeSystems.uml#_3-cwsCWrEd-iTYfpNb4PkQ"/>
    <ruleId>CONF:1198-19183, CONF:1198-32160</ruleId>
  </CDA:CodeSystemConstraint>
  <uml:Association xmi:id="_S3hAYPf_EeOYeZoWJF5yyQ" memberEnd="_S3ekIPf_EeOYeZoWJF5yyQ _S3hAYff_EeOYeZoWJF5yyQ">
    <ownedEnd xmi:id="_S3hAYff_EeOYeZoWJF5yyQ" type="_jH6CcMzNEeO93sHu8pHB2g" association="_S3hAYPf_EeOYeZoWJF5yyQ"/>
  </uml:Association>
  <CDA:EntryRelationship xmi:id="_civIgPf_EeOYeZoWJF5yyQ" base_Association="_S3hAYPf_EeOYeZoWJF5yyQ" typeCode="SUBJ">
    <ruleId>CONF:1198-14892, CONF:1198-14893, CONF:1198-14898</ruleId>
  </CDA:EntryRelationship>
  <uml:Association xmi:id="_iVYAEPgAEeOYeZoWJF5yyQ" memberEnd="_iVWx8PgAEeOYeZoWJF5yyQ _iVYAEfgAEeOYeZoWJF5yyQ">
    <ownedEnd xmi:id="_iVYAEfgAEeOYeZoWJF5yyQ" type="_RGU34MzDEeO93sHu8pHB2g" association="_iVYAEPgAEeOYeZoWJF5yyQ"/>
  </uml:Association>
  <CDA:EntryRelationship xmi:id="_lALZcPgAEeOYeZoWJF5yyQ" severity="INFO" base_Association="_iVYAEPgAEeOYeZoWJF5yyQ" typeCode="RSON">
    <ruleId>CONF:1198-8722, CONF:1198-8723, CONF:1198-14899</ruleId>
  </CDA:EntryRelationship>
  <uml:Association xmi:id="_-bEfcPgAEeOYeZoWJF5yyQ" memberEnd="_-bDRUPgAEeOYeZoWJF5yyQ _-bFGgPgAEeOYeZoWJF5yyQ">
    <ownedEnd xmi:id="_-bFGgPgAEeOYeZoWJF5yyQ" type="_RGU34MzDEeO93sHu8pHB2g" association="_-bEfcPgAEeOYeZoWJF5yyQ"/>
  </uml:Association>
  <CDA:AssociationValidation xmi:id="_BmwYUPgBEeOYeZoWJF5yyQ" severity="INFO" base_Association="_-bEfcPgAEeOYeZoWJF5yyQ">
    <ruleId>CONF:1198-15492, CONF:1198-15973</ruleId>
  </CDA:AssociationValidation>
  <uml:Class xmi:id="_kgM0YPvbEeOJwYDYIUCQDg" name="EncountersSectionEntriesOptional2">
    <ownedComment xmi:id="_-E3hcPvbEeOJwYDYIUCQDg">
      <body>This section lists and describes any healthcare encounters pertinent to the patient's current health status or historical health history. An encounter is an interaction, regardless of the setting, between a patient and a practitioner who is vested with primary responsibility for diagnosing, evaluating, or treating the patient's condition. It may include visits, appointments, or non-face-to-face interactions. It is also a contact between a patient and a practitioner who has primary responsibility (exercising independent judgment) for assessing and treating the patient at a given contact. This section may contain all encounters for the time period being summarized, but should include notable encounters.</body>
    </ownedComment>
    <generalization xmi:id="_kgOpkPvbEeOJwYDYIUCQDg" general="_4yj2wBVdEeGQCvUGzi1kDQ"/>
    <substitution xmi:id="_MwLfUPvcEeOJwYDYIUCQDg" name="EncountersSectionEntriesOptional" client="_kgM0YPvbEeOJwYDYIUCQDg" supplier="_4yj2wBVdEeGQCvUGzi1kDQ" contract="_4yj2wBVdEeGQCvUGzi1kDQ"/>
    <ownedAttribute xmi:id="_bu79oPvcEeOJwYDYIUCQDg" name="encounterActivity2" type="_RGU34MzDEeO93sHu8pHB2g" redefinedProperty="_tEKYcDFVEeGbx9xBxK_Upg" association="_bu-Z4PvcEeOJwYDYIUCQDg">
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_bu8ksPvcEeOJwYDYIUCQDg"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_bu8ksfvcEeOJwYDYIUCQDg" value="*"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_r9cMkPvcEeOJwYDYIUCQDg" name="code" visibility="private" redefinedProperty="_4yj2yBVdEeGQCvUGzi1kDQ">
      <type xmi:type="uml:Class" href="pathmap://DATATYPES_MODEL/datatypes.uml#_Z1EGIDxaEd6JwqSGecoePg"/>
    </ownedAttribute>
  </uml:Class>
  <CDA:CDATemplate xmi:id="_roxZkPvbEeOJwYDYIUCQDg" base_Class="_kgM0YPvbEeOJwYDYIUCQDg" templateId="2.16.840.1.113883.10.20.22.2.22" templateVersion="2015-08-01">
    <ruleId>CONF:1198-7940, CONF:1198-10386, CONF:1198-32547</ruleId>
  </CDA:CDATemplate>
  <CDA:ConformsTo xmi:id="_JVoEAPvcEeOJwYDYIUCQDg" base_Generalization="_kgOpkPvbEeOJwYDYIUCQDg"/>
  <uml:Association xmi:id="_bu-Z4PvcEeOJwYDYIUCQDg" memberEnd="_bu79oPvcEeOJwYDYIUCQDg _bu_A8PvcEeOJwYDYIUCQDg">
    <ownedEnd xmi:id="_bu_A8PvcEeOJwYDYIUCQDg" type="_kgM0YPvbEeOJwYDYIUCQDg" association="_bu-Z4PvcEeOJwYDYIUCQDg"/>
  </uml:Association>
  <CDA:AssociationValidation xmi:id="_cmkJMPvcEeOJwYDYIUCQDg" severity="WARNING" base_Association="_bu-Z4PvcEeOJwYDYIUCQDg">
    <ruleId>CONF:1198-7951, CONF:1198-15465</ruleId>
  </CDA:AssociationValidation>
  <CDA:CodeSystemConstraint xmi:id="_r9czoPvcEeOJwYDYIUCQDg" code="46240-8" displayName="Encounters" base_Property="_r9cMkPvcEeOJwYDYIUCQDg">
    <reference href="pathmap://TERM_MODEL/CodeSystems.uml#_3-cwsCWrEd-iTYfpNb4PkQ"/>
    <ruleId>CONF:1198-15462, CONF:1198-31136</ruleId>
  </CDA:CodeSystemConstraint>
  <CDA:PropertyValidation xmi:id="_r9eo0PvcEeOJwYDYIUCQDg" base_Property="_r9cMkPvcEeOJwYDYIUCQDg">
    <ruleId>CONF:1198-15461</ruleId>
  </CDA:PropertyValidation>
  <uml:Class xmi:id="_ogD-EAIvEeScubSeRE1upQ" name="EncountersSection2">
    <ownedComment xmi:id="_2f59EAIvEeScubSeRE1upQ">
      <body>This section lists and describes any healthcare encounters pertinent to the patient's current health status or historical health history. An encounter is an interaction, regardless of the setting, between a patient and a practitioner who is vested with primary responsibility for diagnosing, evaluating, or treating the patient's condition. It may include visits, appointments, as well as non-face-to-face interactions. It is also a contact between a patient and a practitioner who has primary responsibility (exercising independent judgment) for assessing and treating the patient at a given contact. This section may contain all encounters for the time period being summarized, but should include notable encounters.</body>
    </ownedComment>
    <generalization xmi:id="_ogHBYAIvEeScubSeRE1upQ" general="_kgM0YPvbEeOJwYDYIUCQDg"/>
    <substitution xmi:id="_CGe-oAIwEeScubSeRE1upQ" name="EncountersSection" client="_ogD-EAIvEeScubSeRE1upQ" supplier="_2LWg0BSVEeGGzu7fmW9pXw" contract="_2LWg0BSVEeGGzu7fmW9pXw"/>
    <ownedAttribute xmi:id="_B8rVoKNCEeS3pZBAijm94w" name="nullFlavor" visibility="private">
      <type xmi:type="uml:Enumeration" href="pathmap://VOCAB_MODEL/vocab.uml#__yyDSUDcEd6xYZuu1VKCVw"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_B8rVoaNCEeS3pZBAijm94w"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_B8rVoqNCEeS3pZBAijm94w" value="1"/>
      <defaultValue xmi:type="uml:LiteralString" xmi:id="_D6AlAKNCEeS3pZBAijm94w" value="NI"/>
      <redefinedProperty href="pathmap://CDA_MODEL/cda.uml#_fTE6z0xwEd6h-an5IXo-DA"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_pw6FcAIwEeScubSeRE1upQ" name="code" visibility="private" redefinedProperty="_r9cMkPvcEeOJwYDYIUCQDg">
      <type xmi:type="uml:Class" href="pathmap://DATATYPES_MODEL/datatypes.uml#_Z1EGIDxaEd6JwqSGecoePg"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_84uq4AIwEeScubSeRE1upQ" name="encounterActivity2" type="_RGU34MzDEeO93sHu8pHB2g" redefinedProperty="_bu79oPvcEeOJwYDYIUCQDg" association="_84wgEAIwEeScubSeRE1upQ">
      <ownedComment xmi:id="_dxENIKNDEeS3pZBAijm94w">
        <body>If section/@nullFlavor is not present:</body>
      </ownedComment>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="__poFMAIwEeScubSeRE1upQ" value="1"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="__pneIAIwEeScubSeRE1upQ" value="*"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_705Z4AIxEeScubSeRE1upQ" name="text" visibility="private" aggregation="composite" redefinedProperty="_4yj2yhVdEeGQCvUGzi1kDQ">
      <type xmi:type="uml:Class" href="pathmap://CDA_MODEL/cda.uml#_0jvq8E8AEd6ohP_YEXs4Wg"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_705Z4gIxEeScubSeRE1upQ" value="1"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_705Z4QIxEeScubSeRE1upQ" value="1"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_705Z5AIxEeScubSeRE1upQ" name="title" visibility="private" redefinedProperty="_4yj2yRVdEeGQCvUGzi1kDQ">
      <type xmi:type="uml:Class" href="pathmap://DATATYPES_MODEL/datatypes.uml#_EaTNsDxaEd6JwqSGecoePg"/>
    </ownedAttribute>
  </uml:Class>
  <CDA:CDATemplate xmi:id="_0SqCYAIvEeScubSeRE1upQ" base_Class="_ogD-EAIvEeScubSeRE1upQ" templateId="2.16.840.1.113883.10.20.22.2.22.1" templateVersion="2015-08-01">
    <ruleId>CONF:1198-8705, CONF:1198-10387, CONF:1198-32548</ruleId>
  </CDA:CDATemplate>
  <CDA:ConformsTo xmi:id="_8TwyEAIvEeScubSeRE1upQ" base_Generalization="_ogHBYAIvEeScubSeRE1upQ"/>
  <CDA:CodeSystemConstraint xmi:id="_pw6sgAIwEeScubSeRE1upQ" code="46240-8" displayName="Encounters" base_Property="_pw6FcAIwEeScubSeRE1upQ">
    <reference href="pathmap://TERM_MODEL/CodeSystems.uml#_3-cwsCWrEd-iTYfpNb4PkQ"/>
    <ruleId>CONF:1198-15467, CONF:1198-31137</ruleId>
  </CDA:CodeSystemConstraint>
  <CDA:PropertyValidation xmi:id="_pw9IwAIwEeScubSeRE1upQ" base_Property="_pw6FcAIwEeScubSeRE1upQ">
    <ruleId>CONF:1198-15466</ruleId>
  </CDA:PropertyValidation>
  <uml:Association xmi:id="_84wgEAIwEeScubSeRE1upQ" memberEnd="_84uq4AIwEeScubSeRE1upQ _84wgEQIwEeScubSeRE1upQ">
    <ownedEnd xmi:id="_84wgEQIwEeScubSeRE1upQ" type="_ogD-EAIvEeScubSeRE1upQ" association="_84wgEAIwEeScubSeRE1upQ"/>
  </uml:Association>
  <CDA:AssociationValidation xmi:id="_9ySJEAIwEeScubSeRE1upQ" base_Association="_84wgEAIwEeScubSeRE1upQ">
    <ruleId>CONF:1198-8709, CONF:1198-15468</ruleId>
  </CDA:AssociationValidation>
  <CDA:PropertyValidation xmi:id="_705Z4wIxEeScubSeRE1upQ" base_Property="_705Z4AIxEeScubSeRE1upQ">
    <ruleId>CONF:1198-8707</ruleId>
  </CDA:PropertyValidation>
  <CDA:ConstraintValidation xmi:id="_soEP8kglEeSfpbeq3Ftc1g" base_Constraint="_soEP8EglEeSfpbeq3Ftc1g">
    <ruleId>CONF:9929</ruleId>
  </CDA:ConstraintValidation>
  <uml:Class xmi:id="_S0oqIIfLEeSBauRYePLghA" name="CourseOfCareSection">
    <ownedComment xmi:id="_2fYPUIfLEeSBauRYePLghA">
      <body>The Course of Care section describes what happened during the course of an encounter.</body>
    </ownedComment>
    <generalization xmi:id="_S0pRMIfLEeSBauRYePLghA">
      <general xmi:type="uml:Class" href="pathmap://CDA_MODEL/cda.uml#_qIf_wDxXEd6JwqSGecoePg"/>
    </generalization>
    <ownedAttribute xmi:id="_gi4i0IfLEeSBauRYePLghA" name="code" visibility="private" aggregation="composite">
      <type xmi:type="uml:Class" href="pathmap://DATATYPES_MODEL/datatypes.uml#_Z1EGIDxaEd6JwqSGecoePg"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_pl5mAIfMEeSBauRYePLghA" value="1"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_pl4-8IfMEeSBauRYePLghA" value="1"/>
      <redefinedProperty href="pathmap://CDA_MODEL/cda.uml#_9lgCcErmEd6FXKclYGEDCw"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_gi5w8IfLEeSBauRYePLghA" name="title" visibility="private" aggregation="composite">
      <type xmi:type="uml:Class" href="pathmap://DATATYPES_MODEL/datatypes.uml#_EaTNsDxaEd6JwqSGecoePg"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_p7td8YfMEeSBauRYePLghA" value="1"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_p7td8IfMEeSBauRYePLghA" value="1"/>
      <redefinedProperty href="pathmap://CDA_MODEL/cda.uml#_AP-EoErnEd6FXKclYGEDCw"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_gi5J4IfLEeSBauRYePLghA" name="text" visibility="private" aggregation="composite">
      <type xmi:type="uml:Class" href="pathmap://CDA_MODEL/cda.uml#_0jvq8E8AEd6ohP_YEXs4Wg"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_q1eXgIfMEeSBauRYePLghA" value="1"/>
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_q1dwcIfMEeSBauRYePLghA" value="1"/>
      <redefinedProperty href="pathmap://CDA_MODEL/cda.uml#_vJtnoEAMEd6wZe6nFLrjsw"/>
    </ownedAttribute>
  </uml:Class>
  <CDA:CDATemplate xmi:id="_jfFOMIfLEeSBauRYePLghA" base_Class="_S0oqIIfLEeSBauRYePLghA" templateId="2.16.840.1.113883.10.20.22.2.64">
    <ruleId>CONF:1098-32640</ruleId>
    <ruleId>CONF:1098-32642</ruleId>
  </CDA:CDATemplate>
  <CDA:PropertyValidation xmi:id="_k73f0IfMEeSBauRYePLghA" base_Property="_gi4i0IfLEeSBauRYePLghA">
    <ruleId>CONF:1098-32641</ruleId>
  </CDA:PropertyValidation>
  <CDA:PropertyValidation xmi:id="_l5CSsIfMEeSBauRYePLghA" base_Property="_gi5J4IfLEeSBauRYePLghA">
    <ruleId>CONF:1098-32644</ruleId>
  </CDA:PropertyValidation>
  <CDA:PropertyValidation xmi:id="_meB2IIfMEeSBauRYePLghA" base_Property="_gi5w8IfLEeSBauRYePLghA">
    <ruleId>CONF:1098-32643</ruleId>
  </CDA:PropertyValidation>
  <CDA:CodeSystemConstraint xmi:id="_wrS7YIfMEeSBauRYePLghA" code="8648-8" displayName="Hospital Course Narrative" base_Property="_gi4i0IfLEeSBauRYePLghA">
    <reference href="pathmap://TERM_MODEL/CodeSystems.uml#_3-cwsCWrEd-iTYfpNb4PkQ"/>
    <ruleId>CONF:1098-32645</ruleId>
    <ruleId>CONF:1098-32646</ruleId>
  </CDA:CodeSystemConstraint>
  <CDA:PropertyValidation xmi:id="_DAKy8KNCEeS3pZBAijm94w" severity="INFO" base_Property="_B8rVoKNCEeS3pZBAijm94w">
    <ruleId>CONF:1198-32815</ruleId>
  </CDA:PropertyValidation>
  <CDA:TextValue xmi:id="_8eQIoKNCEeS3pZBAijm94w" base_Property="_705Z5AIxEeScubSeRE1upQ">
    <ruleId>CONF:1198-8708</ruleId>
  </CDA:TextValue>
  <uml:Association xmi:id="_PyBAQK1zEeS-n_bBhdNjYg" memberEnd="_Px_yIK1zEeS-n_bBhdNjYg _PyBAQa1zEeS-n_bBhdNjYg">
    <ownedEnd xmi:id="_PyBAQa1zEeS-n_bBhdNjYg" type="_RGU34MzDEeO93sHu8pHB2g" association="_PyBAQK1zEeS-n_bBhdNjYg"/>
  </uml:Association>
  <CDA:AssociationValidation xmi:id="_AfKr0K10EeS-n_bBhdNjYg" severity="WARNING" base_Association="_PyBAQK1zEeS-n_bBhdNjYg">
    <ruleId>CONF:1198-8738, CONF:1198-14903</ruleId>
  </CDA:AssociationValidation>
  <CDA:PropertyValidation xmi:id="_U9m0AK12EeS-n_bBhdNjYg" severity="INFO" base_Property="_U9mM8K12EeS-n_bBhdNjYg"/>
  <CDA:ValueSetConstraint xmi:id="_rSxfMK12EeS-n_bBhdNjYg" severity="WARNING" base_Property="_U9mM8K12EeS-n_bBhdNjYg">
    <ruleId>CONF:1198-8727</ruleId>
    <reference href="../consol-vocab.uml#_-bWMgT-UEeGvOdejHZ7dYg"/>
  </CDA:ValueSetConstraint>
  <CDA:ValueSetConstraint xmi:id="_E-O7UK14EeS-n_bBhdNjYg" severity="WARNING" base_Property="_E-OUQK14EeS-n_bBhdNjYg">
    <ruleId>CONF:1198-8714</ruleId>
    <reference href="../consol-vocab.uml#_2L3eMhSVEeGGzu7fmW9pXw"/>
  </CDA:ValueSetConstraint>
  <CDA:PropertyValidation xmi:id="_LtPJ8K14EeS-n_bBhdNjYg" base_Property="_E-OUQK14EeS-n_bBhdNjYg"/>
  <CDA:PropertyValidation xmi:id="_caAz0K15EeS-n_bBhdNjYg" severity="INFO" base_Property="_YFMIoK15EeS-n_bBhdNjYg">
    <ruleId>CONF:1198-32323</ruleId>
  </CDA:PropertyValidation>
  <MDMI:MDMIMapping xmi:id="_uOXZUMOWEeW9tdwyrRMXHg" base_Class="_2LWg0BSVEeGGzu7fmW9pXw">
    <elements xmi:id="_uRDg8MOWEeW9tdwyrRMXHg" businessElement="EncounterSectionFreeText" modelElement="_mUbSIFGjEeG3H6xvuD7Z0Q" businessElementId="27989bb3-2926-4782-95f4-d99f56e18085" modelElementPath="text" condition=""/>
    <elements xmi:id="_wwn6sMOWEeW9tdwyrRMXHg" businessElement="EncounterSectionTitle" modelElement="_mUbSJFGjEeG3H6xvuD7Z0Q" businessElementId="6dd55256-d5be-4346-9eab-f59a899bf700" modelElementPath="title" condition=""/>
    <elements xmi:id="_FsEZ4MOXEeW9tdwyrRMXHg" businessElement="EncounterActivityId" modelElement="_2LayTxSVEeGGzu7fmW9pXw" businessElementId="a4d930f5-6e49-4da5-ac9d-5bda2d49f770" modelElementPath="encounterActivities.id" condition=""/>
    <elements xmi:id="_Mok5AMOXEeW9tdwyrRMXHg" businessElement="EncounterActivityCode" modelElement="_2LayUhSVEeGGzu7fmW9pXw" businessElementId="00b1f01b-476d-4ed2-b451-b1c1001bead8" modelElementPath="encounterActivities.code" condition=""/>
    <elements xmi:id="_YtRZ8MOXEeW9tdwyrRMXHg" businessElement="EncounterDischargeDisposition" modelElement="_0IhGsJAOEeKDcJPVSJHobw" businessElementId="83e9af33-e6ba-408b-a9a6-9f3317e87bfe" modelElementPath="encounterActivities.sDTCDischargeDispositionCode" condition=""/>
    <elements xmi:id="_jTX18MOXEeW9tdwyrRMXHg" businessElement="Encounter" businessElementId="3e1aa1cc-1758-4b7c-9471-e51132045e1d" modelElementPath="encounterActivities.serviceDeliveryLocation.addr" condition="">
      <modelElement xmi:type="uml:Property" href="consol-other.uml#_nD7_0B-YEeGtfPlBCjHWkw"/>
    </elements>
    <elements xmi:id="_ehcikMOYEeW9tdwyrRMXHg" businessElement="EncounterActivityServiceLocations" modelElement="_2Lg44BSVEeGGzu7fmW9pXw" businessElementId="88204788-db91-4342-8023-8d40cd713a6e" modelElementPath="encounterActivities.serviceDeliveryLocation" condition=""/>
    <elements xmi:id="_rFEbMMOYEeW9tdwyrRMXHg" businessElement="EncounterActivityServiceLocationBusinessPhone" businessElementId="b24eeb00-cbf0-488a-8ef2-d468523534df" modelElementPath="encounterActivities.serviceDeliveryLocation.telecom" condition="">
      <modelElement xmi:type="uml:Property" href="consol-other.uml#_nEARQB-YEeGtfPlBCjHWkw"/>
    </elements>
    <elements xmi:id="_wAlS8MOYEeW9tdwyrRMXHg" businessElement="EncounterActivityIndications" modelElement="_6DavkhU6EeGbmN_W114JUw" businessElementId="0ee2df62-6740-482f-aff1-fee38670ce8f" modelElementPath="encounterActivities.indication" condition=""/>
    <elements xmi:id="_H3VssMOZEeW9tdwyrRMXHg" businessElement="EncounterActivityIndicationValue" businessElementId="a0737a4c-00ae-4a34-b8ab-3b7cefdf5465" modelElementPath="encounterActivities.indication.value" condition="">
      <modelElement xmi:type="uml:Property" href="consol-other.uml#_2MmWNRUSEeG6PvUxSTZnaw"/>
    </elements>
    <elements xmi:id="_RgTyEMOZEeW9tdwyrRMXHg" businessElement="EncounterActivityEndDate" modelElement="_2LayUxSVEeGGzu7fmW9pXw" businessElementId="0a5f30e2-4ce0-4051-b1b5-dcd4a15d80e9" modelElementPath="xxxencounterActivities.effectiveTime.high" condition=""/>
    <elements xmi:id="_UjWFQMOZEeW9tdwyrRMXHg" businessElement="EncounterActivityStartDate" modelElement="_2LayUxSVEeGGzu7fmW9pXw" businessElementId="d000def4-a025-460d-818a-a9425f24c5dd" modelElementPath="xxxencounterActivities.effectiveTime.low" condition=""/>
    <elements xmi:id="_fxeKkMOZEeW9tdwyrRMXHg" businessElement="EncounterActivityIndicationCode" businessElementId="dc3a1856-7e01-4693-823c-8b2f7252381c" modelElementPath="encounterActivities.indication.code" condition="">
      <modelElement xmi:type="uml:Property" href="consol-other.uml#_2MdMQhUSEeG6PvUxSTZnaw"/>
    </elements>
    <elements xmi:id="_ijp-UMOZEeW9tdwyrRMXHg" businessElement="EncounterActivityIndicationStartDate" businessElementId="15eb2197-fd06-408a-bc9e-f40640952de2" modelElementPath="xxxencounterActivities.indication.effectiveTime.low" condition="">
      <modelElement xmi:type="uml:Property" href="consol-other.uml#_2MdMRBUSEeG6PvUxSTZnaw"/>
    </elements>
    <elements xmi:id="_lF__QMOZEeW9tdwyrRMXHg" businessElement="EncounterActivityIndicationEndDate" businessElementId="442b43cc-9a3f-42d5-9fa9-11b9646bb373" modelElementPath="xxxencounterActivities.indication.effectiveTime.high" condition="">
      <modelElement xmi:type="uml:Property" href="consol-other.uml#_2MdMRBUSEeG6PvUxSTZnaw"/>
    </elements>
    <elements xmi:id="_--OhgMOZEeW9tdwyrRMXHg" businessElement="EncounterPerformerName" businessElementId="0c8ec0a0-e279-4df2-a6be-0fdfc9629387" modelElementPath="encounterActivities.encounterPerformer.encounterPerformerAssignedEntity.assignedPerson.name" condition="">
      <modelElement xmi:type="uml:Property" href="pathmap://CDA_MODEL/cda.uml#_L08A0ErgEd6FXKclYGEDCw"/>
    </elements>
    <elements xmi:id="_Y2pGgMVGEeW9tdwyrRMXHg" businessElement="EncounterActivityDiagnosis" modelElement="_2UHo4OM2EeGfv4R-kzpM0g" businessElementId="f3771829-e7fb-4f7e-962a-2e9d0a93f7d0" modelElementPath="encounterActivities.encounterDiagnosis" condition=""/>
    <elements xmi:id="_dRxOAMVGEeW9tdwyrRMXHg" businessElement="EncounterActivityDiagnosisProblemObservations" modelElement="_lWEzYuM2EeGfv4R-kzpM0g" businessElementId="f8d01e4c-2314-4cc1-bd5c-ee42efc1e440" modelElementPath="encounterActivities.encounterDiagnosis.problemObservation" condition="@negationInd = &quot;false&quot;"/>
    <elements xmi:id="_gqL7UMVGEeW9tdwyrRMXHg" businessElement="EncounterActivityDiagnosisProblemObservationCode" businessElementId="d737efb7-2a63-4b05-8084-84f0c49c9685" modelElementPath="encounterActivities.encounterDiagnosis.problemObservation.code" condition="@negationInd = &quot;false&quot;">
      <modelElement xmi:type="uml:Property" href="consol-problems.uml#_6-UyQBUyEeGbmN_W114JUw"/>
    </elements>
    <elements xmi:id="_i_tBMMVGEeW9tdwyrRMXHg" businessElement="EncounterActivityDiagnosisProblemObservationText" businessElementId="81001a20-ef5e-4ac4-a11f-c1ce9f0b4a4b" modelElementPath="encounterActivities.encounterDiagnosis.problemObservation.text" condition="@negationInd = &quot;false&quot;">
      <modelElement xmi:type="uml:Property" href="consol-problems.uml#_zGbQJCAuEeGetMjKLkqR8g"/>
    </elements>
    <elements xmi:id="_nRMrkMVGEeW9tdwyrRMXHg" businessElement="EncounterActivityDiagnosisProblemObservationStartDate" businessElementId="2197441d-5bab-4599-a6c1-2944f7149ff5" modelElementPath="xxxencounterActivities.encounterDiagnosis.problemObservation.effectiveTime.low" condition="@negationInd = &quot;false&quot;">
      <modelElement xmi:type="uml:Property" href="consol-problems.uml#_zGapECAuEeGetMjKLkqR8g"/>
    </elements>
    <elements xmi:id="_p13nwMVGEeW9tdwyrRMXHg" businessElement="EncounterActivityDiagnosisProblemObservationEndDate" businessElementId="c5154b35-80b7-4580-a17b-85b2641ab231" modelElementPath="xxxencounterActivities.encounterDiagnosis.problemObservation.effectiveTime.high" condition="@negationInd = &quot;false&quot;">
      <modelElement xmi:type="uml:Property" href="consol-problems.uml#_zGapECAuEeGetMjKLkqR8g"/>
    </elements>
    <elements xmi:id="_seZwQMVGEeW9tdwyrRMXHg" businessElement="EncounterActivityDiagnosisProblemObservationValue" businessElementId="d587b0dd-26fe-4f52-bdd2-804bc0c1a564" modelElementPath="encounterActivities.encounterDiagnosis.problemObservation.value" condition="@negationInd = &quot;false&quot;">
      <modelElement xmi:type="uml:Property" href="consol-problems.uml#_zGb3MSAuEeGetMjKLkqR8g"/>
    </elements>
    <elements xmi:id="_3StK4MVHEeW9tdwyrRMXHg" businessElement="EncounterActivityDiagnosisProblemObservationStatus" businessElementId="fa242e30-2449-4285-bf9e-2616d70dd74c" modelElementPath="encounterActivities.encounterDiagnosis.problemObservation.problemStatus.value" condition="@negationInd = &quot;false&quot;">
      <modelElement xmi:type="uml:Property" href="consol-problems.uml#_g9B5cCA8EeG9GZYpu7WBOQ"/>
    </elements>
    <elements xmi:id="_60BVgMVHEeW9tdwyrRMXHg" businessElement="EncounterActivityDiagnosisProblemObservationAgeAtObservation" businessElementId="f252c835-4722-41fb-b1de-c4f5cc340f96" modelElementPath="encounterActivities.encounterDiagnosis.problemObservation.ageObservation.value" condition="@negationInd = &quot;false&quot;">
      <modelElement xmi:type="uml:Property" href="consol-problems.uml#_2EqqCxSVEeGGzu7fmW9pXw"/>
    </elements>
    <elements xmi:id="__J37cMVHEeW9tdwyrRMXHg" businessElement="EncounterActivityDiagnosisProblemObservationHealthStatus" businessElementId="d331da28-78f8-4803-be29-d66416c8158e" modelElementPath="encounterActivities.encounterDiagnosis.problemObservation.healthStatusObservation.value" condition="@negationInd = &quot;false&quot;">
      <modelElement xmi:type="uml:Property" href="consol-problems.uml#_2ExXuBSVEeGGzu7fmW9pXw"/>
    </elements>
    <elements xmi:id="_5EbKsMVIEeW9tdwyrRMXHg" businessElement="EncounterActivityDiagnosisNotAProblemObservationId" businessElementId="bbe35902-0d82-41ee-990f-ae70a4718712" modelElementPath="encounterActivities.encounterDiagnosis.problemObservation.id" condition="@negationInd = &quot;true&quot;">
      <modelElement xmi:type="uml:Property" href="consol-problems.uml#_6-ejQBUyEeGbmN_W114JUw"/>
    </elements>
    <elements xmi:id="_79vhMMVIEeW9tdwyrRMXHg" businessElement="EncounterActivityDiagnosisNotAProblemObservationCode" businessElementId="df89f551-11e0-43b2-9d40-7d0ee3878fcb" modelElementPath="encounterActivities.encounterDiagnosis.problemObservation.code" condition="@negationInd = &quot;true&quot;">
      <modelElement xmi:type="uml:Property" href="consol-problems.uml#_6-UyQBUyEeGbmN_W114JUw"/>
    </elements>
    <elements xmi:id="__F1TgMVIEeW9tdwyrRMXHg" businessElement="EncounterActivityDiagnosisNotAProblemObservationText" businessElementId="212307e0-d0c5-44ed-aa83-0b44bd3fa53b" modelElementPath="encounterActivities.encounterDiagnosis.problemObservation.text" condition="@negationInd = &quot;true&quot;">
      <modelElement xmi:type="uml:Property" href="consol-problems.uml#_zGbQJCAuEeGetMjKLkqR8g"/>
    </elements>
    <elements xmi:id="_C8FzYMVJEeW9tdwyrRMXHg" businessElement="EncounterActivityDiagnosisNotAProblemObservationStartDate" businessElementId="1d94659b-b32f-4831-af01-290dde72a2ed" modelElementPath="encounterActivities.encounterDiagnosis.problemObservation.effectiveTime.low" condition="@negationInd = &quot;true&quot;">
      <modelElement xmi:type="uml:Property" href="consol-problems.uml#_zGapECAuEeGetMjKLkqR8g"/>
    </elements>
    <elements xmi:id="_FPojUMVJEeW9tdwyrRMXHg" businessElement="EncounterActivityDiagnosisNotAProblemObservationEndDate" businessElementId="6d6c1c85-70f1-4509-bc64-82b41fc985d2" modelElementPath="encounterActivities.encounterDiagnosis.problemObservation.effectiveTime.high" condition="@negationInd = &quot;true&quot;">
      <modelElement xmi:type="uml:Property" href="consol-problems.uml#_zGapECAuEeGetMjKLkqR8g"/>
    </elements>
    <elements xmi:id="_IGh38MVJEeW9tdwyrRMXHg" businessElement="EncounterActivityDiagnosisNotAProblemObservationValue" businessElementId="3aeb0265-28ec-48f0-b642-94aa0f8d5399" modelElementPath="encounterActivities.encounterDiagnosis.problemObservation.value" condition="@negationInd = &quot;true&quot;">
      <modelElement xmi:type="uml:Property" href="consol-problems.uml#_zGb3MSAuEeGetMjKLkqR8g"/>
    </elements>
    <elements xmi:id="_KYpEgMVJEeW9tdwyrRMXHg" businessElement="EncounterActivityDiagnosisNotAProblemObservationAgeAtObservation" businessElementId="7ae7bc97-ee6b-4de3-88ee-eaa7bd6cf057" modelElementPath="encounterActivities.encounterDiagnosis.problemObservation.ageObservation.value" condition="@negationInd = &quot;true&quot;">
      <modelElement xmi:type="uml:Property" href="consol-problems.uml#_2EqqCxSVEeGGzu7fmW9pXw"/>
    </elements>
    <elements xmi:id="_Nj3DUMVJEeW9tdwyrRMXHg" businessElement="EncounterActivityDiagnosisNotAProblemObservationProblemStatus" businessElementId="16bd8fdf-919b-43b5-9b8d-bb735266e9dd" modelElementPath="encounterActivities.encounterDiagnosis.problemObservation.problemStatus.value" condition="@negationInd = &quot;true&quot;">
      <modelElement xmi:type="uml:Property" href="consol-problems.uml#_g9B5cCA8EeG9GZYpu7WBOQ"/>
    </elements>
    <elements xmi:id="_Q8OGQMVJEeW9tdwyrRMXHg" businessElement="EncounterActivityDiagnosisNotAProblemObservationHealthStatus" businessElementId="6ddcdbbc-bf0e-4105-b599-ee51178e93b0" modelElementPath="encounterActivities.encounterDiagnosis.problemObservation.healthStatusObservation.value" condition="@negationInd = &quot;true&quot;">
      <modelElement xmi:type="uml:Property" href="consol-problems.uml#_2ExXuBSVEeGGzu7fmW9pXw"/>
    </elements>
    <elements xmi:id="_tUpUYMVJEeW9tdwyrRMXHg" businessElement="EncounterActivityDiagnosisNotAProblemObservation" modelElement="_lWEzYuM2EeGfv4R-kzpM0g" businessElementId="df955eb5-28ca-4485-b749-fa419dad6374" modelElementPath="encounterActivities.encounterDiagnosis.problemObservation" condition="@negationInd = &quot;true&quot;"/>
    <elements xmi:id="_Nd1csOYrEeW5Oax7LpOkcw" businessElement="EncounterActivitiesEffectiveTime" modelElement="_2LayUxSVEeGGzu7fmW9pXw" businessElementId="a50b6e4e-57aa-4067-bebc-3c6442153f12" modelElementPath="encounterActivities.effectiveTime" condition="@negationInd = &quot;false&quot;"/>
    <elements xmi:id="_5OrpgOYvEeW5Oax7LpOkcw" businessElement="EncounterActivityIndicationEffectiveTime" businessElementId="3d3fcc02-5685-433e-98c1-5714a256a8c2" modelElementPath="encounterActivities.indication.effectiveTime" condition="">
      <modelElement xmi:type="uml:Property" href="consol-other.uml#_2MdMRBUSEeG6PvUxSTZnaw"/>
    </elements>
    <elements xmi:id="_6BJy0OYwEeW5Oax7LpOkcw" businessElement="EncounterDiagnosisProblemEffectiveTime" businessElementId="27bcdd59-1b68-4276-ae43-25c156a1b67a" modelElementPath="encounterActivities.encounterDiagnosis.problemObservation.effectiveTime" condition="">
      <modelElement xmi:type="uml:Property" href="consol-problems.uml#_zGapECAuEeGetMjKLkqR8g"/>
    </elements>
    <elements xmi:id="_PSQRsAu8EeasZdyh4R8JRw" businessElement="EncounterSection" modelElement="_2LWg0BSVEeGGzu7fmW9pXw" modelElementPath="" condition=""/>
    <elements xmi:id="_Es0iEAvSEeaIzLIqaw70yw" businessElement="EncounterSection" modelElement="_2LWg0BSVEeGGzu7fmW9pXw" businessElementId="d1d32df3-8ed5-457b-8547-5ec41ff0856d" modelElementPath="" condition=""/>
    <elements xmi:id="_YCwcAAvSEeaIzLIqaw70yw" businessElement="EncounterSection" modelElement="_2LWg0BSVEeGGzu7fmW9pXw" businessElementId="d1d32df3-8ed5-457b-8547-5ec41ff0856d" modelElementPath="" condition=""/>
    <elements xmi:id="_hD66gAvSEeaIzLIqaw70yw" businessElement="EncounterSection" modelElement="_2LWg0BSVEeGGzu7fmW9pXw" businessElementId="d1d32df3-8ed5-457b-8547-5ec41ff0856d" modelElementPath="" condition=""/>
    <elements xmi:id="_UFbuAAvWEeaIzLIqaw70yw" businessElement="EncounterActivity" modelElement="_qg2uMDFVEeGbx9xBxK_Upg" businessElementId="17b03118-520f-4952-8a0c-cb4a297da0e6" modelElementPath="encounterActivities" condition=""/>
  </MDMI:MDMIMapping>
</xmi:XMI>
