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: ReferralNote - XML Profile

Active as of 2023-09-29

XML representation of the ReferralNote logical model.

Raw xml | Download



<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="ReferralNote"/>
  <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-ReferralNote-definitions.html#ClinicalDocument">ClinicalDocument</a><a name="ClinicalDocument"> </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 href="StructureDefinition-USRealmHeader.html">USRealmHeader</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-ClinicalDocument.html">@classCode</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-ClinicalDocument.html">@moodCode</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-ClinicalDocument.html" title="When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question">realmCode</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-ClinicalDocument.html" title="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.">typeId</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-ClinicalDocument.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-ClinicalDocument.html">id</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-ClinicalDocument.html">code</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-ClinicalDocument.html">title</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-ClinicalDocument.html">effectiveTime</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-ClinicalDocument.html">confidentialityCode</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-ClinicalDocument.html">languageCode</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-ClinicalDocument.html">setId</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-ClinicalDocument.html">versionNumber</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-ClinicalDocument.html">copyTime</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-ClinicalDocument.html">recordTarget</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-ClinicalDocument.html">author</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-ClinicalDocument.html">dataEnterer</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-ClinicalDocument.html">informant</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-ClinicalDocument.html">custodian</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-ClinicalDocument.html">informationRecipient</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-ClinicalDocument.html">legalAuthenticator</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-ClinicalDocument.html">authenticator</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-ClinicalDocument.html">participant</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-ClinicalDocument.html">inFulfillmentOf</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-ClinicalDocument.html">documentationOf</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-ClinicalDocument.html">relatedDocument</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-ClinicalDocument.html">authorization</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-ClinicalDocument.html">componentOf</a>, <a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-ClinicalDocument.html">component</a>, <a href="StructureDefinition-USRealmHeader.html">realmCode</a>, <a href="StructureDefinition-USRealmHeader.html">typeId</a>, <a href="StructureDefinition-USRealmHeader.html">templateId</a>, <a href="StructureDefinition-USRealmHeader.html">templateId</a>, <a href="StructureDefinition-USRealmHeader.html">id</a>, <a href="StructureDefinition-USRealmHeader.html">code</a>, <a href="StructureDefinition-USRealmHeader.html">title</a>, <a href="StructureDefinition-USRealmHeader.html">effectiveTime</a>, <a href="StructureDefinition-USRealmHeader.html">confidentialityCode</a>, <a href="StructureDefinition-USRealmHeader.html">languageCode</a>, <a href="StructureDefinition-USRealmHeader.html">setId</a>, <a href="StructureDefinition-USRealmHeader.html">versionNumber</a>, <a href="StructureDefinition-USRealmHeader.html">recordTarget</a>, <a href="StructureDefinition-USRealmHeader.html">author</a>, <a href="StructureDefinition-USRealmHeader.html">dataEnterer</a>, <a href="StructureDefinition-USRealmHeader.html">informant</a>, <a href="StructureDefinition-USRealmHeader.html">informant</a>, <a href="StructureDefinition-USRealmHeader.html">informant</a>, <a href="StructureDefinition-USRealmHeader.html">custodian</a>, <a href="StructureDefinition-USRealmHeader.html">informationRecipient</a>, <a href="StructureDefinition-USRealmHeader.html">legalAuthenticator</a>, <a href="StructureDefinition-USRealmHeader.html">authenticator</a>, <a href="StructureDefinition-USRealmHeader.html">authenticator</a>, <a href="StructureDefinition-USRealmHeader.html">participant</a>, <a href="StructureDefinition-USRealmHeader.html">inFulfillmentOf</a>, <a href="StructureDefinition-USRealmHeader.html">documentationOf</a>, <a href="StructureDefinition-USRealmHeader.html">authorization</a>, <a href="StructureDefinition-USRealmHeader.html">componentOf</a><br/><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: #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-ReferralNote-definitions.html#ClinicalDocument.templateId">templateId</a><a name="ClinicalDocument.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">2..<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_bck15.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_item.png" alt="." style="background-color: white; background-color: inherit" title="Slice Item" class="hierarchy"/> <a href="StructureDefinition-ReferralNote-definitions.html#ClinicalDocument.templateId:primary" title="Slice primary">templateId:primary</a><a name="ClinicalDocument.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_bck150.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_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-ReferralNote-definitions.html#ClinicalDocument.templateId:primary.root">root</a><a name="ClinicalDocument.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.1.14</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_bck140.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_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-ReferralNote-definitions.html#ClinicalDocument.templateId:primary.extension">extension</a><a name="ClinicalDocument.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-ReferralNote-definitions.html#ClinicalDocument.code">code</a><a name="ClinicalDocument.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"><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-CE.html">CE</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">The Referral Note recommends use of the document type code 57133-1 &quot;Referral Note&quot;, with further specification provided by author or performer, setting, or specialty. When pre-coordinated codes are used, any coded values describing the author or performer of the service act or the practice setting must be consistent with the LOINC document type. For example, an Obstetrics and Gynecology Referral note would not be authored by a Pediatric Cardiologist.  The type of referral and the target of the referral are specified via the participant (and not via the author).<br/><span style="font-weight:bold">Binding: </span><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.1.11.20.2.3/expansion">ReferralDocumentType</a> (<a href="http://hl7.org/fhir/R5/terminologies.html#required" title="To be conformant, the concept in this element SHALL be from the specified value set.">required</a>)</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_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-ReferralNote-definitions.html#ClinicalDocument.informationRecipient">informationRecipient</a><a name="ClinicalDocument.informationRecipient"> </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-InformationRecipient.html">InformationRecipient</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_bck101.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-ReferralNote-definitions.html#ClinicalDocument.informationRecipient.intendedRecipient">intendedRecipient</a><a name="ClinicalDocument.informationRecipient.intendedRecipient"> </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-IntendedRecipient.html">IntendedRecipient</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_bck1010.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.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-ReferralNote-definitions.html#ClinicalDocument.informationRecipient.intendedRecipient.addr">addr</a><a name="ClinicalDocument.informationRecipient.intendedRecipient.addr"> </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-AD.html">AD</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_bck1010.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.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-ReferralNote-definitions.html#ClinicalDocument.informationRecipient.intendedRecipient.telecom">telecom</a><a name="ClinicalDocument.informationRecipient.intendedRecipient.telecom"> </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 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: #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_bck1001.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.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-ReferralNote-definitions.html#ClinicalDocument.informationRecipient.intendedRecipient.informationRecipient">informationRecipient</a><a name="ClinicalDocument.informationRecipient.intendedRecipient.informationRecipient"> </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-Person.html">Person</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_bck10000.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-ReferralNote-definitions.html#ClinicalDocument.informationRecipient.intendedRecipient.informationRecipient.name">name</a><a name="ClinicalDocument.informationRecipient.intendedRecipient.informationRecipient.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">1</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 style="opacity: 0.5" 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_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-ReferralNote-definitions.html#ClinicalDocument.participant">Slices for participant</a><a name="ClinicalDocument.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-Participant1.html">Participant1</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 participant represents the clinician to contact for questions about the referral note.  This call back contact individual may be a different person than the individual(s) identified in the author or legalAuthenticator participant.</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: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_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: #F7F7F7; background-color: inherit" title="Slice Item" class="hierarchy"/> <a href="StructureDefinition-ReferralNote-definitions.html#ClinicalDocument.participant:participant1" title="Slice participant1">participant:participant1</a><a name="ClinicalDocument.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">0..*</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-Participant1.html">Participant1</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_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-ReferralNote-definitions.html#ClinicalDocument.participant:participant1.typeCode">typeCode</a><a name="ClinicalDocument.participant.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">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">IND</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_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-ReferralNote-definitions.html#ClinicalDocument.participant:participant1.associatedEntity">associatedEntity</a><a name="ClinicalDocument.participant.associatedEntity"> </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-AssociatedEntity.html">AssociatedEntity</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-ReferralNote-definitions.html#ClinicalDocument.participant:participant1.associatedEntity.classCode">classCode</a><a name="ClinicalDocument.participant.associatedEntity.classCode"> </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">Binding: </span><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.11.20.9.33/expansion">INDRoleclassCodes</a> (<a href="http://hl7.org/fhir/R5/terminologies.html#required" title="To be conformant, the concept in this element SHALL be from the specified value set.">required</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_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: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-ReferralNote-definitions.html#ClinicalDocument.participant:participant1.associatedEntity.associatedPerson">associatedPerson</a><a name="ClinicalDocument.participant.associatedEntity.associatedPerson"> </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-Person.html">Person</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_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: white; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-ReferralNote-definitions.html#ClinicalDocument.participant:participant1.associatedEntity.associatedPerson.name">name</a><a name="ClinicalDocument.participant.associatedEntity.associatedPerson.name"> </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 href="StructureDefinition-USRealmPatientNamePTNUSFIELDED.html" title="http://hl7.org/cda/stds/core/StructureDefinition/PN">USRealmPatientNamePTNUSFIELDED</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">Base for all types and resources</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_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: #F7F7F7; background-color: inherit" title="Slice Item" class="hierarchy"/> <a href="StructureDefinition-ReferralNote-definitions.html#ClinicalDocument.participant:participant2" title="Slice participant2">participant:participant2</a><a name="ClinicalDocument.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">0..*</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-Participant1.html">Participant1</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_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: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-ReferralNote-definitions.html#ClinicalDocument.participant:participant2.typeCode">typeCode</a><a name="ClinicalDocument.participant.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">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">CALLBCK</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_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: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-ReferralNote-definitions.html#ClinicalDocument.participant:participant2.associatedEntity">associatedEntity</a><a name="ClinicalDocument.participant.associatedEntity"> </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-AssociatedEntity.html">AssociatedEntity</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_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-ReferralNote-definitions.html#ClinicalDocument.participant:participant2.associatedEntity.classCode">classCode</a><a name="ClinicalDocument.participant.associatedEntity.classCode"> </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">ASSIGNED</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_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-ReferralNote-definitions.html#ClinicalDocument.participant:participant2.associatedEntity.id">id</a><a name="ClinicalDocument.participant.associatedEntity.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_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-ReferralNote-definitions.html#ClinicalDocument.participant:participant2.associatedEntity.addr">addr</a><a name="ClinicalDocument.participant.associatedEntity.addr"> </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-AD.html">AD</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-ReferralNote-definitions.html#ClinicalDocument.participant:participant2.associatedEntity.telecom">telecom</a><a name="ClinicalDocument.participant.associatedEntity.telecom"> </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-TEL.html">TEL</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_bck12411.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-ReferralNote-definitions.html#ClinicalDocument.participant:participant2.associatedEntity.associatedPerson">associatedPerson</a><a name="ClinicalDocument.participant.associatedEntity.associatedPerson"> </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-Person.html">Person</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_bck124100.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_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-ReferralNote-definitions.html#ClinicalDocument.participant:participant2.associatedEntity.associatedPerson.name">name</a><a name="ClinicalDocument.participant.associatedEntity.associatedPerson.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..<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-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"/></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_bck12400.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: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-ReferralNote-definitions.html#ClinicalDocument.participant:participant2.associatedEntity.scopingOrganization">scopingOrganization</a><a name="ClinicalDocument.participant.associatedEntity.scopingOrganization"> </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-Organization.html">Organization</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_bck01.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_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-ReferralNote-definitions.html#ClinicalDocument.component">component</a><a name="ClinicalDocument.component"> </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"/></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_bck001.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.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-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody">structuredBody</a><a name="ClinicalDocument.component.structuredBody"> </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-29102, 1198-29103)">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..<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-StructuredBody.html">StructuredBody</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-29102: </span>This structuredBody **SHALL** contain an Assessment and Plan Section (2.16.840.1.113883.10.20.22.2.9:2014-06-09), or an Assessment Section (2.16.840.1.113883.10.20.22.2.8) and a Plan of Treatment Section (2.16.840.1.113883.10.20.22.2.10:2014-06-09) (CONF:1198-29102).<br/><span style="font-weight:bold">1198-29103: </span>This structuredBody **SHALL NOT** contain an Assessment and Plan Section (2.16.840.1.113883.10.20.22.2.9:2014-06-09) when either an Assessment Section (2.16.840.1.113883.10.20.22.2.8) or a Plan of Treatment Section (2.16.840.1.113883.10.20.22.2.10:2014-06-09) is present (CONF:1198-29103).</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_bck0003.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.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-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component">Slices for component</a><a name="ClinicalDocument.component.structuredBody.component"> </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">5</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-InfrastructureRoot.html">InfrastructureRoot</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:section.code</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_bck00035.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_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-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:planOfTreatment" title="Slice planOfTreatment">component:planOfTreatment</a><a name="ClinicalDocument.component.structuredBody.component"> </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..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-InfrastructureRoot.html">InfrastructureRoot</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_bck000340.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_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_resource.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:planOfTreatment.section">section</a><a name="ClinicalDocument.component.structuredBody.component.section"> </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 href="StructureDefinition-PlanofTreatmentSection.html" title="http://hl7.org/cda/stds/core/StructureDefinition/Section">PlanofTreatmentSection</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_bck00035.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_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-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:advanceDirectives" title="Slice advanceDirectives">component:advanceDirectives</a><a name="ClinicalDocument.component.structuredBody.component"> </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..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-InfrastructureRoot.html">InfrastructureRoot</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_bck000340.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_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_resource.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:advanceDirectives.section">section</a><a name="ClinicalDocument.component.structuredBody.component.section"> </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 href="StructureDefinition-AdvanceDirectivesSection.html" title="http://hl7.org/cda/stds/core/StructureDefinition/Section">AdvanceDirectivesSection</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_bck00035.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_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-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:historyOfPresentIllness" title="Slice historyOfPresentIllness">component:historyOfPresentIllness</a><a name="ClinicalDocument.component.structuredBody.component"> </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..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-InfrastructureRoot.html">InfrastructureRoot</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_bck000340.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_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_resource.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:historyOfPresentIllness.section">section</a><a name="ClinicalDocument.component.structuredBody.component.section"> </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 href="StructureDefinition-HistoryofPresentIllnessSection.html" title="http://hl7.org/cda/stds/core/StructureDefinition/Section">HistoryofPresentIllnessSection</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_bck00035.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_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-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:familyHistory" title="Slice familyHistory">component:familyHistory</a><a name="ClinicalDocument.component.structuredBody.component"> </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..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-InfrastructureRoot.html">InfrastructureRoot</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_bck000340.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_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_resource.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:familyHistory.section">section</a><a name="ClinicalDocument.component.structuredBody.component.section"> </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 href="StructureDefinition-FamilyHistorySection.html" title="http://hl7.org/cda/stds/core/StructureDefinition/Section">FamilyHistorySection</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_bck00035.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_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-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:immunizations" title="Slice immunizations">component:immunizations</a><a name="ClinicalDocument.component.structuredBody.component"> </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..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-InfrastructureRoot.html">InfrastructureRoot</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_bck000340.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_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_resource.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:immunizations.section">section</a><a name="ClinicalDocument.component.structuredBody.component.section"> </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 href="StructureDefinition-ImmunizationsSection.html" title="http://hl7.org/cda/stds/core/StructureDefinition/Section">ImmunizationsSection</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_bck00035.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_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-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:problem" title="Slice problem">component:problem</a><a name="ClinicalDocument.component.structuredBody.component"> </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-InfrastructureRoot.html">InfrastructureRoot</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_bck000340.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_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_resource.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:problem.section">section</a><a name="ClinicalDocument.component.structuredBody.component.section"> </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 href="StructureDefinition-ProblemSection.html" title="http://hl7.org/cda/stds/core/StructureDefinition/Section">ProblemSection</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_bck00035.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_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-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:procedures" title="Slice procedures">component:procedures</a><a name="ClinicalDocument.component.structuredBody.component"> </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..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-InfrastructureRoot.html">InfrastructureRoot</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_bck000340.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_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_resource.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:procedures.section">section</a><a name="ClinicalDocument.component.structuredBody.component.section"> </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 href="StructureDefinition-ProceduresSection.html" title="http://hl7.org/cda/stds/core/StructureDefinition/Section">ProceduresSection</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_bck00035.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_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-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:results" title="Slice results">component:results</a><a name="ClinicalDocument.component.structuredBody.component"> </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..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-InfrastructureRoot.html">InfrastructureRoot</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_bck000340.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_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_resource.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:results.section">section</a><a name="ClinicalDocument.component.structuredBody.component.section"> </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 href="StructureDefinition-ResultsSection.html" title="http://hl7.org/cda/stds/core/StructureDefinition/Section">ResultsSection</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_bck00035.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_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-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:reviewOfSystems" title="Slice reviewOfSystems">component:reviewOfSystems</a><a name="ClinicalDocument.component.structuredBody.component"> </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..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-InfrastructureRoot.html">InfrastructureRoot</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_bck000340.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_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_resource.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:reviewOfSystems.section">section</a><a name="ClinicalDocument.component.structuredBody.component.section"> </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 href="StructureDefinition-ReviewofSystemsSection.html" title="http://hl7.org/cda/stds/core/StructureDefinition/Section">ReviewofSystemsSection</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_bck00035.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_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-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:socialHistory" title="Slice socialHistory">component:socialHistory</a><a name="ClinicalDocument.component.structuredBody.component"> </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..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-InfrastructureRoot.html">InfrastructureRoot</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_bck000340.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_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_resource.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:socialHistory.section">section</a><a name="ClinicalDocument.component.structuredBody.component.section"> </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 href="StructureDefinition-SocialHistorySection.html" title="http://hl7.org/cda/stds/core/StructureDefinition/Section">SocialHistorySection</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_bck00035.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_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-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:vitalSigns" title="Slice vitalSigns">component:vitalSigns</a><a name="ClinicalDocument.component.structuredBody.component"> </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..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-InfrastructureRoot.html">InfrastructureRoot</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_bck000340.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_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_resource.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:vitalSigns.section">section</a><a name="ClinicalDocument.component.structuredBody.component.section"> </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 href="StructureDefinition-VitalSignsSection.html" title="http://hl7.org/cda/stds/core/StructureDefinition/Section">VitalSignsSection</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_bck00035.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_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-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:functionalStatus" title="Slice functionalStatus">component:functionalStatus</a><a name="ClinicalDocument.component.structuredBody.component"> </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..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-InfrastructureRoot.html">InfrastructureRoot</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_bck000340.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_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_resource.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:functionalStatus.section">section</a><a name="ClinicalDocument.component.structuredBody.component.section"> </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 href="StructureDefinition-FunctionalStatusSection.html" title="http://hl7.org/cda/stds/core/StructureDefinition/Section">FunctionalStatusSection</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_bck00035.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_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-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:physicalExam" title="Slice physicalExam">component:physicalExam</a><a name="ClinicalDocument.component.structuredBody.component"> </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..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-InfrastructureRoot.html">InfrastructureRoot</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_bck000340.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_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_resource.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:physicalExam.section">section</a><a name="ClinicalDocument.component.structuredBody.component.section"> </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 href="StructureDefinition-PhysicalExamSection.html" title="http://hl7.org/cda/stds/core/StructureDefinition/Section">PhysicalExamSection</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_bck00035.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_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-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:nutrition" title="Slice nutrition">component:nutrition</a><a name="ClinicalDocument.component.structuredBody.component"> </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..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-InfrastructureRoot.html">InfrastructureRoot</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_bck000340.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_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_resource.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:nutrition.section">section</a><a name="ClinicalDocument.component.structuredBody.component.section"> </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 href="StructureDefinition-NutritionSection.html" title="http://hl7.org/cda/stds/core/StructureDefinition/Section">NutritionSection</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_bck00035.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_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-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:mentalStatus" title="Slice mentalStatus">component:mentalStatus</a><a name="ClinicalDocument.component.structuredBody.component"> </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..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-InfrastructureRoot.html">InfrastructureRoot</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_bck000340.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_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_resource.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:mentalStatus.section">section</a><a name="ClinicalDocument.component.structuredBody.component.section"> </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 href="StructureDefinition-MentalStatusSection.html" title="http://hl7.org/cda/stds/core/StructureDefinition/Section">MentalStatusSection</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_bck00035.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_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-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:medicalEquip" title="Slice medicalEquip">component:medicalEquip</a><a name="ClinicalDocument.component.structuredBody.component"> </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..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-InfrastructureRoot.html">InfrastructureRoot</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_bck000340.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_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_resource.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:medicalEquip.section">section</a><a name="ClinicalDocument.component.structuredBody.component.section"> </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 href="StructureDefinition-MedicalEquipmentSection.html" title="http://hl7.org/cda/stds/core/StructureDefinition/Section">MedicalEquipmentSection</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_bck00035.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_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-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:allergiesAndIntolerances" title="Slice allergiesAndIntolerances">component:allergiesAndIntolerances</a><a name="ClinicalDocument.component.structuredBody.component"> </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-InfrastructureRoot.html">InfrastructureRoot</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_bck000340.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_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_resource.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:allergiesAndIntolerances.section">section</a><a name="ClinicalDocument.component.structuredBody.component.section"> </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 href="StructureDefinition-AllergiesAndIntolerancesSection.html" title="http://hl7.org/cda/stds/core/StructureDefinition/Section">AllergiesAndIntolerancesSection</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_bck00035.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_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-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:assessment" title="Slice assessment">component:assessment</a><a name="ClinicalDocument.component.structuredBody.component"> </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..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-InfrastructureRoot.html">InfrastructureRoot</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_bck000340.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_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_resource.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:assessment.section">section</a><a name="ClinicalDocument.component.structuredBody.component.section"> </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 href="StructureDefinition-AssessmentSection.html" title="http://hl7.org/cda/stds/core/StructureDefinition/Section">AssessmentSection</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_bck00035.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_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-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:assessmentAndPlan" title="Slice assessmentAndPlan">component:assessmentAndPlan</a><a name="ClinicalDocument.component.structuredBody.component"> </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..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-InfrastructureRoot.html">InfrastructureRoot</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_bck000340.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_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_resource.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:assessmentAndPlan.section">section</a><a name="ClinicalDocument.component.structuredBody.component.section"> </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 href="StructureDefinition-AssessmentandPlanSection.html" title="http://hl7.org/cda/stds/core/StructureDefinition/Section">AssessmentandPlanSection</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_bck00035.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_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-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:medicalHistory" title="Slice medicalHistory">component:medicalHistory</a><a name="ClinicalDocument.component.structuredBody.component"> </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..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-InfrastructureRoot.html">InfrastructureRoot</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_bck000340.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_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_resource.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:medicalHistory.section">section</a><a name="ClinicalDocument.component.structuredBody.component.section"> </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 href="StructureDefinition-PastMedicalHistory.html" title="http://hl7.org/cda/stds/core/StructureDefinition/Section">PastMedicalHistory</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_bck00035.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_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-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:generalStatus" title="Slice generalStatus">component:generalStatus</a><a name="ClinicalDocument.component.structuredBody.component"> </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..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-InfrastructureRoot.html">InfrastructureRoot</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_bck000340.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_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_resource.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:generalStatus.section">section</a><a name="ClinicalDocument.component.structuredBody.component.section"> </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 href="StructureDefinition-GeneralStatusSection.html" title="http://hl7.org/cda/stds/core/StructureDefinition/Section">GeneralStatusSection</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_bck00035.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_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-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:medications" title="Slice medications">component:medications</a><a name="ClinicalDocument.component.structuredBody.component"> </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-InfrastructureRoot.html">InfrastructureRoot</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_bck000340.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_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_resource.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:medications.section">section</a><a name="ClinicalDocument.component.structuredBody.component.section"> </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 href="StructureDefinition-MedicationsSection.html" title="http://hl7.org/cda/stds/core/StructureDefinition/Section">MedicationsSection</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_bck00035.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_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-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:reasonForReferral" title="Slice reasonForReferral">component:reasonForReferral</a><a name="ClinicalDocument.component.structuredBody.component"> </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-InfrastructureRoot.html">InfrastructureRoot</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_bck000340.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_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_resource.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:reasonForReferral.section">section</a><a name="ClinicalDocument.component.structuredBody.component.section"> </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 href="StructureDefinition-ReasonforReferralSection.html" title="http://hl7.org/cda/stds/core/StructureDefinition/Section">ReasonforReferralSection</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_bck00025.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_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-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:payers" title="Slice payers">component:payers</a><a name="ClinicalDocument.component.structuredBody.component"> </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-InfrastructureRoot.html">InfrastructureRoot</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_bck000240.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_slice.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-ReferralNote-definitions.html#ClinicalDocument.component.structuredBody.component:payers.section">section</a><a name="ClinicalDocument.component.structuredBody.component.section"> </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 href="StructureDefinition-PayersSection.html" title="http://hl7.org/cda/stds/core/StructureDefinition/Section">PayersSection</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><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="clinicalDocument"/>
  </extension>
  <url value="http://hl7.org/cda/us/ccda/StructureDefinition/ReferralNote"/>
  <identifier>
    <value value="urn:hl7ii:2.16.840.1.113883.10.20.22.1.14:2015-08-01"/>
  </identifier>
  <version value="2.1"/>
  <name value="ReferralNote"/>
  <title value="Referral Note"/>
  <status value="active"/>
  <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="A Referral Note communicates pertinent information from a provider who is requesting services of another provider of clinical or non-clinical services. The information in this document includes the reason for the referral and additional information that would augment decision making and care delivery. 

Examples of referral situations are when a patient is referred from a family physician to a cardiologist for cardiac evaluation or when patient is sent by a cardiologist to an emergency department for angina or when a patient is referred by a nurse practitioner to an audiologist for hearing screening or when a patient is referred by a hospitalist to social services."/>
  <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/ClinicalDocument"/>
  <baseDefinition
                  value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmHeader"/>
  <derivation value="constraint"/>
  <snapshot>
    <element id="ClinicalDocument">
      <path value="ClinicalDocument"/>
      <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="ClinicalDocument.classCode">
      <path value="ClinicalDocument.classCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ClinicalDocument.classCode"/>
        <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="DOCCLIN"/>
      <binding>
        <strength value="extensible"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-ActClass"/>
      </binding>
    </element>
    <element id="ClinicalDocument.moodCode">
      <path value="ClinicalDocument.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ClinicalDocument.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="ClinicalDocument.realmCode">
      <path value="ClinicalDocument.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"/>
      <comment
               value="SHALL contain exactly one [1..1] realmCode=&quot;US&quot; (CONF:4537-16791)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ClinicalDocument.realmCode"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
      </type>
    </element>
    <element id="ClinicalDocument.realmCode.nullFlavor">
      <path value="ClinicalDocument.realmCode.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="ClinicalDocument.realmCode.code">
      <path value="ClinicalDocument.realmCode.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="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="US"/>
    </element>
    <element id="ClinicalDocument.realmCode.codeSystem">
      <path value="ClinicalDocument.realmCode.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="ClinicalDocument.realmCode.codeSystemName">
      <path value="ClinicalDocument.realmCode.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="ClinicalDocument.realmCode.codeSystemVersion">
      <path value="ClinicalDocument.realmCode.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="ClinicalDocument.realmCode.displayName">
      <path value="ClinicalDocument.realmCode.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="ClinicalDocument.realmCode.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="ClinicalDocument.realmCode.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="ClinicalDocument.realmCode.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="ClinicalDocument.realmCode.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="ClinicalDocument.realmCode.originalText">
      <path value="ClinicalDocument.realmCode.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="ClinicalDocument.realmCode.qualifier">
      <path value="ClinicalDocument.realmCode.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="ClinicalDocument.realmCode.translation">
      <path value="ClinicalDocument.realmCode.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="ClinicalDocument.typeId">
      <path value="ClinicalDocument.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."/>
      <comment
               value="SHALL contain exactly one [1..1] typeId (CONF:4537-5361)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ClinicalDocument.typeId"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.typeId.root">
      <path value="ClinicalDocument.typeId.root"/>
      <representation value="xmlAttr"/>
      <comment
               value="This typeId SHALL contain exactly one [1..1] @root=&quot;2.16.840.1.113883.1.3&quot; (CONF:4537-5250)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ClinicalDocument.typeId.root"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
      <fixedString value="2.16.840.1.113883.1.3"/>
    </element>
    <element id="ClinicalDocument.typeId.extension">
      <path value="ClinicalDocument.typeId.extension"/>
      <representation value="xmlAttr"/>
      <short value="Extension"/>
      <definition value="An Extension"/>
      <comment
               value="This typeId SHALL contain exactly one [1..1] @extension=&quot;POCD_HD000040&quot; (CONF:4537-5251)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ClinicalDocument.typeId.extension"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
      </type>
      <fixedString value="POCD_HD000040"/>
    </element>
    <element id="ClinicalDocument.templateId">
      <path value="ClinicalDocument.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="2"/>
      <max value="*"/>
      <base>
        <path value="ClinicalDocument.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.templateId:us-realm">
      <path value="ClinicalDocument.templateId"/>
      <sliceName value="us-realm"/>
      <short value="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"/>
      <comment
               value="SHALL contain exactly one [1..1] templateId (CONF:4537-5252) such that it"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ClinicalDocument.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.templateId:us-realm.nullFlavor">
      <path value="ClinicalDocument.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="ClinicalDocument.templateId:us-realm.assigningAuthorityName">
      <path value="ClinicalDocument.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="ClinicalDocument.templateId:us-realm.displayable">
      <path value="ClinicalDocument.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="ClinicalDocument.templateId:us-realm.root">
      <path value="ClinicalDocument.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.1.1&quot; (CONF:4537-10036)."/>
      <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.1.1"/>
    </element>
    <element id="ClinicalDocument.templateId:us-realm.extension">
      <path value="ClinicalDocument.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;2023-05-01&quot; (CONF:4537-32503)."/>
      <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="2023-05-01"/>
    </element>
    <element id="ClinicalDocument.templateId:primary">
      <path value="ClinicalDocument.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-28947) such that it"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ClinicalDocument.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.templateId:primary.nullFlavor">
      <path value="ClinicalDocument.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="ClinicalDocument.templateId:primary.assigningAuthorityName">
      <path value="ClinicalDocument.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="ClinicalDocument.templateId:primary.displayable">
      <path value="ClinicalDocument.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="ClinicalDocument.templateId:primary.root">
      <path value="ClinicalDocument.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.1.14&quot; (CONF:1198-28948)."/>
      <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.1.14"/>
    </element>
    <element id="ClinicalDocument.templateId:primary.extension">
      <path value="ClinicalDocument.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-32911)."/>
      <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="ClinicalDocument.id">
      <path value="ClinicalDocument.id"/>
      <comment value="SHALL contain exactly one [1..1] id (CONF:4537-5363)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ClinicalDocument.id"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
      <constraint>
        <key value="4537-9991"/>
        <severity value="warning"/>
        <human
               value="This id **SHALL** be a globally unique identifier for the document (CONF:4537-9991)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmHeader"/>
      </constraint>
    </element>
    <element id="ClinicalDocument.code">
      <path value="ClinicalDocument.code"/>
      <short
             value="The Referral Note recommends use of the document type code 57133-1 &quot;Referral Note&quot;, with further specification provided by author or performer, setting, or specialty. When pre-coordinated codes are used, any coded values describing the author or performer of the service act or the practice setting must be consistent with the LOINC document type. For example, an Obstetrics and Gynecology Referral note would not be authored by a Pediatric Cardiologist.  The type of referral and the target of the referral are specified via the participant (and not via the author)."/>
      <comment
               value="SHALL contain exactly one [1..1] code, which SHALL be selected from ValueSet ReferralDocumentType http://hl7.org/fhir/ccda/ValueSet/2.16.840.1.113883.1.11.20.2.3 DYNAMIC (CONF:1198-28949)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ClinicalDocument.code"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
      </type>
      <constraint>
        <key value="4537-9992"/>
        <severity value="error"/>
        <human
               value="This code **SHALL** specify the particular kind of document (e.g., History and Physical, Discharge Summary, Progress Note) (CONF:4537-9992)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmHeader"/>
      </constraint>
      <constraint>
        <key value="4537-32948"/>
        <severity value="error"/>
        <human
               value="This code **SHALL** be drawn from the LOINC document type ontology (LOINC codes where SCALE = DOC) (CONF:4537-32948)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmHeader"/>
      </constraint>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.20.2.3"/>
      </binding>
    </element>
    <element id="ClinicalDocument.title">
      <path value="ClinicalDocument.title"/>
      <short
             value="The title can either be a locally defined name or the displayName corresponding to clinicalDocument/code"/>
      <comment
               value="SHALL contain exactly one [1..1] title (CONF:4537-5254)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ClinicalDocument.title"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ST"/>
      </type>
    </element>
    <element id="ClinicalDocument.effectiveTime">
      <path value="ClinicalDocument.effectiveTime"/>
      <short value="Base for all types and resources"/>
      <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."/>
      <comment
               value="SHALL contain exactly one [1..1] US Realm Date and Time (DTM.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.4) (CONF:4537-5256)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ClinicalDocument.effectiveTime"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/TS"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmDateandTimeDTMUSFIELDED"/>
      </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-10127"/>
        <severity value="error"/>
        <human value="**SHALL** be precise to the day (CONF:81-10127)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmDateandTimeDTMUSFIELDED"/>
      </constraint>
      <constraint>
        <key value="81-10128"/>
        <severity value="warning"/>
        <human value="**SHOULD** be precise to the minute (CONF:81-10128)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmDateandTimeDTMUSFIELDED"/>
      </constraint>
      <constraint>
        <key value="81-10129"/>
        <severity value="warning"/>
        <human value="**MAY** be precise to the second (CONF:81-10129)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmDateandTimeDTMUSFIELDED"/>
      </constraint>
      <constraint>
        <key value="81-10130"/>
        <severity value="warning"/>
        <human
               value="If more precise than day, **SHOULD** include time-zone offset (CONF:81-10130)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmDateandTimeDTMUSFIELDED"/>
      </constraint>
      <isModifier value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ClinicalDocument.confidentialityCode">
      <path value="ClinicalDocument.confidentialityCode"/>
      <comment
               value="SHALL contain exactly one [1..1] confidentialityCode, which SHOULD be selected from ValueSet HL7 BasicConfidentialityKind urn:oid:2.16.840.1.113883.1.11.16926 DYNAMIC (CONF:4537-5259)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ClinicalDocument.confidentialityCode"/>
        <min value="1"/>
        <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.1.11.16926"/>
      </binding>
    </element>
    <element id="ClinicalDocument.languageCode">
      <path value="ClinicalDocument.languageCode"/>
      <comment
               value="SHALL contain exactly one [1..1] languageCode, which SHALL be selected from ValueSet Language urn:oid:2.16.840.1.113883.1.11.11526 DYNAMIC (CONF:4537-5372)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ClinicalDocument.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://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.11526"/>
      </binding>
    </element>
    <element id="ClinicalDocument.setId">
      <path value="ClinicalDocument.setId"/>
      <comment
               value="MAY contain zero or one [0..1] setId (CONF:4537-5261)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ClinicalDocument.setId"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
      <constraint>
        <key value="4537-6380"/>
        <severity value="error"/>
        <human
               value="If  setId is present versionNumber **SHALL** be present (CONF:4537-6380)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmHeader"/>
      </constraint>
    </element>
    <element id="ClinicalDocument.versionNumber">
      <path value="ClinicalDocument.versionNumber"/>
      <comment
               value="MAY contain zero or one [0..1] versionNumber (CONF:4537-5264)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ClinicalDocument.versionNumber"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/INT"/>
      </type>
      <constraint>
        <key value="4537-6387"/>
        <severity value="error"/>
        <human
               value="If versionNumber is present setId **SHALL** be present (CONF:4537-6387)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmHeader"/>
      </constraint>
    </element>
    <element id="ClinicalDocument.copyTime">
      <path value="ClinicalDocument.copyTime"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ClinicalDocument.copyTime"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/TS"/>
      </type>
    </element>
    <element id="ClinicalDocument.recordTarget">
      <path value="ClinicalDocument.recordTarget"/>
      <comment
               value="SHALL contain at least one [1..*] recordTarget (CONF:4537-5266)."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="ClinicalDocument.recordTarget"/>
        <min value="1"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/RecordTarget"/>
      </type>
    </element>
    <element id="ClinicalDocument.recordTarget.nullFlavor">
      <path value="ClinicalDocument.recordTarget.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="RecordTarget.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="ClinicalDocument.recordTarget.typeCode">
      <path value="ClinicalDocument.recordTarget.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="RecordTarget.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="RCT"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ParticipationType"/>
      </binding>
    </element>
    <element id="ClinicalDocument.recordTarget.contextControlCode">
      <path value="ClinicalDocument.recordTarget.contextControlCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="RecordTarget.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="ClinicalDocument.recordTarget.realmCode">
      <path value="ClinicalDocument.recordTarget.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="RecordTarget.realmCode"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
      </type>
    </element>
    <element id="ClinicalDocument.recordTarget.typeId">
      <path value="ClinicalDocument.recordTarget.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="RecordTarget.typeId"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.recordTarget.templateId">
      <path value="ClinicalDocument.recordTarget.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="RecordTarget.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.recordTarget.patientRole">
      <path value="ClinicalDocument.recordTarget.patientRole"/>
      <comment
               value="Such recordTargets SHALL contain exactly one [1..1] patientRole (CONF:4537-5267)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="RecordTarget.patientRole"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/PatientRole"/>
      </type>
    </element>
    <element id="ClinicalDocument.recordTarget.patientRole.classCode">
      <path value="ClinicalDocument.recordTarget.patientRole.classCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PatientRole.classCode"/>
        <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="PAT"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-RoleClassRelationshipFormal"/>
      </binding>
    </element>
    <element id="ClinicalDocument.recordTarget.patientRole.templateId">
      <path value="ClinicalDocument.recordTarget.patientRole.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="PatientRole.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.recordTarget.patientRole.id">
      <path value="ClinicalDocument.recordTarget.patientRole.id"/>
      <comment
               value="This patientRole SHALL contain at least one [1..*] id (CONF:4537-5268)."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="PatientRole.id"/>
        <min value="1"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.recordTarget.patientRole.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="ClinicalDocument.recordTarget.patientRole.sdtcIdentifiedBy"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="PatientRole.sdtcIdentifiedBy"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/IdentifiedBy"/>
      </type>
    </element>
    <element id="ClinicalDocument.recordTarget.patientRole.addr">
      <path value="ClinicalDocument.recordTarget.patientRole.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 patientRole SHALL contain at least one [1..*] US Realm Address (AD.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.2) (CONF:4537-5271)."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="PatientRole.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="ClinicalDocument.recordTarget.patientRole.telecom">
      <path value="ClinicalDocument.recordTarget.patientRole.telecom"/>
      <comment
               value="This patientRole SHALL contain at least one [1..*] telecom (CONF:4537-5280)."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="PatientRole.telecom"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/TEL"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.telecom.nullFlavor">
      <path
            value="ClinicalDocument.recordTarget.patientRole.telecom.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="ClinicalDocument.recordTarget.patientRole.telecom.value">
      <path value="ClinicalDocument.recordTarget.patientRole.telecom.value"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="TEL.value"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="url"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/url"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.telecom.useablePeriod">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype">
        <valueCanonical
                        value="http://hl7.org/cda/stds/core/StructureDefinition/SXPR-TS"/>
      </extension>
      <path
            value="ClinicalDocument.recordTarget.patientRole.telecom.useablePeriod"/>
      <representation value="typeAttr"/>
      <label value="Useable Period"/>
      <definition
                  value="Specifies the periods of time during which the telecommunication address can be used. For a telephone number, this can indicate the time of day in which the party can be reached on that telephone. For a web address, it may specify a time range in which the web content is promised to be available under the given address."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="TEL.useablePeriod"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/IVL-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/PIVL-TS"/>
      </type>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/SXPR-TS"/>
      </type>
    </element>
    <element id="ClinicalDocument.recordTarget.patientRole.telecom.use">
      <path value="ClinicalDocument.recordTarget.patientRole.telecom.use"/>
      <representation value="xmlAttr"/>
      <label value="Use Code"/>
      <definition
                  value="One or more codes advising a system or user which telecommunication address in a set of like addresses to select for a given telecommunication need."/>
      <comment
               value="Such telecoms SHOULD contain zero or one [0..1] @use, which SHALL be selected from ValueSet Telecom Use (US Realm Header) urn:oid:2.16.840.1.113883.11.20.9.20 DYNAMIC (CONF:4537-5375)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="TEL.use"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.20"/>
      </binding>
    </element>
    <element id="ClinicalDocument.recordTarget.patientRole.patient">
      <path value="ClinicalDocument.recordTarget.patientRole.patient"/>
      <comment
               value="This patientRole SHALL contain exactly one [1..1] patient (CONF:4537-5283)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="PatientRole.patient"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Patient"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.classCode">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.classCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Patient.classCode"/>
        <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="PSN"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-EntityClassLivingSubject"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.determinerCode">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.determinerCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Patient.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="ClinicalDocument.recordTarget.patientRole.patient.templateId">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.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="Patient.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.recordTarget.patientRole.patient.id">
      <path value="ClinicalDocument.recordTarget.patientRole.patient.id"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Patient.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.recordTarget.patientRole.patient.name">
      <path value="ClinicalDocument.recordTarget.patientRole.patient.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="This patient SHALL contain at least one [1..*] US Realm Patient Name (PTN.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.1) (CONF:4537-5284)."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="Patient.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/USRealmPatientNamePTNUSFIELDED"/>
      </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-7278"/>
        <severity value="error"/>
        <human
               value="**SHALL NOT** have mixed content except for white space (CONF:81-7278)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmPatientNamePTNUSFIELDED"/>
      </constraint>
      <isModifier value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ClinicalDocument.recordTarget.patientRole.patient.sdtcDesc">
      <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="desc"/>
      </extension>
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.sdtcDesc"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Patient.sdtcDesc"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ED"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.administrativeGenderCode">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.administrativeGenderCode"/>
      <comment
               value="This patient SHALL contain exactly one [1..1] administrativeGenderCode, which SHALL be selected from ValueSet Administrative Gender (HL7 V3) urn:oid:2.16.840.1.113883.1.11.1 DYNAMIC (CONF:4537-6394)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Patient.administrativeGenderCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.1"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthTime">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthTime"/>
      <comment
               value="This patient SHALL contain exactly one [1..1] birthTime (CONF:4537-5298)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Patient.birthTime"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/TS"/>
      </type>
      <constraint>
        <key value="4537-5299"/>
        <severity value="error"/>
        <human value="**SHALL** be precise to year (CONF:4537-5299)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmHeader"/>
      </constraint>
      <constraint>
        <key value="4537-5300"/>
        <severity value="warning"/>
        <human value="**SHOULD** be precise to day (CONF:4537-5300)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmHeader"/>
      </constraint>
      <constraint>
        <key value="4537-32418"/>
        <severity value="warning"/>
        <human value="**MAY** be precise to the minute (CONF:4537-32418)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmHeader"/>
      </constraint>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.sdtcDeceasedInd">
      <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="deceasedInd"/>
      </extension>
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.sdtcDeceasedInd"/>
      <short value="sdtc:deceasedInd"/>
      <comment
               value="This patient MAY contain zero or one [0..1] sdtc:deceasedInd (CONF:4537-32990)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Patient.sdtcDeceasedInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/BL"/>
      </type>
      <constraint>
        <key value="4537-32993"/>
        <severity value="error"/>
        <human
               value="If sdtc:deceasedInd=&quot;true&quot;, then sdtc:deceasedTime **SHALL** be present (CONF:4537-32993)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmHeader"/>
      </constraint>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.sdtcDeceasedTime">
      <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="deceasedTime"/>
      </extension>
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.sdtcDeceasedTime"/>
      <short value="sdtc:deceasedTime"/>
      <comment
               value="This patient MAY contain zero or one [0..1] sdtc:deceasedTime (CONF:4537-32988)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Patient.sdtcDeceasedTime"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/TS"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.sdtcDeceasedTime.nullFlavor">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.sdtcDeceasedTime.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="ClinicalDocument.recordTarget.patientRole.patient.sdtcDeceasedTime.value">
      <extension
                 url="http://hl7.org/fhir/tools/StructureDefinition/elementdefinition-date-format">
        <valueString value="YYYYMMDDHHMMSS.UUUU[+|-ZZzz]"/>
      </extension>
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.sdtcDeceasedTime.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."/>
      <comment
               value="The sdtc:deceasedTime, if present, SHOULD contain zero or one [0..1] @value (CONF:4537-32989)."/>
      <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>
      <constraint>
        <key value="4537-32991"/>
        <severity value="error"/>
        <human
               value="**SHALL**  be precise to to the year (CONF:4537-32991)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmHeader"/>
      </constraint>
      <constraint>
        <key value="4537-32992"/>
        <severity value="warning"/>
        <human value="**SHOULD** be precise to the day (CONF:4537-32992)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmHeader"/>
      </constraint>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.sdtcMultipleBirthInd">
      <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="multipleBirthInd"/>
      </extension>
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.sdtcMultipleBirthInd"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Patient.sdtcMultipleBirthInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/BL"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.sdtcMultipleBirthOrderNumber">
      <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="multipleBirthOrderNumber"/>
      </extension>
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.sdtcMultipleBirthOrderNumber"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Patient.sdtcMultipleBirthOrderNumber"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/INT-POS"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.maritalStatusCode">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.maritalStatusCode"/>
      <comment
               value="This patient SHOULD contain zero or one [0..1] maritalStatusCode, which SHALL be selected from ValueSet Marital Status urn:oid:2.16.840.1.113883.1.11.12212 DYNAMIC (CONF:4537-5303)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Patient.maritalStatusCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.12212"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.religiousAffiliationCode">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.religiousAffiliationCode"/>
      <comment
               value="This patient MAY contain zero or one [0..1] religiousAffiliationCode, which SHALL be selected from ValueSet Religious Affiliation urn:oid:2.16.840.1.113883.1.11.19185 DYNAMIC (CONF:4537-5317)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Patient.religiousAffiliationCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.19185"/>
      </binding>
    </element>
    <element id="ClinicalDocument.recordTarget.patientRole.patient.raceCode">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.raceCode"/>
      <comment
               value="This patient SHALL contain exactly one [1..1] raceCode, which SHALL be selected from ValueSet Race Category Excluding Nulls urn:oid:2.16.840.1.113883.3.2074.1.1.3 DYNAMIC (CONF:4537-5322)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Patient.raceCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.2074.1.1.3"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.sdtcRaceCode">
      <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="raceCode"/>
      </extension>
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.sdtcRaceCode"/>
      <short
             value="The sdtc:raceCode is only used to record additional values when the patient has indicated multiple races or additional race detail beyond the five categories required for Meaningful Use Stage 2. The prefix sdtc: SHALL be bound to the namespace “urn:hl7-org:sdtc”. The use of the namespace provides a necessary extension to CDA R2 for the use of the additional raceCode elements."/>
      <comment
               value="This patient MAY contain zero or more [0..*] sdtc:raceCode, which SHALL be selected from ValueSet Race Value Set urn:oid:2.16.840.1.113883.1.11.14914 DYNAMIC (CONF:4537-7263)."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Patient.sdtcRaceCode"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
      </type>
      <constraint>
        <key value="4537-31347"/>
        <severity value="error"/>
        <human
               value="If sdtc:raceCode is present, then the patient **SHALL** contain [1..1] raceCode (CONF:4537-31347)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmHeader"/>
      </constraint>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.14914"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.ethnicGroupCode">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.ethnicGroupCode"/>
      <comment
               value="This patient SHALL contain exactly one [1..1] ethnicGroupCode, which SHALL be selected from ValueSet Ethnicity urn:oid:2.16.840.1.114222.4.11.837 DYNAMIC (CONF:4537-5323)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Patient.ethnicGroupCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.837"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.sdtcEthnicGroupCode">
      <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="ethnicGroupCode"/>
      </extension>
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.sdtcEthnicGroupCode"/>
      <short value="ethnicGroupCode"/>
      <comment
               value="This patient MAY contain zero or more [0..*] ethnicGroupCode, which SHALL be selected from ValueSet Detailed Ethnicity urn:oid:2.16.840.1.114222.4.11.877 DYNAMIC (CONF:4537-32901)."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Patient.sdtcEthnicGroupCode"/>
        <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://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.877"/>
      </binding>
    </element>
    <element id="ClinicalDocument.recordTarget.patientRole.patient.guardian">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.guardian"/>
      <comment
               value="This patient MAY contain zero or more [0..*] guardian (CONF:4537-5325)."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Patient.guardian"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Guardian"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.guardian.classCode">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.guardian.classCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Guardian.classCode"/>
        <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="GUARD"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-RoleClassAgent"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.guardian.templateId">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.guardian.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="Guardian.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.guardian.id">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.guardian.id"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Guardian.id"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.guardian.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="ClinicalDocument.recordTarget.patientRole.patient.guardian.sdtcIdentifiedBy"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Guardian.sdtcIdentifiedBy"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/IdentifiedBy"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.guardian.code">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.guardian.code"/>
      <comment
               value="The guardian, if present, SHOULD contain zero or one [0..1] code, which SHALL be selected from ValueSet Personal And Legal Relationship Role Type urn:oid:2.16.840.1.113883.11.20.12.1 DYNAMIC (CONF:4537-5326)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Guardian.code"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.12.1"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.guardian.addr">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.guardian.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="The guardian, if present, SHOULD 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:4537-5359)."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Guardian.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="ClinicalDocument.recordTarget.patientRole.patient.guardian.telecom">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.guardian.telecom"/>
      <comment
               value="The guardian, if present, SHOULD contain zero or more [0..*] telecom (CONF:4537-5382)."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Guardian.telecom"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/TEL"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.guardian.telecom.nullFlavor">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.guardian.telecom.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="ClinicalDocument.recordTarget.patientRole.patient.guardian.telecom.value">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.guardian.telecom.value"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="TEL.value"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="url"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/url"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.guardian.telecom.useablePeriod">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype">
        <valueCanonical
                        value="http://hl7.org/cda/stds/core/StructureDefinition/SXPR-TS"/>
      </extension>
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.guardian.telecom.useablePeriod"/>
      <representation value="typeAttr"/>
      <label value="Useable Period"/>
      <definition
                  value="Specifies the periods of time during which the telecommunication address can be used. For a telephone number, this can indicate the time of day in which the party can be reached on that telephone. For a web address, it may specify a time range in which the web content is promised to be available under the given address."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="TEL.useablePeriod"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/IVL-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/PIVL-TS"/>
      </type>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/SXPR-TS"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.guardian.telecom.use">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.guardian.telecom.use"/>
      <representation value="xmlAttr"/>
      <label value="Use Code"/>
      <definition
                  value="One or more codes advising a system or user which telecommunication address in a set of like addresses to select for a given telecommunication need."/>
      <comment
               value="The telecom, if present, SHOULD contain zero or one [0..1] @use, which SHALL be selected from ValueSet Telecom Use (US Realm Header) urn:oid:2.16.840.1.113883.11.20.9.20 DYNAMIC (CONF:4537-7993)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="TEL.use"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.20"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianPerson">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianPerson"/>
      <comment
               value="The guardian, if present, SHALL contain exactly one [1..1] guardianPerson (CONF:4537-5385)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Guardian.guardianPerson"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Person"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianPerson.classCode">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianPerson.classCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Person.classCode"/>
        <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="PSN"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-EntityClassLivingSubject"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianPerson.determinerCode">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianPerson.determinerCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Person.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="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianPerson.templateId">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianPerson.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="Person.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianPerson.name">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianPerson.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="This guardianPerson SHALL contain at least one [1..*] US Realm Person Name (PN.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.1.1) (CONF:4537-5386)."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="Person.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="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianPerson.sdtcAsPatientRelationship">
      <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="asPatientRelationship"/>
      </extension>
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianPerson.sdtcAsPatientRelationship"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Person.sdtcAsPatientRelationship"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.guardian.guardianOrganization"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Guardian.guardianOrganization"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Organization"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace"/>
      <comment
               value="This patient MAY contain zero or one [0..1] birthplace (CONF:4537-5395)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Patient.birthplace"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Birthplace"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.classCode">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.classCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Birthplace.classCode"/>
        <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="BIRTHPL"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-RoleClassPassive"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.templateId">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.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="Birthplace.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place"/>
      <comment
               value="The birthplace, if present, SHALL contain exactly one [1..1] place (CONF:4537-5396)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Birthplace.place"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/Place"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.classCode">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.classCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Place.classCode"/>
        <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="PLC"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-EntityClassPlace"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.determinerCode">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.determinerCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Place.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="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.templateId">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.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="Place.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.name">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.name"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Place.name"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/EN"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr"/>
      <comment
               value="This place SHALL contain exactly one [1..1] addr (CONF:4537-5397)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Place.addr"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/AD"/>
      </type>
      <constraint>
        <key value="4537-5402"/>
        <severity value="warning"/>
        <human
               value="If country is US, this addr **SHALL** contain exactly one [1..1] state, which **SHALL** be selected from ValueSet StateValueSet 2.16.840.1.113883.3.88.12.80.1 *DYNAMIC* (CONF:4537-5402)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmHeader"/>
      </constraint>
      <constraint>
        <key value="4537-5403"/>
        <severity value="warning"/>
        <human
               value="If country is US, this addr **MAY** contain zero or one [0..1] postalCode, which **SHALL** be selected from ValueSet PostalCode urn:oid:2.16.840.1.113883.3.88.12.80.2 *DYNAMIC* (CONF:4537-5403)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmHeader"/>
      </constraint>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.nullFlavor">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.nullFlavor"/>
      <label value="Exceptional Value Detail"/>
      <short value="Primitive Type code"/>
      <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>
      <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="cs-pattern"/>
        <severity value="error"/>
        <human value="cs attributes must not contain any whitespace"/>
        <expression value="matches('^[^\\s]+$')"/>
        <source value="http://hl7.org/cda/stds/core/StructureDefinition/ANY"/>
      </constraint>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-NullFlavor"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.isNotOrdered">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.isNotOrdered"/>
      <representation value="xmlAttr"/>
      <label value="Is Not Ordered"/>
      <definition
                  value="A boolean value specifying whether the order of the address parts is known or not. While the address parts are always a Sequence, the order in which they are presented may or may not be known. Where this matters, the isNotOrdered property can be used to convey this information."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.isNotOrdered"/>
        <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="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.use">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.use"/>
      <representation value="xmlAttr"/>
      <label value="Use Code"/>
      <definition
                  value="A set of codes advising a system or user which address in a set of like addresses to select for a given purpose."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="AD.use"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.delimiter">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.delimiter"/>
      <definition
                  value="Delimiters are printed without framing white space. If no value component is provided, the delimiter appears as a line break."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="AD.delimiter"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.delimiter.partType">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.delimiter.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.delimiter.partType"/>
        <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="DEL"/>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.country">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.country"/>
      <definition value="Country"/>
      <comment
               value="This addr SHOULD contain zero or one [0..1] country, which SHALL be selected from ValueSet Country urn:oid:2.16.840.1.113883.3.88.12.80.63 DYNAMIC (CONF:4537-5404)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.country"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.country.partType">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.country.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.country.partType"/>
        <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="CNT"/>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.state">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.state"/>
      <definition
                  value="A sub-unit of a country with limited sovereignty in a federally organized country."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="AD.state"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.state.partType">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.state.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.state.partType"/>
        <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="STA"/>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.county">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.county"/>
      <definition
                  value="A sub-unit of a state or province. (49 of the United States of America use the term &quot;county;&quot; Louisiana uses the term &quot;parish&quot;.)"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="AD.county"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.county.partType">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.county.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.county.partType"/>
        <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="CPA"/>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.city">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.city"/>
      <definition
                  value="The name of the city, town, village, or other community or delivery center"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="AD.city"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.city.partType">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.city.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.city.partType"/>
        <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="CTY"/>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.postalCode">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.postalCode"/>
      <definition
                  value="A postal code designating a region defined by the postal service."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="AD.postalCode"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.postalCode.partType">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.postalCode.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.postalCode.partType"/>
        <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="ZIP"/>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.streetAddressLine">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.streetAddressLine"/>
      <definition value="Street address line"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="AD.streetAddressLine"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.streetAddressLine.partType">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.streetAddressLine.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.streetAddressLine.partType"/>
        <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="SAL"/>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.houseNumber">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.houseNumber"/>
      <definition
                  value="The number of a building, house or lot alongside the street. Also known as &quot;primary street number&quot;. This does not number the street but rather the building."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="AD.houseNumber"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.houseNumber.partType">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.houseNumber.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.houseNumber.partType"/>
        <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="BNR"/>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.houseNumberNumeric">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.houseNumberNumeric"/>
      <definition value="The numeric portion of a building number"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="AD.houseNumberNumeric"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.houseNumberNumeric.partType">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.houseNumberNumeric.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.houseNumberNumeric.partType"/>
        <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="BNN"/>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.direction">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.direction"/>
      <definition value="Direction (e.g., N, S, W, E)"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="AD.direction"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.direction.partType">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.direction.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.direction.partType"/>
        <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="DIR"/>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.streetName">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.streetName"/>
      <definition
                  value="Name of a roadway or artery recognized by a municipality (including street type and direction)"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="AD.streetName"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.streetName.partType">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.streetName.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.streetName.partType"/>
        <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="STR"/>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.streetNameBase">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.streetNameBase"/>
      <definition
                  value="The base name of a roadway or artery recognized by a municipality (excluding street type and direction)"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="AD.streetNameBase"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.streetNameBase.partType">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.streetNameBase.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.streetNameBase.partType"/>
        <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="STB"/>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.streetNameType">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.streetNameType"/>
      <definition
                  value="The designation given to the street. (e.g. Street, Avenue, Crescent, etc.)"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="AD.streetNameType"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.streetNameType.partType">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.streetNameType.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.streetNameType.partType"/>
        <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="STTYP"/>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.additionalLocator">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.additionalLocator"/>
      <definition
                  value="This can be a unit designator, such as apartment number, suite number, or floor. There may be several unit designators in an address (e.g., &quot;3rd floor, Appt. 342&quot;). This can also be a designator pointing away from the location, rather than specifying a smaller location within some larger one (e.g., Dutch &quot;t.o.&quot; means &quot;opposite to&quot; for house boats located across the street facing houses)."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="AD.additionalLocator"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.additionalLocator.partType">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.additionalLocator.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.additionalLocator.partType"/>
        <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="ADL"/>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.unitID">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.unitID"/>
      <definition
                  value="The number or name of a specific unit contained within a building or complex, as assigned by that building or complex."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="AD.unitID"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.unitID.partType">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.unitID.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.unitID.partType"/>
        <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="UNID"/>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.unitType">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.unitType"/>
      <definition
                  value="Indicates the type of specific unit contained within a building or complex. E.g. Appartment, Floor"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="AD.unitType"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.unitType.partType">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.unitType.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.unitType.partType"/>
        <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="UNIT"/>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.careOf">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.careOf"/>
      <definition
                  value="The name of the party who will take receipt at the specified address, and will take on responsibility for ensuring delivery to the target recipient"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="AD.careOf"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.careOf.partType">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.careOf.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.careOf.partType"/>
        <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="CAR"/>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.censusTract">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.censusTract"/>
      <definition
                  value="A geographic sub-unit delineated for demographic purposes."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="AD.censusTract"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.censusTract.partType">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.censusTract.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.censusTract.partType"/>
        <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="CEN"/>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.deliveryAddressLine">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.deliveryAddressLine"/>
      <definition
                  value="A delivery address line is frequently used instead of breaking out delivery mode, delivery installation, etc. An address generally has only a delivery address line or a street address line, but not both."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="AD.deliveryAddressLine"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.deliveryAddressLine.partType">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.deliveryAddressLine.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.deliveryAddressLine.partType"/>
        <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="DAL"/>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.deliveryInstallationType">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.deliveryInstallationType"/>
      <definition
                  value="Indicates the type of delivery installation (the facility to which the mail will be delivered prior to final shipping via the delivery mode.) Example: post office, letter carrier depot, community mail center, station, etc."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="AD.deliveryInstallationType"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.deliveryInstallationType.partType">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.deliveryInstallationType.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.deliveryInstallationType.partType"/>
        <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="DINST"/>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.deliveryInstallationArea">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.deliveryInstallationArea"/>
      <definition
                  value="The location of the delivery installation, usually a town or city, and is only required if the area is different from the municipality. Area to which mail delivery service is provided from any postal facility or service such as an individual letter carrier, rural route, or postal route."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="AD.deliveryInstallationArea"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.deliveryInstallationArea.partType">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.deliveryInstallationArea.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.deliveryInstallationArea.partType"/>
        <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="DINSTA"/>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.deliveryInstallationQualifier">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.deliveryInstallationQualifier"/>
      <definition
                  value="A number, letter or name identifying a delivery installation. E.g., for Station A, the delivery installation qualifier would be 'A'."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="AD.deliveryInstallationQualifier"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.deliveryInstallationQualifier.partType">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.deliveryInstallationQualifier.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.deliveryInstallationQualifier.partType"/>
        <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="DINSTQ"/>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.deliveryMode">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.deliveryMode"/>
      <definition
                  value="Indicates the type of service offered, method of delivery. For example: post office box, rural route, general delivery, etc."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="AD.deliveryMode"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.deliveryMode.partType">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.deliveryMode.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.deliveryMode.partType"/>
        <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="DMOD"/>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.deliveryModeIdentifier">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.deliveryModeIdentifier"/>
      <definition
                  value="Represents the routing information such as a letter carrier route number. It is the identifying number of the designator (the box number or rural route number)."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="AD.deliveryModeIdentifier"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.deliveryModeIdentifier.partType">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.deliveryModeIdentifier.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.deliveryModeIdentifier.partType"/>
        <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="DMODID"/>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.buildingNumberSuffix">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.buildingNumberSuffix"/>
      <definition
                  value="Any alphabetic character, fraction or other text that may appear after the numeric portion of a building number"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="AD.buildingNumberSuffix"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.buildingNumberSuffix.partType">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.buildingNumberSuffix.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.buildingNumberSuffix.partType"/>
        <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="BNS"/>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.postBox">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.postBox"/>
      <definition value="A numbered box located in a post station."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="AD.postBox"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.postBox.partType">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.postBox.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.postBox.partType"/>
        <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="POB"/>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.precinct">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.precinct"/>
      <definition value="A subsection of a municipality"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="AD.precinct"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ADXP"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.precinct.partType">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.precinct.partType"/>
      <representation value="xmlAttr"/>
      <definition value="Specifies the type of the address part"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.precinct.partType"/>
        <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="PRE"/>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.other">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.other"/>
      <representation value="xmlText"/>
      <definition value="Textual representation of (part of) the address"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AD.other"/>
        <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="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.useablePeriod">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype">
        <valueCanonical
                        value="http://hl7.org/cda/stds/core/StructureDefinition/SXPR-TS"/>
      </extension>
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.birthplace.place.addr.useablePeriod"/>
      <representation value="typeAttr"/>
      <label value="Useable Period"/>
      <definition
                  value="A General Timing Specification (GTS) specifying the periods of time during which the address can be used. This is used to specify different addresses for different times of the week or year."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="AD.useablePeriod"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/IVL-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/PIVL-TS"/>
      </type>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/SXPR-TS"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.languageCommunication">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.languageCommunication"/>
      <comment
               value="This patient SHOULD contain zero or more [0..*] languageCommunication (CONF:4537-5406)."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Patient.languageCommunication"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/LanguageCommunication"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.languageCommunication.templateId">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.languageCommunication.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="LanguageCommunication.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.languageCommunication.languageCode">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.languageCommunication.languageCode"/>
      <comment
               value="The languageCommunication, if present, SHALL contain exactly one [1..1] languageCode, which SHALL be selected from ValueSet Language urn:oid:2.16.840.1.113883.1.11.11526 DYNAMIC (CONF:4537-5407)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LanguageCommunication.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://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.11526"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.languageCommunication.modeCode">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.languageCommunication.modeCode"/>
      <comment
               value="The languageCommunication, if present, MAY contain zero or one [0..1] modeCode, which SHALL be selected from ValueSet LanguageAbilityMode urn:oid:2.16.840.1.113883.1.11.12249 DYNAMIC (CONF:4537-5409)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="LanguageCommunication.modeCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.12249"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.languageCommunication.proficiencyLevelCode">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.languageCommunication.proficiencyLevelCode"/>
      <comment
               value="The languageCommunication, if present, SHOULD contain zero or one [0..1] proficiencyLevelCode, which SHALL be selected from ValueSet LanguageAbilityProficiency urn:oid:2.16.840.1.113883.1.11.12199 DYNAMIC (CONF:4537-9965)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="LanguageCommunication.proficiencyLevelCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.12199"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.patient.languageCommunication.preferenceInd">
      <path
            value="ClinicalDocument.recordTarget.patientRole.patient.languageCommunication.preferenceInd"/>
      <comment
               value="The languageCommunication, if present, SHOULD contain zero or one [0..1] preferenceInd (CONF:4537-5414)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="LanguageCommunication.preferenceInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/BL"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.providerOrganization">
      <path
            value="ClinicalDocument.recordTarget.patientRole.providerOrganization"/>
      <comment
               value="This patientRole MAY contain zero or one [0..1] providerOrganization (CONF:4537-5416)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PatientRole.providerOrganization"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Organization"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.providerOrganization.nullFlavor">
      <path
            value="ClinicalDocument.recordTarget.patientRole.providerOrganization.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="Organization.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="ClinicalDocument.recordTarget.patientRole.providerOrganization.classCode">
      <path
            value="ClinicalDocument.recordTarget.patientRole.providerOrganization.classCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Organization.classCode"/>
        <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="ORG"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-EntityClassOrganization"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.providerOrganization.determinerCode">
      <path
            value="ClinicalDocument.recordTarget.patientRole.providerOrganization.determinerCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Organization.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="ClinicalDocument.recordTarget.patientRole.providerOrganization.realmCode">
      <path
            value="ClinicalDocument.recordTarget.patientRole.providerOrganization.realmCode"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Organization.realmCode"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.providerOrganization.typeId">
      <path
            value="ClinicalDocument.recordTarget.patientRole.providerOrganization.typeId"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Organization.typeId"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.providerOrganization.templateId">
      <path
            value="ClinicalDocument.recordTarget.patientRole.providerOrganization.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="Organization.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.providerOrganization.id">
      <path
            value="ClinicalDocument.recordTarget.patientRole.providerOrganization.id"/>
      <comment
               value="The providerOrganization, if present, SHALL contain at least one [1..*] id (CONF:4537-5417)."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="Organization.id"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.providerOrganization.id.nullFlavor">
      <path
            value="ClinicalDocument.recordTarget.patientRole.providerOrganization.id.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="ClinicalDocument.recordTarget.patientRole.providerOrganization.id.assigningAuthorityName">
      <path
            value="ClinicalDocument.recordTarget.patientRole.providerOrganization.id.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="ClinicalDocument.recordTarget.patientRole.providerOrganization.id.displayable">
      <path
            value="ClinicalDocument.recordTarget.patientRole.providerOrganization.id.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="ClinicalDocument.recordTarget.patientRole.providerOrganization.id.root">
      <path
            value="ClinicalDocument.recordTarget.patientRole.providerOrganization.id.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="Such ids SHOULD contain zero or one [0..1] @root=&quot;2.16.840.1.113883.4.6&quot; National Provider Identifier (CONF:4537-16820)."/>
      <min value="0"/>
      <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.4.6"/>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.providerOrganization.id.extension">
      <path
            value="ClinicalDocument.recordTarget.patientRole.providerOrganization.id.extension"/>
      <representation value="xmlAttr"/>
      <label value="Extension"/>
      <definition
                  value="A character string as a unique identifier within the scope of the identifier root."/>
      <min value="0"/>
      <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>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.providerOrganization.name">
      <path
            value="ClinicalDocument.recordTarget.patientRole.providerOrganization.name"/>
      <comment
               value="The providerOrganization, if present, SHALL contain at least one [1..*] name (CONF:4537-5419)."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="Organization.name"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ON"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.providerOrganization.telecom">
      <path
            value="ClinicalDocument.recordTarget.patientRole.providerOrganization.telecom"/>
      <comment
               value="The providerOrganization, if present, SHALL contain at least one [1..*] telecom (CONF:4537-5420)."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="Organization.telecom"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/TEL"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.providerOrganization.telecom.nullFlavor">
      <path
            value="ClinicalDocument.recordTarget.patientRole.providerOrganization.telecom.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="ClinicalDocument.recordTarget.patientRole.providerOrganization.telecom.value">
      <path
            value="ClinicalDocument.recordTarget.patientRole.providerOrganization.telecom.value"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="TEL.value"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="url"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/url"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.providerOrganization.telecom.useablePeriod">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype">
        <valueCanonical
                        value="http://hl7.org/cda/stds/core/StructureDefinition/SXPR-TS"/>
      </extension>
      <path
            value="ClinicalDocument.recordTarget.patientRole.providerOrganization.telecom.useablePeriod"/>
      <representation value="typeAttr"/>
      <label value="Useable Period"/>
      <definition
                  value="Specifies the periods of time during which the telecommunication address can be used. For a telephone number, this can indicate the time of day in which the party can be reached on that telephone. For a web address, it may specify a time range in which the web content is promised to be available under the given address."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="TEL.useablePeriod"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/IVL-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/PIVL-TS"/>
      </type>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/SXPR-TS"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.providerOrganization.telecom.use">
      <path
            value="ClinicalDocument.recordTarget.patientRole.providerOrganization.telecom.use"/>
      <representation value="xmlAttr"/>
      <label value="Use Code"/>
      <definition
                  value="One or more codes advising a system or user which telecommunication address in a set of like addresses to select for a given telecommunication need."/>
      <comment
               value="Such telecoms SHOULD contain zero or one [0..1] @use, which SHALL be selected from ValueSet Telecom Use (US Realm Header) urn:oid:2.16.840.1.113883.11.20.9.20 DYNAMIC (CONF:4537-7994)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="TEL.use"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.20"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.providerOrganization.addr">
      <path
            value="ClinicalDocument.recordTarget.patientRole.providerOrganization.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="The providerOrganization, if present, SHALL contain at least one [1..*] US Realm Address (AD.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.2) (CONF:4537-5422)."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="Organization.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="ClinicalDocument.recordTarget.patientRole.providerOrganization.standardIndustryClassCode">
      <path
            value="ClinicalDocument.recordTarget.patientRole.providerOrganization.standardIndustryClassCode"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Organization.standardIndustryClassCode"/>
        <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-OrganizationIndustryClassNAICS"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.recordTarget.patientRole.providerOrganization.asOrganizationPartOf">
      <path
            value="ClinicalDocument.recordTarget.patientRole.providerOrganization.asOrganizationPartOf"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Organization.asOrganizationPartOf"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/OrganizationPartOf"/>
      </type>
    </element>
    <element id="ClinicalDocument.author">
      <path value="ClinicalDocument.author"/>
      <comment
               value="SHALL contain at least one [1..*] author (CONF:4537-5444)."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="ClinicalDocument.author"/>
        <min value="1"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Author"/>
      </type>
    </element>
    <element id="ClinicalDocument.author.nullFlavor">
      <path value="ClinicalDocument.author.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="Author.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="ClinicalDocument.author.typeCode">
      <path value="ClinicalDocument.author.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Author.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="AUT"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ParticipationType"/>
      </binding>
    </element>
    <element id="ClinicalDocument.author.contextControlCode">
      <path value="ClinicalDocument.author.contextControlCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Author.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="ClinicalDocument.author.realmCode">
      <path value="ClinicalDocument.author.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="Author.realmCode"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
      </type>
    </element>
    <element id="ClinicalDocument.author.typeId">
      <path value="ClinicalDocument.author.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="Author.typeId"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.author.templateId">
      <path value="ClinicalDocument.author.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="Author.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.author.functionCode">
      <path value="ClinicalDocument.author.functionCode"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Author.functionCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
      </type>
    </element>
    <element id="ClinicalDocument.author.time">
      <path value="ClinicalDocument.author.time"/>
      <short value="Base for all types and resources"/>
      <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."/>
      <comment
               value="Such authors SHALL contain exactly one [1..1] US Realm Date and Time (DTM.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.4) (CONF:4537-5445)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Author.time"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/TS"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmDateandTimeDTMUSFIELDED"/>
      </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-10127"/>
        <severity value="error"/>
        <human value="**SHALL** be precise to the day (CONF:81-10127)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmDateandTimeDTMUSFIELDED"/>
      </constraint>
      <constraint>
        <key value="81-10128"/>
        <severity value="warning"/>
        <human value="**SHOULD** be precise to the minute (CONF:81-10128)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmDateandTimeDTMUSFIELDED"/>
      </constraint>
      <constraint>
        <key value="81-10129"/>
        <severity value="warning"/>
        <human value="**MAY** be precise to the second (CONF:81-10129)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmDateandTimeDTMUSFIELDED"/>
      </constraint>
      <constraint>
        <key value="81-10130"/>
        <severity value="warning"/>
        <human
               value="If more precise than day, **SHOULD** include time-zone offset (CONF:81-10130)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmDateandTimeDTMUSFIELDED"/>
      </constraint>
      <isModifier value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ClinicalDocument.author.assignedAuthor">
      <path value="ClinicalDocument.author.assignedAuthor"/>
      <comment
               value="Such authors SHALL contain exactly one [1..1] assignedAuthor (CONF:4537-5448)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Author.assignedAuthor"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/AssignedAuthor"/>
      </type>
      <constraint>
        <key value="4537-16790"/>
        <severity value="error"/>
        <human
               value="There **SHALL** be exactly one assignedAuthor/assignedPerson or exactly one assignedAuthor/assignedAuthoringDevice (CONF:4537-16790)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmHeader"/>
      </constraint>
    </element>
    <element id="ClinicalDocument.author.assignedAuthor.classCode">
      <path value="ClinicalDocument.author.assignedAuthor.classCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AssignedAuthor.classCode"/>
        <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="ASSIGNED"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-RoleClassAssignedEntity"/>
      </binding>
    </element>
    <element id="ClinicalDocument.author.assignedAuthor.templateId">
      <path value="ClinicalDocument.author.assignedAuthor.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="AssignedAuthor.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.author.assignedAuthor.id">
      <path value="ClinicalDocument.author.assignedAuthor.id"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="root"/>
        </discriminator>
        <rules value="open"/>
      </slicing>
      <comment
               value="This assignedAuthor SHOULD contain zero or one [0..1] id (CONF:4537-32882) such that it, This assignedAuthor SHALL contain at least one [1..*] id (CONF:4537-5449)."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="AssignedAuthor.id"/>
        <min value="1"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.author.assignedAuthor.id:id1">
      <path value="ClinicalDocument.author.assignedAuthor.id"/>
      <sliceName value="id1"/>
      <short value="id"/>
      <comment
               value="This assignedAuthor SHOULD contain zero or one [0..1] id (CONF:4537-32882) such that it"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AssignedAuthor.id"/>
        <min value="1"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.author.assignedAuthor.id:id1.nullFlavor">
      <path value="ClinicalDocument.author.assignedAuthor.id.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."/>
      <comment
               value="MAY contain zero or one [0..1] @nullFlavor=&quot;UNK&quot; Unknown (CodeSystem: HL7NullFlavor urn:oid:2.16.840.1.113883.5.1008) (CONF:4537-32883)."/>
      <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>
      <fixedCode value="UNK"/>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-NullFlavor"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.author.assignedAuthor.id:id1.assigningAuthorityName">
      <path
            value="ClinicalDocument.author.assignedAuthor.id.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="ClinicalDocument.author.assignedAuthor.id:id1.displayable">
      <path value="ClinicalDocument.author.assignedAuthor.id.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="ClinicalDocument.author.assignedAuthor.id:id1.root">
      <path value="ClinicalDocument.author.assignedAuthor.id.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.4.6&quot; National Provider Identifier (CONF:4537-32884)."/>
      <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.4.6"/>
    </element>
    <element id="ClinicalDocument.author.assignedAuthor.id:id1.extension">
      <path value="ClinicalDocument.author.assignedAuthor.id.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="SHOULD contain zero or one [0..1] @extension (CONF:4537-32885)."/>
      <min value="0"/>
      <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>
    </element>
    <element id="ClinicalDocument.author.assignedAuthor.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="ClinicalDocument.author.assignedAuthor.sdtcIdentifiedBy"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="AssignedAuthor.sdtcIdentifiedBy"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/IdentifiedBy"/>
      </type>
    </element>
    <element id="ClinicalDocument.author.assignedAuthor.code">
      <path value="ClinicalDocument.author.assignedAuthor.code"/>
      <comment
               value="This assignedAuthor SHOULD contain zero or one [0..1] code (CONF:4537-16787)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AssignedAuthor.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-RoleCode"/>
      </binding>
    </element>
    <element id="ClinicalDocument.author.assignedAuthor.code.nullFlavor">
      <path value="ClinicalDocument.author.assignedAuthor.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="ClinicalDocument.author.assignedAuthor.code.code">
      <path value="ClinicalDocument.author.assignedAuthor.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."/>
      <comment
               value="The code, if present, SHALL contain exactly one [1..1] @code, which SHOULD be selected from ValueSet Healthcare Provider Taxonomy urn:oid:2.16.840.1.114222.4.11.1066 DYNAMIC (CONF:4537-16788)."/>
      <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>
      <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="ClinicalDocument.author.assignedAuthor.code.codeSystem">
      <path value="ClinicalDocument.author.assignedAuthor.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="ClinicalDocument.author.assignedAuthor.code.codeSystemName">
      <path
            value="ClinicalDocument.author.assignedAuthor.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="ClinicalDocument.author.assignedAuthor.code.codeSystemVersion">
      <path
            value="ClinicalDocument.author.assignedAuthor.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="ClinicalDocument.author.assignedAuthor.code.displayName">
      <path value="ClinicalDocument.author.assignedAuthor.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="ClinicalDocument.author.assignedAuthor.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="ClinicalDocument.author.assignedAuthor.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="ClinicalDocument.author.assignedAuthor.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="ClinicalDocument.author.assignedAuthor.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="ClinicalDocument.author.assignedAuthor.code.originalText">
      <path value="ClinicalDocument.author.assignedAuthor.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="ClinicalDocument.author.assignedAuthor.code.qualifier">
      <path value="ClinicalDocument.author.assignedAuthor.code.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="ClinicalDocument.author.assignedAuthor.code.translation">
      <path value="ClinicalDocument.author.assignedAuthor.code.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="ClinicalDocument.author.assignedAuthor.addr">
      <path value="ClinicalDocument.author.assignedAuthor.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 assignedAuthor SHALL contain at least one [1..*] US Realm Address (AD.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.2) (CONF:4537-5452)."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="AssignedAuthor.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="ClinicalDocument.author.assignedAuthor.telecom">
      <path value="ClinicalDocument.author.assignedAuthor.telecom"/>
      <comment
               value="This assignedAuthor SHALL contain at least one [1..*] telecom (CONF:4537-5428)."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="AssignedAuthor.telecom"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/TEL"/>
      </type>
    </element>
    <element id="ClinicalDocument.author.assignedAuthor.telecom.nullFlavor">
      <path
            value="ClinicalDocument.author.assignedAuthor.telecom.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="ClinicalDocument.author.assignedAuthor.telecom.value">
      <path value="ClinicalDocument.author.assignedAuthor.telecom.value"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="TEL.value"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="url"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/url"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.author.assignedAuthor.telecom.useablePeriod">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype">
        <valueCanonical
                        value="http://hl7.org/cda/stds/core/StructureDefinition/SXPR-TS"/>
      </extension>
      <path
            value="ClinicalDocument.author.assignedAuthor.telecom.useablePeriod"/>
      <representation value="typeAttr"/>
      <label value="Useable Period"/>
      <definition
                  value="Specifies the periods of time during which the telecommunication address can be used. For a telephone number, this can indicate the time of day in which the party can be reached on that telephone. For a web address, it may specify a time range in which the web content is promised to be available under the given address."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="TEL.useablePeriod"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/IVL-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/PIVL-TS"/>
      </type>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/SXPR-TS"/>
      </type>
    </element>
    <element id="ClinicalDocument.author.assignedAuthor.telecom.use">
      <path value="ClinicalDocument.author.assignedAuthor.telecom.use"/>
      <representation value="xmlAttr"/>
      <label value="Use Code"/>
      <definition
                  value="One or more codes advising a system or user which telecommunication address in a set of like addresses to select for a given telecommunication need."/>
      <comment
               value="Such telecoms SHOULD contain zero or one [0..1] @use, which SHALL be selected from ValueSet Telecom Use (US Realm Header) urn:oid:2.16.840.1.113883.11.20.9.20 DYNAMIC (CONF:4537-7995)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="TEL.use"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.20"/>
      </binding>
    </element>
    <element id="ClinicalDocument.author.assignedAuthor.assignedPerson">
      <path value="ClinicalDocument.author.assignedAuthor.assignedPerson"/>
      <comment
               value="This assignedAuthor SHOULD contain zero or one [0..1] assignedPerson (CONF:4537-5430)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AssignedAuthor.assignedPerson"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Person"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.author.assignedAuthor.assignedPerson.classCode">
      <path
            value="ClinicalDocument.author.assignedAuthor.assignedPerson.classCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Person.classCode"/>
        <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="PSN"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-EntityClassLivingSubject"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.author.assignedAuthor.assignedPerson.determinerCode">
      <path
            value="ClinicalDocument.author.assignedAuthor.assignedPerson.determinerCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Person.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="ClinicalDocument.author.assignedAuthor.assignedPerson.templateId">
      <path
            value="ClinicalDocument.author.assignedAuthor.assignedPerson.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="Person.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.author.assignedAuthor.assignedPerson.name">
      <path
            value="ClinicalDocument.author.assignedAuthor.assignedPerson.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 assignedPerson, if present, SHALL contain at least one [1..*] US Realm Person Name (PN.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.1.1) (CONF:4537-16789)."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="Person.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="ClinicalDocument.author.assignedAuthor.assignedPerson.sdtcAsPatientRelationship">
      <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="asPatientRelationship"/>
      </extension>
      <path
            value="ClinicalDocument.author.assignedAuthor.assignedPerson.sdtcAsPatientRelationship"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Person.sdtcAsPatientRelationship"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.author.assignedAuthor.assignedAuthoringDevice">
      <path
            value="ClinicalDocument.author.assignedAuthor.assignedAuthoringDevice"/>
      <comment
               value="This assignedAuthor SHOULD contain zero or one [0..1] assignedAuthoringDevice (CONF:4537-16783)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AssignedAuthor.assignedAuthoringDevice"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/AuthoringDevice"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.author.assignedAuthor.assignedAuthoringDevice.classCode">
      <path
            value="ClinicalDocument.author.assignedAuthor.assignedAuthoringDevice.classCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AuthoringDevice.classCode"/>
        <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="DEV"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-EntityClassDevice"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.author.assignedAuthor.assignedAuthoringDevice.determinerCode">
      <path
            value="ClinicalDocument.author.assignedAuthor.assignedAuthoringDevice.determinerCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AuthoringDevice.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="ClinicalDocument.author.assignedAuthor.assignedAuthoringDevice.templateId">
      <path
            value="ClinicalDocument.author.assignedAuthor.assignedAuthoringDevice.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="AuthoringDevice.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.author.assignedAuthor.assignedAuthoringDevice.code">
      <path
            value="ClinicalDocument.author.assignedAuthor.assignedAuthoringDevice.code"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AuthoringDevice.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="ClinicalDocument.author.assignedAuthor.assignedAuthoringDevice.manufacturerModelName">
      <path
            value="ClinicalDocument.author.assignedAuthor.assignedAuthoringDevice.manufacturerModelName"/>
      <comment
               value="The assignedAuthoringDevice, if present, SHALL contain exactly one [1..1] manufacturerModelName (CONF:4537-16784)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="AuthoringDevice.manufacturerModelName"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/SC"/>
      </type>
      <binding>
        <strength value="example"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ManufacturerModelNameExample"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.author.assignedAuthor.assignedAuthoringDevice.softwareName">
      <path
            value="ClinicalDocument.author.assignedAuthor.assignedAuthoringDevice.softwareName"/>
      <comment
               value="The assignedAuthoringDevice, if present, SHALL contain exactly one [1..1] softwareName (CONF:4537-16785)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="AuthoringDevice.softwareName"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/SC"/>
      </type>
      <binding>
        <strength value="example"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-SoftwareNameExample"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.author.assignedAuthor.assignedAuthoringDevice.asMaintainedEntity">
      <path
            value="ClinicalDocument.author.assignedAuthor.assignedAuthoringDevice.asMaintainedEntity"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="AuthoringDevice.asMaintainedEntity"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/MaintainedEntity"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.author.assignedAuthor.representedOrganization">
      <path
            value="ClinicalDocument.author.assignedAuthor.representedOrganization"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AssignedAuthor.representedOrganization"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Organization"/>
      </type>
    </element>
    <element id="ClinicalDocument.dataEnterer">
      <path value="ClinicalDocument.dataEnterer"/>
      <comment
               value="MAY contain zero or one [0..1] dataEnterer (CONF:4537-5441)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ClinicalDocument.dataEnterer"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/DataEnterer"/>
      </type>
    </element>
    <element id="ClinicalDocument.dataEnterer.nullFlavor">
      <path value="ClinicalDocument.dataEnterer.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="DataEnterer.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="ClinicalDocument.dataEnterer.typeCode">
      <path value="ClinicalDocument.dataEnterer.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DataEnterer.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="ENT"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ParticipationType"/>
      </binding>
    </element>
    <element id="ClinicalDocument.dataEnterer.contextControlCode">
      <path value="ClinicalDocument.dataEnterer.contextControlCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DataEnterer.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="ClinicalDocument.dataEnterer.realmCode">
      <path value="ClinicalDocument.dataEnterer.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="DataEnterer.realmCode"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
      </type>
    </element>
    <element id="ClinicalDocument.dataEnterer.typeId">
      <path value="ClinicalDocument.dataEnterer.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="DataEnterer.typeId"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.dataEnterer.templateId">
      <path value="ClinicalDocument.dataEnterer.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="DataEnterer.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.dataEnterer.time">
      <path value="ClinicalDocument.dataEnterer.time"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="DataEnterer.time"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/TS"/>
      </type>
    </element>
    <element id="ClinicalDocument.dataEnterer.assignedEntity">
      <path value="ClinicalDocument.dataEnterer.assignedEntity"/>
      <comment
               value="The dataEnterer, if present, SHALL contain exactly one [1..1] assignedEntity (CONF:4537-5442)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="DataEnterer.assignedEntity"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/AssignedEntity"/>
      </type>
    </element>
    <element id="ClinicalDocument.dataEnterer.assignedEntity.classCode">
      <path value="ClinicalDocument.dataEnterer.assignedEntity.classCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AssignedEntity.classCode"/>
        <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="ASSIGNED"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-RoleClassAssignedEntity"/>
      </binding>
    </element>
    <element id="ClinicalDocument.dataEnterer.assignedEntity.templateId">
      <path value="ClinicalDocument.dataEnterer.assignedEntity.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="AssignedEntity.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.dataEnterer.assignedEntity.id">
      <path value="ClinicalDocument.dataEnterer.assignedEntity.id"/>
      <comment
               value="This assignedEntity SHALL contain at least one [1..*] id (CONF:4537-5443)."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="AssignedEntity.id"/>
        <min value="1"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.dataEnterer.assignedEntity.id.nullFlavor">
      <path
            value="ClinicalDocument.dataEnterer.assignedEntity.id.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="ClinicalDocument.dataEnterer.assignedEntity.id.assigningAuthorityName">
      <path
            value="ClinicalDocument.dataEnterer.assignedEntity.id.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="ClinicalDocument.dataEnterer.assignedEntity.id.displayable">
      <path
            value="ClinicalDocument.dataEnterer.assignedEntity.id.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="ClinicalDocument.dataEnterer.assignedEntity.id.root">
      <path value="ClinicalDocument.dataEnterer.assignedEntity.id.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="Such ids SHOULD contain zero or one [0..1] @root=&quot;2.16.840.1.113883.4.6&quot; National Provider Identifier (CONF:4537-16821)."/>
      <min value="0"/>
      <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.4.6"/>
    </element>
    <element id="ClinicalDocument.dataEnterer.assignedEntity.id.extension">
      <path value="ClinicalDocument.dataEnterer.assignedEntity.id.extension"/>
      <representation value="xmlAttr"/>
      <label value="Extension"/>
      <definition
                  value="A character string as a unique identifier within the scope of the identifier root."/>
      <min value="0"/>
      <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>
    </element>
    <element
             id="ClinicalDocument.dataEnterer.assignedEntity.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="ClinicalDocument.dataEnterer.assignedEntity.sdtcIdentifiedBy"/>
      <definition value="Element AssignedEntity.sdtcIdentifiedBy"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="AssignedEntity.sdtcIdentifiedBy"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/IdentifiedBy"/>
      </type>
    </element>
    <element id="ClinicalDocument.dataEnterer.assignedEntity.code">
      <path value="ClinicalDocument.dataEnterer.assignedEntity.code"/>
      <comment
               value="This assignedEntity MAY 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:4537-32173)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AssignedEntity.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="ClinicalDocument.dataEnterer.assignedEntity.addr">
      <path value="ClinicalDocument.dataEnterer.assignedEntity.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 assignedEntity SHALL contain at least one [1..*] US Realm Address (AD.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.2) (CONF:4537-5460)."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="AssignedEntity.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="ClinicalDocument.dataEnterer.assignedEntity.telecom">
      <path value="ClinicalDocument.dataEnterer.assignedEntity.telecom"/>
      <comment
               value="This assignedEntity SHALL contain at least one [1..*] telecom (CONF:4537-5466)."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="AssignedEntity.telecom"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/TEL"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.dataEnterer.assignedEntity.telecom.nullFlavor">
      <path
            value="ClinicalDocument.dataEnterer.assignedEntity.telecom.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="ClinicalDocument.dataEnterer.assignedEntity.telecom.value">
      <path
            value="ClinicalDocument.dataEnterer.assignedEntity.telecom.value"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="TEL.value"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="url"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/url"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.dataEnterer.assignedEntity.telecom.useablePeriod">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype">
        <valueCanonical
                        value="http://hl7.org/cda/stds/core/StructureDefinition/SXPR-TS"/>
      </extension>
      <path
            value="ClinicalDocument.dataEnterer.assignedEntity.telecom.useablePeriod"/>
      <representation value="typeAttr"/>
      <label value="Useable Period"/>
      <definition
                  value="Specifies the periods of time during which the telecommunication address can be used. For a telephone number, this can indicate the time of day in which the party can be reached on that telephone. For a web address, it may specify a time range in which the web content is promised to be available under the given address."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="TEL.useablePeriod"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/IVL-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/PIVL-TS"/>
      </type>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/SXPR-TS"/>
      </type>
    </element>
    <element id="ClinicalDocument.dataEnterer.assignedEntity.telecom.use">
      <path value="ClinicalDocument.dataEnterer.assignedEntity.telecom.use"/>
      <representation value="xmlAttr"/>
      <label value="Use Code"/>
      <definition
                  value="One or more codes advising a system or user which telecommunication address in a set of like addresses to select for a given telecommunication need."/>
      <comment
               value="Such telecoms SHOULD contain zero or one [0..1] @use, which SHALL be selected from ValueSet Telecom Use (US Realm Header) urn:oid:2.16.840.1.113883.11.20.9.20 DYNAMIC (CONF:4537-7996)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="TEL.use"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.20"/>
      </binding>
    </element>
    <element id="ClinicalDocument.dataEnterer.assignedEntity.assignedPerson">
      <path
            value="ClinicalDocument.dataEnterer.assignedEntity.assignedPerson"/>
      <comment
               value="This assignedEntity SHALL contain exactly one [1..1] assignedPerson (CONF:4537-5469)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="AssignedEntity.assignedPerson"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Person"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.dataEnterer.assignedEntity.assignedPerson.classCode">
      <path
            value="ClinicalDocument.dataEnterer.assignedEntity.assignedPerson.classCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Person.classCode"/>
        <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="PSN"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-EntityClassLivingSubject"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.dataEnterer.assignedEntity.assignedPerson.determinerCode">
      <path
            value="ClinicalDocument.dataEnterer.assignedEntity.assignedPerson.determinerCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Person.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="ClinicalDocument.dataEnterer.assignedEntity.assignedPerson.templateId">
      <path
            value="ClinicalDocument.dataEnterer.assignedEntity.assignedPerson.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="Person.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.dataEnterer.assignedEntity.assignedPerson.name">
      <path
            value="ClinicalDocument.dataEnterer.assignedEntity.assignedPerson.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="This assignedPerson SHALL contain at least one [1..*] US Realm Person Name (PN.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.1.1) (CONF:4537-5470)."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="Person.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="ClinicalDocument.dataEnterer.assignedEntity.assignedPerson.sdtcAsPatientRelationship">
      <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="asPatientRelationship"/>
      </extension>
      <path
            value="ClinicalDocument.dataEnterer.assignedEntity.assignedPerson.sdtcAsPatientRelationship"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Person.sdtcAsPatientRelationship"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.dataEnterer.assignedEntity.representedOrganization">
      <path
            value="ClinicalDocument.dataEnterer.assignedEntity.representedOrganization"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AssignedEntity.representedOrganization"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Organization"/>
      </type>
    </element>
    <element id="ClinicalDocument.informant">
      <path value="ClinicalDocument.informant"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="relatedEntity"/>
        </discriminator>
        <rules value="open"/>
      </slicing>
      <comment
               value="MAY contain zero or more [0..*] informant (CONF:4537-31355) such that it"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ClinicalDocument.informant"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Informant"/>
      </type>
    </element>
    <element id="ClinicalDocument.informant:informant1">
      <path value="ClinicalDocument.informant"/>
      <sliceName value="informant1"/>
      <short value="informant"/>
      <comment
               value="MAY contain zero or more [0..*] informant (CONF:4537-8001) such that it"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ClinicalDocument.informant"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Informant"/>
      </type>
    </element>
    <element id="ClinicalDocument.informant:informant1.nullFlavor">
      <path value="ClinicalDocument.informant.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="ClinicalDocument.informant:informant1.realmCode">
      <path value="ClinicalDocument.informant.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="ClinicalDocument.informant:informant1.typeId">
      <path value="ClinicalDocument.informant.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="ClinicalDocument.informant:informant1.templateId">
      <path value="ClinicalDocument.informant.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="ClinicalDocument.informant:informant1.typeCode">
      <path value="ClinicalDocument.informant.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Informant.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="INF"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ParticipationType"/>
      </binding>
    </element>
    <element id="ClinicalDocument.informant:informant1.contextControlCode">
      <path value="ClinicalDocument.informant.contextControlCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Informant.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="ClinicalDocument.informant:informant1.assignedEntity">
      <path value="ClinicalDocument.informant.assignedEntity"/>
      <comment
               value="SHALL contain exactly one [1..1] assignedEntity (CONF:4537-8002)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Informant.assignedEntity"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/AssignedEntity"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.informant:informant1.assignedEntity.classCode">
      <path value="ClinicalDocument.informant.assignedEntity.classCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AssignedEntity.classCode"/>
        <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="ASSIGNED"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-RoleClassAssignedEntity"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.informant:informant1.assignedEntity.templateId">
      <path value="ClinicalDocument.informant.assignedEntity.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="AssignedEntity.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.informant:informant1.assignedEntity.id">
      <path value="ClinicalDocument.informant.assignedEntity.id"/>
      <comment
               value="This assignedEntity SHALL contain at least one [1..*] id (CONF:4537-9945)."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="AssignedEntity.id"/>
        <min value="1"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
      <constraint>
        <key value="4537-9946"/>
        <severity value="warning"/>
        <human
               value="If assignedEntity/id is a provider then this id, **SHOULD** include zero or one [0..1] id where id/@root =&quot;2.16.840.1.113883.4.6&quot; National Provider Identifier (CONF:4537-9946)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmHeader"/>
      </constraint>
    </element>
    <element
             id="ClinicalDocument.informant:informant1.assignedEntity.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="ClinicalDocument.informant.assignedEntity.sdtcIdentifiedBy"/>
      <definition value="Element AssignedEntity.sdtcIdentifiedBy"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="AssignedEntity.sdtcIdentifiedBy"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/IdentifiedBy"/>
      </type>
    </element>
    <element id="ClinicalDocument.informant:informant1.assignedEntity.code">
      <path value="ClinicalDocument.informant.assignedEntity.code"/>
      <comment
               value="This assignedEntity MAY 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:4537-32174)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AssignedEntity.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="ClinicalDocument.informant:informant1.assignedEntity.addr">
      <path value="ClinicalDocument.informant.assignedEntity.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 assignedEntity SHALL contain at least one [1..*] US Realm Address (AD.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.2) (CONF:4537-8220)."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="AssignedEntity.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="ClinicalDocument.informant:informant1.assignedEntity.telecom">
      <path value="ClinicalDocument.informant.assignedEntity.telecom"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="AssignedEntity.telecom"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/TEL"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.informant:informant1.assignedEntity.assignedPerson">
      <path value="ClinicalDocument.informant.assignedEntity.assignedPerson"/>
      <comment
               value="This assignedEntity SHALL contain exactly one [1..1] assignedPerson (CONF:4537-8221)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="AssignedEntity.assignedPerson"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Person"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.informant:informant1.assignedEntity.assignedPerson.classCode">
      <path
            value="ClinicalDocument.informant.assignedEntity.assignedPerson.classCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Person.classCode"/>
        <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="PSN"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-EntityClassLivingSubject"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.informant:informant1.assignedEntity.assignedPerson.determinerCode">
      <path
            value="ClinicalDocument.informant.assignedEntity.assignedPerson.determinerCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Person.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="ClinicalDocument.informant:informant1.assignedEntity.assignedPerson.templateId">
      <path
            value="ClinicalDocument.informant.assignedEntity.assignedPerson.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="Person.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.informant:informant1.assignedEntity.assignedPerson.name">
      <path
            value="ClinicalDocument.informant.assignedEntity.assignedPerson.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="This assignedPerson SHALL contain at least one [1..*] US Realm Person Name (PN.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.1.1) (CONF:4537-8222)."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="Person.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="ClinicalDocument.informant:informant1.assignedEntity.assignedPerson.sdtcAsPatientRelationship">
      <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="asPatientRelationship"/>
      </extension>
      <path
            value="ClinicalDocument.informant.assignedEntity.assignedPerson.sdtcAsPatientRelationship"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Person.sdtcAsPatientRelationship"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.informant:informant1.assignedEntity.representedOrganization">
      <path
            value="ClinicalDocument.informant.assignedEntity.representedOrganization"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AssignedEntity.representedOrganization"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Organization"/>
      </type>
    </element>
    <element id="ClinicalDocument.informant:informant1.relatedEntity">
      <path value="ClinicalDocument.informant.relatedEntity"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Informant.relatedEntity"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/RelatedEntity"/>
      </type>
    </element>
    <element id="ClinicalDocument.informant:informant2">
      <path value="ClinicalDocument.informant"/>
      <sliceName value="informant2"/>
      <short value="informant"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ClinicalDocument.informant"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Informant"/>
      </type>
    </element>
    <element id="ClinicalDocument.informant:informant2.nullFlavor">
      <path value="ClinicalDocument.informant.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="ClinicalDocument.informant:informant2.realmCode">
      <path value="ClinicalDocument.informant.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="ClinicalDocument.informant:informant2.typeId">
      <path value="ClinicalDocument.informant.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="ClinicalDocument.informant:informant2.templateId">
      <path value="ClinicalDocument.informant.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="ClinicalDocument.informant:informant2.typeCode">
      <path value="ClinicalDocument.informant.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Informant.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="INF"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ParticipationType"/>
      </binding>
    </element>
    <element id="ClinicalDocument.informant:informant2.contextControlCode">
      <path value="ClinicalDocument.informant.contextControlCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Informant.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="ClinicalDocument.informant:informant2.assignedEntity">
      <path value="ClinicalDocument.informant.assignedEntity"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Informant.assignedEntity"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/AssignedEntity"/>
      </type>
    </element>
    <element id="ClinicalDocument.informant:informant2.relatedEntity">
      <path value="ClinicalDocument.informant.relatedEntity"/>
      <comment
               value="SHALL contain exactly one [1..1] relatedEntity (CONF:4537-31356)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Informant.relatedEntity"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/RelatedEntity"/>
      </type>
    </element>
    <element id="ClinicalDocument.custodian">
      <path value="ClinicalDocument.custodian"/>
      <comment
               value="SHALL contain exactly one [1..1] custodian (CONF:4537-5519)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ClinicalDocument.custodian"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Custodian"/>
      </type>
    </element>
    <element id="ClinicalDocument.custodian.nullFlavor">
      <path value="ClinicalDocument.custodian.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="Custodian.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="ClinicalDocument.custodian.typeCode">
      <path value="ClinicalDocument.custodian.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Custodian.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="ENT"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ParticipationType"/>
      </binding>
    </element>
    <element id="ClinicalDocument.custodian.realmCode">
      <path value="ClinicalDocument.custodian.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="Custodian.realmCode"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
      </type>
    </element>
    <element id="ClinicalDocument.custodian.typeId">
      <path value="ClinicalDocument.custodian.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="Custodian.typeId"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.custodian.templateId">
      <path value="ClinicalDocument.custodian.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="Custodian.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.custodian.assignedCustodian">
      <path value="ClinicalDocument.custodian.assignedCustodian"/>
      <comment
               value="This custodian SHALL contain exactly one [1..1] assignedCustodian (CONF:4537-5520)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Custodian.assignedCustodian"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/AssignedCustodian"/>
      </type>
    </element>
    <element id="ClinicalDocument.custodian.assignedCustodian.classCode">
      <path value="ClinicalDocument.custodian.assignedCustodian.classCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AssignedCustodian.classCode"/>
        <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="ASSIGNED"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-RoleClassAssignedEntity"/>
      </binding>
    </element>
    <element id="ClinicalDocument.custodian.assignedCustodian.templateId">
      <path value="ClinicalDocument.custodian.assignedCustodian.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="AssignedCustodian.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization">
      <path
            value="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization"/>
      <comment
               value="This assignedCustodian SHALL contain exactly one [1..1] representedCustodianOrganization (CONF:4537-5521)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="AssignedCustodian.representedCustodianOrganization"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/CustodianOrganization"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.classCode">
      <path
            value="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.classCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CustodianOrganization.classCode"/>
        <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="ORG"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-EntityClassOrganization"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.determinerCode">
      <path
            value="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.determinerCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="CustodianOrganization.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="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.templateId">
      <path
            value="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.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="CustodianOrganization.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.id">
      <path
            value="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.id"/>
      <comment
               value="This representedCustodianOrganization SHALL contain at least one [1..*] id (CONF:4537-5522)."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="CustodianOrganization.id"/>
        <min value="1"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.id.nullFlavor">
      <path
            value="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.id.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="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.id.assigningAuthorityName">
      <path
            value="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.id.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="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.id.displayable">
      <path
            value="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.id.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="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.id.root">
      <path
            value="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.id.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="Such ids SHOULD contain zero or one [0..1] @root=&quot;2.16.840.1.113883.4.6&quot; National Provider Identifier (CONF:4537-16822)."/>
      <min value="0"/>
      <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.4.6"/>
    </element>
    <element
             id="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.id.extension">
      <path
            value="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.id.extension"/>
      <representation value="xmlAttr"/>
      <label value="Extension"/>
      <definition
                  value="A character string as a unique identifier within the scope of the identifier root."/>
      <min value="0"/>
      <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>
    </element>
    <element
             id="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.name">
      <path
            value="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.name"/>
      <comment
               value="This representedCustodianOrganization SHALL contain exactly one [1..1] name (CONF:4537-5524)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="CustodianOrganization.name"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ON"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.telecom">
      <path
            value="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.telecom"/>
      <comment
               value="This representedCustodianOrganization SHALL contain exactly one [1..1] telecom (CONF:4537-5525)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="CustodianOrganization.telecom"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/TEL"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.telecom.nullFlavor">
      <path
            value="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.telecom.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="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.telecom.value">
      <path
            value="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.telecom.value"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="TEL.value"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="url"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/url"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.telecom.useablePeriod">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype">
        <valueCanonical
                        value="http://hl7.org/cda/stds/core/StructureDefinition/SXPR-TS"/>
      </extension>
      <path
            value="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.telecom.useablePeriod"/>
      <representation value="typeAttr"/>
      <label value="Useable Period"/>
      <definition
                  value="Specifies the periods of time during which the telecommunication address can be used. For a telephone number, this can indicate the time of day in which the party can be reached on that telephone. For a web address, it may specify a time range in which the web content is promised to be available under the given address."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="TEL.useablePeriod"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/IVL-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/PIVL-TS"/>
      </type>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/SXPR-TS"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.telecom.use">
      <path
            value="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.telecom.use"/>
      <representation value="xmlAttr"/>
      <label value="Use Code"/>
      <definition
                  value="One or more codes advising a system or user which telecommunication address in a set of like addresses to select for a given telecommunication need."/>
      <comment
               value="This telecom SHOULD contain zero or one [0..1] @use, which SHALL be selected from ValueSet Telecom Use (US Realm Header) urn:oid:2.16.840.1.113883.11.20.9.20 DYNAMIC (CONF:4537-7998)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="TEL.use"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.20"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.addr">
      <path
            value="ClinicalDocument.custodian.assignedCustodian.representedCustodianOrganization.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 representedCustodianOrganization SHALL contain exactly one [1..1] US Realm Address (AD.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.2) (CONF:4537-5559)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="CustodianOrganization.addr"/>
        <min value="0"/>
        <max value="1"/>
      </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="ClinicalDocument.informationRecipient">
      <path value="ClinicalDocument.informationRecipient"/>
      <comment
               value="SHALL contain exactly one [1..1] informationRecipient (CONF:1198-31589)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ClinicalDocument.informationRecipient"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/InformationRecipient"/>
      </type>
    </element>
    <element id="ClinicalDocument.informationRecipient.nullFlavor">
      <path value="ClinicalDocument.informationRecipient.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="InformationRecipient.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="ClinicalDocument.informationRecipient.typeCode">
      <path value="ClinicalDocument.informationRecipient.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="InformationRecipient.typeCode"/>
        <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="PRCP"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ParticipationType"/>
      </binding>
    </element>
    <element id="ClinicalDocument.informationRecipient.realmCode">
      <path value="ClinicalDocument.informationRecipient.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="InformationRecipient.realmCode"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
      </type>
    </element>
    <element id="ClinicalDocument.informationRecipient.typeId">
      <path value="ClinicalDocument.informationRecipient.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="InformationRecipient.typeId"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.informationRecipient.templateId">
      <path value="ClinicalDocument.informationRecipient.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="InformationRecipient.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.informationRecipient.intendedRecipient">
      <path value="ClinicalDocument.informationRecipient.intendedRecipient"/>
      <comment
               value="This informationRecipient SHALL contain exactly one [1..1] intendedRecipient (CONF:1198-31590)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="InformationRecipient.intendedRecipient"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/IntendedRecipient"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.informationRecipient.intendedRecipient.classCode">
      <path
            value="ClinicalDocument.informationRecipient.intendedRecipient.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="IntendedRecipient.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="ASSIGNED"/>
    </element>
    <element
             id="ClinicalDocument.informationRecipient.intendedRecipient.templateId">
      <path
            value="ClinicalDocument.informationRecipient.intendedRecipient.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="IntendedRecipient.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.informationRecipient.intendedRecipient.id">
      <path
            value="ClinicalDocument.informationRecipient.intendedRecipient.id"/>
      <comment
               value="This intendedRecipient MAY contain zero or more [0..*] id (CONF:4537-32399)."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="IntendedRecipient.id"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.informationRecipient.intendedRecipient.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="ClinicalDocument.informationRecipient.intendedRecipient.sdtcIdentifiedBy"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="IntendedRecipient.sdtcIdentifiedBy"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/IdentifiedBy"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.informationRecipient.intendedRecipient.addr">
      <path
            value="ClinicalDocument.informationRecipient.intendedRecipient.addr"/>
      <comment
               value="This intendedRecipient SHOULD contain zero or more [0..*] addr (CONF:1198-31591)."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="IntendedRecipient.addr"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/AD"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.informationRecipient.intendedRecipient.telecom">
      <path
            value="ClinicalDocument.informationRecipient.intendedRecipient.telecom"/>
      <comment
               value="This intendedRecipient SHOULD contain zero or more [0..*] telecom (CONF:1198-31592)."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="IntendedRecipient.telecom"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/TEL"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.informationRecipient.intendedRecipient.informationRecipient">
      <path
            value="ClinicalDocument.informationRecipient.intendedRecipient.informationRecipient"/>
      <comment
               value="This intendedRecipient SHALL contain exactly one [1..1] informationRecipient (CONF:1198-31593)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="IntendedRecipient.informationRecipient"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Person"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.informationRecipient.intendedRecipient.informationRecipient.classCode">
      <path
            value="ClinicalDocument.informationRecipient.intendedRecipient.informationRecipient.classCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Person.classCode"/>
        <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="PSN"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-EntityClassLivingSubject"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.informationRecipient.intendedRecipient.informationRecipient.determinerCode">
      <path
            value="ClinicalDocument.informationRecipient.intendedRecipient.informationRecipient.determinerCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Person.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="ClinicalDocument.informationRecipient.intendedRecipient.informationRecipient.templateId">
      <path
            value="ClinicalDocument.informationRecipient.intendedRecipient.informationRecipient.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="Person.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.informationRecipient.intendedRecipient.informationRecipient.name">
      <path
            value="ClinicalDocument.informationRecipient.intendedRecipient.informationRecipient.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="This informationRecipient SHALL contain at least one [1..*] US Realm Person Name (PN.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.1.1) (CONF:1198-31594)."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="Person.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="ClinicalDocument.informationRecipient.intendedRecipient.informationRecipient.sdtcAsPatientRelationship">
      <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="asPatientRelationship"/>
      </extension>
      <path
            value="ClinicalDocument.informationRecipient.intendedRecipient.informationRecipient.sdtcAsPatientRelationship"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Person.sdtcAsPatientRelationship"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.informationRecipient.intendedRecipient.receivedOrganization">
      <path
            value="ClinicalDocument.informationRecipient.intendedRecipient.receivedOrganization"/>
      <comment
               value="This intendedRecipient MAY contain zero or one [0..1] receivedOrganization (CONF:4537-5577)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="IntendedRecipient.receivedOrganization"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Organization"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.informationRecipient.intendedRecipient.receivedOrganization.nullFlavor">
      <path
            value="ClinicalDocument.informationRecipient.intendedRecipient.receivedOrganization.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="Organization.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="ClinicalDocument.informationRecipient.intendedRecipient.receivedOrganization.classCode">
      <path
            value="ClinicalDocument.informationRecipient.intendedRecipient.receivedOrganization.classCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Organization.classCode"/>
        <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="ORG"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-EntityClassOrganization"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.informationRecipient.intendedRecipient.receivedOrganization.determinerCode">
      <path
            value="ClinicalDocument.informationRecipient.intendedRecipient.receivedOrganization.determinerCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Organization.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="ClinicalDocument.informationRecipient.intendedRecipient.receivedOrganization.realmCode">
      <path
            value="ClinicalDocument.informationRecipient.intendedRecipient.receivedOrganization.realmCode"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Organization.realmCode"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.informationRecipient.intendedRecipient.receivedOrganization.typeId">
      <path
            value="ClinicalDocument.informationRecipient.intendedRecipient.receivedOrganization.typeId"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Organization.typeId"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.informationRecipient.intendedRecipient.receivedOrganization.templateId">
      <path
            value="ClinicalDocument.informationRecipient.intendedRecipient.receivedOrganization.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="Organization.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.informationRecipient.intendedRecipient.receivedOrganization.id">
      <path
            value="ClinicalDocument.informationRecipient.intendedRecipient.receivedOrganization.id"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Organization.id"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.informationRecipient.intendedRecipient.receivedOrganization.name">
      <path
            value="ClinicalDocument.informationRecipient.intendedRecipient.receivedOrganization.name"/>
      <comment
               value="The receivedOrganization, if present, SHALL contain exactly one [1..1] name (CONF:4537-5578)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Organization.name"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ON"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.informationRecipient.intendedRecipient.receivedOrganization.telecom">
      <path
            value="ClinicalDocument.informationRecipient.intendedRecipient.receivedOrganization.telecom"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Organization.telecom"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/TEL"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.informationRecipient.intendedRecipient.receivedOrganization.addr">
      <path
            value="ClinicalDocument.informationRecipient.intendedRecipient.receivedOrganization.addr"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Organization.addr"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/AD"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.informationRecipient.intendedRecipient.receivedOrganization.standardIndustryClassCode">
      <path
            value="ClinicalDocument.informationRecipient.intendedRecipient.receivedOrganization.standardIndustryClassCode"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Organization.standardIndustryClassCode"/>
        <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-OrganizationIndustryClassNAICS"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.informationRecipient.intendedRecipient.receivedOrganization.asOrganizationPartOf">
      <path
            value="ClinicalDocument.informationRecipient.intendedRecipient.receivedOrganization.asOrganizationPartOf"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Organization.asOrganizationPartOf"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/OrganizationPartOf"/>
      </type>
    </element>
    <element id="ClinicalDocument.legalAuthenticator">
      <path value="ClinicalDocument.legalAuthenticator"/>
      <comment
               value="SHOULD contain zero or one [0..1] legalAuthenticator (CONF:4537-5579)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ClinicalDocument.legalAuthenticator"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/LegalAuthenticator"/>
      </type>
    </element>
    <element id="ClinicalDocument.legalAuthenticator.nullFlavor">
      <path value="ClinicalDocument.legalAuthenticator.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="LegalAuthenticator.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="ClinicalDocument.legalAuthenticator.typeCode">
      <path value="ClinicalDocument.legalAuthenticator.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="LegalAuthenticator.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="LA"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ParticipationType"/>
      </binding>
    </element>
    <element id="ClinicalDocument.legalAuthenticator.contextControlCode">
      <path value="ClinicalDocument.legalAuthenticator.contextControlCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="LegalAuthenticator.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="ClinicalDocument.legalAuthenticator.realmCode">
      <path value="ClinicalDocument.legalAuthenticator.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="LegalAuthenticator.realmCode"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
      </type>
    </element>
    <element id="ClinicalDocument.legalAuthenticator.typeId">
      <path value="ClinicalDocument.legalAuthenticator.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="LegalAuthenticator.typeId"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.legalAuthenticator.templateId">
      <path value="ClinicalDocument.legalAuthenticator.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="LegalAuthenticator.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.legalAuthenticator.time">
      <path value="ClinicalDocument.legalAuthenticator.time"/>
      <short value="Base for all types and resources"/>
      <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."/>
      <comment
               value="The legalAuthenticator, if present, SHALL contain exactly one [1..1] US Realm Date and Time (DTM.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.4) (CONF:4537-5580)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LegalAuthenticator.time"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/TS"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmDateandTimeDTMUSFIELDED"/>
      </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-10127"/>
        <severity value="error"/>
        <human value="**SHALL** be precise to the day (CONF:81-10127)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmDateandTimeDTMUSFIELDED"/>
      </constraint>
      <constraint>
        <key value="81-10128"/>
        <severity value="warning"/>
        <human value="**SHOULD** be precise to the minute (CONF:81-10128)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmDateandTimeDTMUSFIELDED"/>
      </constraint>
      <constraint>
        <key value="81-10129"/>
        <severity value="warning"/>
        <human value="**MAY** be precise to the second (CONF:81-10129)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmDateandTimeDTMUSFIELDED"/>
      </constraint>
      <constraint>
        <key value="81-10130"/>
        <severity value="warning"/>
        <human
               value="If more precise than day, **SHOULD** include time-zone offset (CONF:81-10130)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmDateandTimeDTMUSFIELDED"/>
      </constraint>
      <isModifier value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="ClinicalDocument.legalAuthenticator.signatureCode">
      <path value="ClinicalDocument.legalAuthenticator.signatureCode"/>
      <comment
               value="The legalAuthenticator, if present, SHALL contain exactly one [1..1] signatureCode (CONF:4537-5583)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LegalAuthenticator.signatureCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.legalAuthenticator.signatureCode.nullFlavor">
      <path
            value="ClinicalDocument.legalAuthenticator.signatureCode.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="ClinicalDocument.legalAuthenticator.signatureCode.code">
      <path value="ClinicalDocument.legalAuthenticator.signatureCode.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 signatureCode SHALL contain exactly one [1..1] @code=&quot;S&quot; (CodeSystem: HL7ParticipationSignature urn:oid:2.16.840.1.113883.5.89 STATIC) (CONF:4537-5584)."/>
      <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="S"/>
    </element>
    <element
             id="ClinicalDocument.legalAuthenticator.signatureCode.codeSystem">
      <path
            value="ClinicalDocument.legalAuthenticator.signatureCode.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="ClinicalDocument.legalAuthenticator.signatureCode.codeSystemName">
      <path
            value="ClinicalDocument.legalAuthenticator.signatureCode.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="ClinicalDocument.legalAuthenticator.signatureCode.codeSystemVersion">
      <path
            value="ClinicalDocument.legalAuthenticator.signatureCode.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="ClinicalDocument.legalAuthenticator.signatureCode.displayName">
      <path
            value="ClinicalDocument.legalAuthenticator.signatureCode.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="ClinicalDocument.legalAuthenticator.signatureCode.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="ClinicalDocument.legalAuthenticator.signatureCode.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="ClinicalDocument.legalAuthenticator.signatureCode.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="ClinicalDocument.legalAuthenticator.signatureCode.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="ClinicalDocument.legalAuthenticator.signatureCode.originalText">
      <path
            value="ClinicalDocument.legalAuthenticator.signatureCode.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="ClinicalDocument.legalAuthenticator.signatureCode.qualifier">
      <path
            value="ClinicalDocument.legalAuthenticator.signatureCode.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="ClinicalDocument.legalAuthenticator.signatureCode.translation">
      <path
            value="ClinicalDocument.legalAuthenticator.signatureCode.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="ClinicalDocument.legalAuthenticator.sdtcSignatureText">
      <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="signatureText"/>
      </extension>
      <path value="ClinicalDocument.legalAuthenticator.sdtcSignatureText"/>
      <short
             value="The signature can be represented either inline or by reference according to the ED data type. Typical cases for CDA are:
1) Electronic signature: this attribute can represent virtually any electronic signature scheme.
2) Digital signature: this attribute can represent digital signatures by reference to a signature data block that is constructed in accordance to a digital signature standard, such as XML-DSIG, PKCS#7, PGP, etc.
"/>
      <comment
               value="The legalAuthenticator, if present, MAY contain zero or one [0..1] sdtc:signatureText (CONF:4537-30810)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="LegalAuthenticator.sdtcSignatureText"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ED"/>
      </type>
    </element>
    <element id="ClinicalDocument.legalAuthenticator.assignedEntity">
      <path value="ClinicalDocument.legalAuthenticator.assignedEntity"/>
      <comment
               value="The legalAuthenticator, if present, SHALL contain exactly one [1..1] assignedEntity (CONF:4537-5585)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="LegalAuthenticator.assignedEntity"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/AssignedEntity"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.legalAuthenticator.assignedEntity.classCode">
      <path
            value="ClinicalDocument.legalAuthenticator.assignedEntity.classCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AssignedEntity.classCode"/>
        <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="ASSIGNED"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-RoleClassAssignedEntity"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.legalAuthenticator.assignedEntity.templateId">
      <path
            value="ClinicalDocument.legalAuthenticator.assignedEntity.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="AssignedEntity.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.legalAuthenticator.assignedEntity.id">
      <path value="ClinicalDocument.legalAuthenticator.assignedEntity.id"/>
      <comment
               value="This assignedEntity SHALL contain at least one [1..*] id (CONF:4537-5586)."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="AssignedEntity.id"/>
        <min value="1"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.legalAuthenticator.assignedEntity.id.nullFlavor">
      <path
            value="ClinicalDocument.legalAuthenticator.assignedEntity.id.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="ClinicalDocument.legalAuthenticator.assignedEntity.id.assigningAuthorityName">
      <path
            value="ClinicalDocument.legalAuthenticator.assignedEntity.id.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="ClinicalDocument.legalAuthenticator.assignedEntity.id.displayable">
      <path
            value="ClinicalDocument.legalAuthenticator.assignedEntity.id.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="ClinicalDocument.legalAuthenticator.assignedEntity.id.root">
      <path
            value="ClinicalDocument.legalAuthenticator.assignedEntity.id.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="Such ids MAY contain zero or one [0..1] @root=&quot;2.16.840.1.113883.4.6&quot; National Provider Identifier (CONF:4537-16823)."/>
      <min value="0"/>
      <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.4.6"/>
    </element>
    <element
             id="ClinicalDocument.legalAuthenticator.assignedEntity.id.extension">
      <path
            value="ClinicalDocument.legalAuthenticator.assignedEntity.id.extension"/>
      <representation value="xmlAttr"/>
      <label value="Extension"/>
      <definition
                  value="A character string as a unique identifier within the scope of the identifier root."/>
      <min value="0"/>
      <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>
    </element>
    <element
             id="ClinicalDocument.legalAuthenticator.assignedEntity.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="ClinicalDocument.legalAuthenticator.assignedEntity.sdtcIdentifiedBy"/>
      <definition value="Element AssignedEntity.sdtcIdentifiedBy"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="AssignedEntity.sdtcIdentifiedBy"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/IdentifiedBy"/>
      </type>
    </element>
    <element id="ClinicalDocument.legalAuthenticator.assignedEntity.code">
      <path value="ClinicalDocument.legalAuthenticator.assignedEntity.code"/>
      <comment
               value="This assignedEntity MAY 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:4537-17000)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AssignedEntity.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="ClinicalDocument.legalAuthenticator.assignedEntity.addr">
      <path value="ClinicalDocument.legalAuthenticator.assignedEntity.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 assignedEntity SHALL contain at least one [1..*] US Realm Address (AD.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.2) (CONF:4537-5589)."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="AssignedEntity.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="ClinicalDocument.legalAuthenticator.assignedEntity.telecom">
      <path
            value="ClinicalDocument.legalAuthenticator.assignedEntity.telecom"/>
      <comment
               value="This assignedEntity SHALL contain at least one [1..*] telecom (CONF:4537-5595)."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="AssignedEntity.telecom"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/TEL"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.legalAuthenticator.assignedEntity.telecom.nullFlavor">
      <path
            value="ClinicalDocument.legalAuthenticator.assignedEntity.telecom.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="ClinicalDocument.legalAuthenticator.assignedEntity.telecom.value">
      <path
            value="ClinicalDocument.legalAuthenticator.assignedEntity.telecom.value"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="TEL.value"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="url"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/url"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.legalAuthenticator.assignedEntity.telecom.useablePeriod">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype">
        <valueCanonical
                        value="http://hl7.org/cda/stds/core/StructureDefinition/SXPR-TS"/>
      </extension>
      <path
            value="ClinicalDocument.legalAuthenticator.assignedEntity.telecom.useablePeriod"/>
      <representation value="typeAttr"/>
      <label value="Useable Period"/>
      <definition
                  value="Specifies the periods of time during which the telecommunication address can be used. For a telephone number, this can indicate the time of day in which the party can be reached on that telephone. For a web address, it may specify a time range in which the web content is promised to be available under the given address."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="TEL.useablePeriod"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/IVL-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/PIVL-TS"/>
      </type>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/SXPR-TS"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.legalAuthenticator.assignedEntity.telecom.use">
      <path
            value="ClinicalDocument.legalAuthenticator.assignedEntity.telecom.use"/>
      <representation value="xmlAttr"/>
      <label value="Use Code"/>
      <definition
                  value="One or more codes advising a system or user which telecommunication address in a set of like addresses to select for a given telecommunication need."/>
      <comment
               value="Such telecoms SHOULD contain zero or one [0..1] @use, which SHALL be selected from ValueSet Telecom Use (US Realm Header) urn:oid:2.16.840.1.113883.11.20.9.20 DYNAMIC (CONF:4537-7999)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="TEL.use"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.20"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.legalAuthenticator.assignedEntity.assignedPerson">
      <path
            value="ClinicalDocument.legalAuthenticator.assignedEntity.assignedPerson"/>
      <comment
               value="This assignedEntity SHALL contain exactly one [1..1] assignedPerson (CONF:4537-5597)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="AssignedEntity.assignedPerson"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Person"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.legalAuthenticator.assignedEntity.assignedPerson.classCode">
      <path
            value="ClinicalDocument.legalAuthenticator.assignedEntity.assignedPerson.classCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Person.classCode"/>
        <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="PSN"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-EntityClassLivingSubject"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.legalAuthenticator.assignedEntity.assignedPerson.determinerCode">
      <path
            value="ClinicalDocument.legalAuthenticator.assignedEntity.assignedPerson.determinerCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Person.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="ClinicalDocument.legalAuthenticator.assignedEntity.assignedPerson.templateId">
      <path
            value="ClinicalDocument.legalAuthenticator.assignedEntity.assignedPerson.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="Person.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.legalAuthenticator.assignedEntity.assignedPerson.name">
      <path
            value="ClinicalDocument.legalAuthenticator.assignedEntity.assignedPerson.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="This assignedPerson SHALL contain at least one [1..*] US Realm Person Name (PN.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.1.1) (CONF:4537-5598)."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="Person.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="ClinicalDocument.legalAuthenticator.assignedEntity.assignedPerson.sdtcAsPatientRelationship">
      <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="asPatientRelationship"/>
      </extension>
      <path
            value="ClinicalDocument.legalAuthenticator.assignedEntity.assignedPerson.sdtcAsPatientRelationship"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Person.sdtcAsPatientRelationship"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.legalAuthenticator.assignedEntity.representedOrganization">
      <path
            value="ClinicalDocument.legalAuthenticator.assignedEntity.representedOrganization"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AssignedEntity.representedOrganization"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Organization"/>
      </type>
    </element>
    <element id="ClinicalDocument.authenticator">
      <path value="ClinicalDocument.authenticator"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="ClinicalDocument.signatureCode"/>
        </discriminator>
        <discriminator>
          <type value="value"/>
          <path value="ClinicalDocument.assignedEntity"/>
        </discriminator>
        <discriminator>
          <type value="value"/>
          <path value="ClinicalDocument.time"/>
        </discriminator>
        <rules value="open"/>
      </slicing>
      <comment
               value="MAY contain zero or more [0..*] authenticator (CONF:4537-5607) such that it"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ClinicalDocument.authenticator"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Authenticator"/>
      </type>
    </element>
    <element id="ClinicalDocument.authenticator:authenticator1">
      <path value="ClinicalDocument.authenticator"/>
      <sliceName value="authenticator1"/>
      <short value="authenticator"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ClinicalDocument.authenticator"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Authenticator"/>
      </type>
    </element>
    <element id="ClinicalDocument.authenticator:authenticator1.nullFlavor">
      <path value="ClinicalDocument.authenticator.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="Authenticator.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="ClinicalDocument.authenticator:authenticator1.typeCode">
      <path value="ClinicalDocument.authenticator.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Authenticator.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="AUTHEN"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ParticipationType"/>
      </binding>
    </element>
    <element id="ClinicalDocument.authenticator:authenticator1.realmCode">
      <path value="ClinicalDocument.authenticator.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="Authenticator.realmCode"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
      </type>
    </element>
    <element id="ClinicalDocument.authenticator:authenticator1.typeId">
      <path value="ClinicalDocument.authenticator.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="Authenticator.typeId"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.authenticator:authenticator1.templateId">
      <path value="ClinicalDocument.authenticator.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="Authenticator.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.authenticator:authenticator1.time">
      <path value="ClinicalDocument.authenticator.time"/>
      <short value="Base for all types and resources"/>
      <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."/>
      <comment
               value="SHALL contain exactly one [1..1] US Realm Date and Time (DTM.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.4) (CONF:4537-5608)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Authenticator.time"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/TS"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmDateandTimeDTMUSFIELDED"/>
      </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-10127"/>
        <severity value="error"/>
        <human value="**SHALL** be precise to the day (CONF:81-10127)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmDateandTimeDTMUSFIELDED"/>
      </constraint>
      <constraint>
        <key value="81-10128"/>
        <severity value="warning"/>
        <human value="**SHOULD** be precise to the minute (CONF:81-10128)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmDateandTimeDTMUSFIELDED"/>
      </constraint>
      <constraint>
        <key value="81-10129"/>
        <severity value="warning"/>
        <human value="**MAY** be precise to the second (CONF:81-10129)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmDateandTimeDTMUSFIELDED"/>
      </constraint>
      <constraint>
        <key value="81-10130"/>
        <severity value="warning"/>
        <human
               value="If more precise than day, **SHOULD** include time-zone offset (CONF:81-10130)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmDateandTimeDTMUSFIELDED"/>
      </constraint>
      <isModifier value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="ClinicalDocument.authenticator:authenticator1.signatureCode">
      <path value="ClinicalDocument.authenticator.signatureCode"/>
      <comment
               value="SHALL contain exactly one [1..1] signatureCode (CONF:4537-5610)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Authenticator.signatureCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.authenticator:authenticator1.signatureCode.nullFlavor">
      <path value="ClinicalDocument.authenticator.signatureCode.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="ClinicalDocument.authenticator:authenticator1.signatureCode.code">
      <path value="ClinicalDocument.authenticator.signatureCode.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 signatureCode SHALL contain exactly one [1..1] @code=&quot;S&quot; (CodeSystem: HL7ParticipationSignature urn:oid:2.16.840.1.113883.5.89 STATIC) (CONF:4537-5611)."/>
      <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="S"/>
    </element>
    <element
             id="ClinicalDocument.authenticator:authenticator1.signatureCode.codeSystem">
      <path value="ClinicalDocument.authenticator.signatureCode.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="ClinicalDocument.authenticator:authenticator1.signatureCode.codeSystemName">
      <path
            value="ClinicalDocument.authenticator.signatureCode.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="ClinicalDocument.authenticator:authenticator1.signatureCode.codeSystemVersion">
      <path
            value="ClinicalDocument.authenticator.signatureCode.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="ClinicalDocument.authenticator:authenticator1.signatureCode.displayName">
      <path value="ClinicalDocument.authenticator.signatureCode.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="ClinicalDocument.authenticator:authenticator1.signatureCode.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="ClinicalDocument.authenticator.signatureCode.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="ClinicalDocument.authenticator:authenticator1.signatureCode.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="ClinicalDocument.authenticator.signatureCode.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="ClinicalDocument.authenticator:authenticator1.signatureCode.originalText">
      <path
            value="ClinicalDocument.authenticator.signatureCode.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="ClinicalDocument.authenticator:authenticator1.signatureCode.qualifier">
      <path value="ClinicalDocument.authenticator.signatureCode.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="ClinicalDocument.authenticator:authenticator1.signatureCode.translation">
      <path value="ClinicalDocument.authenticator.signatureCode.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="ClinicalDocument.authenticator:authenticator1.sdtcSignatureText">
      <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="signatureText"/>
      </extension>
      <path value="ClinicalDocument.authenticator.sdtcSignatureText"/>
      <short
             value="The signature can be represented either inline or by reference according to the ED data type. Typical cases for CDA are:
1) Electronic signature: this attribute can represent virtually any electronic signature scheme.
2) Digital signature: this attribute can represent digital signatures by reference to a signature data block that is constructed in accordance to a digital signature standard, such as XML-DSIG, PKCS#7, PGP, etc.
"/>
      <definition value="Element Authenticator.sdtcSignatureText"/>
      <comment
               value="MAY contain zero or one [0..1] sdtc:signatureText (CONF:4537-30811)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Authenticator.sdtcSignatureText"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/ED"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.authenticator:authenticator1.assignedEntity">
      <path value="ClinicalDocument.authenticator.assignedEntity"/>
      <comment
               value="SHALL contain exactly one [1..1] assignedEntity (CONF:4537-5612)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Authenticator.assignedEntity"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/AssignedEntity"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.authenticator:authenticator1.assignedEntity.classCode">
      <path value="ClinicalDocument.authenticator.assignedEntity.classCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AssignedEntity.classCode"/>
        <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="ASSIGNED"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-RoleClassAssignedEntity"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.authenticator:authenticator1.assignedEntity.templateId">
      <path value="ClinicalDocument.authenticator.assignedEntity.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="AssignedEntity.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.authenticator:authenticator1.assignedEntity.id">
      <path value="ClinicalDocument.authenticator.assignedEntity.id"/>
      <comment
               value="This assignedEntity SHALL contain at least one [1..*] id (CONF:4537-5613)."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="AssignedEntity.id"/>
        <min value="1"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.authenticator:authenticator1.assignedEntity.id.nullFlavor">
      <path
            value="ClinicalDocument.authenticator.assignedEntity.id.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="ClinicalDocument.authenticator:authenticator1.assignedEntity.id.assigningAuthorityName">
      <path
            value="ClinicalDocument.authenticator.assignedEntity.id.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="ClinicalDocument.authenticator:authenticator1.assignedEntity.id.displayable">
      <path
            value="ClinicalDocument.authenticator.assignedEntity.id.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="ClinicalDocument.authenticator:authenticator1.assignedEntity.id.root">
      <path value="ClinicalDocument.authenticator.assignedEntity.id.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="Such ids SHOULD contain zero or one [0..1] @root=&quot;2.16.840.1.113883.4.6&quot; National Provider Identifier  (CONF:4537-16824)."/>
      <min value="0"/>
      <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.4.6"/>
    </element>
    <element
             id="ClinicalDocument.authenticator:authenticator1.assignedEntity.id.extension">
      <path
            value="ClinicalDocument.authenticator.assignedEntity.id.extension"/>
      <representation value="xmlAttr"/>
      <label value="Extension"/>
      <definition
                  value="A character string as a unique identifier within the scope of the identifier root."/>
      <min value="0"/>
      <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>
    </element>
    <element
             id="ClinicalDocument.authenticator:authenticator1.assignedEntity.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="ClinicalDocument.authenticator.assignedEntity.sdtcIdentifiedBy"/>
      <definition value="Element AssignedEntity.sdtcIdentifiedBy"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="AssignedEntity.sdtcIdentifiedBy"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/IdentifiedBy"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.authenticator:authenticator1.assignedEntity.code">
      <path value="ClinicalDocument.authenticator.assignedEntity.code"/>
      <comment
               value="This assignedEntity MAY contain zero or one [0..1] code (CONF:4537-16825)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AssignedEntity.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-RoleCode"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.authenticator:authenticator1.assignedEntity.code.nullFlavor">
      <path
            value="ClinicalDocument.authenticator.assignedEntity.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="ClinicalDocument.authenticator:authenticator1.assignedEntity.code.code">
      <path value="ClinicalDocument.authenticator.assignedEntity.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."/>
      <comment
               value="The code, if present, MAY 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:4537-16826)."/>
      <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>
      <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="ClinicalDocument.authenticator:authenticator1.assignedEntity.code.codeSystem">
      <path
            value="ClinicalDocument.authenticator.assignedEntity.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="ClinicalDocument.authenticator:authenticator1.assignedEntity.code.codeSystemName">
      <path
            value="ClinicalDocument.authenticator.assignedEntity.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="ClinicalDocument.authenticator:authenticator1.assignedEntity.code.codeSystemVersion">
      <path
            value="ClinicalDocument.authenticator.assignedEntity.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="ClinicalDocument.authenticator:authenticator1.assignedEntity.code.displayName">
      <path
            value="ClinicalDocument.authenticator.assignedEntity.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="ClinicalDocument.authenticator:authenticator1.assignedEntity.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="ClinicalDocument.authenticator.assignedEntity.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="ClinicalDocument.authenticator:authenticator1.assignedEntity.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="ClinicalDocument.authenticator.assignedEntity.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="ClinicalDocument.authenticator:authenticator1.assignedEntity.code.originalText">
      <path
            value="ClinicalDocument.authenticator.assignedEntity.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="ClinicalDocument.authenticator:authenticator1.assignedEntity.code.qualifier">
      <path
            value="ClinicalDocument.authenticator.assignedEntity.code.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="ClinicalDocument.authenticator:authenticator1.assignedEntity.code.translation">
      <path
            value="ClinicalDocument.authenticator.assignedEntity.code.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="ClinicalDocument.authenticator:authenticator1.assignedEntity.addr">
      <path value="ClinicalDocument.authenticator.assignedEntity.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 assignedEntity SHALL contain at least one [1..*] US Realm Address (AD.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.2) (CONF:4537-5616)."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="AssignedEntity.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="ClinicalDocument.authenticator:authenticator1.assignedEntity.telecom">
      <path value="ClinicalDocument.authenticator.assignedEntity.telecom"/>
      <comment
               value="This assignedEntity SHALL contain at least one [1..*] telecom (CONF:4537-5622)."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="AssignedEntity.telecom"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/TEL"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.authenticator:authenticator1.assignedEntity.telecom.nullFlavor">
      <path
            value="ClinicalDocument.authenticator.assignedEntity.telecom.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="ClinicalDocument.authenticator:authenticator1.assignedEntity.telecom.value">
      <path
            value="ClinicalDocument.authenticator.assignedEntity.telecom.value"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="TEL.value"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="url"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/url"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.authenticator:authenticator1.assignedEntity.telecom.useablePeriod">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype">
        <valueCanonical
                        value="http://hl7.org/cda/stds/core/StructureDefinition/SXPR-TS"/>
      </extension>
      <path
            value="ClinicalDocument.authenticator.assignedEntity.telecom.useablePeriod"/>
      <representation value="typeAttr"/>
      <label value="Useable Period"/>
      <definition
                  value="Specifies the periods of time during which the telecommunication address can be used. For a telephone number, this can indicate the time of day in which the party can be reached on that telephone. For a web address, it may specify a time range in which the web content is promised to be available under the given address."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="TEL.useablePeriod"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/IVL-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/PIVL-TS"/>
      </type>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/SXPR-TS"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.authenticator:authenticator1.assignedEntity.telecom.use">
      <path
            value="ClinicalDocument.authenticator.assignedEntity.telecom.use"/>
      <representation value="xmlAttr"/>
      <label value="Use Code"/>
      <definition
                  value="One or more codes advising a system or user which telecommunication address in a set of like addresses to select for a given telecommunication need."/>
      <comment
               value="Such telecoms SHOULD contain zero or one [0..1] @use, which SHALL be selected from ValueSet Telecom Use (US Realm Header) urn:oid:2.16.840.1.113883.11.20.9.20 DYNAMIC (CONF:4537-8000)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="TEL.use"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="code"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.20"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.authenticator:authenticator1.assignedEntity.assignedPerson">
      <path
            value="ClinicalDocument.authenticator.assignedEntity.assignedPerson"/>
      <comment
               value="This assignedEntity SHALL contain exactly one [1..1] assignedPerson (CONF:4537-5624)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="AssignedEntity.assignedPerson"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Person"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.authenticator:authenticator1.assignedEntity.assignedPerson.classCode">
      <path
            value="ClinicalDocument.authenticator.assignedEntity.assignedPerson.classCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Person.classCode"/>
        <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="PSN"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-EntityClassLivingSubject"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.authenticator:authenticator1.assignedEntity.assignedPerson.determinerCode">
      <path
            value="ClinicalDocument.authenticator.assignedEntity.assignedPerson.determinerCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Person.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="ClinicalDocument.authenticator:authenticator1.assignedEntity.assignedPerson.templateId">
      <path
            value="ClinicalDocument.authenticator.assignedEntity.assignedPerson.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="Person.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.authenticator:authenticator1.assignedEntity.assignedPerson.name">
      <path
            value="ClinicalDocument.authenticator.assignedEntity.assignedPerson.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="This assignedPerson SHALL contain at least one [1..*] US Realm Person Name (PN.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.1.1) (CONF:4537-5625)."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="Person.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="ClinicalDocument.authenticator:authenticator1.assignedEntity.assignedPerson.sdtcAsPatientRelationship">
      <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="asPatientRelationship"/>
      </extension>
      <path
            value="ClinicalDocument.authenticator.assignedEntity.assignedPerson.sdtcAsPatientRelationship"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Person.sdtcAsPatientRelationship"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.authenticator:authenticator1.assignedEntity.representedOrganization">
      <path
            value="ClinicalDocument.authenticator.assignedEntity.representedOrganization"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AssignedEntity.representedOrganization"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Organization"/>
      </type>
    </element>
    <element id="ClinicalDocument.participant">
      <path value="ClinicalDocument.participant"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="typeCode"/>
        </discriminator>
        <rules value="open"/>
      </slicing>
      <short
             value="This participant represents the clinician to contact for questions about the referral note.  This call back contact individual may be a different person than the individual(s) identified in the author or legalAuthenticator participant."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ClinicalDocument.participant"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Participant1"/>
      </type>
      <constraint>
        <key value="4537-10006"/>
        <severity value="error"/>
        <human
               value="**SHALL** contain associatedEntity/associatedPerson *AND/OR* associatedEntity/scopingOrganization (CONF:4537-10006)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmHeader"/>
      </constraint>
      <constraint>
        <key value="4537-10007"/>
        <severity value="warning"/>
        <human
               value="When participant/@typeCode is *IND*, associatedEntity/@classCode **SHOULD** be selected from ValueSet 2.16.840.1.113883.11.20.9.33 INDRoleclassCodes *DYNAMIC* (CONF:4537-10007)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmHeader"/>
      </constraint>
    </element>
    <element id="ClinicalDocument.participant.nullFlavor">
      <path value="ClinicalDocument.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="Participant1.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="ClinicalDocument.participant.typeCode">
      <path value="ClinicalDocument.participant.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Participant1.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="ClinicalDocument.participant.contextControlCode">
      <path value="ClinicalDocument.participant.contextControlCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Participant1.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="ClinicalDocument.participant.realmCode">
      <path value="ClinicalDocument.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="Participant1.realmCode"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
      </type>
    </element>
    <element id="ClinicalDocument.participant.typeId">
      <path value="ClinicalDocument.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="Participant1.typeId"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.participant.templateId">
      <path value="ClinicalDocument.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="Participant1.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.participant.functionCode">
      <path value="ClinicalDocument.participant.functionCode"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Participant1.functionCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
      </type>
    </element>
    <element id="ClinicalDocument.participant.time">
      <path value="ClinicalDocument.participant.time"/>
      <comment
               value="MAY contain zero or one [0..1] time (CONF:4537-10004)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Participant1.time"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS"/>
      </type>
    </element>
    <element id="ClinicalDocument.participant.associatedEntity">
      <path value="ClinicalDocument.participant.associatedEntity"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Participant1.associatedEntity"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/AssociatedEntity"/>
      </type>
    </element>
    <element id="ClinicalDocument.participant:participant1">
      <path value="ClinicalDocument.participant"/>
      <sliceName value="participant1"/>
      <comment
               value="SHOULD contain zero or more [0..*] participant (CONF:1198-31642) such that it"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ClinicalDocument.participant"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Participant1"/>
      </type>
      <constraint>
        <key value="4537-10006"/>
        <severity value="error"/>
        <human
               value="**SHALL** contain associatedEntity/associatedPerson *AND/OR* associatedEntity/scopingOrganization (CONF:4537-10006)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmHeader"/>
      </constraint>
      <constraint>
        <key value="4537-10007"/>
        <severity value="warning"/>
        <human
               value="When participant/@typeCode is *IND*, associatedEntity/@classCode **SHOULD** be selected from ValueSet 2.16.840.1.113883.11.20.9.33 INDRoleclassCodes *DYNAMIC* (CONF:4537-10007)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmHeader"/>
      </constraint>
    </element>
    <element id="ClinicalDocument.participant:participant1.nullFlavor">
      <path value="ClinicalDocument.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="Participant1.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="ClinicalDocument.participant:participant1.typeCode">
      <path value="ClinicalDocument.participant.typeCode"/>
      <representation value="xmlAttr"/>
      <comment
               value="SHALL contain exactly one [1..1] @typeCode=&quot;IND&quot; Indirect (CodeSystem: HL7ParticipationType urn:oid:2.16.840.1.113883.5.90) (CONF:1198-31924)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Participant1.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="IND"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ParticipationType"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.participant:participant1.contextControlCode">
      <path value="ClinicalDocument.participant.contextControlCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Participant1.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="ClinicalDocument.participant:participant1.realmCode">
      <path value="ClinicalDocument.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="Participant1.realmCode"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
      </type>
    </element>
    <element id="ClinicalDocument.participant:participant1.typeId">
      <path value="ClinicalDocument.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="Participant1.typeId"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.participant:participant1.templateId">
      <path value="ClinicalDocument.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="Participant1.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.participant:participant1.functionCode">
      <path value="ClinicalDocument.participant.functionCode"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Participant1.functionCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
      </type>
    </element>
    <element id="ClinicalDocument.participant:participant1.time">
      <path value="ClinicalDocument.participant.time"/>
      <comment
               value="MAY contain zero or one [0..1] time (CONF:4537-10004)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Participant1.time"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS"/>
      </type>
    </element>
    <element id="ClinicalDocument.participant:participant1.associatedEntity">
      <path value="ClinicalDocument.participant.associatedEntity"/>
      <comment
               value="SHALL contain exactly one [1..1] associatedEntity (CONF:1198-31643)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Participant1.associatedEntity"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/AssociatedEntity"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.participant:participant1.associatedEntity.classCode">
      <path value="ClinicalDocument.participant.associatedEntity.classCode"/>
      <representation value="xmlAttr"/>
      <comment
               value="This associatedEntity SHALL contain exactly one [1..1] @classCode, which SHALL be selected from ValueSet INDRoleclassCodes urn:oid:2.16.840.1.113883.11.20.9.33 DYNAMIC (CONF:1198-31925)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="AssociatedEntity.classCode"/>
        <min value="1"/>
        <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://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.33"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.participant:participant1.associatedEntity.templateId">
      <path value="ClinicalDocument.participant.associatedEntity.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="AssociatedEntity.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.participant:participant1.associatedEntity.id">
      <path value="ClinicalDocument.participant.associatedEntity.id"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="AssociatedEntity.id"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.participant:participant1.associatedEntity.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="ClinicalDocument.participant.associatedEntity.sdtcIdentifiedBy"/>
      <definition value="Element AssociatedEntity.sdtcIdentifiedBy"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="AssociatedEntity.sdtcIdentifiedBy"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/IdentifiedBy"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.participant:participant1.associatedEntity.code">
      <path value="ClinicalDocument.participant.associatedEntity.code"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AssociatedEntity.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-RoleCode"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.participant:participant1.associatedEntity.addr">
      <path value="ClinicalDocument.participant.associatedEntity.addr"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="AssociatedEntity.addr"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/AD"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.participant:participant1.associatedEntity.telecom">
      <path value="ClinicalDocument.participant.associatedEntity.telecom"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="AssociatedEntity.telecom"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/TEL"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.participant:participant1.associatedEntity.associatedPerson">
      <path
            value="ClinicalDocument.participant.associatedEntity.associatedPerson"/>
      <comment
               value="This associatedEntity SHALL contain exactly one [1..1] associatedPerson (CONF:1198-31644)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="AssociatedEntity.associatedPerson"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Person"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.participant:participant1.associatedEntity.associatedPerson.classCode">
      <path
            value="ClinicalDocument.participant.associatedEntity.associatedPerson.classCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Person.classCode"/>
        <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="PSN"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-EntityClassLivingSubject"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.participant:participant1.associatedEntity.associatedPerson.determinerCode">
      <path
            value="ClinicalDocument.participant.associatedEntity.associatedPerson.determinerCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Person.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="ClinicalDocument.participant:participant1.associatedEntity.associatedPerson.templateId">
      <path
            value="ClinicalDocument.participant.associatedEntity.associatedPerson.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="Person.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.participant:participant1.associatedEntity.associatedPerson.name">
      <path
            value="ClinicalDocument.participant.associatedEntity.associatedPerson.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="This associatedPerson SHALL contain at least one [1..*] US Realm Patient Name (PTN.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.1) (CONF:1198-31645)."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="Person.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/USRealmPatientNamePTNUSFIELDED"/>
      </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-7278"/>
        <severity value="error"/>
        <human
               value="**SHALL NOT** have mixed content except for white space (CONF:81-7278)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmPatientNamePTNUSFIELDED"/>
      </constraint>
      <isModifier value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element
             id="ClinicalDocument.participant:participant1.associatedEntity.associatedPerson.sdtcAsPatientRelationship">
      <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="asPatientRelationship"/>
      </extension>
      <path
            value="ClinicalDocument.participant.associatedEntity.associatedPerson.sdtcAsPatientRelationship"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Person.sdtcAsPatientRelationship"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.participant:participant1.associatedEntity.scopingOrganization">
      <path
            value="ClinicalDocument.participant.associatedEntity.scopingOrganization"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AssociatedEntity.scopingOrganization"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Organization"/>
      </type>
    </element>
    <element id="ClinicalDocument.participant:participant2">
      <path value="ClinicalDocument.participant"/>
      <sliceName value="participant2"/>
      <comment
               value="SHOULD contain zero or more [0..*] participant (CONF:1198-31647) such that it"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ClinicalDocument.participant"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Participant1"/>
      </type>
      <constraint>
        <key value="4537-10006"/>
        <severity value="error"/>
        <human
               value="**SHALL** contain associatedEntity/associatedPerson *AND/OR* associatedEntity/scopingOrganization (CONF:4537-10006)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmHeader"/>
      </constraint>
      <constraint>
        <key value="4537-10007"/>
        <severity value="warning"/>
        <human
               value="When participant/@typeCode is *IND*, associatedEntity/@classCode **SHOULD** be selected from ValueSet 2.16.840.1.113883.11.20.9.33 INDRoleclassCodes *DYNAMIC* (CONF:4537-10007)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmHeader"/>
      </constraint>
    </element>
    <element id="ClinicalDocument.participant:participant2.nullFlavor">
      <path value="ClinicalDocument.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="Participant1.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="ClinicalDocument.participant:participant2.typeCode">
      <path value="ClinicalDocument.participant.typeCode"/>
      <representation value="xmlAttr"/>
      <comment
               value="SHALL contain exactly one [1..1] @typeCode=&quot;CALLBCK&quot; call back contact (CodeSystem: HL7ParticipationType urn:oid:2.16.840.1.113883.5.90 DYNAMIC) (CONF:1198-31648)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Participant1.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="CALLBCK"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ParticipationType"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.participant:participant2.contextControlCode">
      <path value="ClinicalDocument.participant.contextControlCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Participant1.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="ClinicalDocument.participant:participant2.realmCode">
      <path value="ClinicalDocument.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="Participant1.realmCode"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
      </type>
    </element>
    <element id="ClinicalDocument.participant:participant2.typeId">
      <path value="ClinicalDocument.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="Participant1.typeId"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.participant:participant2.templateId">
      <path value="ClinicalDocument.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="Participant1.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.participant:participant2.functionCode">
      <path value="ClinicalDocument.participant.functionCode"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Participant1.functionCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
      </type>
    </element>
    <element id="ClinicalDocument.participant:participant2.time">
      <path value="ClinicalDocument.participant.time"/>
      <comment
               value="MAY contain zero or one [0..1] time (CONF:4537-10004)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Participant1.time"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS"/>
      </type>
    </element>
    <element id="ClinicalDocument.participant:participant2.associatedEntity">
      <path value="ClinicalDocument.participant.associatedEntity"/>
      <comment
               value="SHALL contain exactly one [1..1] associatedEntity (CONF:1198-31649)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Participant1.associatedEntity"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/AssociatedEntity"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.participant:participant2.associatedEntity.classCode">
      <path value="ClinicalDocument.participant.associatedEntity.classCode"/>
      <representation value="xmlAttr"/>
      <comment
               value="This associatedEntity SHALL contain exactly one [1..1] @classCode=&quot;ASSIGNED&quot; assigned entity (CodeSystem: HL7RoleClass urn:oid:2.16.840.1.113883.5.110) (CONF:1198-32419)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="AssociatedEntity.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="ASSIGNED"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-RoleClassAssociative"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.participant:participant2.associatedEntity.templateId">
      <path value="ClinicalDocument.participant.associatedEntity.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="AssociatedEntity.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.participant:participant2.associatedEntity.id">
      <path value="ClinicalDocument.participant.associatedEntity.id"/>
      <comment
               value="This associatedEntity SHALL contain at least one [1..*] id (CONF:1198-31650)."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="AssociatedEntity.id"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.participant:participant2.associatedEntity.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="ClinicalDocument.participant.associatedEntity.sdtcIdentifiedBy"/>
      <definition value="Element AssociatedEntity.sdtcIdentifiedBy"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="AssociatedEntity.sdtcIdentifiedBy"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/IdentifiedBy"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.participant:participant2.associatedEntity.code">
      <path value="ClinicalDocument.participant.associatedEntity.code"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AssociatedEntity.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-RoleCode"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.participant:participant2.associatedEntity.addr">
      <path value="ClinicalDocument.participant.associatedEntity.addr"/>
      <comment
               value="This associatedEntity SHOULD contain zero or more [0..*] addr (CONF:1198-31651)."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="AssociatedEntity.addr"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/AD"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.participant:participant2.associatedEntity.telecom">
      <path value="ClinicalDocument.participant.associatedEntity.telecom"/>
      <comment
               value="This associatedEntity SHALL contain at least one [1..*] telecom (CONF:1198-31652)."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="AssociatedEntity.telecom"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/TEL"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.participant:participant2.associatedEntity.associatedPerson">
      <path
            value="ClinicalDocument.participant.associatedEntity.associatedPerson"/>
      <comment
               value="This associatedEntity SHALL contain exactly one [1..1] associatedPerson (CONF:1198-31653)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="AssociatedEntity.associatedPerson"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Person"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.participant:participant2.associatedEntity.associatedPerson.classCode">
      <path
            value="ClinicalDocument.participant.associatedEntity.associatedPerson.classCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Person.classCode"/>
        <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="PSN"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-EntityClassLivingSubject"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.participant:participant2.associatedEntity.associatedPerson.determinerCode">
      <path
            value="ClinicalDocument.participant.associatedEntity.associatedPerson.determinerCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Person.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="ClinicalDocument.participant:participant2.associatedEntity.associatedPerson.templateId">
      <path
            value="ClinicalDocument.participant.associatedEntity.associatedPerson.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="Person.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.participant:participant2.associatedEntity.associatedPerson.name">
      <path
            value="ClinicalDocument.participant.associatedEntity.associatedPerson.name"/>
      <comment
               value="This associatedPerson SHALL contain at least one [1..*] name (CONF:1198-31654)."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="Person.name"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/PN"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.participant:participant2.associatedEntity.associatedPerson.sdtcAsPatientRelationship">
      <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="asPatientRelationship"/>
      </extension>
      <path
            value="ClinicalDocument.participant.associatedEntity.associatedPerson.sdtcAsPatientRelationship"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Person.sdtcAsPatientRelationship"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.participant:participant2.associatedEntity.scopingOrganization">
      <path
            value="ClinicalDocument.participant.associatedEntity.scopingOrganization"/>
      <comment
               value="This associatedEntity MAY contain zero or one [0..1] scopingOrganization (CONF:1198-31655)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AssociatedEntity.scopingOrganization"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Organization"/>
      </type>
    </element>
    <element id="ClinicalDocument.inFulfillmentOf">
      <path value="ClinicalDocument.inFulfillmentOf"/>
      <comment
               value="MAY contain zero or more [0..*] inFulfillmentOf (CONF:4537-9952)."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ClinicalDocument.inFulfillmentOf"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/InFulfillmentOf"/>
      </type>
    </element>
    <element id="ClinicalDocument.inFulfillmentOf.nullFlavor">
      <path value="ClinicalDocument.inFulfillmentOf.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="InFulfillmentOf.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="ClinicalDocument.inFulfillmentOf.typeCode">
      <path value="ClinicalDocument.inFulfillmentOf.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="InFulfillmentOf.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="FLFS"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ParticipationType"/>
      </binding>
    </element>
    <element id="ClinicalDocument.inFulfillmentOf.realmCode">
      <path value="ClinicalDocument.inFulfillmentOf.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="InFulfillmentOf.realmCode"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
      </type>
    </element>
    <element id="ClinicalDocument.inFulfillmentOf.typeId">
      <path value="ClinicalDocument.inFulfillmentOf.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="InFulfillmentOf.typeId"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.inFulfillmentOf.templateId">
      <path value="ClinicalDocument.inFulfillmentOf.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="InFulfillmentOf.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.inFulfillmentOf.order">
      <path value="ClinicalDocument.inFulfillmentOf.order"/>
      <comment
               value="The inFulfillmentOf, if present, SHALL contain exactly one [1..1] order (CONF:4537-9953)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="InFulfillmentOf.order"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/Order"/>
      </type>
    </element>
    <element id="ClinicalDocument.inFulfillmentOf.order.classCode">
      <path value="ClinicalDocument.inFulfillmentOf.order.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Order.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="ACT"/>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-ActClass"/>
      </binding>
    </element>
    <element id="ClinicalDocument.inFulfillmentOf.order.moodCode">
      <path value="ClinicalDocument.inFulfillmentOf.order.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Order.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="RQO"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ActMoodIntent"/>
      </binding>
    </element>
    <element id="ClinicalDocument.inFulfillmentOf.order.templateId">
      <path value="ClinicalDocument.inFulfillmentOf.order.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="Order.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.inFulfillmentOf.order.id">
      <path value="ClinicalDocument.inFulfillmentOf.order.id"/>
      <comment
               value="This order SHALL contain at least one [1..*] id (CONF:4537-9954)."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="Order.id"/>
        <min value="1"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.inFulfillmentOf.order.code">
      <path value="ClinicalDocument.inFulfillmentOf.order.code"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Order.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-ActCode"/>
      </binding>
    </element>
    <element id="ClinicalDocument.inFulfillmentOf.order.priorityCode">
      <path value="ClinicalDocument.inFulfillmentOf.order.priorityCode"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Order.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="ClinicalDocument.documentationOf">
      <path value="ClinicalDocument.documentationOf"/>
      <comment
               value="MAY contain zero or more [0..*] documentationOf (CONF:4537-14835)."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ClinicalDocument.documentationOf"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/DocumentationOf"/>
      </type>
    </element>
    <element id="ClinicalDocument.documentationOf.nullFlavor">
      <path value="ClinicalDocument.documentationOf.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="DocumentationOf.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="ClinicalDocument.documentationOf.typeCode">
      <path value="ClinicalDocument.documentationOf.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DocumentationOf.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="DOC"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ParticipationType"/>
      </binding>
    </element>
    <element id="ClinicalDocument.documentationOf.realmCode">
      <path value="ClinicalDocument.documentationOf.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="DocumentationOf.realmCode"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
      </type>
    </element>
    <element id="ClinicalDocument.documentationOf.typeId">
      <path value="ClinicalDocument.documentationOf.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="DocumentationOf.typeId"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.documentationOf.templateId">
      <path value="ClinicalDocument.documentationOf.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="DocumentationOf.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.documentationOf.serviceEvent">
      <path value="ClinicalDocument.documentationOf.serviceEvent"/>
      <comment
               value="The documentationOf, if present, SHALL contain exactly one [1..1] serviceEvent (CONF:4537-14836)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="DocumentationOf.serviceEvent"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/ServiceEvent"/>
      </type>
    </element>
    <element id="ClinicalDocument.documentationOf.serviceEvent.classCode">
      <path value="ClinicalDocument.documentationOf.serviceEvent.classCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ServiceEvent.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="ACT"/>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-ActClass"/>
      </binding>
    </element>
    <element id="ClinicalDocument.documentationOf.serviceEvent.moodCode">
      <path value="ClinicalDocument.documentationOf.serviceEvent.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ServiceEvent.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="ClinicalDocument.documentationOf.serviceEvent.templateId">
      <path value="ClinicalDocument.documentationOf.serviceEvent.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="ServiceEvent.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.documentationOf.serviceEvent.id">
      <path value="ClinicalDocument.documentationOf.serviceEvent.id"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ServiceEvent.id"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.documentationOf.serviceEvent.code">
      <path value="ClinicalDocument.documentationOf.serviceEvent.code"/>
      <definition value="Drawn from concept domain ActCode"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ServiceEvent.code"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.documentationOf.serviceEvent.effectiveTime">
      <path
            value="ClinicalDocument.documentationOf.serviceEvent.effectiveTime"/>
      <comment
               value="This serviceEvent SHALL contain exactly one [1..1] effectiveTime (CONF:4537-14837)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ServiceEvent.effectiveTime"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.documentationOf.serviceEvent.effectiveTime.nullFlavor">
      <path
            value="ClinicalDocument.documentationOf.serviceEvent.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="ClinicalDocument.documentationOf.serviceEvent.effectiveTime.value">
      <extension
                 url="http://hl7.org/fhir/tools/StructureDefinition/elementdefinition-date-format">
        <valueString value="YYYYMMDDHHMMSS.UUUU[+|-ZZzz]"/>
      </extension>
      <path
            value="ClinicalDocument.documentationOf.serviceEvent.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="ClinicalDocument.documentationOf.serviceEvent.effectiveTime.operator">
      <path
            value="ClinicalDocument.documentationOf.serviceEvent.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="ClinicalDocument.documentationOf.serviceEvent.effectiveTime.low">
      <path
            value="ClinicalDocument.documentationOf.serviceEvent.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:4537-14838)."/>
      <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="ClinicalDocument.documentationOf.serviceEvent.effectiveTime.center">
      <path
            value="ClinicalDocument.documentationOf.serviceEvent.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="ClinicalDocument.documentationOf.serviceEvent.effectiveTime.width">
      <path
            value="ClinicalDocument.documentationOf.serviceEvent.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="ClinicalDocument.documentationOf.serviceEvent.effectiveTime.high">
      <path
            value="ClinicalDocument.documentationOf.serviceEvent.effectiveTime.high"/>
      <label value="High Boundary"/>
      <definition value="This is the high limit of the interval."/>
      <min value="0"/>
      <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>
    </element>
    <element id="ClinicalDocument.documentationOf.serviceEvent.performer">
      <path value="ClinicalDocument.documentationOf.serviceEvent.performer"/>
      <comment
               value="This serviceEvent SHOULD contain zero or more [0..*] performer (CONF:4537-14839)."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ServiceEvent.performer"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Performer1"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.documentationOf.serviceEvent.performer.nullFlavor">
      <path
            value="ClinicalDocument.documentationOf.serviceEvent.performer.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="Performer1.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="ClinicalDocument.documentationOf.serviceEvent.performer.typeCode">
      <path
            value="ClinicalDocument.documentationOf.serviceEvent.performer.typeCode"/>
      <representation value="xmlAttr"/>
      <comment
               value="The performer, if present, SHALL contain exactly one [1..1] @typeCode, which SHALL be selected from ValueSet x_ServiceEventPerformer urn:oid:2.16.840.1.113883.1.11.19601 STATIC (CONF:4537-14840)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Performer1.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://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.19601"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.documentationOf.serviceEvent.performer.realmCode">
      <path
            value="ClinicalDocument.documentationOf.serviceEvent.performer.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="Performer1.realmCode"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.documentationOf.serviceEvent.performer.typeId">
      <path
            value="ClinicalDocument.documentationOf.serviceEvent.performer.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="Performer1.typeId"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.documentationOf.serviceEvent.performer.templateId">
      <path
            value="ClinicalDocument.documentationOf.serviceEvent.performer.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="Performer1.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.documentationOf.serviceEvent.performer.functionCode">
      <path
            value="ClinicalDocument.documentationOf.serviceEvent.performer.functionCode"/>
      <comment
               value="The performer, if present, MAY contain zero or one [0..1] functionCode (CONF:4537-16818)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Performer1.functionCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.documentationOf.serviceEvent.performer.functionCode.nullFlavor">
      <path
            value="ClinicalDocument.documentationOf.serviceEvent.performer.functionCode.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="ClinicalDocument.documentationOf.serviceEvent.performer.functionCode.code">
      <path
            value="ClinicalDocument.documentationOf.serviceEvent.performer.functionCode.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="The functionCode, if present, SHOULD contain zero or one [0..1] @code, which SHOULD be selected from ValueSet Care Team Member Function urn:oid:2.16.840.1.113762.1.4.1099.30 DYNAMIC (CONF:4537-32889)."/>
      <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>
      <binding>
        <strength value="preferred"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.30"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.documentationOf.serviceEvent.performer.functionCode.codeSystem">
      <path
            value="ClinicalDocument.documentationOf.serviceEvent.performer.functionCode.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="ClinicalDocument.documentationOf.serviceEvent.performer.functionCode.codeSystemName">
      <path
            value="ClinicalDocument.documentationOf.serviceEvent.performer.functionCode.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="ClinicalDocument.documentationOf.serviceEvent.performer.functionCode.codeSystemVersion">
      <path
            value="ClinicalDocument.documentationOf.serviceEvent.performer.functionCode.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="ClinicalDocument.documentationOf.serviceEvent.performer.functionCode.displayName">
      <path
            value="ClinicalDocument.documentationOf.serviceEvent.performer.functionCode.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="ClinicalDocument.documentationOf.serviceEvent.performer.functionCode.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="ClinicalDocument.documentationOf.serviceEvent.performer.functionCode.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="ClinicalDocument.documentationOf.serviceEvent.performer.functionCode.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="ClinicalDocument.documentationOf.serviceEvent.performer.functionCode.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="ClinicalDocument.documentationOf.serviceEvent.performer.functionCode.originalText">
      <path
            value="ClinicalDocument.documentationOf.serviceEvent.performer.functionCode.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="ClinicalDocument.documentationOf.serviceEvent.performer.functionCode.qualifier">
      <path
            value="ClinicalDocument.documentationOf.serviceEvent.performer.functionCode.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="ClinicalDocument.documentationOf.serviceEvent.performer.functionCode.translation">
      <path
            value="ClinicalDocument.documentationOf.serviceEvent.performer.functionCode.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="ClinicalDocument.documentationOf.serviceEvent.performer.time">
      <path
            value="ClinicalDocument.documentationOf.serviceEvent.performer.time"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Performer1.time"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.documentationOf.serviceEvent.performer.assignedEntity">
      <path
            value="ClinicalDocument.documentationOf.serviceEvent.performer.assignedEntity"/>
      <comment
               value="The performer, if present, SHALL contain exactly one [1..1] assignedEntity (CONF:4537-14841)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Performer1.assignedEntity"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/AssignedEntity"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.documentationOf.serviceEvent.performer.assignedEntity.classCode">
      <path
            value="ClinicalDocument.documentationOf.serviceEvent.performer.assignedEntity.classCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AssignedEntity.classCode"/>
        <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="ASSIGNED"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-RoleClassAssignedEntity"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.documentationOf.serviceEvent.performer.assignedEntity.templateId">
      <path
            value="ClinicalDocument.documentationOf.serviceEvent.performer.assignedEntity.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="AssignedEntity.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.documentationOf.serviceEvent.performer.assignedEntity.id">
      <path
            value="ClinicalDocument.documentationOf.serviceEvent.performer.assignedEntity.id"/>
      <comment
               value="This assignedEntity SHALL contain at least one [1..*] id (CONF:4537-14846)."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="AssignedEntity.id"/>
        <min value="1"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.documentationOf.serviceEvent.performer.assignedEntity.id.nullFlavor">
      <path
            value="ClinicalDocument.documentationOf.serviceEvent.performer.assignedEntity.id.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="ClinicalDocument.documentationOf.serviceEvent.performer.assignedEntity.id.assigningAuthorityName">
      <path
            value="ClinicalDocument.documentationOf.serviceEvent.performer.assignedEntity.id.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="ClinicalDocument.documentationOf.serviceEvent.performer.assignedEntity.id.displayable">
      <path
            value="ClinicalDocument.documentationOf.serviceEvent.performer.assignedEntity.id.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="ClinicalDocument.documentationOf.serviceEvent.performer.assignedEntity.id.root">
      <path
            value="ClinicalDocument.documentationOf.serviceEvent.performer.assignedEntity.id.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="Such ids SHOULD contain zero or one [0..1] @root=&quot;2.16.840.1.113883.4.6&quot; National Provider Identifier (CONF:4537-14847)."/>
      <min value="0"/>
      <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.4.6"/>
    </element>
    <element
             id="ClinicalDocument.documentationOf.serviceEvent.performer.assignedEntity.id.extension">
      <path
            value="ClinicalDocument.documentationOf.serviceEvent.performer.assignedEntity.id.extension"/>
      <representation value="xmlAttr"/>
      <label value="Extension"/>
      <definition
                  value="A character string as a unique identifier within the scope of the identifier root."/>
      <min value="0"/>
      <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>
    </element>
    <element
             id="ClinicalDocument.documentationOf.serviceEvent.performer.assignedEntity.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="ClinicalDocument.documentationOf.serviceEvent.performer.assignedEntity.sdtcIdentifiedBy"/>
      <definition value="Element AssignedEntity.sdtcIdentifiedBy"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="AssignedEntity.sdtcIdentifiedBy"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/IdentifiedBy"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.documentationOf.serviceEvent.performer.assignedEntity.code">
      <path
            value="ClinicalDocument.documentationOf.serviceEvent.performer.assignedEntity.code"/>
      <comment
               value="This assignedEntity 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:4537-14842)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AssignedEntity.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="ClinicalDocument.documentationOf.serviceEvent.performer.assignedEntity.addr">
      <path
            value="ClinicalDocument.documentationOf.serviceEvent.performer.assignedEntity.addr"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="AssignedEntity.addr"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/AD"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.documentationOf.serviceEvent.performer.assignedEntity.telecom">
      <path
            value="ClinicalDocument.documentationOf.serviceEvent.performer.assignedEntity.telecom"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="AssignedEntity.telecom"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/TEL"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.documentationOf.serviceEvent.performer.assignedEntity.assignedPerson">
      <path
            value="ClinicalDocument.documentationOf.serviceEvent.performer.assignedEntity.assignedPerson"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AssignedEntity.assignedPerson"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Person"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.documentationOf.serviceEvent.performer.assignedEntity.representedOrganization">
      <path
            value="ClinicalDocument.documentationOf.serviceEvent.performer.assignedEntity.representedOrganization"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="AssignedEntity.representedOrganization"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Organization"/>
      </type>
    </element>
    <element id="ClinicalDocument.relatedDocument">
      <path value="ClinicalDocument.relatedDocument"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ClinicalDocument.relatedDocument"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/RelatedDocument"/>
      </type>
    </element>
    <element id="ClinicalDocument.authorization">
      <path value="ClinicalDocument.authorization"/>
      <comment
               value="MAY contain zero or more [0..*] authorization (CONF:4537-16792) such that it"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="ClinicalDocument.authorization"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Authorization"/>
      </type>
    </element>
    <element id="ClinicalDocument.authorization.nullFlavor">
      <path value="ClinicalDocument.authorization.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="Authorization.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="ClinicalDocument.authorization.typeCode">
      <path value="ClinicalDocument.authorization.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Authorization.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="AUTH"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ParticipationType"/>
      </binding>
    </element>
    <element id="ClinicalDocument.authorization.realmCode">
      <path value="ClinicalDocument.authorization.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="Authorization.realmCode"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
      </type>
    </element>
    <element id="ClinicalDocument.authorization.typeId">
      <path value="ClinicalDocument.authorization.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="Authorization.typeId"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.authorization.templateId">
      <path value="ClinicalDocument.authorization.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="Authorization.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.authorization.consent">
      <path value="ClinicalDocument.authorization.consent"/>
      <comment
               value="SHALL contain exactly one [1..1] consent (CONF:4537-16793)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Authorization.consent"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Consent"/>
      </type>
    </element>
    <element id="ClinicalDocument.authorization.consent.classCode">
      <path value="ClinicalDocument.authorization.consent.classCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Consent.classCode"/>
        <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="CONS"/>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-ActClass"/>
      </binding>
    </element>
    <element id="ClinicalDocument.authorization.consent.moodCode">
      <path value="ClinicalDocument.authorization.consent.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Consent.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="ClinicalDocument.authorization.consent.templateId">
      <path value="ClinicalDocument.authorization.consent.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="Consent.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.authorization.consent.id">
      <path value="ClinicalDocument.authorization.consent.id"/>
      <comment
               value="This consent MAY contain zero or more [0..*] id (CONF:4537-16794)."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Consent.id"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.authorization.consent.code">
      <path value="ClinicalDocument.authorization.consent.code"/>
      <short
             value="The type of consent (e.g., a consent to perform the related serviceEvent) is conveyed in consent/code."/>
      <comment
               value="This consent MAY contain zero or one [0..1] code (CONF:4537-16795)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Consent.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-ActCode"/>
      </binding>
    </element>
    <element id="ClinicalDocument.authorization.consent.statusCode">
      <path value="ClinicalDocument.authorization.consent.statusCode"/>
      <comment
               value="This consent SHALL contain exactly one [1..1] statusCode (CONF:4537-16797)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Consent.statusCode"/>
        <min value="1"/>
        <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="ClinicalDocument.authorization.consent.statusCode.code">
      <path value="ClinicalDocument.authorization.consent.statusCode.code"/>
      <representation value="xmlAttr"/>
      <comment
               value="This statusCode SHALL contain exactly one [1..1] @code=&quot;completed&quot; Completed (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6) (CONF:4537-16798)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Consent.statusCode.code"/>
        <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="completed"/>
    </element>
    <element id="ClinicalDocument.componentOf">
      <path value="ClinicalDocument.componentOf"/>
      <comment
               value="MAY contain zero or one [0..1] componentOf (CONF:4537-9955)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ClinicalDocument.componentOf"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/ComponentOf"/>
      </type>
    </element>
    <element id="ClinicalDocument.componentOf.nullFlavor">
      <path value="ClinicalDocument.componentOf.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="ClinicalDocument.componentOf.realmCode">
      <path value="ClinicalDocument.componentOf.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="ClinicalDocument.componentOf.typeId">
      <path value="ClinicalDocument.componentOf.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="ClinicalDocument.componentOf.templateId">
      <path value="ClinicalDocument.componentOf.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="ClinicalDocument.componentOf.typeCode">
      <path value="ClinicalDocument.componentOf.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ComponentOf.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="COMP"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasComponent"/>
      </binding>
    </element>
    <element id="ClinicalDocument.componentOf.encompassingEncounter">
      <path value="ClinicalDocument.componentOf.encompassingEncounter"/>
      <comment
               value="The componentOf, if present, SHALL contain exactly one [1..1] encompassingEncounter (CONF:4537-9956)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ComponentOf.encompassingEncounter"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/EncompassingEncounter"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.componentOf.encompassingEncounter.classCode">
      <path
            value="ClinicalDocument.componentOf.encompassingEncounter.classCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="EncompassingEncounter.classCode"/>
        <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="ENC"/>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-ActClass"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.componentOf.encompassingEncounter.moodCode">
      <path
            value="ClinicalDocument.componentOf.encompassingEncounter.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="EncompassingEncounter.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="ClinicalDocument.componentOf.encompassingEncounter.templateId">
      <path
            value="ClinicalDocument.componentOf.encompassingEncounter.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="EncompassingEncounter.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.componentOf.encompassingEncounter.id">
      <path value="ClinicalDocument.componentOf.encompassingEncounter.id"/>
      <comment
               value="This encompassingEncounter SHALL contain at least one [1..*] id (CONF:4537-9959)."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="EncompassingEncounter.id"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
      </type>
    </element>
    <element id="ClinicalDocument.componentOf.encompassingEncounter.code">
      <path value="ClinicalDocument.componentOf.encompassingEncounter.code"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="EncompassingEncounter.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-ActEncounterCode"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.componentOf.encompassingEncounter.effectiveTime">
      <path
            value="ClinicalDocument.componentOf.encompassingEncounter.effectiveTime"/>
      <comment
               value="This encompassingEncounter SHALL contain exactly one [1..1] effectiveTime (CONF:4537-9958)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="EncompassingEncounter.effectiveTime"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.componentOf.encompassingEncounter.sdtcAdmissionReferralSourceCode">
      <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="admissionReferralSourceCode"/>
      </extension>
      <path
            value="ClinicalDocument.componentOf.encompassingEncounter.sdtcAdmissionReferralSourceCode"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="EncompassingEncounter.sdtcAdmissionReferralSourceCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.componentOf.encompassingEncounter.dischargeDispositionCode">
      <path
            value="ClinicalDocument.componentOf.encompassingEncounter.dischargeDispositionCode"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="EncompassingEncounter.dischargeDispositionCode"/>
        <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-USEncounterDischargeDisposition"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.componentOf.encompassingEncounter.responsibleParty">
      <path
            value="ClinicalDocument.componentOf.encompassingEncounter.responsibleParty"/>
      <definition
                  value="The responsibleParty participant represents the participant having primary legal responsibility for the encounter. This differs from the legalAuthenticator participant in that the legalAuthenticator may or may not be the responsible party, and is serving a medical records function by signing off on the document, moving it into a completed state."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="EncompassingEncounter.responsibleParty"/>
        <min value="0"/>
        <max value="1"/>
      </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="ClinicalDocument.componentOf.encompassingEncounter.responsibleParty.nullFlavor">
      <path
            value="ClinicalDocument.componentOf.encompassingEncounter.responsibleParty.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="ClinicalDocument.componentOf.encompassingEncounter.responsibleParty.realmCode">
      <path
            value="ClinicalDocument.componentOf.encompassingEncounter.responsibleParty.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="ClinicalDocument.componentOf.encompassingEncounter.responsibleParty.typeId">
      <path
            value="ClinicalDocument.componentOf.encompassingEncounter.responsibleParty.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="ClinicalDocument.componentOf.encompassingEncounter.responsibleParty.templateId">
      <path
            value="ClinicalDocument.componentOf.encompassingEncounter.responsibleParty.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="ClinicalDocument.componentOf.encompassingEncounter.responsibleParty.typeCode">
      <path
            value="ClinicalDocument.componentOf.encompassingEncounter.responsibleParty.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="EncompassingEncounter.responsibleParty.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="RESP"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ParticipationType"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.componentOf.encompassingEncounter.responsibleParty.assignedEntity">
      <path
            value="ClinicalDocument.componentOf.encompassingEncounter.responsibleParty.assignedEntity"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="EncompassingEncounter.responsibleParty.assignedEntity"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/AssignedEntity"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.componentOf.encompassingEncounter.encounterParticipant">
      <path
            value="ClinicalDocument.componentOf.encompassingEncounter.encounterParticipant"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="EncompassingEncounter.encounterParticipant"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/EncounterParticipant"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.componentOf.encompassingEncounter.location">
      <path
            value="ClinicalDocument.componentOf.encompassingEncounter.location"/>
      <definition
                  value="The location participant (location class) relates a healthcare facility (HealthCareFacility class) to the encounter to indicate where the encounter took place. The entity playing the role of HealthCareFacility is a place (Place class). The entity scoping the HealthCareFacility role is an organization (Organization class).

The setting of an encounter (e.g. cardiology clinic, primary care clinic, rehabilitation hospital, skilled nursing facility) can be expressed in HealthCareFacility.code. Note that setting and physical location are not the same. There is a many-to-many relationship between setting and the physical location where care is delivered. Thus, a particular room can provide the location for cardiology clinic one day, and for primary care clinic another day; and cardiology clinic today might be held in one physical location, but in another physical location tomorrow.

When the location is an organization, this is indicated by the presence of a scoping Organization, without a playing Place."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="EncompassingEncounter.location"/>
        <min value="0"/>
        <max value="1"/>
      </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="ClinicalDocument.componentOf.encompassingEncounter.location.nullFlavor">
      <path
            value="ClinicalDocument.componentOf.encompassingEncounter.location.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="ClinicalDocument.componentOf.encompassingEncounter.location.realmCode">
      <path
            value="ClinicalDocument.componentOf.encompassingEncounter.location.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="ClinicalDocument.componentOf.encompassingEncounter.location.typeId">
      <path
            value="ClinicalDocument.componentOf.encompassingEncounter.location.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="ClinicalDocument.componentOf.encompassingEncounter.location.templateId">
      <path
            value="ClinicalDocument.componentOf.encompassingEncounter.location.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="ClinicalDocument.componentOf.encompassingEncounter.location.typeCode">
      <path
            value="ClinicalDocument.componentOf.encompassingEncounter.location.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="EncompassingEncounter.location.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="LOC"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ParticipationTargetLocation"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.componentOf.encompassingEncounter.location.healthCareFacility">
      <path
            value="ClinicalDocument.componentOf.encompassingEncounter.location.healthCareFacility"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="EncompassingEncounter.location.healthCareFacility"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/HealthCareFacility"/>
      </type>
    </element>
    <element id="ClinicalDocument.component">
      <path value="ClinicalDocument.component"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="ClinicalDocument.component"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Component"/>
      </type>
    </element>
    <element id="ClinicalDocument.component.nullFlavor">
      <path value="ClinicalDocument.component.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="ClinicalDocument.component.realmCode">
      <path value="ClinicalDocument.component.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="ClinicalDocument.component.typeId">
      <path value="ClinicalDocument.component.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="ClinicalDocument.component.templateId">
      <path value="ClinicalDocument.component.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="ClinicalDocument.component.typeCode">
      <path value="ClinicalDocument.component.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Component.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="COMP"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasComponent"/>
      </binding>
    </element>
    <element id="ClinicalDocument.component.contextConductionInd">
      <path value="ClinicalDocument.component.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Component.contextConductionInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
      </type>
      <fixedBoolean value="true"/>
    </element>
    <element id="ClinicalDocument.component.nonXMLBody">
      <path value="ClinicalDocument.component.nonXMLBody"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Component.nonXMLBody"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/NonXMLBody"/>
      </type>
    </element>
    <element id="ClinicalDocument.component.structuredBody">
      <path value="ClinicalDocument.component.structuredBody"/>
      <comment
               value="This component SHALL contain exactly one [1..1] structuredBody (CONF:1198-29063)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Component.structuredBody"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/StructuredBody"/>
      </type>
      <constraint>
        <key value="1198-29102"/>
        <severity value="error"/>
        <human
               value="This structuredBody **SHALL** contain an Assessment and Plan Section (2.16.840.1.113883.10.20.22.2.9:2014-06-09), or an Assessment Section (2.16.840.1.113883.10.20.22.2.8) and a Plan of Treatment Section (2.16.840.1.113883.10.20.22.2.10:2014-06-09) (CONF:1198-29102)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/ReferralNote"/>
      </constraint>
      <constraint>
        <key value="1198-29103"/>
        <severity value="error"/>
        <human
               value="This structuredBody **SHALL NOT** contain an Assessment and Plan Section (2.16.840.1.113883.10.20.22.2.9:2014-06-09) when either an Assessment Section (2.16.840.1.113883.10.20.22.2.8) or a Plan of Treatment Section (2.16.840.1.113883.10.20.22.2.10:2014-06-09) is present (CONF:1198-29103)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/ReferralNote"/>
      </constraint>
    </element>
    <element id="ClinicalDocument.component.structuredBody.nullFlavor">
      <path value="ClinicalDocument.component.structuredBody.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="ClinicalDocument.component.structuredBody.realmCode">
      <path value="ClinicalDocument.component.structuredBody.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="ClinicalDocument.component.structuredBody.typeId">
      <path value="ClinicalDocument.component.structuredBody.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="ClinicalDocument.component.structuredBody.templateId">
      <path value="ClinicalDocument.component.structuredBody.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="ClinicalDocument.component.structuredBody.classCode">
      <path value="ClinicalDocument.component.structuredBody.classCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.classCode"/>
        <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="DOCBODY"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ActClassRecordOrganizer"/>
      </binding>
    </element>
    <element id="ClinicalDocument.component.structuredBody.moodCode">
      <path value="ClinicalDocument.component.structuredBody.moodCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.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="ClinicalDocument.component.structuredBody.confidentialityCode">
      <path
            value="ClinicalDocument.component.structuredBody.confidentialityCode"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.confidentialityCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
      </type>
    </element>
    <element id="ClinicalDocument.component.structuredBody.languageCode">
      <path value="ClinicalDocument.component.structuredBody.languageCode"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.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="ClinicalDocument.component.structuredBody.component">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="section.code"/>
        </discriminator>
        <rules value="open"/>
      </slicing>
      <min value="5"/>
      <max value="*"/>
      <base>
        <path value="StructuredBody.component"/>
        <min value="1"/>
        <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="ClinicalDocument.component.structuredBody.component.nullFlavor">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component.realmCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component.typeId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component.templateId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component.typeCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.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="COMP"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component.contextConductionInd">
      <path
            value="ClinicalDocument.component.structuredBody.component.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.contextConductionInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
      </type>
      <fixedBoolean value="true"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.section"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:planOfTreatment">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="planOfTreatment"/>
      <comment
               value="This structuredBody SHOULD contain zero or one [0..1] component (CONF:1198-29066)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component"/>
        <min value="1"/>
        <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="ClinicalDocument.component.structuredBody.component:planOfTreatment.nullFlavor">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:planOfTreatment.realmCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:planOfTreatment.typeId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:planOfTreatment.templateId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:planOfTreatment.typeCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.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="COMP"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:planOfTreatment.contextConductionInd">
      <path
            value="ClinicalDocument.component.structuredBody.component.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.contextConductionInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
      </type>
      <fixedBoolean value="true"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:planOfTreatment.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <short value="Base for all types and resources"/>
      <definition
                  value="Base definition for all types defined in FHIR type system."/>
      <comment
               value="The component, if present, SHALL contain exactly one [1..1] Plan of Treatment Section (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.2.10:2014-06-09) (CONF:1198-29067)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.section"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/PlanofTreatmentSection"/>
      </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="ClinicalDocument.component.structuredBody.component:advanceDirectives">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="advanceDirectives"/>
      <comment
               value="This structuredBody MAY contain zero or one [0..1] component (CONF:1198-29068) such that it"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component"/>
        <min value="1"/>
        <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="ClinicalDocument.component.structuredBody.component:advanceDirectives.nullFlavor">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:advanceDirectives.realmCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:advanceDirectives.typeId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:advanceDirectives.templateId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:advanceDirectives.typeCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.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="COMP"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:advanceDirectives.contextConductionInd">
      <path
            value="ClinicalDocument.component.structuredBody.component.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.contextConductionInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
      </type>
      <fixedBoolean value="true"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:advanceDirectives.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <short value="Base for all types and resources"/>
      <definition
                  value="Base definition for all types defined in FHIR type system."/>
      <comment
               value="SHALL contain exactly one [1..1] Advance Directives Section (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.2.21.1:2015-08-01) (CONF:1198-29069)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.section"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/AdvanceDirectivesSection"/>
      </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="ClinicalDocument.component.structuredBody.component:historyOfPresentIllness">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="historyOfPresentIllness"/>
      <comment
               value="This structuredBody MAY contain zero or one [0..1] component (CONF:1198-29074) such that it"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component"/>
        <min value="1"/>
        <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="ClinicalDocument.component.structuredBody.component:historyOfPresentIllness.nullFlavor">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:historyOfPresentIllness.realmCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:historyOfPresentIllness.typeId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:historyOfPresentIllness.templateId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:historyOfPresentIllness.typeCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.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="COMP"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:historyOfPresentIllness.contextConductionInd">
      <path
            value="ClinicalDocument.component.structuredBody.component.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.contextConductionInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
      </type>
      <fixedBoolean value="true"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:historyOfPresentIllness.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <short value="Base for all types and resources"/>
      <definition
                  value="Base definition for all types defined in FHIR type system."/>
      <comment
               value="SHALL contain exactly one [1..1] History of Present Illness Section (identifier: urn:oid:1.3.6.1.4.1.19376.1.5.3.1.3.4) (CONF:1198-29075)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.section"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/HistoryofPresentIllnessSection"/>
      </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="ClinicalDocument.component.structuredBody.component:familyHistory">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="familyHistory"/>
      <comment
               value="This structuredBody MAY contain zero or one [0..1] component (CONF:1198-29076) such that it"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component"/>
        <min value="1"/>
        <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="ClinicalDocument.component.structuredBody.component:familyHistory.nullFlavor">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:familyHistory.realmCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:familyHistory.typeId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:familyHistory.templateId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:familyHistory.typeCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.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="COMP"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:familyHistory.contextConductionInd">
      <path
            value="ClinicalDocument.component.structuredBody.component.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.contextConductionInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
      </type>
      <fixedBoolean value="true"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:familyHistory.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <short value="Base for all types and resources"/>
      <definition
                  value="Base definition for all types defined in FHIR type system."/>
      <comment
               value="SHALL contain exactly one [1..1] Family History Section (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.2.15:2015-08-01) (CONF:1198-29077)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.section"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/FamilyHistorySection"/>
      </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="ClinicalDocument.component.structuredBody.component:immunizations">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="immunizations"/>
      <comment
               value="This structuredBody MAY contain zero or one [0..1] component (CONF:1198-29082) such that it"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component"/>
        <min value="1"/>
        <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="ClinicalDocument.component.structuredBody.component:immunizations.nullFlavor">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:immunizations.realmCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:immunizations.typeId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:immunizations.templateId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:immunizations.typeCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.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="COMP"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:immunizations.contextConductionInd">
      <path
            value="ClinicalDocument.component.structuredBody.component.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.contextConductionInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
      </type>
      <fixedBoolean value="true"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:immunizations.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <short value="Base for all types and resources"/>
      <definition
                  value="Base definition for all types defined in FHIR type system."/>
      <comment
               value="SHALL contain exactly one [1..1] Immunizations Section (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.2.2.1:2015-08-01) (CONF:1198-29083)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.section"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/ImmunizationsSection"/>
      </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="ClinicalDocument.component.structuredBody.component:problem">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="problem"/>
      <comment
               value="This structuredBody SHALL contain exactly one [1..1] component (CONF:1198-29086) such that it"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component"/>
        <min value="1"/>
        <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="ClinicalDocument.component.structuredBody.component:problem.nullFlavor">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:problem.realmCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:problem.typeId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:problem.templateId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:problem.typeCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.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="COMP"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:problem.contextConductionInd">
      <path
            value="ClinicalDocument.component.structuredBody.component.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.contextConductionInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
      </type>
      <fixedBoolean value="true"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:problem.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <short value="Base for all types and resources"/>
      <definition
                  value="Base definition for all types defined in FHIR type system."/>
      <comment
               value="SHALL contain exactly one [1..1] Problem Section (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.2.5.1:2015-08-01) (CONF:1198-29087)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.section"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/ProblemSection"/>
      </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="ClinicalDocument.component.structuredBody.component:procedures">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="procedures"/>
      <comment
               value="This structuredBody MAY contain zero or one [0..1] component (CONF:1198-29088) such that it"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component"/>
        <min value="1"/>
        <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="ClinicalDocument.component.structuredBody.component:procedures.nullFlavor">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:procedures.realmCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:procedures.typeId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:procedures.templateId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:procedures.typeCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.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="COMP"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:procedures.contextConductionInd">
      <path
            value="ClinicalDocument.component.structuredBody.component.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.contextConductionInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
      </type>
      <fixedBoolean value="true"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:procedures.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <short value="Base for all types and resources"/>
      <definition
                  value="Base definition for all types defined in FHIR type system."/>
      <comment
               value="SHALL contain exactly one [1..1] Procedures Section (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.2.7.1:2014-06-09) (CONF:1198-29089)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.section"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/ProceduresSection"/>
      </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="ClinicalDocument.component.structuredBody.component:results">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="results"/>
      <comment
               value="This structuredBody SHOULD contain zero or one [0..1] component (CONF:1198-29090) such that it"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component"/>
        <min value="1"/>
        <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="ClinicalDocument.component.structuredBody.component:results.nullFlavor">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:results.realmCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:results.typeId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:results.templateId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:results.typeCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.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="COMP"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:results.contextConductionInd">
      <path
            value="ClinicalDocument.component.structuredBody.component.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.contextConductionInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
      </type>
      <fixedBoolean value="true"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:results.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <short value="Base for all types and resources"/>
      <definition
                  value="Base definition for all types defined in FHIR type system."/>
      <comment
               value="SHALL contain exactly one [1..1] Results Section (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.2.3.1:2015-08-01) (CONF:1198-29091)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.section"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/ResultsSection"/>
      </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="ClinicalDocument.component.structuredBody.component:reviewOfSystems">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="reviewOfSystems"/>
      <comment
               value="This structuredBody MAY contain zero or one [0..1] component (CONF:1198-29092) such that it"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component"/>
        <min value="1"/>
        <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="ClinicalDocument.component.structuredBody.component:reviewOfSystems.nullFlavor">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:reviewOfSystems.realmCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:reviewOfSystems.typeId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:reviewOfSystems.templateId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:reviewOfSystems.typeCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.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="COMP"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:reviewOfSystems.contextConductionInd">
      <path
            value="ClinicalDocument.component.structuredBody.component.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.contextConductionInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
      </type>
      <fixedBoolean value="true"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:reviewOfSystems.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <short value="Base for all types and resources"/>
      <definition
                  value="Base definition for all types defined in FHIR type system."/>
      <comment
               value="SHALL contain exactly one [1..1] Review of Systems Section (identifier: urn:oid:1.3.6.1.4.1.19376.1.5.3.1.3.18) (CONF:1198-29093)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.section"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/ReviewofSystemsSection"/>
      </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="ClinicalDocument.component.structuredBody.component:socialHistory">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="socialHistory"/>
      <comment
               value="This structuredBody MAY contain zero or one [0..1] component (CONF:1198-29094) such that it"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component"/>
        <min value="1"/>
        <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="ClinicalDocument.component.structuredBody.component:socialHistory.nullFlavor">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:socialHistory.realmCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:socialHistory.typeId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:socialHistory.templateId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:socialHistory.typeCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.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="COMP"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:socialHistory.contextConductionInd">
      <path
            value="ClinicalDocument.component.structuredBody.component.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.contextConductionInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
      </type>
      <fixedBoolean value="true"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:socialHistory.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <short value="Base for all types and resources"/>
      <definition
                  value="Base definition for all types defined in FHIR type system."/>
      <comment
               value="SHALL contain exactly one [1..1] Social History Section (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.2.17:2015-08-01) (CONF:1198-29095)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.section"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/SocialHistorySection"/>
      </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="ClinicalDocument.component.structuredBody.component:vitalSigns">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="vitalSigns"/>
      <comment
               value="This structuredBody MAY contain zero or one [0..1] component (CONF:1198-29096) such that it"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component"/>
        <min value="1"/>
        <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="ClinicalDocument.component.structuredBody.component:vitalSigns.nullFlavor">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:vitalSigns.realmCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:vitalSigns.typeId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:vitalSigns.templateId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:vitalSigns.typeCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.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="COMP"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:vitalSigns.contextConductionInd">
      <path
            value="ClinicalDocument.component.structuredBody.component.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.contextConductionInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
      </type>
      <fixedBoolean value="true"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:vitalSigns.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <short value="Base for all types and resources"/>
      <definition
                  value="Base definition for all types defined in FHIR type system."/>
      <comment
               value="SHALL contain exactly one [1..1] Vital Signs Section (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.2.4.1:2015-08-01) (CONF:1198-29097)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.section"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/VitalSignsSection"/>
      </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="ClinicalDocument.component.structuredBody.component:functionalStatus">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="functionalStatus"/>
      <comment
               value="This structuredBody SHOULD contain zero or one [0..1] component (CONF:1198-29098) such that it"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component"/>
        <min value="1"/>
        <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="ClinicalDocument.component.structuredBody.component:functionalStatus.nullFlavor">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:functionalStatus.realmCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:functionalStatus.typeId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:functionalStatus.templateId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:functionalStatus.typeCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.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="COMP"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:functionalStatus.contextConductionInd">
      <path
            value="ClinicalDocument.component.structuredBody.component.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.contextConductionInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
      </type>
      <fixedBoolean value="true"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:functionalStatus.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <short value="Base for all types and resources"/>
      <definition
                  value="Base definition for all types defined in FHIR type system."/>
      <comment
               value="SHALL contain exactly one [1..1] Functional Status Section (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.2.14:2014-06-09) (CONF:1198-29099)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.section"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/FunctionalStatusSection"/>
      </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="ClinicalDocument.component.structuredBody.component:physicalExam">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="physicalExam"/>
      <comment
               value="This structuredBody MAY contain zero or one [0..1] component (CONF:1198-29100) such that it"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component"/>
        <min value="1"/>
        <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="ClinicalDocument.component.structuredBody.component:physicalExam.nullFlavor">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:physicalExam.realmCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:physicalExam.typeId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:physicalExam.templateId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:physicalExam.typeCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.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="COMP"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:physicalExam.contextConductionInd">
      <path
            value="ClinicalDocument.component.structuredBody.component.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.contextConductionInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
      </type>
      <fixedBoolean value="true"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:physicalExam.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <short value="Base for all types and resources"/>
      <definition
                  value="Base definition for all types defined in FHIR type system."/>
      <comment
               value="SHALL contain exactly one [1..1] Physical Exam Section (identifier: urn:hl7ii:2.16.840.1.113883.10.20.2.10:2015-08-01) (CONF:1198-29101)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.section"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/PhysicalExamSection"/>
      </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="ClinicalDocument.component.structuredBody.component:nutrition">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="nutrition"/>
      <comment
               value="This structuredBody SHOULD contain zero or one [0..1] component (CONF:1198-30780) such that it"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component"/>
        <min value="1"/>
        <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="ClinicalDocument.component.structuredBody.component:nutrition.nullFlavor">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:nutrition.realmCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:nutrition.typeId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:nutrition.templateId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:nutrition.typeCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.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="COMP"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:nutrition.contextConductionInd">
      <path
            value="ClinicalDocument.component.structuredBody.component.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.contextConductionInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
      </type>
      <fixedBoolean value="true"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:nutrition.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <short value="Base for all types and resources"/>
      <definition
                  value="Base definition for all types defined in FHIR type system."/>
      <comment
               value="SHALL contain exactly one [1..1] Nutrition Section (identifier: urn:oid:2.16.840.1.113883.10.20.22.2.57) (CONF:1198-30781)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.section"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/NutritionSection"/>
      </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="ClinicalDocument.component.structuredBody.component:mentalStatus">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="mentalStatus"/>
      <comment
               value="This structuredBody SHOULD contain zero or one [0..1] component (CONF:1198-30796) such that it"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component"/>
        <min value="1"/>
        <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="ClinicalDocument.component.structuredBody.component:mentalStatus.nullFlavor">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:mentalStatus.realmCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:mentalStatus.typeId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:mentalStatus.templateId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:mentalStatus.typeCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.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="COMP"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:mentalStatus.contextConductionInd">
      <path
            value="ClinicalDocument.component.structuredBody.component.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.contextConductionInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
      </type>
      <fixedBoolean value="true"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:mentalStatus.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <short value="Base for all types and resources"/>
      <definition
                  value="Base definition for all types defined in FHIR type system."/>
      <comment
               value="SHALL contain exactly one [1..1] Mental Status Section (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.2.56:2015-08-01) (CONF:1198-30926)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.section"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/MentalStatusSection"/>
      </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="ClinicalDocument.component.structuredBody.component:medicalEquip">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="medicalEquip"/>
      <comment
               value="This structuredBody MAY contain zero or one [0..1] component (CONF:1198-30798) such that it"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component"/>
        <min value="1"/>
        <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="ClinicalDocument.component.structuredBody.component:medicalEquip.nullFlavor">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:medicalEquip.realmCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:medicalEquip.typeId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:medicalEquip.templateId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:medicalEquip.typeCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.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="COMP"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:medicalEquip.contextConductionInd">
      <path
            value="ClinicalDocument.component.structuredBody.component.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.contextConductionInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
      </type>
      <fixedBoolean value="true"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:medicalEquip.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <short value="Base for all types and resources"/>
      <definition
                  value="Base definition for all types defined in FHIR type system."/>
      <comment
               value="SHALL contain exactly one [1..1] Medical Equipment Section (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.2.23:2014-06-09) (CONF:1198-30799)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.section"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/MedicalEquipmentSection"/>
      </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="ClinicalDocument.component.structuredBody.component:allergiesAndIntolerances">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="allergiesAndIntolerances"/>
      <comment
               value="This structuredBody SHALL contain exactly one [1..1] component (CONF:1198-30911) such that it"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component"/>
        <min value="1"/>
        <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="ClinicalDocument.component.structuredBody.component:allergiesAndIntolerances.nullFlavor">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:allergiesAndIntolerances.realmCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:allergiesAndIntolerances.typeId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:allergiesAndIntolerances.templateId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:allergiesAndIntolerances.typeCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.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="COMP"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:allergiesAndIntolerances.contextConductionInd">
      <path
            value="ClinicalDocument.component.structuredBody.component.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.contextConductionInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
      </type>
      <fixedBoolean value="true"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:allergiesAndIntolerances.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <short value="Base for all types and resources"/>
      <definition
                  value="Base definition for all types defined in FHIR type system."/>
      <comment
               value="SHALL contain exactly one [1..1] Allergies and Intolerances Section (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.2.6.1:2015-08-01) (CONF:1198-30912)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.section"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/AllergiesAndIntolerancesSection"/>
      </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="ClinicalDocument.component.structuredBody.component:assessment">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="assessment"/>
      <comment
               value="This structuredBody MAY contain zero or one [0..1] component (CONF:1198-30913) such that it"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component"/>
        <min value="1"/>
        <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="ClinicalDocument.component.structuredBody.component:assessment.nullFlavor">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:assessment.realmCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:assessment.typeId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:assessment.templateId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:assessment.typeCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.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="COMP"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:assessment.contextConductionInd">
      <path
            value="ClinicalDocument.component.structuredBody.component.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.contextConductionInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
      </type>
      <fixedBoolean value="true"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:assessment.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <short value="Base for all types and resources"/>
      <definition
                  value="Base definition for all types defined in FHIR type system."/>
      <comment
               value="SHALL contain exactly one [1..1] Assessment Section (identifier: urn:oid:2.16.840.1.113883.10.20.22.2.8) (CONF:1198-30914)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.section"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/AssessmentSection"/>
      </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="ClinicalDocument.component.structuredBody.component:assessmentAndPlan">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="assessmentAndPlan"/>
      <comment
               value="This structuredBody MAY contain zero or one [0..1] component (CONF:1198-30915) such that it"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component"/>
        <min value="1"/>
        <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="ClinicalDocument.component.structuredBody.component:assessmentAndPlan.nullFlavor">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:assessmentAndPlan.realmCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:assessmentAndPlan.typeId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:assessmentAndPlan.templateId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:assessmentAndPlan.typeCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.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="COMP"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:assessmentAndPlan.contextConductionInd">
      <path
            value="ClinicalDocument.component.structuredBody.component.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.contextConductionInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
      </type>
      <fixedBoolean value="true"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:assessmentAndPlan.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <short value="Base for all types and resources"/>
      <definition
                  value="Base definition for all types defined in FHIR type system."/>
      <comment
               value="SHALL contain exactly one [1..1] Assessment and Plan Section (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.2.9:2014-06-09) (CONF:1198-30916)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.section"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/AssessmentandPlanSection"/>
      </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="ClinicalDocument.component.structuredBody.component:medicalHistory">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="medicalHistory"/>
      <comment
               value="This structuredBody MAY contain zero or one [0..1] component (CONF:1198-30917) such that it"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component"/>
        <min value="1"/>
        <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="ClinicalDocument.component.structuredBody.component:medicalHistory.nullFlavor">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:medicalHistory.realmCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:medicalHistory.typeId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:medicalHistory.templateId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:medicalHistory.typeCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.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="COMP"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:medicalHistory.contextConductionInd">
      <path
            value="ClinicalDocument.component.structuredBody.component.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.contextConductionInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
      </type>
      <fixedBoolean value="true"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:medicalHistory.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <short value="Base for all types and resources"/>
      <definition
                  value="Base definition for all types defined in FHIR type system."/>
      <comment
               value="SHALL contain exactly one [1..1] Past Medical History (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.2.20:2015-08-01) (CONF:1198-30918)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.section"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/PastMedicalHistory"/>
      </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="ClinicalDocument.component.structuredBody.component:generalStatus">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="generalStatus"/>
      <comment
               value="This structuredBody MAY contain zero or one [0..1] component (CONF:1198-30919) such that it"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component"/>
        <min value="1"/>
        <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="ClinicalDocument.component.structuredBody.component:generalStatus.nullFlavor">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:generalStatus.realmCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:generalStatus.typeId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:generalStatus.templateId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:generalStatus.typeCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.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="COMP"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:generalStatus.contextConductionInd">
      <path
            value="ClinicalDocument.component.structuredBody.component.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.contextConductionInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
      </type>
      <fixedBoolean value="true"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:generalStatus.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <short value="Base for all types and resources"/>
      <definition
                  value="Base definition for all types defined in FHIR type system."/>
      <comment
               value="SHALL contain exactly one [1..1] General Status Section (identifier: urn:oid:2.16.840.1.113883.10.20.2.5) (CONF:1198-30920)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.section"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/GeneralStatusSection"/>
      </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="ClinicalDocument.component.structuredBody.component:medications">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="medications"/>
      <comment
               value="This structuredBody SHALL contain exactly one [1..1] component (CONF:1198-30922) such that it"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component"/>
        <min value="1"/>
        <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="ClinicalDocument.component.structuredBody.component:medications.nullFlavor">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:medications.realmCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:medications.typeId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:medications.templateId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:medications.typeCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.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="COMP"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:medications.contextConductionInd">
      <path
            value="ClinicalDocument.component.structuredBody.component.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.contextConductionInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
      </type>
      <fixedBoolean value="true"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:medications.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <short value="Base for all types and resources"/>
      <definition
                  value="Base definition for all types defined in FHIR type system."/>
      <comment
               value="SHALL contain exactly one [1..1] Medications Section (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.2.1.1:2014-06-09) (CONF:1198-30923)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.section"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/MedicationsSection"/>
      </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="ClinicalDocument.component.structuredBody.component:reasonForReferral">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="reasonForReferral"/>
      <comment
               value="This structuredBody SHALL contain exactly one [1..1] component (CONF:1198-30924) such that it"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component"/>
        <min value="1"/>
        <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="ClinicalDocument.component.structuredBody.component:reasonForReferral.nullFlavor">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:reasonForReferral.realmCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:reasonForReferral.typeId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:reasonForReferral.templateId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:reasonForReferral.typeCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.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="COMP"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:reasonForReferral.contextConductionInd">
      <path
            value="ClinicalDocument.component.structuredBody.component.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.contextConductionInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
      </type>
      <fixedBoolean value="true"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:reasonForReferral.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <short value="Base for all types and resources"/>
      <definition
                  value="Base definition for all types defined in FHIR type system."/>
      <comment
               value="SHALL contain exactly one [1..1] Reason for Referral Section (identifier: urn:hl7ii:1.3.6.1.4.1.19376.1.5.3.1.3.1:2014-06-09) (CONF:1198-30925)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.section"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/ReasonforReferralSection"/>
      </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="ClinicalDocument.component.structuredBody.component:payers">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="payers"/>
      <comment
               value="This structuredBody MAY contain exactly one [0..1] component (CONF:1198-309240) such that it"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component"/>
        <min value="1"/>
        <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="ClinicalDocument.component.structuredBody.component:payers.nullFlavor">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:payers.realmCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:payers.typeId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:payers.templateId">
      <path
            value="ClinicalDocument.component.structuredBody.component.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="ClinicalDocument.component.structuredBody.component:payers.typeCode">
      <path
            value="ClinicalDocument.component.structuredBody.component.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.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="COMP"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:payers.contextConductionInd">
      <path
            value="ClinicalDocument.component.structuredBody.component.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.contextConductionInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
        <profile
                 value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
      </type>
      <fixedBoolean value="true"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:payers.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <short value="Base for all types and resources"/>
      <definition
                  value="Base definition for all types defined in FHIR type system."/>
      <comment
               value="SHALL contain exactly one [1..1] Payers Section (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.2.18:2015-08-01) (CONF:1198-309250)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="StructuredBody.component.section"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/PayersSection"/>
      </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>
  </snapshot>
  <differential>
    <element id="ClinicalDocument">
      <path value="ClinicalDocument"/>
    </element>
    <element id="ClinicalDocument.templateId">
      <path value="ClinicalDocument.templateId"/>
      <min value="2"/>
    </element>
    <element id="ClinicalDocument.templateId:primary">
      <path value="ClinicalDocument.templateId"/>
      <sliceName value="primary"/>
      <comment
               value="SHALL contain exactly one [1..1] templateId (CONF:1198-28947) such that it"/>
      <min value="1"/>
      <max value="1"/>
    </element>
    <element id="ClinicalDocument.templateId:primary.root">
      <path value="ClinicalDocument.templateId.root"/>
      <comment
               value="SHALL contain exactly one [1..1] @root=&quot;2.16.840.1.113883.10.20.22.1.14&quot; (CONF:1198-28948)."/>
      <min value="1"/>
      <patternString value="2.16.840.1.113883.10.20.22.1.14"/>
    </element>
    <element id="ClinicalDocument.templateId:primary.extension">
      <path value="ClinicalDocument.templateId.extension"/>
      <comment
               value="SHALL contain exactly one [1..1] @extension=&quot;2015-08-01&quot; (CONF:1198-32911)."/>
      <min value="1"/>
      <patternString value="2015-08-01"/>
    </element>
    <element id="ClinicalDocument.code">
      <path value="ClinicalDocument.code"/>
      <short
             value="The Referral Note recommends use of the document type code 57133-1 &quot;Referral Note&quot;, with further specification provided by author or performer, setting, or specialty. When pre-coordinated codes are used, any coded values describing the author or performer of the service act or the practice setting must be consistent with the LOINC document type. For example, an Obstetrics and Gynecology Referral note would not be authored by a Pediatric Cardiologist.  The type of referral and the target of the referral are specified via the participant (and not via the author)."/>
      <comment
               value="SHALL contain exactly one [1..1] code, which SHALL be selected from ValueSet ReferralDocumentType http://hl7.org/fhir/ccda/ValueSet/2.16.840.1.113883.1.11.20.2.3 DYNAMIC (CONF:1198-28949)."/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.20.2.3"/>
      </binding>
    </element>
    <element id="ClinicalDocument.informationRecipient">
      <path value="ClinicalDocument.informationRecipient"/>
      <comment
               value="SHALL contain exactly one [1..1] informationRecipient (CONF:1198-31589)."/>
      <min value="1"/>
      <max value="1"/>
    </element>
    <element id="ClinicalDocument.informationRecipient.intendedRecipient">
      <path value="ClinicalDocument.informationRecipient.intendedRecipient"/>
      <comment
               value="This informationRecipient SHALL contain exactly one [1..1] intendedRecipient (CONF:1198-31590)."/>
    </element>
    <element
             id="ClinicalDocument.informationRecipient.intendedRecipient.addr">
      <path
            value="ClinicalDocument.informationRecipient.intendedRecipient.addr"/>
      <comment
               value="This intendedRecipient SHOULD contain zero or more [0..*] addr (CONF:1198-31591)."/>
    </element>
    <element
             id="ClinicalDocument.informationRecipient.intendedRecipient.telecom">
      <path
            value="ClinicalDocument.informationRecipient.intendedRecipient.telecom"/>
      <comment
               value="This intendedRecipient SHOULD contain zero or more [0..*] telecom (CONF:1198-31592)."/>
    </element>
    <element
             id="ClinicalDocument.informationRecipient.intendedRecipient.informationRecipient">
      <path
            value="ClinicalDocument.informationRecipient.intendedRecipient.informationRecipient"/>
      <comment
               value="This intendedRecipient SHALL contain exactly one [1..1] informationRecipient (CONF:1198-31593)."/>
      <min value="1"/>
    </element>
    <element
             id="ClinicalDocument.informationRecipient.intendedRecipient.informationRecipient.name">
      <path
            value="ClinicalDocument.informationRecipient.intendedRecipient.informationRecipient.name"/>
      <comment
               value="This informationRecipient SHALL contain at least one [1..*] US Realm Person Name (PN.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.1.1) (CONF:1198-31594)."/>
    </element>
    <element id="ClinicalDocument.participant">
      <path value="ClinicalDocument.participant"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="typeCode"/>
        </discriminator>
        <rules value="open"/>
      </slicing>
      <short
             value="This participant represents the clinician to contact for questions about the referral note.  This call back contact individual may be a different person than the individual(s) identified in the author or legalAuthenticator participant."/>
    </element>
    <element id="ClinicalDocument.participant:participant1">
      <path value="ClinicalDocument.participant"/>
      <sliceName value="participant1"/>
      <comment
               value="SHOULD contain zero or more [0..*] participant (CONF:1198-31642) such that it"/>
      <min value="0"/>
      <max value="*"/>
    </element>
    <element id="ClinicalDocument.participant:participant1.typeCode">
      <path value="ClinicalDocument.participant.typeCode"/>
      <comment
               value="SHALL contain exactly one [1..1] @typeCode=&quot;IND&quot; Indirect (CodeSystem: HL7ParticipationType urn:oid:2.16.840.1.113883.5.90) (CONF:1198-31924)."/>
      <min value="1"/>
      <fixedCode value="IND"/>
    </element>
    <element id="ClinicalDocument.participant:participant1.associatedEntity">
      <path value="ClinicalDocument.participant.associatedEntity"/>
      <comment
               value="SHALL contain exactly one [1..1] associatedEntity (CONF:1198-31643)."/>
    </element>
    <element
             id="ClinicalDocument.participant:participant1.associatedEntity.classCode">
      <path value="ClinicalDocument.participant.associatedEntity.classCode"/>
      <comment
               value="This associatedEntity SHALL contain exactly one [1..1] @classCode, which SHALL be selected from ValueSet INDRoleclassCodes urn:oid:2.16.840.1.113883.11.20.9.33 DYNAMIC (CONF:1198-31925)."/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.33"/>
      </binding>
    </element>
    <element
             id="ClinicalDocument.participant:participant1.associatedEntity.associatedPerson">
      <path
            value="ClinicalDocument.participant.associatedEntity.associatedPerson"/>
      <comment
               value="This associatedEntity SHALL contain exactly one [1..1] associatedPerson (CONF:1198-31644)."/>
      <min value="1"/>
    </element>
    <element
             id="ClinicalDocument.participant:participant1.associatedEntity.associatedPerson.name">
      <path
            value="ClinicalDocument.participant.associatedEntity.associatedPerson.name"/>
      <comment
               value="This associatedPerson SHALL contain at least one [1..*] US Realm Patient Name (PTN.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.1) (CONF:1198-31645)."/>
      <min value="1"/>
      <type>
        <code value="http://hl7.org/cda/stds/core/StructureDefinition/PN"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/USRealmPatientNamePTNUSFIELDED"/>
      </type>
    </element>
    <element id="ClinicalDocument.participant:participant2">
      <path value="ClinicalDocument.participant"/>
      <sliceName value="participant2"/>
      <comment
               value="SHOULD contain zero or more [0..*] participant (CONF:1198-31647) such that it"/>
      <min value="0"/>
      <max value="*"/>
    </element>
    <element id="ClinicalDocument.participant:participant2.typeCode">
      <path value="ClinicalDocument.participant.typeCode"/>
      <comment
               value="SHALL contain exactly one [1..1] @typeCode=&quot;CALLBCK&quot; call back contact (CodeSystem: HL7ParticipationType urn:oid:2.16.840.1.113883.5.90 DYNAMIC) (CONF:1198-31648)."/>
      <min value="1"/>
      <fixedCode value="CALLBCK"/>
    </element>
    <element id="ClinicalDocument.participant:participant2.associatedEntity">
      <path value="ClinicalDocument.participant.associatedEntity"/>
      <comment
               value="SHALL contain exactly one [1..1] associatedEntity (CONF:1198-31649)."/>
    </element>
    <element
             id="ClinicalDocument.participant:participant2.associatedEntity.classCode">
      <path value="ClinicalDocument.participant.associatedEntity.classCode"/>
      <comment
               value="This associatedEntity SHALL contain exactly one [1..1] @classCode=&quot;ASSIGNED&quot; assigned entity (CodeSystem: HL7RoleClass urn:oid:2.16.840.1.113883.5.110) (CONF:1198-32419)."/>
      <fixedCode value="ASSIGNED"/>
    </element>
    <element
             id="ClinicalDocument.participant:participant2.associatedEntity.id">
      <path value="ClinicalDocument.participant.associatedEntity.id"/>
      <comment
               value="This associatedEntity SHALL contain at least one [1..*] id (CONF:1198-31650)."/>
      <min value="1"/>
    </element>
    <element
             id="ClinicalDocument.participant:participant2.associatedEntity.addr">
      <path value="ClinicalDocument.participant.associatedEntity.addr"/>
      <comment
               value="This associatedEntity SHOULD contain zero or more [0..*] addr (CONF:1198-31651)."/>
    </element>
    <element
             id="ClinicalDocument.participant:participant2.associatedEntity.telecom">
      <path value="ClinicalDocument.participant.associatedEntity.telecom"/>
      <comment
               value="This associatedEntity SHALL contain at least one [1..*] telecom (CONF:1198-31652)."/>
      <min value="1"/>
    </element>
    <element
             id="ClinicalDocument.participant:participant2.associatedEntity.associatedPerson">
      <path
            value="ClinicalDocument.participant.associatedEntity.associatedPerson"/>
      <comment
               value="This associatedEntity SHALL contain exactly one [1..1] associatedPerson (CONF:1198-31653)."/>
      <min value="1"/>
    </element>
    <element
             id="ClinicalDocument.participant:participant2.associatedEntity.associatedPerson.name">
      <path
            value="ClinicalDocument.participant.associatedEntity.associatedPerson.name"/>
      <comment
               value="This associatedPerson SHALL contain at least one [1..*] name (CONF:1198-31654)."/>
      <min value="1"/>
    </element>
    <element
             id="ClinicalDocument.participant:participant2.associatedEntity.scopingOrganization">
      <path
            value="ClinicalDocument.participant.associatedEntity.scopingOrganization"/>
      <comment
               value="This associatedEntity MAY contain zero or one [0..1] scopingOrganization (CONF:1198-31655)."/>
    </element>
    <element id="ClinicalDocument.component.structuredBody">
      <path value="ClinicalDocument.component.structuredBody"/>
      <comment
               value="This component SHALL contain exactly one [1..1] structuredBody (CONF:1198-29063)."/>
      <min value="1"/>
      <constraint>
        <key value="1198-29102"/>
        <severity value="error"/>
        <human
               value="This structuredBody **SHALL** contain an Assessment and Plan Section (2.16.840.1.113883.10.20.22.2.9:2014-06-09), or an Assessment Section (2.16.840.1.113883.10.20.22.2.8) and a Plan of Treatment Section (2.16.840.1.113883.10.20.22.2.10:2014-06-09) (CONF:1198-29102)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/ReferralNote"/>
      </constraint>
      <constraint>
        <key value="1198-29103"/>
        <severity value="error"/>
        <human
               value="This structuredBody **SHALL NOT** contain an Assessment and Plan Section (2.16.840.1.113883.10.20.22.2.9:2014-06-09) when either an Assessment Section (2.16.840.1.113883.10.20.22.2.8) or a Plan of Treatment Section (2.16.840.1.113883.10.20.22.2.10:2014-06-09) is present (CONF:1198-29103)."/>
        <source
                value="http://hl7.org/cda/us/ccda/StructureDefinition/ReferralNote"/>
      </constraint>
    </element>
    <element id="ClinicalDocument.component.structuredBody.component">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="section.code"/>
        </discriminator>
        <rules value="open"/>
      </slicing>
      <min value="5"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:planOfTreatment">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="planOfTreatment"/>
      <comment
               value="This structuredBody SHOULD contain zero or one [0..1] component (CONF:1198-29066)."/>
      <min value="0"/>
      <max value="1"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:planOfTreatment.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <comment
               value="The component, if present, SHALL contain exactly one [1..1] Plan of Treatment Section (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.2.10:2014-06-09) (CONF:1198-29067)."/>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/PlanofTreatmentSection"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:advanceDirectives">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="advanceDirectives"/>
      <comment
               value="This structuredBody MAY contain zero or one [0..1] component (CONF:1198-29068) such that it"/>
      <min value="0"/>
      <max value="1"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:advanceDirectives.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <comment
               value="SHALL contain exactly one [1..1] Advance Directives Section (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.2.21.1:2015-08-01) (CONF:1198-29069)."/>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/AdvanceDirectivesSection"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:historyOfPresentIllness">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="historyOfPresentIllness"/>
      <comment
               value="This structuredBody MAY contain zero or one [0..1] component (CONF:1198-29074) such that it"/>
      <min value="0"/>
      <max value="1"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:historyOfPresentIllness.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <comment
               value="SHALL contain exactly one [1..1] History of Present Illness Section (identifier: urn:oid:1.3.6.1.4.1.19376.1.5.3.1.3.4) (CONF:1198-29075)."/>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/HistoryofPresentIllnessSection"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:familyHistory">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="familyHistory"/>
      <comment
               value="This structuredBody MAY contain zero or one [0..1] component (CONF:1198-29076) such that it"/>
      <min value="0"/>
      <max value="1"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:familyHistory.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <comment
               value="SHALL contain exactly one [1..1] Family History Section (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.2.15:2015-08-01) (CONF:1198-29077)."/>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/FamilyHistorySection"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:immunizations">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="immunizations"/>
      <comment
               value="This structuredBody MAY contain zero or one [0..1] component (CONF:1198-29082) such that it"/>
      <min value="0"/>
      <max value="1"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:immunizations.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <comment
               value="SHALL contain exactly one [1..1] Immunizations Section (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.2.2.1:2015-08-01) (CONF:1198-29083)."/>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/ImmunizationsSection"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:problem">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="problem"/>
      <comment
               value="This structuredBody SHALL contain exactly one [1..1] component (CONF:1198-29086) such that it"/>
      <min value="1"/>
      <max value="1"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:problem.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <comment
               value="SHALL contain exactly one [1..1] Problem Section (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.2.5.1:2015-08-01) (CONF:1198-29087)."/>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/ProblemSection"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:procedures">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="procedures"/>
      <comment
               value="This structuredBody MAY contain zero or one [0..1] component (CONF:1198-29088) such that it"/>
      <min value="0"/>
      <max value="1"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:procedures.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <comment
               value="SHALL contain exactly one [1..1] Procedures Section (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.2.7.1:2014-06-09) (CONF:1198-29089)."/>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/ProceduresSection"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:results">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="results"/>
      <comment
               value="This structuredBody SHOULD contain zero or one [0..1] component (CONF:1198-29090) such that it"/>
      <min value="0"/>
      <max value="1"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:results.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <comment
               value="SHALL contain exactly one [1..1] Results Section (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.2.3.1:2015-08-01) (CONF:1198-29091)."/>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/ResultsSection"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:reviewOfSystems">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="reviewOfSystems"/>
      <comment
               value="This structuredBody MAY contain zero or one [0..1] component (CONF:1198-29092) such that it"/>
      <min value="0"/>
      <max value="1"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:reviewOfSystems.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <comment
               value="SHALL contain exactly one [1..1] Review of Systems Section (identifier: urn:oid:1.3.6.1.4.1.19376.1.5.3.1.3.18) (CONF:1198-29093)."/>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/ReviewofSystemsSection"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:socialHistory">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="socialHistory"/>
      <comment
               value="This structuredBody MAY contain zero or one [0..1] component (CONF:1198-29094) such that it"/>
      <min value="0"/>
      <max value="1"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:socialHistory.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <comment
               value="SHALL contain exactly one [1..1] Social History Section (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.2.17:2015-08-01) (CONF:1198-29095)."/>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/SocialHistorySection"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:vitalSigns">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="vitalSigns"/>
      <comment
               value="This structuredBody MAY contain zero or one [0..1] component (CONF:1198-29096) such that it"/>
      <min value="0"/>
      <max value="1"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:vitalSigns.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <comment
               value="SHALL contain exactly one [1..1] Vital Signs Section (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.2.4.1:2015-08-01) (CONF:1198-29097)."/>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/VitalSignsSection"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:functionalStatus">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="functionalStatus"/>
      <comment
               value="This structuredBody SHOULD contain zero or one [0..1] component (CONF:1198-29098) such that it"/>
      <min value="0"/>
      <max value="1"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:functionalStatus.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <comment
               value="SHALL contain exactly one [1..1] Functional Status Section (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.2.14:2014-06-09) (CONF:1198-29099)."/>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/FunctionalStatusSection"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:physicalExam">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="physicalExam"/>
      <comment
               value="This structuredBody MAY contain zero or one [0..1] component (CONF:1198-29100) such that it"/>
      <min value="0"/>
      <max value="1"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:physicalExam.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <comment
               value="SHALL contain exactly one [1..1] Physical Exam Section (identifier: urn:hl7ii:2.16.840.1.113883.10.20.2.10:2015-08-01) (CONF:1198-29101)."/>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/PhysicalExamSection"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:nutrition">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="nutrition"/>
      <comment
               value="This structuredBody SHOULD contain zero or one [0..1] component (CONF:1198-30780) such that it"/>
      <min value="0"/>
      <max value="1"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:nutrition.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <comment
               value="SHALL contain exactly one [1..1] Nutrition Section (identifier: urn:oid:2.16.840.1.113883.10.20.22.2.57) (CONF:1198-30781)."/>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/NutritionSection"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:mentalStatus">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="mentalStatus"/>
      <comment
               value="This structuredBody SHOULD contain zero or one [0..1] component (CONF:1198-30796) such that it"/>
      <min value="0"/>
      <max value="1"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:mentalStatus.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <comment
               value="SHALL contain exactly one [1..1] Mental Status Section (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.2.56:2015-08-01) (CONF:1198-30926)."/>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/MentalStatusSection"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:medicalEquip">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="medicalEquip"/>
      <comment
               value="This structuredBody MAY contain zero or one [0..1] component (CONF:1198-30798) such that it"/>
      <min value="0"/>
      <max value="1"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:medicalEquip.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <comment
               value="SHALL contain exactly one [1..1] Medical Equipment Section (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.2.23:2014-06-09) (CONF:1198-30799)."/>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/MedicalEquipmentSection"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:allergiesAndIntolerances">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="allergiesAndIntolerances"/>
      <comment
               value="This structuredBody SHALL contain exactly one [1..1] component (CONF:1198-30911) such that it"/>
      <min value="1"/>
      <max value="1"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:allergiesAndIntolerances.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <comment
               value="SHALL contain exactly one [1..1] Allergies and Intolerances Section (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.2.6.1:2015-08-01) (CONF:1198-30912)."/>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/AllergiesAndIntolerancesSection"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:assessment">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="assessment"/>
      <comment
               value="This structuredBody MAY contain zero or one [0..1] component (CONF:1198-30913) such that it"/>
      <min value="0"/>
      <max value="1"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:assessment.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <comment
               value="SHALL contain exactly one [1..1] Assessment Section (identifier: urn:oid:2.16.840.1.113883.10.20.22.2.8) (CONF:1198-30914)."/>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/AssessmentSection"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:assessmentAndPlan">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="assessmentAndPlan"/>
      <comment
               value="This structuredBody MAY contain zero or one [0..1] component (CONF:1198-30915) such that it"/>
      <min value="0"/>
      <max value="1"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:assessmentAndPlan.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <comment
               value="SHALL contain exactly one [1..1] Assessment and Plan Section (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.2.9:2014-06-09) (CONF:1198-30916)."/>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/AssessmentandPlanSection"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:medicalHistory">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="medicalHistory"/>
      <comment
               value="This structuredBody MAY contain zero or one [0..1] component (CONF:1198-30917) such that it"/>
      <min value="0"/>
      <max value="1"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:medicalHistory.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <comment
               value="SHALL contain exactly one [1..1] Past Medical History (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.2.20:2015-08-01) (CONF:1198-30918)."/>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/PastMedicalHistory"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:generalStatus">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="generalStatus"/>
      <comment
               value="This structuredBody MAY contain zero or one [0..1] component (CONF:1198-30919) such that it"/>
      <min value="0"/>
      <max value="1"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:generalStatus.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <comment
               value="SHALL contain exactly one [1..1] General Status Section (identifier: urn:oid:2.16.840.1.113883.10.20.2.5) (CONF:1198-30920)."/>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/GeneralStatusSection"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:medications">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="medications"/>
      <comment
               value="This structuredBody SHALL contain exactly one [1..1] component (CONF:1198-30922) such that it"/>
      <min value="1"/>
      <max value="1"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:medications.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <comment
               value="SHALL contain exactly one [1..1] Medications Section (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.2.1.1:2014-06-09) (CONF:1198-30923)."/>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/MedicationsSection"/>
      </type>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:reasonForReferral">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="reasonForReferral"/>
      <comment
               value="This structuredBody SHALL contain exactly one [1..1] component (CONF:1198-30924) such that it"/>
      <min value="1"/>
      <max value="1"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:reasonForReferral.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <comment
               value="SHALL contain exactly one [1..1] Reason for Referral Section (identifier: urn:hl7ii:1.3.6.1.4.1.19376.1.5.3.1.3.1:2014-06-09) (CONF:1198-30925)."/>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/ReasonforReferralSection"/>
      </type>
    </element>
    <element id="ClinicalDocument.component.structuredBody.component:payers">
      <path value="ClinicalDocument.component.structuredBody.component"/>
      <sliceName value="payers"/>
      <comment
               value="This structuredBody MAY contain exactly one [0..1] component (CONF:1198-309240) such that it"/>
      <min value="1"/>
      <max value="1"/>
    </element>
    <element
             id="ClinicalDocument.component.structuredBody.component:payers.section">
      <path
            value="ClinicalDocument.component.structuredBody.component.section"/>
      <comment
               value="SHALL contain exactly one [1..1] Payers Section (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.2.18:2015-08-01) (CONF:1198-309250)."/>
      <type>
        <code
              value="http://hl7.org/cda/stds/core/StructureDefinition/Section"/>
        <profile
                 value="http://hl7.org/cda/us/ccda/StructureDefinition/PayersSection"/>
      </type>
    </element>
  </differential>
</StructureDefinition>