Consolidated CDA Release 2.1 StructureDefinition Publication
2.1 - CI Build United States of America flag

Consolidated CDA Release 2.1 StructureDefinition Publication, published by Health Level Seven. This is not an authorized publication; it is the continuous build for version 2.1). This version is based on the current content of https://github.com/HL7/CDA-ccda-2.1-sd/ and changes regularly. See the Directory of published versions

Logical Model: AdvanceDirectiveObservation - XML Profile

Draft as of 2023-09-29

XML representation of the AdvanceDirectiveObservation logical model.

Raw xml | Download



<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="AdvanceDirectiveObservation"/>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><table border="0" cellpadding="0" cellspacing="0" style="border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;"><tr style="border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top"><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="The logical name of the element">Name</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Information about the use of the element">Flags</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Minimum and Maximum # of times the the element can appear in the instance">Card.</a></th><th style="width: 100px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Reference to the type of the element">Type</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Additional information about the element">Description &amp; Constraints</a><span style="float: right"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC" alt="doco" style="background-color: inherit"/></a></span></th></tr><tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation">Observation</a><a name="Observation"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-Observation.html">CDAR2.Observation</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">XML Namespace: </span>urn:hl7-org:v3<br/>Elements defined in Ancestors: <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-Observation.html">@classCode</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-Observation.html">@moodCode</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-Observation.html">@negationInd</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-Observation.html">realmCode</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-Observation.html">typeId</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-Observation.html" title="When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question">templateId</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-Observation.html">id</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-Observation.html">code</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-Observation.html">derivationExpr</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-Observation.html">text</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-Observation.html">statusCode</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-Observation.html">effectiveTime</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-Observation.html">priorityCode</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-Observation.html">repeatNumber</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-Observation.html">languageCode</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-Observation.html">value</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-Observation.html">interpretationCode</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-Observation.html">methodCode</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-Observation.html" title="Drawn from concept domain ActSite">targetSiteCode</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-Observation.html">subject</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-Observation.html">specimen</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-Observation.html">performer</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-Observation.html">author</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-Observation.html">informant</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-Observation.html">participant</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-Observation.html">entryRelationship</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-Observation.html">reference</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-Observation.html">precondition</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-Observation.html" title="Relates an Observation to the ObservationRange class, where the expected range of values for a particular observation can be specified.">referenceRange</a></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.classCode">classCode</a><a name="Observation.classCode"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">1</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-cs-simple.html" title="code">cs</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Fixed Value: </span><span style="color: darkgreen">OBS</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.moodCode">moodCode</a><a name="Observation.moodCode"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">1</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-cs-simple.html" title="code">cs</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Fixed Value: </span><span style="color: darkgreen">EVN</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck13.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_slice.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Slice Definition" class="hierarchy"/> <a style="font-style: italic" href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.templateId">Slices for templateId</a><a name="Observation.templateId"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-style: italic"/><span style="font-style: italic">1</span><span style="font-style: italic">..</span><span style="opacity: 0.5; font-style: italic">*</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5; font-style: italic" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-II.html">II</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold; font-style: italic">Slice: </span><span style="font-style: italic">Unordered, Open by value:root, value:extension</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck125.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_slice_item.png" alt="." style="background-color: white; background-color: inherit" title="Slice Item" class="hierarchy"/> <a href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.templateId:primary" title="Slice primary">templateId:primary</a><a name="Observation.templateId"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-II.html">II</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1250.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_slice.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.templateId:primary.root">root</a><a name="Observation.templateId.root"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-oid.html" title="string">oid</a><span style="opacity: 0.5">, </span><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-uuid.html" title="string">uuid</a><span style="opacity: 0.5">, </span><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-ruid.html" title="string">ruid</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Required Pattern: </span><span style="color: darkgreen">2.16.840.1.113883.10.20.22.4.48</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1240.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end_slice.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_extension_simple.png" alt="." style="background-color: white; background-color: inherit" title="Simple Extension" class="hierarchy"/> <a href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.templateId:primary.extension">extension</a><a name="Observation.templateId.extension"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-st-simple.html" title="string">st</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Required Pattern: </span><span style="color: darkgreen">2015-08-01</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.id">id</a><a name="Observation.id"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..<span style="opacity: 0.5">*</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-II.html">II</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.code">code</a><a name="Observation.code"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">1</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-CD.html">CD</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Binding: </span><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.1.11.20.2/expansion">Advance Directive Type Code</a> (<a href="http://hl7.org/fhir/R5/terminologies.html#preferred" title="Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.">preferred</a>)</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck103.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_slice.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Slice Definition" class="hierarchy"/> <a style="font-style: italic" href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.code.translation">Slices for translation</a><a name="Observation.code.translation"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-style: italic"/><span style="font-style: italic">1</span><span style="font-style: italic">..</span><span style="opacity: 0.5; font-style: italic">*</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5; font-style: italic" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-CD.html">CD</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold; font-style: italic">Slice: </span><span style="font-style: italic">Unordered, Open by value:code, value:codeSystem</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1025.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_slice_item.png" alt="." style="background-color: white; background-color: inherit" title="Slice Item" class="hierarchy"/> <a href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.code.translation:advanceDirective" title="Slice advanceDirective">translation:advanceDirective</a><a name="Observation.code.translation"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-CD.html">CD</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10250.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_slice.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.code.translation:advanceDirective.code">code</a><a name="Observation.code.translation.code"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-cs-simple.html" title="code">cs</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Required Pattern: </span><span style="color: darkgreen">75320-2</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10240.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end_slice.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.code.translation:advanceDirective.codeSystem">codeSystem</a><a name="Observation.code.translation.codeSystem"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-oid.html" title="string">oid</a><span style="opacity: 0.5">, </span><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-uuid.html" title="string">uuid</a><span style="opacity: 0.5">, </span><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-ruid.html" title="string">ruid</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Required Pattern: </span><span style="color: darkgreen">2.16.840.1.113883.6.1</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.statusCode">statusCode</a><a name="Observation.statusCode"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-CS.html">CS</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">SG 20230706: constraint not entered 'properly' deleted fixedCode='Completed here - it's already in the next element and shoudln't be here - entered weird/wrong in TWB</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck100.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.statusCode.code">code</a><a name="Observation.statusCode.code"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-cs-simple.html" title="code">cs</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Fixed Value: </span><span style="color: darkgreen">completed</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.effectiveTime">effectiveTime</a><a name="Observation.effectiveTime"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-IVL-TS.html">IVL_TS</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.effectiveTime.low">low</a><a name="Observation.effectiveTime.low"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-IVXB-TS.html">IVXB_TS</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck100.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.effectiveTime.high">high</a><a name="Observation.effectiveTime.high"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;" href="http://hl7.org/fhir/R5/conformance-rules.html#constraints" title="This element has or is affected by constraints (1198-32449)">C</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-IVXB-TS.html">IVXB_TS</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">1198-32449: </span>If the Advance Directive does not have a specified ending time, the &lt;high&gt; element **SHALL** have the nullFlavor attribute set to *NA* (CONF:1198-32449).</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.value">value</a><a name="Observation.value"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;" href="http://hl7.org/fhir/R5/conformance-rules.html#constraints" title="This element has or is affected by constraints (1198-32493)">C</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-ANY.html">ANY</a><span style="opacity: 0.5">, </span><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-BL.html">BL</a><span style="opacity: 0.5">, </span><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-ED.html">ED</a><span style="opacity: 0.5">, </span><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-ST.html">ST</a><span style="opacity: 0.5">, </span><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-CD.html">CD</a><span style="opacity: 0.5">, </span><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-CV.html">CV</a><span style="opacity: 0.5">, </span><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-CE.html">CE</a><span style="opacity: 0.5">, </span><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-SC.html">SC</a><span style="opacity: 0.5">, </span><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-II.html">II</a><span style="opacity: 0.5">, </span><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-TEL.html">TEL</a><span style="opacity: 0.5">, </span><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-AD.html">AD</a><span style="opacity: 0.5">, </span><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-EN.html">EN</a><span style="opacity: 0.5">, </span><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-INT.html">INT</a><span style="opacity: 0.5">, </span><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-REAL.html">REAL</a><span style="opacity: 0.5">, </span><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-PQ.html">PQ</a><span style="opacity: 0.5">, </span><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-MO.html">MO</a><span style="opacity: 0.5">, </span><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-TS.html">TS</a><span style="opacity: 0.5">, </span><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-IVL-PQ.html">IVL_PQ</a><span style="opacity: 0.5">, </span><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-IVL-TS.html">IVL_TS</a><span style="opacity: 0.5">, </span><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-PIVL-TS.html">PIVL_TS</a><span style="opacity: 0.5">, </span><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-EIVL-TS.html">EIVL_TS</a><span style="opacity: 0.5">, </span><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-SXPR-TS.html">SXPR_TS</a><span style="opacity: 0.5">, </span><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-RTO-PQ-PQ.html">RTO_PQ_PQ</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">1198-32493: </span>If type CD, then value will be SNOMED-CT 2.16.840.1.113883.6.96 (CONF:1198-32493).</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.author">author</a><a name="Observation.author"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">*</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-AuthorParticipation.html" title="http://hl7.org/cda/stds/core/StructureDefinition/Author">AuthorParticipation</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Base for all types and resources</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck13.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_slice.png" alt="." style="background-color: white; background-color: inherit" title="Slice Definition" class="hierarchy"/> <a style="font-style: italic" href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.participant">Slices for participant</a><a name="Observation.participant"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-style: italic"/><span style="opacity: 0.5; font-style: italic">0</span><span style="opacity: 0.5; font-style: italic">..</span><span style="opacity: 0.5; font-style: italic">*</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5; font-style: italic" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-Participant2.html">Participant2</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-style: italic">This custodian (CST) participant identifies a legal representative for the patient's advance directive. Examples of such  individuals are called health care agents, substitute decision makers and/or health care proxies.  If there is more than one  legal representative, a qualifier may be used to designate the  legal representative as primary or secondary.</span><br style="font-style: italic"/><span style="font-weight:bold; font-style: italic">Slice: </span><span style="font-style: italic">Unordered, Open by value:participantRole, value:typeCode</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck133.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> participant:All Slices<a name="Observation.participant"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Content/Rules for all slices</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1323.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_slice.png" alt="." style="background-color: white; background-color: inherit" title="Slice Definition" class="hierarchy"/> <a style="font-style: italic" href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.participant.templateId">Slices for templateId</a><a name="Observation.participant.templateId"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-style: italic"/><span style="font-style: italic">1</span><span style="font-style: italic">..</span><span style="opacity: 0.5; font-style: italic">*</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5; font-style: italic" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-II.html">II</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold; font-style: italic">Slice: </span><span style="font-style: italic">Unordered, Open by value:root</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck13225.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_slice_item.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Slice Item" class="hierarchy"/> <a href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.participant.templateId:primary" title="Slice primary">templateId:primary</a><a name="Observation.participant.templateId"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-II.html">II</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck132250.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_slice.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.participant.templateId:primary.root">root</a><a name="Observation.participant.templateId.root"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-oid.html" title="string">oid</a><span style="opacity: 0.5">, </span><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-uuid.html" title="string">uuid</a><span style="opacity: 0.5">, </span><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-ruid.html" title="string">ruid</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Required Pattern: </span><span style="color: darkgreen">2.16.840.1.113883.10.20.1.58</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck132240.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end_slice.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_extension_simple.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Simple Extension" class="hierarchy"/> <span style="text-decoration:line-through">extension</span><a name="Observation.participant.templateId.extension"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="text-decoration:line-through"/><span style="text-decoration:line-through">0</span><span style="text-decoration:line-through">..</span><span style="text-decoration:line-through">0</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck135.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_slice_item.png" alt="." style="background-color: white; background-color: inherit" title="Slice Item" class="hierarchy"/> <a href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.participant:participant1" title="Slice participant1">participant:participant1</a><a name="Observation.participant"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-Participant2.html">Participant2</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">The participant &quot;VRF&quot; represents the clinician(s) who verified the patient advance directive observation.<br/></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1350.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_slice.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.participant:participant1.typeCode">typeCode</a><a name="Observation.participant.typeCode"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-cs-simple.html" title="code">cs</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Fixed Value: </span><span style="color: darkgreen">VRF</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1350.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_slice.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.participant:participant1.time">time</a><a name="Observation.participant.time"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;" href="http://hl7.org/fhir/R5/conformance-rules.html#constraints" title="This element has or is affected by constraints (1198-8666)">C</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-IVL-TS.html">IVL_TS</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">1198-8666: </span>The data type of Observation/participant/time in a verification **SHALL** be *TS* (time stamp) (CONF:1198-8666).</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1341.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end_slice.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.participant:participant1.participantRole">participantRole</a><a name="Observation.participant.participantRole"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">1</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-ParticipantRole.html">ParticipantRole</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck13410.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.participant:participant1.participantRole.code">code</a><a name="Observation.participant.participantRole.code"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-CE.html">CE</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Binding: </span><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.114222.4.11.1066/expansion">Healthcare Provider Taxonomy</a> (<a href="http://hl7.org/fhir/R5/terminologies.html#preferred" title="Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.">preferred</a>)</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck13410.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.participant:participant1.participantRole.addr">addr</a><a name="Observation.participant.participantRole.addr"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">*</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-USRealmAddressADUSFIELDED.html" title="http://hl7.org/cda/stds/core/StructureDefinition/AD">USRealmAddressADUSFIELDED</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Base for all types and resources</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck13401.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.participant:participant1.participantRole.playingEntity">playingEntity</a><a name="Observation.participant.participantRole.playingEntity"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-PlayingEntity.html">PlayingEntity</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck134000.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.participant:participant1.participantRole.playingEntity.name">name</a><a name="Observation.participant.participantRole.playingEntity.name"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">*</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-USRealmPersonNamePNUSFIELDED.html" title="http://hl7.org/cda/stds/core/StructureDefinition/PN">USRealmPersonNamePNUSFIELDED</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Base for all types and resources</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck125.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_slice_item.png" alt="." style="background-color: white; background-color: inherit" title="Slice Item" class="hierarchy"/> <a href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.participant:participant2" title="Slice participant2">participant:participant2</a><a name="Observation.participant"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-Participant2.html">Participant2</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1250.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_slice.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.participant:participant2.typeCode">typeCode</a><a name="Observation.participant.typeCode"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-cs-simple.html" title="code">cs</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Fixed Value: </span><span style="color: darkgreen">CST</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1241.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end_slice.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.participant:participant2.participantRole">participantRole</a><a name="Observation.participant.participantRole"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">1</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-ParticipantRole.html">ParticipantRole</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck12410.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.participant:participant2.participantRole.classCode">classCode</a><a name="Observation.participant.participantRole.classCode"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">1</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-cs-simple.html" title="code">cs</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Fixed Value: </span><span style="color: darkgreen">AGNT</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck12410.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.participant:participant2.participantRole.code">code</a><a name="Observation.participant.participantRole.code"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-CE.html">CE</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Binding: </span><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.11.20.12.1/expansion">Personal And Legal Relationship Role Type</a> (<a href="http://hl7.org/fhir/R5/terminologies.html#preferred" title="Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.">preferred</a>)</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck12410.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.participant:participant2.participantRole.addr">addr</a><a name="Observation.participant.participantRole.addr"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span>..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-USRealmAddressADUSFIELDED.html" title="http://hl7.org/cda/stds/core/StructureDefinition/AD">USRealmAddressADUSFIELDED</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Base for all types and resources</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck12410.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.participant:participant2.participantRole.telecom">telecom</a><a name="Observation.participant.participantRole.telecom"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">*</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-TEL.html">TEL</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck12401.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.participant:participant2.participantRole.playingEntity">playingEntity</a><a name="Observation.participant.participantRole.playingEntity"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-PlayingEntity.html">PlayingEntity</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck124010.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.participant:participant2.participantRole.playingEntity.code">code</a><a name="Observation.participant.participantRole.playingEntity.code"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-CE.html">CE</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Binding: </span><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.11.20.9.51/expansion">Healthcare Agent Qualifier</a> (<a href="http://hl7.org/fhir/R5/terminologies.html#preferred" title="Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.">preferred</a>)</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck124000.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.participant:participant2.participantRole.playingEntity.name">name</a><a name="Observation.participant.participantRole.playingEntity.name"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-PN.html">PN</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Record the name of the agent who can provide a copy of the Advance Directive in the name element.</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck03.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_slice.png" alt="." style="background-color: white; background-color: inherit" title="Slice Definition" class="hierarchy"/> <a style="font-style: italic" href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.reference">Slices for reference</a><a name="Observation.reference"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-style: italic"/><span style="font-style: italic">1</span><span style="font-style: italic">..</span><span style="opacity: 0.5; font-style: italic">*</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5; font-style: italic" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-Reference.html">Reference</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold; font-style: italic">Slice: </span><span style="font-style: italic">Unordered, Open by value:externalDocument, value:typeCode</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck025.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_slice_item.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Slice Item" class="hierarchy"/> <a href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.reference:reference1" title="Slice reference1">reference:reference1</a><a name="Observation.reference"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..*</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-Reference.html">Reference</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0250.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_slice.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.reference:reference1.typeCode">typeCode</a><a name="Observation.reference.typeCode"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">1</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-cs-simple.html" title="code">cs</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Fixed Value: </span><span style="color: darkgreen">REFR</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0241.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end_slice.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.reference:reference1.externalDocument">externalDocument</a><a name="Observation.reference.externalDocument"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-ExternalDocument.html">ExternalDocument</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck02410.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.reference:reference1.externalDocument.id">id</a><a name="Observation.reference.externalDocument.id"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..<span style="opacity: 0.5">*</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-II.html">II</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck02401.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.reference:reference1.externalDocument.text">text</a><a name="Observation.reference.externalDocument.text"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-ED.html">ED</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck024000.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-AdvanceDirectiveObservation-definitions.html#Observation.reference:reference1.externalDocument.text.reference">reference</a><a name="Observation.reference.externalDocument.text.reference"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;" href="http://hl7.org/fhir/R5/conformance-rules.html#constraints" title="This element has or is affected by constraints (1198-8698, 1198-8699)">C</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-TEL.html">TEL</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">1198-8698: </span>The URL of a referenced advance directive document **MAY** be present, and **SHALL** be represented in Observation/reference/ExternalDocument/text/reference (CONF:1198-8698).<br/><span style="font-weight:bold">1198-8699: </span>If a URL is referenced, then it **SHOULD** have a corresponding linkHTML element in narrative block (CONF:1198-8699).</td></tr>
<tr><td colspan="5" class="hierarchy"><br/><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC" alt="doco" style="background-color: inherit"/> Documentation for this format</a></td></tr></table></div>
  </text>
  <extension
             url="http://hl7.org/fhir/tools/StructureDefinition/logical-target">
    <valueBoolean>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/data-absent-reason">
        <valueCode value="not-applicable"/>
      </extension>
    </valueBoolean>
  </extension>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace">
    <valueUri value="urn:hl7-org:v3"/>
  </extension>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name">
    <valueUri value="observation"/>
  </extension>
  <url
       value="http://hl7.org/cda/us/ccda/StructureDefinition/AdvanceDirectiveObservation"/>
  <identifier>
    <value value="urn:hl7ii:2.16.840.1.113883.10.20.22.4.48:2015-08-01"/>
  </identifier>
  <version value="2.1"/>
  <name value="AdvanceDirectiveObservation"/>
  <title value="Advance Directive Observation"/>
  <status value="draft"/>
  <date value="2023-09-29T16:20:44+00:00"/>
  <publisher value="Health Level Seven"/>
  <contact>
    <name value="HL7 International - Structured Documents"/>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/structure"/>
    </telecom>
  </contact>
  <description
               value="This clinical statement represents Advance Directive Observation findings (e.g., &quot;resuscitation status is Full Code&quot;) rather than orders. It should not be considered a legal document or a substitute for the actual Advance Directive document. The related legal documents are referenced using the reference/externalReference element.

The Advance Directive Observation describes the patient's directives, including but not limited to:
*  Medications
*  Transfer of Care to Hospital
*  Treatment
*  Procedures
*  Intubation and Ventilation
*  Diagnostic Tests
*  Tests

The observation/value element contains the detailed patient directive which may be coded or text. For example, a category directive may be antibiotics, and the details would be intravenous antibiotics only."/>
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166"/>
      <code value="US"/>
    </coding>
  </jurisdiction>
  <fhirVersion value="5.0.0"/>
  <mapping>
    <identity value="rim"/>
    <uri value="http://hl7.org/v3"/>
    <name value="RIM Mapping"/>
  </mapping>
  <kind value="logical"/>
  <abstract value="false"/>
  <type value="http://hl7.org/cda/stds/core/StructureDefinition/Observation"/>
  <baseDefinition
                  value="http://hl7.org/cda/stds/core/StructureDefinition/Observation"/>
  <derivation value="constraint"/>
  <snapshot>
    <element id="Observation">
      <path value="Observation"/>
      <short value="Base for all types and resources"/>
      <definition
                  value="Base definition for all types defined in FHIR type system."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Base"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <isModifier value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Observation.classCode">
      <path value="Observation.classCode"/>
      <representation value="xmlAttr"/>
      <comment
               value="SHALL contain exactly one [1..1] @classCode=&quot;OBS&quot; Observation (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:1198-8648)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Observation.classCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="OBS"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ActClassObservation"/>
      </binding>
    </element>
    <element id="Observation.moodCode">
      <path value="Observation.moodCode"/>
      <representation value="xmlAttr"/>
      <comment
               value="SHALL contain exactly one [1..1] @moodCode=&quot;EVN&quot; Event (CodeSystem: HL7ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC) (CONF:1198-8649)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Observation.moodCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="EVN"/>
    </element>
    <element id="Observation.negationInd">
      <path value="Observation.negationInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Observation.negationInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
      </type>
    </element>
    <element id="Observation.realmCode">
      <path value="Observation.realmCode"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Observation.realmCode"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
      </type>
    </element>
    <element id="Observation.typeId">
      <path value="Observation.typeId"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Observation.typeId"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="Observation.templateId">
      <path value="Observation.templateId"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="root"/>
        </discriminator>
        <discriminator>
          <type value="value"/>
          <path value="extension"/>
        </discriminator>
        <rules value="open"/>
      </slicing>
      <definition
                  value="When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question"/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="Observation.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="Observation.templateId:primary">
      <path value="Observation.templateId"/>
      <sliceName value="primary"/>
      <definition
                  value="When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question"/>
      <comment
               value="SHALL contain exactly one [1..1] templateId (CONF:1198-8655) such that it"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Observation.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="Observation.templateId:primary.nullFlavor">
      <path value="Observation.templateId.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition
                  value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ANY.nullFlavor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-NullFlavor"/>
      </binding>
    </element>
    <element id="Observation.templateId:primary.assigningAuthorityName">
      <path value="Observation.templateId.assigningAuthorityName"/>
      <representation value="xmlAttr"/>
      <label value="Assigning Authority Name"/>
      <definition
                  value="A human readable name or mnemonic for the assigning authority. The Assigning Authority Name has no computational value. The purpose of a Assigning Authority Name is to assist an unaided human interpreter of an II value to interpret the authority. Note: no automated processing must depend on the assigning authority name to be present in any form."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="II.assigningAuthorityName"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="Observation.templateId:primary.displayable">
      <path value="Observation.templateId.displayable"/>
      <representation value="xmlAttr"/>
      <label value="Displayable"/>
      <definition
                  value="Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="II.displayable"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
      </type>
    </element>
    <element id="Observation.templateId:primary.root">
      <path value="Observation.templateId.root"/>
      <representation value="xmlAttr"/>
      <label value="Root"/>
      <definition
                  value="A unique identifier that guarantees the global uniqueness of the instance identifier. The root alone may be the entire instance identifier."/>
      <comment
               value="SHALL contain exactly one [1..1] @root=&quot;2.16.840.1.113883.10.20.22.4.48&quot; (CONF:1198-10485)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="II.root"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/oid"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/uuid"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/ruid"/>
      </type>
      <patternString value="2.16.840.1.113883.10.20.22.4.48"/>
    </element>
    <element id="Observation.templateId:primary.extension">
      <path value="Observation.templateId.extension"/>
      <representation value="xmlAttr"/>
      <label value="Extension"/>
      <definition
                  value="A character string as a unique identifier within the scope of the identifier root."/>
      <comment
               value="SHALL contain exactly one [1..1] @extension=&quot;2015-08-01&quot; (CONF:1198-32496)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="II.extension"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
      <patternString value="2015-08-01"/>
    </element>
    <element id="Observation.id">
      <path value="Observation.id"/>
      <comment
               value="SHALL contain at least one [1..*] id (CONF:1198-8654)."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="Observation.id"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="Observation.code">
      <path value="Observation.code"/>
      <representation value="typeAttr"/>
      <comment
               value="SHALL contain exactly one [1..1] code, which SHOULD be selected from ValueSet Advance Directive Type Code urn:oid:2.16.840.1.113883.1.11.20.2 DYNAMIC (CONF:1198-8651)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Observation.code"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CD"/>
      </type>
      <binding>
        <strength value="preferred"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.20.2"/>
      </binding>
    </element>
    <element id="Observation.code.nullFlavor">
      <path value="Observation.code.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition
                  value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ANY.nullFlavor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-NullFlavor"/>
      </binding>
    </element>
    <element id="Observation.code.code">
      <path value="Observation.code.code"/>
      <representation value="xmlAttr"/>
      <label value="Code"/>
      <definition
                  value="The plain code symbol defined by the code system. For example, &quot;784.0&quot; is the code symbol of the ICD-9 code &quot;784.0&quot; for headache."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CD.code"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
    </element>
    <element id="Observation.code.codeSystem">
      <path value="Observation.code.codeSystem"/>
      <representation value="xmlAttr"/>
      <label value="Code System"/>
      <definition value="Specifies the code system that defines the code."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CD.codeSystem"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/oid"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/uuid"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/ruid"/>
      </type>
    </element>
    <element id="Observation.code.codeSystemName">
      <path value="Observation.code.codeSystemName"/>
      <representation value="xmlAttr"/>
      <label value="Code System Name"/>
      <definition value="The common name of the coding system."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CD.codeSystemName"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="Observation.code.codeSystemVersion">
      <path value="Observation.code.codeSystemVersion"/>
      <representation value="xmlAttr"/>
      <label value="Code System Version"/>
      <definition
                  value="If applicable, a version descriptor defined specifically for the given code system."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CD.codeSystemVersion"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="Observation.code.displayName">
      <path value="Observation.code.displayName"/>
      <representation value="xmlAttr"/>
      <label value="Display Name"/>
      <definition
                  value="A name or title for the code, under which the sending system shows the code value to its users."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CD.displayName"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="Observation.code.sdtcValueSet">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace">
        <valueUri value="urn:hl7-org:sdtc"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name">
        <valueString value="valueSet"/>
      </extension>
      <path value="Observation.code.sdtcValueSet"/>
      <representation value="xmlAttr"/>
      <definition
                  value="The valueSet extension adds an attribute for elements with a CD dataType which indicates the particular value set constraining the coded concept."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CD.valueSet"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/oid"/>
      </type>
    </element>
    <element id="Observation.code.sdtcValueSetVersion">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace">
        <valueUri value="urn:hl7-org:sdtc"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name">
        <valueString value="valueSetVersion"/>
      </extension>
      <path value="Observation.code.sdtcValueSetVersion"/>
      <representation value="xmlAttr"/>
      <definition
                  value="The valueSetVersion extension adds an attribute for elements with a CD dataType which indicates the version of the particular value set constraining the coded concept."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CD.sdtcValueSetVersion"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="Observation.code.originalText">
      <path value="Observation.code.originalText"/>
      <label value="Original Text"/>
      <definition
                  value="The text or phrase used as the basis for the coding."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CD.originalText"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ED"/>
      </type>
    </element>
    <element id="Observation.code.qualifier">
      <path value="Observation.code.qualifier"/>
      <label value="Qualifier"/>
      <definition
                  value="Specifies additional codes that increase the specificity of the the primary code."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="CD.qualifier"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CR"/>
      </type>
    </element>
    <element id="Observation.code.translation">
      <path value="Observation.code.translation"/>
      <representation value="typeAttr"/>
      <label value="Translation"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="code"/>
        </discriminator>
        <discriminator>
          <type value="value"/>
          <path value="codeSystem"/>
        </discriminator>
        <rules value="open"/>
      </slicing>
      <definition
                  value="A set of other concept descriptors that translate this concept descriptor into other code systems."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="CD.translation"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CD"/>
      </type>
    </element>
    <element id="Observation.code.translation:advanceDirective">
      <path value="Observation.code.translation"/>
      <representation value="typeAttr"/>
      <sliceName value="advanceDirective"/>
      <label value="Translation"/>
      <definition
                  value="A set of other concept descriptors that translate this concept descriptor into other code systems."/>
      <comment
               value="This code SHALL contain exactly one [1..1] translation (CONF:1198-32842) such that it"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="CD.translation"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CD"/>
      </type>
    </element>
    <element id="Observation.code.translation:advanceDirective.nullFlavor">
      <path value="Observation.code.translation.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition
                  value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ANY.nullFlavor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-NullFlavor"/>
      </binding>
    </element>
    <element id="Observation.code.translation:advanceDirective.code">
      <path value="Observation.code.translation.code"/>
      <representation value="xmlAttr"/>
      <label value="Code"/>
      <definition
                  value="The plain code symbol defined by the code system. For example, &quot;784.0&quot; is the code symbol of the ICD-9 code &quot;784.0&quot; for headache."/>
      <comment
               value="SHALL contain exactly one [1..1] @code=&quot;75320-2&quot; Advance directive (CONF:1198-32843)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="CD.code"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <patternCode value="75320-2"/>
    </element>
    <element id="Observation.code.translation:advanceDirective.codeSystem">
      <path value="Observation.code.translation.codeSystem"/>
      <representation value="xmlAttr"/>
      <label value="Code System"/>
      <definition value="Specifies the code system that defines the code."/>
      <comment
               value="SHALL contain exactly one [1..1] @codeSystem=&quot;2.16.840.1.113883.6.1&quot; (CodeSystem: LOINC urn:oid:2.16.840.1.113883.6.1) (CONF:1198-32844)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="CD.codeSystem"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/oid"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/uuid"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/ruid"/>
      </type>
      <patternString value="2.16.840.1.113883.6.1"/>
    </element>
    <element
             id="Observation.code.translation:advanceDirective.codeSystemName">
      <path value="Observation.code.translation.codeSystemName"/>
      <representation value="xmlAttr"/>
      <label value="Code System Name"/>
      <definition value="The common name of the coding system."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CD.codeSystemName"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element
             id="Observation.code.translation:advanceDirective.codeSystemVersion">
      <path value="Observation.code.translation.codeSystemVersion"/>
      <representation value="xmlAttr"/>
      <label value="Code System Version"/>
      <definition
                  value="If applicable, a version descriptor defined specifically for the given code system."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CD.codeSystemVersion"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="Observation.code.translation:advanceDirective.displayName">
      <path value="Observation.code.translation.displayName"/>
      <representation value="xmlAttr"/>
      <label value="Display Name"/>
      <definition
                  value="A name or title for the code, under which the sending system shows the code value to its users."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CD.displayName"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="Observation.code.translation:advanceDirective.sdtcValueSet">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace">
        <valueUri value="urn:hl7-org:sdtc"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name">
        <valueString value="valueSet"/>
      </extension>
      <path value="Observation.code.translation.sdtcValueSet"/>
      <representation value="xmlAttr"/>
      <definition
                  value="The valueSet extension adds an attribute for elements with a CD dataType which indicates the particular value set constraining the coded concept."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CD.valueSet"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/oid"/>
      </type>
    </element>
    <element
             id="Observation.code.translation:advanceDirective.sdtcValueSetVersion">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace">
        <valueUri value="urn:hl7-org:sdtc"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name">
        <valueString value="valueSetVersion"/>
      </extension>
      <path value="Observation.code.translation.sdtcValueSetVersion"/>
      <representation value="xmlAttr"/>
      <definition
                  value="The valueSetVersion extension adds an attribute for elements with a CD dataType which indicates the version of the particular value set constraining the coded concept."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CD.sdtcValueSetVersion"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="Observation.code.translation:advanceDirective.originalText">
      <path value="Observation.code.translation.originalText"/>
      <label value="Original Text"/>
      <definition
                  value="The text or phrase used as the basis for the coding."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CD.originalText"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ED"/>
      </type>
    </element>
    <element id="Observation.code.translation:advanceDirective.qualifier">
      <path value="Observation.code.translation.qualifier"/>
      <label value="Qualifier"/>
      <definition
                  value="Specifies additional codes that increase the specificity of the the primary code."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="CD.qualifier"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CR"/>
      </type>
    </element>
    <element id="Observation.code.translation:advanceDirective.translation">
      <path value="Observation.code.translation.translation"/>
      <representation value="typeAttr"/>
      <label value="Translation"/>
      <definition
                  value="A set of other concept descriptors that translate this concept descriptor into other code systems."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="CD.translation"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CD"/>
      </type>
    </element>
    <element id="Observation.derivationExpr">
      <path value="Observation.derivationExpr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Observation.derivationExpr"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ST"/>
      </type>
    </element>
    <element id="Observation.text">
      <path value="Observation.text"/>
      <representation value="typeAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Observation.text"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ED"/>
      </type>
    </element>
    <element id="Observation.statusCode">
      <path value="Observation.statusCode"/>
      <short
             value="SG 20230706: constraint not entered 'properly' deleted fixedCode='Completed here - it's already in the next element and shoudln't be here - entered weird/wrong in TWB"/>
      <comment
               value="SHALL contain exactly one [1..1] statusCode (CONF:1198-8652)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Observation.statusCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-ActStatus"/>
      </binding>
    </element>
    <element id="Observation.statusCode.nullFlavor">
      <path value="Observation.statusCode.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition
                  value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ANY.nullFlavor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-NullFlavor"/>
      </binding>
    </element>
    <element id="Observation.statusCode.code">
      <path value="Observation.statusCode.code"/>
      <representation value="xmlAttr"/>
      <label value="Code"/>
      <definition
                  value="The plain code symbol defined by the code system. For example, &quot;784.0&quot; is the code symbol of the ICD-9 code &quot;784.0&quot; for headache."/>
      <comment
               value="This statusCode SHALL contain exactly one [1..1] @code=&quot;completed&quot; Completed (CodeSystem: HL7ActStatus urn:oid:2.16.840.1.113883.5.14 STATIC) (CONF:1198-19082)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="CD.code"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="completed"/>
    </element>
    <element id="Observation.statusCode.codeSystem">
      <path value="Observation.statusCode.codeSystem"/>
      <representation value="xmlAttr"/>
      <label value="Code System"/>
      <definition value="Specifies the code system that defines the code."/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="CD.codeSystem"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/oid"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/uuid"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/ruid"/>
      </type>
    </element>
    <element id="Observation.statusCode.codeSystemName">
      <path value="Observation.statusCode.codeSystemName"/>
      <representation value="xmlAttr"/>
      <label value="Code System Name"/>
      <definition value="The common name of the coding system."/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="CD.codeSystemName"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="Observation.statusCode.codeSystemVersion">
      <path value="Observation.statusCode.codeSystemVersion"/>
      <representation value="xmlAttr"/>
      <label value="Code System Version"/>
      <definition
                  value="If applicable, a version descriptor defined specifically for the given code system."/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="CD.codeSystemVersion"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="Observation.statusCode.displayName">
      <path value="Observation.statusCode.displayName"/>
      <representation value="xmlAttr"/>
      <label value="Display Name"/>
      <definition
                  value="A name or title for the code, under which the sending system shows the code value to its users."/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="CD.displayName"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="Observation.statusCode.sdtcValueSet">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace">
        <valueUri value="urn:hl7-org:sdtc"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name">
        <valueString value="valueSet"/>
      </extension>
      <path value="Observation.statusCode.sdtcValueSet"/>
      <representation value="xmlAttr"/>
      <definition
                  value="The valueSet extension adds an attribute for elements with a CD dataType which indicates the particular value set constraining the coded concept."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CD.valueSet"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/oid"/>
      </type>
    </element>
    <element id="Observation.statusCode.sdtcValueSetVersion">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace">
        <valueUri value="urn:hl7-org:sdtc"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name">
        <valueString value="valueSetVersion"/>
      </extension>
      <path value="Observation.statusCode.sdtcValueSetVersion"/>
      <representation value="xmlAttr"/>
      <definition
                  value="The valueSetVersion extension adds an attribute for elements with a CD dataType which indicates the version of the particular value set constraining the coded concept."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CD.sdtcValueSetVersion"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="Observation.statusCode.originalText">
      <path value="Observation.statusCode.originalText"/>
      <label value="Original Text"/>
      <definition
                  value="The text or phrase used as the basis for the coding."/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="CD.originalText"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ED"/>
      </type>
    </element>
    <element id="Observation.statusCode.qualifier">
      <path value="Observation.statusCode.qualifier"/>
      <label value="Qualifier"/>
      <definition
                  value="Specifies additional codes that increase the specificity of the the primary code."/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="CD.qualifier"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CR"/>
      </type>
    </element>
    <element id="Observation.statusCode.translation">
      <path value="Observation.statusCode.translation"/>
      <representation value="typeAttr"/>
      <label value="Translation"/>
      <definition
                  value="A set of other concept descriptors that translate this concept descriptor into other code systems."/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="CD.translation"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CD"/>
      </type>
    </element>
    <element id="Observation.effectiveTime">
      <path value="Observation.effectiveTime"/>
      <comment
               value="SHALL contain exactly one [1..1] effectiveTime (CONF:1198-8656)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Observation.effectiveTime"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS"/>
      </type>
    </element>
    <element id="Observation.effectiveTime.nullFlavor">
      <path value="Observation.effectiveTime.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition
                  value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ANY.nullFlavor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-NullFlavor"/>
      </binding>
    </element>
    <element id="Observation.effectiveTime.value">
      <extension
                 url="http://hl7.org/fhir/tools/StructureDefinition/elementdefinition-date-format">
        <valueString value="YYYYMMDDHHMMSS.UUUU[+|-ZZzz]"/>
      </extension>
      <path value="Observation.effectiveTime.value"/>
      <representation value="xmlAttr"/>
      <definition
                  value="A quantity specifying a point on the axis of natural time. A point in time is most often represented as a calendar expression."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="TS.value"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/ts-simple"/>
      </type>
    </element>
    <element id="Observation.effectiveTime.operator">
      <path value="Observation.effectiveTime.operator"/>
      <representation value="xmlAttr"/>
      <definition
                  value="A code specifying whether the set component is included (union) or excluded (set-difference) from the set, or other set operations with the current set component and the set as constructed from the representation stream up to the current point."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SXCM_TS.operator"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <defaultValueCode value="I"/>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-SetOperator"/>
      </binding>
    </element>
    <element id="Observation.effectiveTime.low">
      <path value="Observation.effectiveTime.low"/>
      <label value="Low Boundary"/>
      <definition value="This is the low limit of the interval."/>
      <comment
               value="This effectiveTime SHALL contain exactly one [1..1] low (CONF:1198-28719)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="IVL_TS.low"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/IVXB-TS"/>
      </type>
    </element>
    <element id="Observation.effectiveTime.center">
      <path value="Observation.effectiveTime.center"/>
      <label value="Central Value"/>
      <definition
                  value="The arithmetic mean of the interval (low plus high divided by 2). The purpose of distinguishing the center as a semantic property is for conversions of intervals from and to point values."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="IVL_TS.center"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/TS"/>
      </type>
    </element>
    <element id="Observation.effectiveTime.width">
      <path value="Observation.effectiveTime.width"/>
      <label value="Width"/>
      <definition
                  value="The difference between high and low boundary. The purpose of distinguishing a width property is to handle all cases of incomplete information symmetrically. In any interval representation only two of the three properties high, low, and width need to be stated and the third can be derived."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="IVL_TS.width"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/PQ"/>
      </type>
    </element>
    <element id="Observation.effectiveTime.high">
      <path value="Observation.effectiveTime.high"/>
      <label value="High Boundary"/>
      <definition value="This is the high limit of the interval."/>
      <comment
               value="This effectiveTime SHALL contain exactly one [1..1] high (CONF:1198-15521)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="IVL_TS.high"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/IVXB-TS"/>
      </type>
      <constraint>
        <key value="1198-32449"/>
        <severity value="error"/>
        <human
               value="If the Advance Directive does not have a specified ending time, the &lt;high&gt; element **SHALL** have the nullFlavor attribute set to *NA* (CONF:1198-32449)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/AdvanceDirectiveObservation"/>
      </constraint>
    </element>
    <element id="Observation.priorityCode">
      <path value="Observation.priorityCode"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Observation.priorityCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-ActPriority"/>
      </binding>
    </element>
    <element id="Observation.repeatNumber">
      <path value="Observation.repeatNumber"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Observation.repeatNumber"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/IVL-INT"/>
      </type>
    </element>
    <element id="Observation.languageCode">
      <path value="Observation.languageCode"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Observation.languageCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-HumanLanguage"/>
      </binding>
    </element>
    <element id="Observation.value">
      <path value="Observation.value"/>
      <representation value="typeAttr"/>
      <comment
               value="SHALL contain exactly one [1..1] value (CONF:1198-30804)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Observation.value"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ANY"/>
      </type>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/BL"/>
      </type>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ED"/>
      </type>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ST"/>
      </type>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CD"/>
      </type>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CV"/>
      </type>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
      </type>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/SC"/>
      </type>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/TEL"/>
      </type>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/AD"/>
      </type>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/EN"/>
      </type>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/INT"/>
      </type>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/REAL"/>
      </type>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/PQ"/>
      </type>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/MO"/>
      </type>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/TS"/>
      </type>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/IVL-PQ"/>
      </type>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS"/>
      </type>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/PIVL-TS"/>
      </type>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/EIVL-TS"/>
      </type>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/SXPR-TS"/>
      </type>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/RTO-PQ-PQ"/>
      </type>
      <constraint>
        <key value="1198-32493"/>
        <severity value="error"/>
        <human
               value="If type CD, then value will be SNOMED-CT 2.16.840.1.113883.6.96 (CONF:1198-32493)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/AdvanceDirectiveObservation"/>
      </constraint>
    </element>
    <element id="Observation.interpretationCode">
      <path value="Observation.interpretationCode"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Observation.interpretationCode"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ObservationInterpretation"/>
      </binding>
    </element>
    <element id="Observation.methodCode">
      <path value="Observation.methodCode"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Observation.methodCode"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ObservationMethod"/>
      </binding>
    </element>
    <element id="Observation.targetSiteCode">
      <path value="Observation.targetSiteCode"/>
      <definition value="Drawn from concept domain ActSite"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Observation.targetSiteCode"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CD"/>
      </type>
    </element>
    <element id="Observation.subject">
      <path value="Observation.subject"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Observation.subject"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Subject"/>
      </type>
    </element>
    <element id="Observation.specimen">
      <path value="Observation.specimen"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Observation.specimen"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Specimen"/>
      </type>
    </element>
    <element id="Observation.performer">
      <path value="Observation.performer"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Observation.performer"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Performer2"/>
      </type>
    </element>
    <element id="Observation.author">
      <path value="Observation.author"/>
      <short value="Base for all types and resources"/>
      <definition
                  value="Base definition for all types defined in FHIR type system."/>
      <comment
               value="SHOULD contain zero or more [0..*] Author Participation (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.119) (CONF:1198-32406)."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Observation.author"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Author"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/AuthorParticipation"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <isModifier value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Observation.informant">
      <path value="Observation.informant"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Observation.informant"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Informant"/>
      </type>
    </element>
    <element id="Observation.participant">
      <path value="Observation.participant"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="participantRole"/>
        </discriminator>
        <discriminator>
          <type value="value"/>
          <path value="typeCode"/>
        </discriminator>
        <rules value="open"/>
      </slicing>
      <short
             value="This custodian (CST) participant identifies a legal representative for the patient's advance directive. Examples of such  individuals are called health care agents, substitute decision makers and/or health care proxies.  If there is more than one  legal representative, a qualifier may be used to designate the  legal representative as primary or secondary."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Observation.participant"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Participant2"/>
      </type>
    </element>
    <element id="Observation.participant.nullFlavor">
      <path value="Observation.participant.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition
                  value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Participant2.nullFlavor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-NullFlavor"/>
      </binding>
    </element>
    <element id="Observation.participant.typeCode">
      <path value="Observation.participant.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Participant2.typeCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ParticipationType"/>
      </binding>
    </element>
    <element id="Observation.participant.contextControlCode">
      <path value="Observation.participant.contextControlCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Participant2.contextControlCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="OP"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ContextControl"/>
      </binding>
    </element>
    <element id="Observation.participant.realmCode">
      <path value="Observation.participant.realmCode"/>
      <definition
                  value="When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Participant2.realmCode"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
      </type>
    </element>
    <element id="Observation.participant.typeId">
      <path value="Observation.participant.typeId"/>
      <definition
                  value="When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Participant2.typeId"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="Observation.participant.templateId">
      <path value="Observation.participant.templateId"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="root"/>
        </discriminator>
        <rules value="open"/>
      </slicing>
      <definition
                  value="When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question"/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="Participant2.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="Observation.participant.templateId:primary">
      <path value="Observation.participant.templateId"/>
      <sliceName value="primary"/>
      <definition
                  value="When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question"/>
      <comment
               value="SHALL contain exactly one [1..1] templateId (CONF:1198-8664) such that it"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Participant2.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="Observation.participant.templateId:primary.nullFlavor">
      <path value="Observation.participant.templateId.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition
                  value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ANY.nullFlavor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-NullFlavor"/>
      </binding>
    </element>
    <element
             id="Observation.participant.templateId:primary.assigningAuthorityName">
      <path
            value="Observation.participant.templateId.assigningAuthorityName"/>
      <representation value="xmlAttr"/>
      <label value="Assigning Authority Name"/>
      <definition
                  value="A human readable name or mnemonic for the assigning authority. The Assigning Authority Name has no computational value. The purpose of a Assigning Authority Name is to assist an unaided human interpreter of an II value to interpret the authority. Note: no automated processing must depend on the assigning authority name to be present in any form."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="II.assigningAuthorityName"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="Observation.participant.templateId:primary.displayable">
      <path value="Observation.participant.templateId.displayable"/>
      <representation value="xmlAttr"/>
      <label value="Displayable"/>
      <definition
                  value="Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="II.displayable"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
      </type>
    </element>
    <element id="Observation.participant.templateId:primary.root">
      <path value="Observation.participant.templateId.root"/>
      <representation value="xmlAttr"/>
      <label value="Root"/>
      <definition
                  value="A unique identifier that guarantees the global uniqueness of the instance identifier. The root alone may be the entire instance identifier."/>
      <comment
               value="SHALL contain exactly one [1..1] @root=&quot;2.16.840.1.113883.10.20.1.58&quot; (CONF:1198-10486)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="II.root"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/oid"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/uuid"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/ruid"/>
      </type>
      <patternString value="2.16.840.1.113883.10.20.1.58"/>
    </element>
    <element id="Observation.participant.templateId:primary.extension">
      <path value="Observation.participant.templateId.extension"/>
      <representation value="xmlAttr"/>
      <label value="Extension"/>
      <definition
                  value="A character string as a unique identifier within the scope of the identifier root."/>
      <comment value="SHALL not contain [0..0] extension"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="II.extension"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
    </element>
    <element id="Observation.participant.sdtcFunctionCode">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace">
        <valueUri value="urn:hl7-org:sdtc"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name">
        <valueString value="functionCode"/>
      </extension>
      <path value="Observation.participant.sdtcFunctionCode"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Participant2.sdtcFunctionCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
      </type>
    </element>
    <element id="Observation.participant.time">
      <path value="Observation.participant.time"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Participant2.time"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS"/>
      </type>
    </element>
    <element id="Observation.participant.awarenessCode">
      <path value="Observation.participant.awarenessCode"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Participant2.awarenessCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
      </type>
    </element>
    <element id="Observation.participant.participantRole">
      <path value="Observation.participant.participantRole"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Participant2.participantRole"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/ParticipantRole"/>
      </type>
    </element>
    <element id="Observation.participant:participant1">
      <path value="Observation.participant"/>
      <sliceName value="participant1"/>
      <short
             value="The participant &quot;VRF&quot; represents the clinician(s) who verified the patient advance directive observation."/>
      <comment
               value="SHOULD contain zero or more [0..*] participant (CONF:1198-8662) such that it"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Observation.participant"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Participant2"/>
      </type>
    </element>
    <element id="Observation.participant:participant1.nullFlavor">
      <path value="Observation.participant.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition
                  value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Participant2.nullFlavor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-NullFlavor"/>
      </binding>
    </element>
    <element id="Observation.participant:participant1.typeCode">
      <path value="Observation.participant.typeCode"/>
      <representation value="xmlAttr"/>
      <comment
               value="SHALL contain exactly one [1..1] @typeCode=&quot;VRF&quot; Verifier (CodeSystem: HL7ParticipationType urn:oid:2.16.840.1.113883.5.90 STATIC) (CONF:1198-8663)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Participant2.typeCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="VRF"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ParticipationType"/>
      </binding>
    </element>
    <element id="Observation.participant:participant1.contextControlCode">
      <path value="Observation.participant.contextControlCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Participant2.contextControlCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="OP"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ContextControl"/>
      </binding>
    </element>
    <element id="Observation.participant:participant1.realmCode">
      <path value="Observation.participant.realmCode"/>
      <definition
                  value="When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Participant2.realmCode"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
      </type>
    </element>
    <element id="Observation.participant:participant1.typeId">
      <path value="Observation.participant.typeId"/>
      <definition
                  value="When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Participant2.typeId"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="Observation.participant:participant1.templateId">
      <path value="Observation.participant.templateId"/>
      <definition
                  value="When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Participant2.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="Observation.participant:participant1.sdtcFunctionCode">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace">
        <valueUri value="urn:hl7-org:sdtc"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name">
        <valueString value="functionCode"/>
      </extension>
      <path value="Observation.participant.sdtcFunctionCode"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Participant2.sdtcFunctionCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
      </type>
    </element>
    <element id="Observation.participant:participant1.time">
      <path value="Observation.participant.time"/>
      <comment
               value="SHOULD contain zero or one [0..1] time (CONF:1198-8665)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Participant2.time"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS"/>
      </type>
      <constraint>
        <key value="1198-8666"/>
        <severity value="warning"/>
        <human
               value="The data type of Observation/participant/time in a verification **SHALL** be *TS* (time stamp) (CONF:1198-8666)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/AdvanceDirectiveObservation"/>
      </constraint>
    </element>
    <element id="Observation.participant:participant1.awarenessCode">
      <path value="Observation.participant.awarenessCode"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Participant2.awarenessCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
      </type>
    </element>
    <element id="Observation.participant:participant1.participantRole">
      <path value="Observation.participant.participantRole"/>
      <comment
               value="SHALL contain exactly one [1..1] participantRole (CONF:1198-8825)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Participant2.participantRole"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/ParticipantRole"/>
      </type>
    </element>
    <element
             id="Observation.participant:participant1.participantRole.classCode">
      <path value="Observation.participant.participantRole.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ParticipantRole.classCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <defaultValueCode value="ROL"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-RoleClassRoot"/>
      </binding>
    </element>
    <element
             id="Observation.participant:participant1.participantRole.templateId">
      <path value="Observation.participant.participantRole.templateId"/>
      <definition
                  value="When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ParticipantRole.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="Observation.participant:participant1.participantRole.id">
      <path value="Observation.participant.participantRole.id"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ParticipantRole.id"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element
             id="Observation.participant:participant1.participantRole.sdtcIdentifiedBy">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace">
        <valueUri value="urn:hl7-org:sdtc"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name">
        <valueString value="identifiedBy"/>
      </extension>
      <path value="Observation.participant.participantRole.sdtcIdentifiedBy"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ParticipantRole.sdtcIdentifiedBy"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/IdentifiedBy"/>
      </type>
    </element>
    <element id="Observation.participant:participant1.participantRole.code">
      <path value="Observation.participant.participantRole.code"/>
      <comment
               value="This participantRole SHOULD contain zero or one [0..1] code, which SHOULD be selected from ValueSet Healthcare Provider Taxonomy urn:oid:2.16.840.1.114222.4.11.1066 DYNAMIC (CONF:1198-28446)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ParticipantRole.code"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
      </type>
      <binding>
        <strength value="preferred"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1066"/>
      </binding>
    </element>
    <element id="Observation.participant:participant1.participantRole.addr">
      <path value="Observation.participant.participantRole.addr"/>
      <short value="Base for all types and resources"/>
      <definition
                  value="Mailing and home or office addresses. A sequence of address parts, such as street or post office Box, city, postal code, country, etc."/>
      <comment
               value="This participantRole MAY contain zero or more [0..*] US Realm Address (AD.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.2) (CONF:1198-28451)."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ParticipantRole.addr"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/AD"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddressADUSFIELDED"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="81-7296"/>
        <severity value="error"/>
        <human
               value="**SHALL NOT** have mixed content except for white space (CONF:81-7296)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddressADUSFIELDED"/>
      </constraint>
      <isModifier value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="Observation.participant:participant1.participantRole.telecom">
      <path value="Observation.participant.participantRole.telecom"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ParticipantRole.telecom"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/TEL"/>
      </type>
    </element>
    <element
             id="Observation.participant:participant1.participantRole.playingDevice">
      <path value="Observation.participant.participantRole.playingDevice"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ParticipantRole.playingDevice"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Device"/>
      </type>
    </element>
    <element
             id="Observation.participant:participant1.participantRole.playingEntity">
      <path value="Observation.participant.participantRole.playingEntity"/>
      <comment
               value="This participantRole MAY contain zero or one [0..1] playingEntity (CONF:1198-28428)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ParticipantRole.playingEntity"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/PlayingEntity"/>
      </type>
    </element>
    <element
             id="Observation.participant:participant1.participantRole.playingEntity.classCode">
      <path
            value="Observation.participant.participantRole.playingEntity.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="PlayingEntity.classCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <defaultValueCode value="ENT"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-EntityClassRoot"/>
      </binding>
    </element>
    <element
             id="Observation.participant:participant1.participantRole.playingEntity.determinerCode">
      <path
            value="Observation.participant.participantRole.playingEntity.determinerCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlayingEntity.determinerCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="INSTANCE"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-EntityDeterminer"/>
      </binding>
    </element>
    <element
             id="Observation.participant:participant1.participantRole.playingEntity.templateId">
      <path
            value="Observation.participant.participantRole.playingEntity.templateId"/>
      <definition
                  value="When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PlayingEntity.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element
             id="Observation.participant:participant1.participantRole.playingEntity.code">
      <path
            value="Observation.participant.participantRole.playingEntity.code"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlayingEntity.code"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-EntityCode"/>
      </binding>
    </element>
    <element
             id="Observation.participant:participant1.participantRole.playingEntity.quantity">
      <path
            value="Observation.participant.participantRole.playingEntity.quantity"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PlayingEntity.quantity"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/PQ"/>
      </type>
    </element>
    <element
             id="Observation.participant:participant1.participantRole.playingEntity.name">
      <path
            value="Observation.participant.participantRole.playingEntity.name"/>
      <short value="Base for all types and resources"/>
      <definition
                  value="A name for a person. A sequence of name parts, such as given name or family name, prefix, suffix, etc. Examples for person name values are &quot;Jim Bob Walton, Jr.&quot;, &quot;Adam Everyman&quot;, etc. A person name may be as simple as a character string or may consist of several person name parts, such as, &quot;Jim&quot;, &quot;Bob&quot;, &quot;Walton&quot;, and &quot;Jr.&quot;. PN differs from EN because the qualifier type cannot include LS (Legal Status)."/>
      <comment
               value="The playingEntity, if present, MAY contain zero or more [0..*] US Realm Person Name (PN.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.1.1) (CONF:1198-28454)."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PlayingEntity.name"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/PN"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmPersonNamePNUSFIELDED"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="pn-no-ls"/>
        <severity value="error"/>
        <human value="No PN name part may have a qualifier of LS."/>
        <expression
                    value="(delimiter | family | given | prefix | suffix).where(qualifier = 'LS').empty()"/>
        <source value="http://hl7.org/cda/stds/core/StructureDefinition/PN"/>
      </constraint>
      <constraint>
        <key value="81-9371"/>
        <severity value="error"/>
        <human
               value="The content of name **SHALL** be either a conformant Patient Name (PTN.US.FIELDED), or a string (CONF:81-9371)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmPersonNamePNUSFIELDED"/>
      </constraint>
      <constraint>
        <key value="81-9372"/>
        <severity value="error"/>
        <human
               value="The string **SHALL NOT** contain name parts (CONF:81-9372)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmPersonNamePNUSFIELDED"/>
      </constraint>
      <isModifier value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="Observation.participant:participant1.participantRole.playingEntity.sdtcBirthTime">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace">
        <valueUri value="urn:hl7-org:sdtc"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name">
        <valueUri value="birthTime"/>
      </extension>
      <path
            value="Observation.participant.participantRole.playingEntity.sdtcBirthTime"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlayingEntity.sdtcBirthTime"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/TS"/>
      </type>
    </element>
    <element
             id="Observation.participant:participant1.participantRole.playingEntity.desc">
      <path
            value="Observation.participant.participantRole.playingEntity.desc"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlayingEntity.desc"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ED"/>
      </type>
    </element>
    <element
             id="Observation.participant:participant1.participantRole.scopingEntity">
      <path value="Observation.participant.participantRole.scopingEntity"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ParticipantRole.scopingEntity"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Entity"/>
      </type>
    </element>
    <element id="Observation.participant:participant2">
      <path value="Observation.participant"/>
      <sliceName value="participant2"/>
      <comment
               value="SHOULD contain zero or more [0..*] participant (CONF:1198-8667) such that it"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Observation.participant"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Participant2"/>
      </type>
    </element>
    <element id="Observation.participant:participant2.nullFlavor">
      <path value="Observation.participant.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition
                  value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Participant2.nullFlavor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-NullFlavor"/>
      </binding>
    </element>
    <element id="Observation.participant:participant2.typeCode">
      <path value="Observation.participant.typeCode"/>
      <representation value="xmlAttr"/>
      <comment
               value="SHALL contain exactly one [1..1] @typeCode=&quot;CST&quot; Custodian (CodeSystem: HL7ParticipationType urn:oid:2.16.840.1.113883.5.90 STATIC) (CONF:1198-8668)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Participant2.typeCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="CST"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ParticipationType"/>
      </binding>
    </element>
    <element id="Observation.participant:participant2.contextControlCode">
      <path value="Observation.participant.contextControlCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Participant2.contextControlCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="OP"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ContextControl"/>
      </binding>
    </element>
    <element id="Observation.participant:participant2.realmCode">
      <path value="Observation.participant.realmCode"/>
      <definition
                  value="When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Participant2.realmCode"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
      </type>
    </element>
    <element id="Observation.participant:participant2.typeId">
      <path value="Observation.participant.typeId"/>
      <definition
                  value="When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Participant2.typeId"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="Observation.participant:participant2.templateId">
      <path value="Observation.participant.templateId"/>
      <definition
                  value="When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Participant2.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="Observation.participant:participant2.sdtcFunctionCode">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace">
        <valueUri value="urn:hl7-org:sdtc"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name">
        <valueString value="functionCode"/>
      </extension>
      <path value="Observation.participant.sdtcFunctionCode"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Participant2.sdtcFunctionCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
      </type>
    </element>
    <element id="Observation.participant:participant2.time">
      <path value="Observation.participant.time"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Participant2.time"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS"/>
      </type>
    </element>
    <element id="Observation.participant:participant2.awarenessCode">
      <path value="Observation.participant.awarenessCode"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Participant2.awarenessCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
      </type>
    </element>
    <element id="Observation.participant:participant2.participantRole">
      <path value="Observation.participant.participantRole"/>
      <comment
               value="SHALL contain exactly one [1..1] participantRole (CONF:1198-8669)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Participant2.participantRole"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/ParticipantRole"/>
      </type>
    </element>
    <element
             id="Observation.participant:participant2.participantRole.classCode">
      <path value="Observation.participant.participantRole.classCode"/>
      <representation value="xmlAttr"/>
      <comment
               value="This participantRole SHALL contain exactly one [1..1] @classCode=&quot;AGNT&quot; Agent (CodeSystem: HL7RoleClass urn:oid:2.16.840.1.113883.5.110 STATIC) (CONF:1198-8670)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ParticipantRole.classCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <defaultValueCode value="ROL"/>
      <fixedCode value="AGNT"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-RoleClassRoot"/>
      </binding>
    </element>
    <element
             id="Observation.participant:participant2.participantRole.templateId">
      <path value="Observation.participant.participantRole.templateId"/>
      <definition
                  value="When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ParticipantRole.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="Observation.participant:participant2.participantRole.id">
      <path value="Observation.participant.participantRole.id"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ParticipantRole.id"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element
             id="Observation.participant:participant2.participantRole.sdtcIdentifiedBy">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace">
        <valueUri value="urn:hl7-org:sdtc"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name">
        <valueString value="identifiedBy"/>
      </extension>
      <path value="Observation.participant.participantRole.sdtcIdentifiedBy"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ParticipantRole.sdtcIdentifiedBy"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/IdentifiedBy"/>
      </type>
    </element>
    <element id="Observation.participant:participant2.participantRole.code">
      <path value="Observation.participant.participantRole.code"/>
      <comment
               value="This participantRole SHOULD contain zero or one [0..1] code, which SHOULD be selected from ValueSet Personal And Legal Relationship Role Type urn:oid:2.16.840.1.113883.11.20.12.1 DYNAMIC (CONF:1198-28440)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ParticipantRole.code"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
      </type>
      <binding>
        <strength value="preferred"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.12.1"/>
      </binding>
    </element>
    <element id="Observation.participant:participant2.participantRole.addr">
      <path value="Observation.participant.participantRole.addr"/>
      <short value="Base for all types and resources"/>
      <definition
                  value="Mailing and home or office addresses. A sequence of address parts, such as street or post office Box, city, postal code, country, etc."/>
      <comment
               value="This participantRole SHOULD contain zero or one [0..1] US Realm Address (AD.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.2) (CONF:1198-8671)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ParticipantRole.addr"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/AD"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddressADUSFIELDED"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="81-7296"/>
        <severity value="error"/>
        <human
               value="**SHALL NOT** have mixed content except for white space (CONF:81-7296)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddressADUSFIELDED"/>
      </constraint>
      <isModifier value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="Observation.participant:participant2.participantRole.telecom">
      <path value="Observation.participant.participantRole.telecom"/>
      <comment
               value="This participantRole SHOULD contain zero or more [0..*] telecom (CONF:1198-8672)."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ParticipantRole.telecom"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/TEL"/>
      </type>
    </element>
    <element
             id="Observation.participant:participant2.participantRole.playingDevice">
      <path value="Observation.participant.participantRole.playingDevice"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ParticipantRole.playingDevice"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Device"/>
      </type>
    </element>
    <element
             id="Observation.participant:participant2.participantRole.playingEntity">
      <path value="Observation.participant.participantRole.playingEntity"/>
      <comment
               value="This participantRole SHALL contain exactly one [1..1] playingEntity (CONF:1198-8824)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ParticipantRole.playingEntity"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/PlayingEntity"/>
      </type>
    </element>
    <element
             id="Observation.participant:participant2.participantRole.playingEntity.classCode">
      <path
            value="Observation.participant.participantRole.playingEntity.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="PlayingEntity.classCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <defaultValueCode value="ENT"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-EntityClassRoot"/>
      </binding>
    </element>
    <element
             id="Observation.participant:participant2.participantRole.playingEntity.determinerCode">
      <path
            value="Observation.participant.participantRole.playingEntity.determinerCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlayingEntity.determinerCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="INSTANCE"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-EntityDeterminer"/>
      </binding>
    </element>
    <element
             id="Observation.participant:participant2.participantRole.playingEntity.templateId">
      <path
            value="Observation.participant.participantRole.playingEntity.templateId"/>
      <definition
                  value="When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PlayingEntity.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element
             id="Observation.participant:participant2.participantRole.playingEntity.code">
      <path
            value="Observation.participant.participantRole.playingEntity.code"/>
      <comment
               value="This playingEntity SHOULD contain zero or one [0..1] code, which SHOULD be selected from ValueSet Healthcare Agent Qualifier urn:oid:2.16.840.1.113883.11.20.9.51 DYNAMIC (CONF:1198-28444)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlayingEntity.code"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
      </type>
      <binding>
        <strength value="preferred"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.51"/>
      </binding>
    </element>
    <element
             id="Observation.participant:participant2.participantRole.playingEntity.quantity">
      <path
            value="Observation.participant.participantRole.playingEntity.quantity"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PlayingEntity.quantity"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/PQ"/>
      </type>
    </element>
    <element
             id="Observation.participant:participant2.participantRole.playingEntity.name">
      <path
            value="Observation.participant.participantRole.playingEntity.name"/>
      <short
             value="Record the name of the agent who can provide a copy of the Advance Directive in the name element."/>
      <comment
               value="This playingEntity SHALL contain exactly one [1..1] name (CONF:1198-8673)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="PlayingEntity.name"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/PN"/>
      </type>
    </element>
    <element
             id="Observation.participant:participant2.participantRole.playingEntity.sdtcBirthTime">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace">
        <valueUri value="urn:hl7-org:sdtc"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name">
        <valueUri value="birthTime"/>
      </extension>
      <path
            value="Observation.participant.participantRole.playingEntity.sdtcBirthTime"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlayingEntity.sdtcBirthTime"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/TS"/>
      </type>
    </element>
    <element
             id="Observation.participant:participant2.participantRole.playingEntity.desc">
      <path
            value="Observation.participant.participantRole.playingEntity.desc"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PlayingEntity.desc"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ED"/>
      </type>
    </element>
    <element
             id="Observation.participant:participant2.participantRole.scopingEntity">
      <path value="Observation.participant.participantRole.scopingEntity"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ParticipantRole.scopingEntity"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Entity"/>
      </type>
    </element>
    <element id="Observation.entryRelationship">
      <path value="Observation.entryRelationship"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Observation.entryRelationship"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship"/>
      </type>
    </element>
    <element id="Observation.reference">
      <path value="Observation.reference"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="externalDocument"/>
        </discriminator>
        <discriminator>
          <type value="value"/>
          <path value="typeCode"/>
        </discriminator>
        <rules value="open"/>
      </slicing>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="Observation.reference"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Reference"/>
      </type>
    </element>
    <element id="Observation.reference:reference1">
      <path value="Observation.reference"/>
      <sliceName value="reference1"/>
      <comment
               value="SHOULD contain at least one [1..*] reference (CONF:1198-8692) such that it"/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="Observation.reference"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Reference"/>
      </type>
    </element>
    <element id="Observation.reference:reference1.nullFlavor">
      <path value="Observation.reference.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition
                  value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ANY.nullFlavor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-NullFlavor"/>
      </binding>
    </element>
    <element id="Observation.reference:reference1.realmCode">
      <path value="Observation.reference.realmCode"/>
      <definition
                  value="When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="InfrastructureRoot.realmCode"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
      </type>
    </element>
    <element id="Observation.reference:reference1.typeId">
      <path value="Observation.reference.typeId"/>
      <definition
                  value="When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="InfrastructureRoot.typeId"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="Observation.reference:reference1.templateId">
      <path value="Observation.reference.templateId"/>
      <definition
                  value="When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="InfrastructureRoot.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="Observation.reference:reference1.typeCode">
      <path value="Observation.reference.typeCode"/>
      <representation value="xmlAttr"/>
      <definition value="Element Act.typeCode"/>
      <comment
               value="SHALL contain exactly one [1..1] @typeCode=&quot;REFR&quot; Refers to (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:1198-8694)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Reference.typeCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="REFR"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-xActRelationshipExternalReference"/>
      </binding>
    </element>
    <element id="Observation.reference:reference1.seperatableInd">
      <path value="Observation.reference.seperatableInd"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Reference.seperatableInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/BL"/>
      </type>
    </element>
    <element id="Observation.reference:reference1.externalAct">
      <path value="Observation.reference.externalAct"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Reference.externalAct"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/ExternalAct"/>
      </type>
    </element>
    <element id="Observation.reference:reference1.externalObservation">
      <path value="Observation.reference.externalObservation"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Reference.externalObservation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/ExternalObservation"/>
      </type>
    </element>
    <element id="Observation.reference:reference1.externalProcedure">
      <path value="Observation.reference.externalProcedure"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Reference.externalProcedure"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/ExternalProcedure"/>
      </type>
    </element>
    <element id="Observation.reference:reference1.externalDocument">
      <path value="Observation.reference.externalDocument"/>
      <comment
               value="SHALL contain exactly one [1..1] externalDocument (CONF:1198-8693)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Reference.externalDocument"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/ExternalDocument"/>
      </type>
    </element>
    <element
             id="Observation.reference:reference1.externalDocument.classCode">
      <path value="Observation.reference.externalDocument.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ExternalDocument.classCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <defaultValueCode value="DOC"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ActClassDocument"/>
      </binding>
    </element>
    <element id="Observation.reference:reference1.externalDocument.moodCode">
      <path value="Observation.reference.externalDocument.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ExternalDocument.moodCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="EVN"/>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-ActMood"/>
      </binding>
    </element>
    <element
             id="Observation.reference:reference1.externalDocument.templateId">
      <path value="Observation.reference.externalDocument.templateId"/>
      <definition
                  value="When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ExternalDocument.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="Observation.reference:reference1.externalDocument.id">
      <path value="Observation.reference.externalDocument.id"/>
      <comment
               value="This externalDocument SHALL contain at least one [1..*] id (CONF:1198-8695)."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="ExternalDocument.id"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="Observation.reference:reference1.externalDocument.code">
      <path value="Observation.reference.externalDocument.code"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ExternalDocument.code"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CD"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSet value="http://hl7.org/fhir/ValueSet/doc-typecodes"/>
      </binding>
    </element>
    <element id="Observation.reference:reference1.externalDocument.text">
      <path value="Observation.reference.externalDocument.text"/>
      <comment
               value="This externalDocument MAY contain zero or one [0..1] text (CONF:1198-8696)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ExternalDocument.text"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ED"/>
      </type>
    </element>
    <element
             id="Observation.reference:reference1.externalDocument.text.nullFlavor">
      <path value="Observation.reference.externalDocument.text.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition
                  value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ANY.nullFlavor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-NullFlavor"/>
      </binding>
    </element>
    <element
             id="Observation.reference:reference1.externalDocument.text.charset">
      <path value="Observation.reference.externalDocument.text.charset"/>
      <representation value="xmlAttr"/>
      <label value="Charset"/>
      <definition
                  value="For character-based encoding types, this property specifies the character set and character encoding used. The charset shall be identified by an Internet Assigned Numbers Authority (IANA) Charset Registration [] in accordance with RFC 2978 []."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ED.charset"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
    </element>
    <element
             id="Observation.reference:reference1.externalDocument.text.compression">
      <path value="Observation.reference.externalDocument.text.compression"/>
      <representation value="xmlAttr"/>
      <label value="Compression"/>
      <definition
                  value="Indicates whether the raw byte data is compressed, and what compression algorithm was used."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ED.compression"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-CompressionAlgorithm"/>
      </binding>
    </element>
    <element
             id="Observation.reference:reference1.externalDocument.text.integrityCheck">
      <path
            value="Observation.reference.externalDocument.text.integrityCheck"/>
      <representation value="xmlAttr"/>
      <label value="Integrity Check"/>
      <definition
                  value="The integrity check is a short binary value representing a cryptographically strong checksum that is calculated over the binary data. The purpose of this property, when communicated with a reference is for anyone to validate later whether the reference still resolved to the same data that the reference resolved to when the encapsulated data value with reference was created."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ED.integrityCheck"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="base64Binary"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/bin"/>
      </type>
    </element>
    <element
             id="Observation.reference:reference1.externalDocument.text.integrityCheckAlgorithm">
      <path
            value="Observation.reference.externalDocument.text.integrityCheckAlgorithm"/>
      <representation value="xmlAttr"/>
      <label value="Integrity Check Algorithm"/>
      <definition
                  value="Specifies the algorithm used to compute the integrityCheck value. The cryptographically strong checksum algorithm Secure Hash Algorithm-1 (SHA-1) is currently the industry standard. It has superseded the MD5 algorithm only a couple of years ago, when certain flaws in the security of MD5 were discovered. Currently the SHA-1 hash algorithm is the default choice for the integrity check algorithm. Note that SHA-256 is also entering widespread usage."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ED.integrityCheckAlgorithm"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-IntegrityCheckAlgorithm"/>
      </binding>
    </element>
    <element
             id="Observation.reference:reference1.externalDocument.text.language">
      <path value="Observation.reference.externalDocument.text.language"/>
      <representation value="xmlAttr"/>
      <label value="Language"/>
      <definition
                  value="For character based information the language property specifies the human language of the text."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ED.language"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
    </element>
    <element
             id="Observation.reference:reference1.externalDocument.text.mediaType">
      <path value="Observation.reference.externalDocument.text.mediaType"/>
      <representation value="xmlAttr"/>
      <label value="Media Type"/>
      <definition
                  value="Identifies the type of the encapsulated data and identifies a method to interpret or render the data."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ED.mediaType"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
    </element>
    <element
             id="Observation.reference:reference1.externalDocument.text.representation">
      <path
            value="Observation.reference.externalDocument.text.representation"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ED.representation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
    </element>
    <element
             id="Observation.reference:reference1.externalDocument.text.data[x]">
      <path value="Observation.reference.externalDocument.text.data[x]"/>
      <representation value="xmlText"/>
      <definition
                  value="Data that is primarily intended for human interpretation or for further machine processing is outside the scope of HL7. This includes unformatted or formatted written language, multimedia data, or structured information as defined by a different standard (e.g., XML-signatures.)"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ED.data[x]"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
      <type>
        <code value="base64Binary"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/bin"/>
      </type>
    </element>
    <element
             id="Observation.reference:reference1.externalDocument.text.reference">
      <path value="Observation.reference.externalDocument.text.reference"/>
      <label value="Reference"/>
      <definition
                  value="A telecommunication address (TEL), such as a URL for HTTP or FTP, which will resolve to precisely the same binary data that could as well have been provided as inline data."/>
      <comment
               value="The text, if present, MAY contain zero or one [0..1] reference (CONF:1198-8697)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ED.reference"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/TEL"/>
      </type>
      <constraint>
        <key value="1198-8698"/>
        <severity value="warning"/>
        <human
               value="The URL of a referenced advance directive document **MAY** be present, and **SHALL** be represented in Observation/reference/ExternalDocument/text/reference (CONF:1198-8698)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/AdvanceDirectiveObservation"/>
      </constraint>
      <constraint>
        <key value="1198-8699"/>
        <severity value="warning"/>
        <human
               value="If a URL is referenced, then it **SHOULD** have a corresponding linkHTML element in narrative block (CONF:1198-8699)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/AdvanceDirectiveObservation"/>
      </constraint>
    </element>
    <element
             id="Observation.reference:reference1.externalDocument.text.thumbnail">
      <path value="Observation.reference.externalDocument.text.thumbnail"/>
      <label value="Thumbnail"/>
      <definition
                  value="An abbreviated rendition of the full data. A thumbnail requires significantly fewer resources than the full data, while still maintaining some distinctive similarity with the full data. A thumbnail is typically used with by-reference encapsulated data. It allows a user to select data more efficiently before actually downloading through the reference."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ED.thumbnail"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ED"/>
      </type>
    </element>
    <element id="Observation.reference:reference1.externalDocument.setId">
      <path value="Observation.reference.externalDocument.setId"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ExternalDocument.setId"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element
             id="Observation.reference:reference1.externalDocument.versionNumber">
      <path value="Observation.reference.externalDocument.versionNumber"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ExternalDocument.versionNumber"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/INT"/>
      </type>
    </element>
    <element id="Observation.precondition">
      <path value="Observation.precondition"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Observation.precondition"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Precondition"/>
      </type>
    </element>
    <element id="Observation.referenceRange">
      <path value="Observation.referenceRange"/>
      <definition
                  value="Relates an Observation to the ObservationRange class, where the expected range of values for a particular observation can be specified."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Observation.referenceRange"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/InfrastructureRoot"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
    </element>
    <element id="Observation.referenceRange.nullFlavor">
      <path value="Observation.referenceRange.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition
                  value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ANY.nullFlavor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-NullFlavor"/>
      </binding>
    </element>
    <element id="Observation.referenceRange.realmCode">
      <path value="Observation.referenceRange.realmCode"/>
      <definition
                  value="When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="InfrastructureRoot.realmCode"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
      </type>
    </element>
    <element id="Observation.referenceRange.typeId">
      <path value="Observation.referenceRange.typeId"/>
      <definition
                  value="When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="InfrastructureRoot.typeId"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="Observation.referenceRange.templateId">
      <path value="Observation.referenceRange.templateId"/>
      <definition
                  value="When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="InfrastructureRoot.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="Observation.referenceRange.typeCode">
      <path value="Observation.referenceRange.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Observation.referenceRange.typeCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <fixedCode value="REFV"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ActRelationshipPertains"/>
      </binding>
    </element>
    <element id="Observation.referenceRange.observationRange">
      <path value="Observation.referenceRange.observationRange"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Observation.referenceRange.observationRange"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/ObservationRange"/>
      </type>
    </element>
  </snapshot>
  <differential>
    <element id="Observation.classCode">
      <path value="Observation.classCode"/>
      <comment
               value="SHALL contain exactly one [1..1] @classCode=&quot;OBS&quot; Observation (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:1198-8648)."/>
      <fixedCode value="OBS"/>
    </element>
    <element id="Observation.moodCode">
      <path value="Observation.moodCode"/>
      <comment
               value="SHALL contain exactly one [1..1] @moodCode=&quot;EVN&quot; Event (CodeSystem: HL7ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC) (CONF:1198-8649)."/>
      <fixedCode value="EVN"/>
    </element>
    <element id="Observation.templateId">
      <path value="Observation.templateId"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="root"/>
        </discriminator>
        <discriminator>
          <type value="value"/>
          <path value="extension"/>
        </discriminator>
        <rules value="open"/>
      </slicing>
      <min value="1"/>
    </element>
    <element id="Observation.templateId:primary">
      <path value="Observation.templateId"/>
      <sliceName value="primary"/>
      <comment
               value="SHALL contain exactly one [1..1] templateId (CONF:1198-8655) such that it"/>
      <min value="1"/>
      <max value="1"/>
    </element>
    <element id="Observation.templateId:primary.root">
      <path value="Observation.templateId.root"/>
      <comment
               value="SHALL contain exactly one [1..1] @root=&quot;2.16.840.1.113883.10.20.22.4.48&quot; (CONF:1198-10485)."/>
      <min value="1"/>
      <patternString value="2.16.840.1.113883.10.20.22.4.48"/>
    </element>
    <element id="Observation.templateId:primary.extension">
      <path value="Observation.templateId.extension"/>
      <comment
               value="SHALL contain exactly one [1..1] @extension=&quot;2015-08-01&quot; (CONF:1198-32496)."/>
      <min value="1"/>
      <patternString value="2015-08-01"/>
    </element>
    <element id="Observation.id">
      <path value="Observation.id"/>
      <comment
               value="SHALL contain at least one [1..*] id (CONF:1198-8654)."/>
      <min value="1"/>
    </element>
    <element id="Observation.code">
      <path value="Observation.code"/>
      <comment
               value="SHALL contain exactly one [1..1] code, which SHOULD be selected from ValueSet Advance Directive Type Code urn:oid:2.16.840.1.113883.1.11.20.2 DYNAMIC (CONF:1198-8651)."/>
      <binding>
        <strength value="preferred"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.20.2"/>
      </binding>
    </element>
    <element id="Observation.code.translation">
      <path value="Observation.code.translation"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="code"/>
        </discriminator>
        <discriminator>
          <type value="value"/>
          <path value="codeSystem"/>
        </discriminator>
        <rules value="open"/>
      </slicing>
      <min value="1"/>
    </element>
    <element id="Observation.code.translation:advanceDirective">
      <path value="Observation.code.translation"/>
      <sliceName value="advanceDirective"/>
      <comment
               value="This code SHALL contain exactly one [1..1] translation (CONF:1198-32842) such that it"/>
      <min value="1"/>
      <max value="1"/>
    </element>
    <element id="Observation.code.translation:advanceDirective.code">
      <path value="Observation.code.translation.code"/>
      <comment
               value="SHALL contain exactly one [1..1] @code=&quot;75320-2&quot; Advance directive (CONF:1198-32843)."/>
      <min value="1"/>
      <patternCode value="75320-2"/>
    </element>
    <element id="Observation.code.translation:advanceDirective.codeSystem">
      <path value="Observation.code.translation.codeSystem"/>
      <comment
               value="SHALL contain exactly one [1..1] @codeSystem=&quot;2.16.840.1.113883.6.1&quot; (CodeSystem: LOINC urn:oid:2.16.840.1.113883.6.1) (CONF:1198-32844)."/>
      <min value="1"/>
      <patternString value="2.16.840.1.113883.6.1"/>
    </element>
    <element id="Observation.statusCode">
      <path value="Observation.statusCode"/>
      <short
             value="SG 20230706: constraint not entered 'properly' deleted fixedCode='Completed here - it's already in the next element and shoudln't be here - entered weird/wrong in TWB"/>
      <comment
               value="SHALL contain exactly one [1..1] statusCode (CONF:1198-8652)."/>
      <min value="1"/>
    </element>
    <element id="Observation.statusCode.code">
      <path value="Observation.statusCode.code"/>
      <comment
               value="This statusCode SHALL contain exactly one [1..1] @code=&quot;completed&quot; Completed (CodeSystem: HL7ActStatus urn:oid:2.16.840.1.113883.5.14 STATIC) (CONF:1198-19082)."/>
      <min value="1"/>
      <fixedCode value="completed"/>
    </element>
    <element id="Observation.effectiveTime">
      <path value="Observation.effectiveTime"/>
      <comment
               value="SHALL contain exactly one [1..1] effectiveTime (CONF:1198-8656)."/>
      <min value="1"/>
    </element>
    <element id="Observation.effectiveTime.low">
      <path value="Observation.effectiveTime.low"/>
      <comment
               value="This effectiveTime SHALL contain exactly one [1..1] low (CONF:1198-28719)."/>
      <min value="1"/>
    </element>
    <element id="Observation.effectiveTime.high">
      <path value="Observation.effectiveTime.high"/>
      <comment
               value="This effectiveTime SHALL contain exactly one [1..1] high (CONF:1198-15521)."/>
      <min value="1"/>
      <constraint>
        <key value="1198-32449"/>
        <severity value="error"/>
        <human
               value="If the Advance Directive does not have a specified ending time, the &lt;high&gt; element **SHALL** have the nullFlavor attribute set to *NA* (CONF:1198-32449)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/AdvanceDirectiveObservation"/>
      </constraint>
    </element>
    <element id="Observation.value">
      <path value="Observation.value"/>
      <comment
               value="SHALL contain exactly one [1..1] value (CONF:1198-30804)."/>
      <min value="1"/>
      <max value="1"/>
      <constraint>
        <key value="1198-32493"/>
        <severity value="error"/>
        <human
               value="If type CD, then value will be SNOMED-CT 2.16.840.1.113883.6.96 (CONF:1198-32493)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/AdvanceDirectiveObservation"/>
      </constraint>
    </element>
    <element id="Observation.author">
      <path value="Observation.author"/>
      <comment
               value="SHOULD contain zero or more [0..*] Author Participation (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.119) (CONF:1198-32406)."/>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Author"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/AuthorParticipation"/>
      </type>
    </element>
    <element id="Observation.participant">
      <path value="Observation.participant"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="participantRole"/>
        </discriminator>
        <discriminator>
          <type value="value"/>
          <path value="typeCode"/>
        </discriminator>
        <rules value="open"/>
      </slicing>
      <short
             value="This custodian (CST) participant identifies a legal representative for the patient's advance directive. Examples of such  individuals are called health care agents, substitute decision makers and/or health care proxies.  If there is more than one  legal representative, a qualifier may be used to designate the  legal representative as primary or secondary."/>
    </element>
    <element id="Observation.participant.templateId">
      <path value="Observation.participant.templateId"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="root"/>
        </discriminator>
        <rules value="open"/>
      </slicing>
      <min value="1"/>
    </element>
    <element id="Observation.participant.templateId:primary">
      <path value="Observation.participant.templateId"/>
      <sliceName value="primary"/>
      <comment
               value="SHALL contain exactly one [1..1] templateId (CONF:1198-8664) such that it"/>
      <min value="1"/>
      <max value="1"/>
    </element>
    <element id="Observation.participant.templateId:primary.root">
      <path value="Observation.participant.templateId.root"/>
      <comment
               value="SHALL contain exactly one [1..1] @root=&quot;2.16.840.1.113883.10.20.1.58&quot; (CONF:1198-10486)."/>
      <min value="1"/>
      <patternString value="2.16.840.1.113883.10.20.1.58"/>
    </element>
    <element id="Observation.participant.templateId:primary.extension">
      <path value="Observation.participant.templateId.extension"/>
      <comment value="SHALL not contain [0..0] extension"/>
      <max value="0"/>
    </element>
    <element id="Observation.participant:participant1">
      <path value="Observation.participant"/>
      <sliceName value="participant1"/>
      <short
             value="The participant &quot;VRF&quot; represents the clinician(s) who verified the patient advance directive observation."/>
      <comment
               value="SHOULD contain zero or more [0..*] participant (CONF:1198-8662) such that it"/>
      <min value="0"/>
      <max value="*"/>
    </element>
    <element id="Observation.participant:participant1.typeCode">
      <path value="Observation.participant.typeCode"/>
      <comment
               value="SHALL contain exactly one [1..1] @typeCode=&quot;VRF&quot; Verifier (CodeSystem: HL7ParticipationType urn:oid:2.16.840.1.113883.5.90 STATIC) (CONF:1198-8663)."/>
      <min value="1"/>
      <fixedCode value="VRF"/>
    </element>
    <element id="Observation.participant:participant1.time">
      <path value="Observation.participant.time"/>
      <comment
               value="SHOULD contain zero or one [0..1] time (CONF:1198-8665)."/>
      <constraint>
        <key value="1198-8666"/>
        <severity value="warning"/>
        <human
               value="The data type of Observation/participant/time in a verification **SHALL** be *TS* (time stamp) (CONF:1198-8666)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/AdvanceDirectiveObservation"/>
      </constraint>
    </element>
    <element id="Observation.participant:participant1.participantRole">
      <path value="Observation.participant.participantRole"/>
      <comment
               value="SHALL contain exactly one [1..1] participantRole (CONF:1198-8825)."/>
    </element>
    <element id="Observation.participant:participant1.participantRole.code">
      <path value="Observation.participant.participantRole.code"/>
      <comment
               value="This participantRole SHOULD contain zero or one [0..1] code, which SHOULD be selected from ValueSet Healthcare Provider Taxonomy urn:oid:2.16.840.1.114222.4.11.1066 DYNAMIC (CONF:1198-28446)."/>
      <binding>
        <strength value="preferred"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1066"/>
      </binding>
    </element>
    <element id="Observation.participant:participant1.participantRole.addr">
      <path value="Observation.participant.participantRole.addr"/>
      <comment
               value="This participantRole MAY contain zero or more [0..*] US Realm Address (AD.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.2) (CONF:1198-28451)."/>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/AD"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddressADUSFIELDED"/>
      </type>
    </element>
    <element
             id="Observation.participant:participant1.participantRole.playingEntity">
      <path value="Observation.participant.participantRole.playingEntity"/>
      <comment
               value="This participantRole MAY contain zero or one [0..1] playingEntity (CONF:1198-28428)."/>
    </element>
    <element
             id="Observation.participant:participant1.participantRole.playingEntity.name">
      <path
            value="Observation.participant.participantRole.playingEntity.name"/>
      <comment
               value="The playingEntity, if present, MAY contain zero or more [0..*] US Realm Person Name (PN.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.1.1) (CONF:1198-28454)."/>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/PN"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmPersonNamePNUSFIELDED"/>
      </type>
    </element>
    <element id="Observation.participant:participant2">
      <path value="Observation.participant"/>
      <sliceName value="participant2"/>
      <comment
               value="SHOULD contain zero or more [0..*] participant (CONF:1198-8667) such that it"/>
      <min value="0"/>
      <max value="*"/>
    </element>
    <element id="Observation.participant:participant2.typeCode">
      <path value="Observation.participant.typeCode"/>
      <comment
               value="SHALL contain exactly one [1..1] @typeCode=&quot;CST&quot; Custodian (CodeSystem: HL7ParticipationType urn:oid:2.16.840.1.113883.5.90 STATIC) (CONF:1198-8668)."/>
      <min value="1"/>
      <fixedCode value="CST"/>
    </element>
    <element id="Observation.participant:participant2.participantRole">
      <path value="Observation.participant.participantRole"/>
      <comment
               value="SHALL contain exactly one [1..1] participantRole (CONF:1198-8669)."/>
    </element>
    <element
             id="Observation.participant:participant2.participantRole.classCode">
      <path value="Observation.participant.participantRole.classCode"/>
      <comment
               value="This participantRole SHALL contain exactly one [1..1] @classCode=&quot;AGNT&quot; Agent (CodeSystem: HL7RoleClass urn:oid:2.16.840.1.113883.5.110 STATIC) (CONF:1198-8670)."/>
      <fixedCode value="AGNT"/>
    </element>
    <element id="Observation.participant:participant2.participantRole.code">
      <path value="Observation.participant.participantRole.code"/>
      <comment
               value="This participantRole SHOULD contain zero or one [0..1] code, which SHOULD be selected from ValueSet Personal And Legal Relationship Role Type urn:oid:2.16.840.1.113883.11.20.12.1 DYNAMIC (CONF:1198-28440)."/>
      <binding>
        <strength value="preferred"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.12.1"/>
      </binding>
    </element>
    <element id="Observation.participant:participant2.participantRole.addr">
      <path value="Observation.participant.participantRole.addr"/>
      <comment
               value="This participantRole SHOULD contain zero or one [0..1] US Realm Address (AD.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.2) (CONF:1198-8671)."/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/AD"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmAddressADUSFIELDED"/>
      </type>
    </element>
    <element
             id="Observation.participant:participant2.participantRole.telecom">
      <path value="Observation.participant.participantRole.telecom"/>
      <comment
               value="This participantRole SHOULD contain zero or more [0..*] telecom (CONF:1198-8672)."/>
    </element>
    <element
             id="Observation.participant:participant2.participantRole.playingEntity">
      <path value="Observation.participant.participantRole.playingEntity"/>
      <comment
               value="This participantRole SHALL contain exactly one [1..1] playingEntity (CONF:1198-8824)."/>
      <min value="1"/>
    </element>
    <element
             id="Observation.participant:participant2.participantRole.playingEntity.code">
      <path
            value="Observation.participant.participantRole.playingEntity.code"/>
      <comment
               value="This playingEntity SHOULD contain zero or one [0..1] code, which SHOULD be selected from ValueSet Healthcare Agent Qualifier urn:oid:2.16.840.1.113883.11.20.9.51 DYNAMIC (CONF:1198-28444)."/>
      <binding>
        <strength value="preferred"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.51"/>
      </binding>
    </element>
    <element
             id="Observation.participant:participant2.participantRole.playingEntity.name">
      <path
            value="Observation.participant.participantRole.playingEntity.name"/>
      <short
             value="Record the name of the agent who can provide a copy of the Advance Directive in the name element."/>
      <comment
               value="This playingEntity SHALL contain exactly one [1..1] name (CONF:1198-8673)."/>
      <min value="1"/>
      <max value="1"/>
    </element>
    <element id="Observation.reference">
      <path value="Observation.reference"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="externalDocument"/>
        </discriminator>
        <discriminator>
          <type value="value"/>
          <path value="typeCode"/>
        </discriminator>
        <rules value="open"/>
      </slicing>
      <min value="1"/>
    </element>
    <element id="Observation.reference:reference1">
      <path value="Observation.reference"/>
      <sliceName value="reference1"/>
      <comment
               value="SHOULD contain at least one [1..*] reference (CONF:1198-8692) such that it"/>
      <min value="1"/>
      <max value="*"/>
    </element>
    <element id="Observation.reference:reference1.typeCode">
      <path value="Observation.reference.typeCode"/>
      <comment
               value="SHALL contain exactly one [1..1] @typeCode=&quot;REFR&quot; Refers to (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:1198-8694)."/>
      <fixedCode value="REFR"/>
    </element>
    <element id="Observation.reference:reference1.externalDocument">
      <path value="Observation.reference.externalDocument"/>
      <comment
               value="SHALL contain exactly one [1..1] externalDocument (CONF:1198-8693)."/>
      <min value="1"/>
    </element>
    <element id="Observation.reference:reference1.externalDocument.id">
      <path value="Observation.reference.externalDocument.id"/>
      <comment
               value="This externalDocument SHALL contain at least one [1..*] id (CONF:1198-8695)."/>
      <min value="1"/>
    </element>
    <element id="Observation.reference:reference1.externalDocument.text">
      <path value="Observation.reference.externalDocument.text"/>
      <comment
               value="This externalDocument MAY contain zero or one [0..1] text (CONF:1198-8696)."/>
    </element>
    <element
             id="Observation.reference:reference1.externalDocument.text.reference">
      <path value="Observation.reference.externalDocument.text.reference"/>
      <comment
               value="The text, if present, MAY contain zero or one [0..1] reference (CONF:1198-8697)."/>
      <constraint>
        <key value="1198-8698"/>
        <severity value="warning"/>
        <human
               value="The URL of a referenced advance directive document **MAY** be present, and **SHALL** be represented in Observation/reference/ExternalDocument/text/reference (CONF:1198-8698)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/AdvanceDirectiveObservation"/>
      </constraint>
      <constraint>
        <key value="1198-8699"/>
        <severity value="warning"/>
        <human
               value="If a URL is referenced, then it **SHOULD** have a corresponding linkHTML element in narrative block (CONF:1198-8699)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/AdvanceDirectiveObservation"/>
      </constraint>
    </element>
  </differential>
</StructureDefinition>