Advance Healthcare Directive Interoperability (cda-adi)
0.1.0 - ci-build

Advance Healthcare Directive Interoperability (cda-adi), published by Health Level Seven. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/cda-adi/ and changes regularly. See the Directory of published versions

## Logical Model: Medically_Assisted_Nutrition_Planned_Procedure_Part - XML Profile

Active as of 2026-05-29

XML representation of the MedicallyAssistedNutritionPlannedProcedurePart logical model.

Raw xml | Download

    <StructureDefinition xmlns="http://hl7.org/fhir">
      <id value="MedicallyAssistedNutritionPlannedProcedurePart"/>
      <text>
        <status value="extensions"/>
        <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: StructureDefinition MedicallyAssistedNutritionPlannedProcedurePart</b></p><a name="MedicallyAssistedNutritionPlannedProcedurePart"> </a><a name="hcMedicallyAssistedNutritionPlannedProcedurePart"> </a><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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px" 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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px" 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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Minimum and Maximum # of times the element can appear in the instance">Card.</a></th><th style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px; 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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px" 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, " 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 : var(--ig-left,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-MedicallyAssistedNutritionPlannedProcedurePart-definitions.html#Procedure">Procedure</a><a name="Procedure"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/cda/us/ccda/2026Jan/StructureDefinition-PlannedProcedure.html">PlannedProcedure</a></td><td style="vertical-align: top; text-align : var(--ig-left,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/><span style="font-weight:bold">Instance of this type are validated by templateId</span><br/><span style="font-weight:bold" title="The root class that contains instances of this class">Logical Container: </span><a href="http://hl7.org/cda/stds/core/2.0.2-sd/StructureDefinition-ClinicalDocument.html">ClinicalDocument (CDA Class)</a></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,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-MedicallyAssistedNutritionPlannedProcedurePart-definitions.html#Procedure.templateId">templateId</a><a name="Procedure.templateId"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5; opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.2-sd/StructureDefinition-II.html">II</a></td><td style="vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,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"/> Slices for templateId<a name="Procedure.templateId.2"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Content/Rules for all slices</td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,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-MedicallyAssistedNutritionPlannedProcedurePart-definitions.html#Procedure.templateId:medically-assisted-nutrition-planned-procedure-part" title="Slice medically-assisted-nutrition-planned-procedure-part">templateId:medically-assisted-nutrition-planned-procedure-part</a><a name="Procedure.templateId.3"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5; opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.2-sd/StructureDefinition-II.html">II</a></td><td style="vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,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-MedicallyAssistedNutritionPlannedProcedurePart-definitions.html#Procedure.templateId:medically-assisted-nutrition-planned-procedure-part.root">@root</a><a name="Procedure.templateId.root"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5; opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.2-sd/StructureDefinition-oid.html" title="string">oid</a><span style="opacity: 0.5">, </span><a style="opacity: 0.5; opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.2-sd/StructureDefinition-uuid.html" title="string">uuid</a><span style="opacity: 0.5">, </span><a style="opacity: 0.5; opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.2-sd/StructureDefinition-ruid.html" title="string">ruid</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Required Pattern: </span><span style="color: darkgreen">2.16.840.1.113883.9.275.3.4.2</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1240.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end_slice.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_extension_simple.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Simple Extension" class="hierarchy"/> <a href="StructureDefinition-MedicallyAssistedNutritionPlannedProcedurePart-definitions.html#Procedure.templateId:medically-assisted-nutrition-planned-procedure-part.extension">@extension</a><a name="Procedure.templateId.extension"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5; opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.2-sd/StructureDefinition-st-simple.html" title="string">st</a></td><td style="vertical-align: top; text-align : var(--ig-left,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">2026-08-28</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-MedicallyAssistedNutritionPlannedProcedurePart-definitions.html#Procedure.moodCode">@moodCode</a><a name="Procedure.moodCode"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5; opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.2-sd/StructureDefinition-cs-simple.html" title="code">cs</a></td><td style="vertical-align: top; text-align : var(--ig-left,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">RQO</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,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-MedicallyAssistedNutritionPlannedProcedurePart-definitions.html#Procedure.id">id</a><a name="Procedure.id"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5; opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.2-sd/StructureDefinition-II.html">II</a></td><td style="vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,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-MedicallyAssistedNutritionPlannedProcedurePart-definitions.html#Procedure.code">code</a><a name="Procedure.code"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck100.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-MedicallyAssistedNutritionPlannedProcedurePart-definitions.html#Procedure.code.code">@code</a><a name="Procedure.code.code"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5; opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.2-sd/StructureDefinition-cs-simple.html" title="code">cs</a></td><td style="vertical-align: top; text-align : var(--ig-left,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">386373004</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-MedicallyAssistedNutritionPlannedProcedurePart-definitions.html#Procedure.negationInd">@negationInd</a><a name="Procedure.negationInd"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5; opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.2-sd/StructureDefinition-bl-simple.html" title="boolean">bl</a></td><td style="vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,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-MedicallyAssistedNutritionPlannedProcedurePart-definitions.html#Procedure.text">text</a><a name="Procedure.text"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5; opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.2-sd/StructureDefinition-ED.html">ED</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">links to the rendering of the portable medical order</td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck00.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: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-MedicallyAssistedNutritionPlannedProcedurePart-definitions.html#Procedure.effectiveTime">effectiveTime</a><a name="Procedure.effectiveTime"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5; opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.2-sd/StructureDefinition-IVL-TS.html">IVL_TS</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Represents the trial period duration, if a trial period is specified.</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, " 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/tools/StructureDefinition/xml-namespace">
        <valueUri value="urn:hl7-org:v3"/>
      </extension>
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/xml-name">
        <valueString value="procedure"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/tools/StructureDefinition/logical-container">
        <valueUri
                  value="http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/tools/StructureDefinition/type-profile-style">
        <valueCode value="cda"/>
      </extension>
      <url
           value="http://hl7.org/cda/us/adi/StructureDefinition/MedicallyAssistedNutritionPlannedProcedurePart"/>
      <identifier>
        <system value="urn:ietf:rfc:3986"/>
        <value value="urn:hl7ii:2.16.840.1.113883.9.275.3.4.2:2026-08-28"/>
      </identifier>
      <version value="0.1.0"/>
      <name value="Medically_Assisted_Nutrition_Planned_Procedure_Part"/>
      <title value="Medically Assisted Nutrition Procedure Information"/>
      <status value="active"/>
      <date value="2026-05-29T13:15:02+00:00"/>
      <publisher value="Health Level Seven"/>
      <contact>
        <name value="Health Level Seven"/>
        <telecom>
          <system value="url"/>
          <value value="http://www.hl7.org/Special/committees/structure"/>
        </telecom>
      </contact>
      <description
                   value="This entry is an procedure in moodCode RQO. In FHIR this expresses the ServiceRequest.code.
    If the order is to NOT perform the procedure, then negationInd will be true for the procedure.
    In FHIR this aligns with use of the doNotPerform element."/>
      <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/Procedure"/>
      <baseDefinition
                      value="http://hl7.org/cda/us/ccda/StructureDefinition/PlannedProcedure"/>
      <derivation value="constraint"/>
      <snapshot>
        <extension
                   url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version">
          <valueString value="5.0.0-ballot"/>
        </extension>
        <element id="Procedure">
          <path value="Procedure"/>
          <short value="Base for all types and resources"/>
          <definition
                      value="Defines the basic properties of every data value. This is an abstract type, meaning that no value can be just a data value without belonging to any concrete type. Every concrete type is a specialization of this general abstract DataValue type."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Base"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <constraint>
            <key value="should-text-ref-value"/>
            <severity value="warning"/>
            <human value="SHOULD contain text/reference/@value"/>
            <expression value="text.reference.value.exists()"/>
            <source
                    value="http://hl7.org/cda/us/ccda/StructureDefinition/PlannedProcedure"/>
          </constraint>
          <constraint>
            <key value="should-sdtcCategory"/>
            <severity value="warning"/>
            <human value="SHOULD contain sdtcCategory"/>
            <expression value="sdtcCategory.exists()"/>
            <source
                    value="http://hl7.org/cda/us/ccda/StructureDefinition/PlannedProcedure"/>
          </constraint>
          <constraint>
            <key value="should-effectiveTime"/>
            <severity value="warning"/>
            <human value="SHOULD contain effectiveTime"/>
            <expression value="effectiveTime.exists()"/>
            <source
                    value="http://hl7.org/cda/us/ccda/StructureDefinition/PlannedProcedure"/>
          </constraint>
          <constraint>
            <key value="should-author"/>
            <severity value="warning"/>
            <human value="SHOULD contain author"/>
            <expression value="author.exists()"/>
            <source
                    value="http://hl7.org/cda/us/ccda/StructureDefinition/PlannedProcedure"/>
          </constraint>
          <isModifier value="false"/>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="Procedure.nullFlavor">
          <path value="Procedure.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://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
          </binding>
        </element>
        <element id="Procedure.realmCode">
          <path value="Procedure.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="Procedure.typeId">
          <path value="Procedure.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>
          <constraint>
            <key value="II-1"/>
            <severity value="error"/>
            <human
                   value="An II instance must have either a root or an nullFlavor."/>
            <expression value="root.exists() or nullFlavor.exists()"/>
            <source
                    value="http://hl7.org/cda/stds/core/StructureDefinition/InfrastructureRoot"/>
          </constraint>
        </element>
        <element id="Procedure.typeId.nullFlavor">
          <path value="Procedure.typeId.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://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
          </binding>
        </element>
        <element id="Procedure.typeId.assigningAuthorityName">
          <path value="Procedure.typeId.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="Procedure.typeId.displayable">
          <path value="Procedure.typeId.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="Procedure.typeId.root">
          <path value="Procedure.typeId.root"/>
          <representation value="xmlAttr"/>
          <label value="Root"/>
          <definition value="Identifies the type as an HL7 Registered model"/>
          <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>
          <fixedString value="2.16.840.1.113883.1.3"/>
        </element>
        <element id="Procedure.typeId.extension">
          <path value="Procedure.typeId.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="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>
        </element>
        <element id="Procedure.templateId">
          <path value="Procedure.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="InfrastructureRoot.templateId"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
          </type>
        </element>
        <element id="Procedure.templateId:planned-proc">
          <path value="Procedure.templateId"/>
          <sliceName value="planned-proc"/>
          <definition
                      value="When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question"/>
          <min value="1"/>
          <max value="1"/>
          <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="Procedure.templateId:planned-proc.nullFlavor">
          <path value="Procedure.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://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
          </binding>
        </element>
        <element id="Procedure.templateId:planned-proc.assigningAuthorityName">
          <path value="Procedure.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="Procedure.templateId:planned-proc.displayable">
          <path value="Procedure.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="Procedure.templateId:planned-proc.root">
          <path value="Procedure.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."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="II.root"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
            <profile
                     value="http://hl7.org/cda/stds/core/StructureDefinition/oid"/>
            <profile
                     value="http://hl7.org/cda/stds/core/StructureDefinition/uuid"/>
            <profile
                     value="http://hl7.org/cda/stds/core/StructureDefinition/ruid"/>
          </type>
          <patternString value="2.16.840.1.113883.10.20.22.4.41"/>
        </element>
        <element id="Procedure.templateId:planned-proc.extension">
          <path value="Procedure.templateId.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="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="2022-06-01"/>
        </element>
        <element
                 id="Procedure.templateId:medically-assisted-nutrition-planned-procedure-part">
          <path value="Procedure.templateId"/>
          <sliceName value="medically-assisted-nutrition-planned-procedure-part"/>
          <definition
                      value="When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question"/>
          <min value="1"/>
          <max value="1"/>
          <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="Procedure.templateId:medically-assisted-nutrition-planned-procedure-part.nullFlavor">
          <path value="Procedure.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://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
          </binding>
        </element>
        <element
                 id="Procedure.templateId:medically-assisted-nutrition-planned-procedure-part.assigningAuthorityName">
          <path value="Procedure.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="Procedure.templateId:medically-assisted-nutrition-planned-procedure-part.displayable">
          <path value="Procedure.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="Procedure.templateId:medically-assisted-nutrition-planned-procedure-part.root">
          <path value="Procedure.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."/>
          <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.9.275.3.4.2"/>
        </element>
        <element
                 id="Procedure.templateId:medically-assisted-nutrition-planned-procedure-part.extension">
          <path value="Procedure.templateId.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="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="2026-08-28"/>
        </element>
        <element id="Procedure.classCode">
          <path value="Procedure.classCode"/>
          <representation value="xmlAttr"/>
          <comment
                   value="SHALL contain exactly one [1..1] @classCode=&quot;PROC&quot; (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:4515-8568)."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Procedure.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="PROC"/>
          <binding>
            <strength value="required"/>
            <valueSet
                      value="http://terminology.hl7.org/ValueSet/v3-ActClassProcedure|3.0.0"/>
          </binding>
        </element>
        <element id="Procedure.moodCode">
          <path value="Procedure.moodCode"/>
          <representation value="xmlAttr"/>
          <comment
                   value="SHALL contain exactly one [1..1] @moodCode=&quot;RQO&quot; Request (CodeSystem: HL7ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC)."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Procedure.moodCode"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="code"/>
            <profile
                     value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
          </type>
          <fixedCode value="RQO"/>
          <binding>
            <strength value="required"/>
            <valueSet
                      value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.23"/>
          </binding>
        </element>
        <element id="Procedure.id">
          <path value="Procedure.id"/>
          <comment
                   value="MUST contain at least one [1..*] id.
    If needed, the identifier for the procedure part of this clinical statement can be the id of the statement suffixed with a part# to make it distinct."/>
          <min value="1"/>
          <max value="*"/>
          <base>
            <path value="Procedure.id"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
          </type>
        </element>
        <element id="Procedure.sdtcCategory">
          <extension
                     url="http://hl7.org/fhir/tools/StructureDefinition/xml-namespace">
            <valueUri value="urn:hl7-org:sdtc"/>
          </extension>
          <extension
                     url="http://hl7.org/fhir/tools/StructureDefinition/xml-name">
            <valueString value="category"/>
          </extension>
          <path value="Procedure.sdtcCategory"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Procedure.sdtcCategory"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="http://hl7.org/cda/stds/core/StructureDefinition/CD"/>
          </type>
          <binding>
            <strength value="preferred"/>
            <valueSet
                      value="http://hl7.org/fhir/us/core/ValueSet/us-core-servicerequest-category"/>
          </binding>
        </element>
        <element id="Procedure.code">
          <extension
                     url="http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement">
            <valueBoolean value="true"/>
          </extension>
          <path value="Procedure.code"/>
          <short value="𝗨𝗦𝗖𝗗𝗜: SDOH Interventions"/>
          <definition value="Drawn from concept domain ActCode"/>
          <comment
                   value="This code SHALL contain exactly one [1..1] @code, which SHOULD be selected from ValueSet US Core Procedure Codes urn:oid:2.16.840.1.113883.4.642.40.48.31 ."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Procedure.code"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="http://hl7.org/cda/stds/core/StructureDefinition/CD"/>
          </type>
          <binding>
            <strength value="preferred"/>
            <valueSet
                      value="http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-code"/>
            <additional>
              <purpose value="preferred"/>
              <valueSet
                        value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1196.790|20250702"/>
              <documentation
                             value="If the Planned Intervention Procedure is a Social Determinant of Health Planned Intervention Procedure, the procedure code **SHOULD** be selected from ValueSet [Social Determinant of Health Service Request](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1196.790/expansion) **DYNAMIC** (CONF:4515-32993)."/>
              <shortDoco
                         value="For Social Determinant of Planned Intervention Procedure"/>
            </additional>
            <additional>
              <purpose value="preferred"/>
              <valueSet
                        value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1267.17"/>
              <documentation value="For common lab tests."/>
              <shortDoco value="Common Lab Tests"/>
            </additional>
            <additional>
              <purpose value="preferred"/>
              <valueSet
                        value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1267.18"/>
              <documentation value="For radiology."/>
              <shortDoco value="Radiology"/>
            </additional>
            <additional>
              <purpose value="preferred"/>
              <valueSet
                        value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1267.19"/>
              <documentation value="For clinical tests."/>
              <shortDoco value="Clinical Test"/>
            </additional>
          </binding>
        </element>
        <element id="Procedure.code.nullFlavor">
          <path value="Procedure.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://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
          </binding>
        </element>
        <element id="Procedure.code.code">
          <path value="Procedure.code.code"/>
          <representation value="xmlAttr"/>
          <label value="Code"/>
          <definition
                      value="The plain code symbol defined by the code system. For example, &quot;784.0&quot; is the code symbol of the ICD-9 code &quot;784.0&quot; for headache."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="CD.code"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="code"/>
            <profile
                     value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
          </type>
          <patternCode value="386373004"/>
        </element>
        <element id="Procedure.code.codeSystem">
          <path value="Procedure.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="Procedure.code.codeSystemName">
          <path value="Procedure.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="Procedure.code.codeSystemVersion">
          <path value="Procedure.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="Procedure.code.displayName">
          <path value="Procedure.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="Procedure.code.sdtcValueSet">
          <extension
                     url="http://hl7.org/fhir/tools/StructureDefinition/xml-namespace">
            <valueUri value="urn:hl7-org:sdtc"/>
          </extension>
          <extension
                     url="http://hl7.org/fhir/tools/StructureDefinition/xml-name">
            <valueString value="valueSet"/>
          </extension>
          <path value="Procedure.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="Procedure.code.sdtcValueSetVersion">
          <extension
                     url="http://hl7.org/fhir/tools/StructureDefinition/xml-namespace">
            <valueUri value="urn:hl7-org:sdtc"/>
          </extension>
          <extension
                     url="http://hl7.org/fhir/tools/StructureDefinition/xml-name">
            <valueString value="valueSetVersion"/>
          </extension>
          <path value="Procedure.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="Procedure.code.originalText">
          <path value="Procedure.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="Procedure.code.qualifier">
          <path value="Procedure.code.qualifier"/>
          <label value="Qualifier"/>
          <definition
                      value="Specifies additional codes that increase the specificity of the the primary code."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="CD.qualifier"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="http://hl7.org/cda/stds/core/StructureDefinition/CR"/>
          </type>
        </element>
        <element id="Procedure.code.translation">
          <path value="Procedure.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="Procedure.negationInd">
          <path value="Procedure.negationInd"/>
          <representation value="xmlAttr"/>
          <comment
                   value="If the order is to NOT perform the procedure, then negationInd will be true for the procedure.
    In FHIR this aligns with use of the doNotPerform element."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Procedure.negationInd"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="boolean"/>
            <profile
                     value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
          </type>
          <mustSupport value="true"/>
        </element>
        <element id="Procedure.text">
          <path value="Procedure.text"/>
          <short value="links to the rendering of the portable medical order"/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Procedure.text"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="http://hl7.org/cda/stds/core/StructureDefinition/ED"/>
          </type>
          <condition value="should-text-ref-value"/>
        </element>
        <element id="Procedure.text.nullFlavor">
          <path value="Procedure.text.nullFlavor"/>
          <representation value="xmlAttr"/>
          <label value="Exceptional Value Detail"/>
          <definition
                      value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="ANY.nullFlavor"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="code"/>
            <profile
                     value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
          </type>
          <binding>
            <strength value="required"/>
            <valueSet
                      value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
          </binding>
        </element>
        <element id="Procedure.text.compression">
          <path value="Procedure.text.compression"/>
          <representation value="xmlAttr"/>
          <label value="Compression"/>
          <definition
                      value="Indicates whether the raw byte data is compressed, and what compression algorithm was used."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="ED.compression"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="code"/>
            <profile
                     value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
          </type>
          <binding>
            <strength value="required"/>
            <valueSet
                      value="http://hl7.org/cda/stds/core/ValueSet/CDACompressionAlgorithm"/>
          </binding>
        </element>
        <element id="Procedure.text.integrityCheck">
          <path value="Procedure.text.integrityCheck"/>
          <representation value="xmlAttr"/>
          <label value="Integrity Check"/>
          <definition
                      value="The integrity check is a short binary value representing a cryptographically strong checksum that is calculated over the binary data. The purpose of this property, when communicated with a reference is for anyone to validate later whether the reference still resolved to the same data that the reference resolved to when the encapsulated data value with reference was created."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="ED.integrityCheck"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="base64Binary"/>
            <profile
                     value="http://hl7.org/cda/stds/core/StructureDefinition/bin"/>
          </type>
        </element>
        <element id="Procedure.text.integrityCheckAlgorithm">
          <path value="Procedure.text.integrityCheckAlgorithm"/>
          <representation value="xmlAttr"/>
          <label value="Integrity Check Algorithm"/>
          <definition
                      value="Specifies the algorithm used to compute the integrityCheck value. The cryptographically strong checksum algorithm Secure Hash Algorithm-1 (SHA-1) is currently the industry standard. It has superseded the MD5 algorithm only a couple of years ago, when certain flaws in the security of MD5 were discovered. Currently the SHA-1 hash algorithm is the default choice for the integrity check algorithm. Note that SHA-256 is also entering widespread usage."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="ED.integrityCheckAlgorithm"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="code"/>
            <profile
                     value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
          </type>
          <binding>
            <strength value="required"/>
            <valueSet
                      value="http://terminology.hl7.org/ValueSet/v3-IntegrityCheckAlgorithm|2.0.0"/>
          </binding>
        </element>
        <element id="Procedure.text.language">
          <path value="Procedure.text.language"/>
          <representation value="xmlAttr"/>
          <label value="Language"/>
          <definition
                      value="For character based information the language property specifies the human language of the text."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="ED.language"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="code"/>
            <profile
                     value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
          </type>
        </element>
        <element id="Procedure.text.mediaType">
          <path value="Procedure.text.mediaType"/>
          <representation value="xmlAttr"/>
          <label value="Media Type"/>
          <definition
                      value="Identifies the type of the encapsulated data and identifies a method to interpret or render the data."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="ED.mediaType"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="code"/>
            <profile
                     value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
          </type>
          <binding>
            <strength value="example"/>
            <valueSet
                      value="http://terminology.hl7.org/ValueSet/v3-MediaType|3.0.0"/>
          </binding>
        </element>
        <element id="Procedure.text.representation">
          <path value="Procedure.text.representation"/>
          <representation value="xmlAttr"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="ED.representation"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="code"/>
            <profile
                     value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
          </type>
          <binding>
            <strength value="required"/>
            <valueSet
                      value="http://hl7.org/cda/stds/core/ValueSet/BinaryDataEncoding"/>
          </binding>
        </element>
        <element id="Procedure.text.xmlText">
          <path value="Procedure.text.xmlText"/>
          <representation value="xmlText"/>
          <short
                 value="Allows for mixed text content. If @representation='B64', this SHALL be a base64binary string."/>
          <definition
                      value="Data that is primarily intended for human interpretation or for further machine processing is outside the scope of HL7. This includes unformatted or formatted written language, multimedia data, or structured information as defined by a different standard (e.g., XML-signatures.)"/>
          <comment
                   value="This element is represented in XML as textual content. The actual name &quot;xmlText&quot; will not appear in a CDA instance."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="ED.xmlText"/>
            <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="Procedure.text.reference">
          <path value="Procedure.text.reference"/>
          <label value="Reference"/>
          <definition
                      value="A telecommunication address (TEL), such as a URL for HTTP or FTP, which will resolve to precisely the same binary data that could as well have been provided as inline data."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="ED.reference"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="http://hl7.org/cda/stds/core/StructureDefinition/TEL"/>
          </type>
          <constraint>
            <key value="value-starts-octothorpe"/>
            <severity value="error"/>
            <human
                   value="If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative"/>
            <expression value="value.exists() implies value.startsWith('#')"/>
            <source
                    value="http://hl7.org/cda/us/ccda/StructureDefinition/PlannedProcedure"/>
          </constraint>
        </element>
        <element id="Procedure.text.thumbnail">
          <path value="Procedure.text.thumbnail"/>
          <label value="Thumbnail"/>
          <definition
                      value="An abbreviated rendition of the full data. A thumbnail requires significantly fewer resources than the full data, while still maintaining some distinctive similarity with the full data. A thumbnail is typically used with by-reference encapsulated data. It allows a user to select data more efficiently before actually downloading through the reference."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="ED.thumbnail"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="http://hl7.org/cda/stds/core/StructureDefinition/ED"/>
          </type>
          <constraint>
            <key value="ED-1"/>
            <severity value="error"/>
            <human value="Thumbnails cannot contain their own thumbnails"/>
            <expression value="thumbnail.empty()"/>
            <source
                    value="http://hl7.org/cda/stds/core/StructureDefinition/Procedure"/>
          </constraint>
        </element>
        <element id="Procedure.statusCode">
          <path value="Procedure.statusCode"/>
          <comment
                   value="SHALL contain exactly one [1..1] statusCode (CONF:4515-30446)."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="Procedure.statusCode"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
          </type>
          <binding>
            <strength value="required"/>
            <valueSet
                      value="http://terminology.hl7.org/ValueSet/v3-ActStatus|3.0.0"/>
          </binding>
        </element>
        <element id="Procedure.statusCode.nullFlavor">
          <path value="Procedure.statusCode.nullFlavor"/>
          <representation value="xmlAttr"/>
          <label value="Exceptional Value Detail"/>
          <definition
                      value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="ANY.nullFlavor"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="code"/>
            <profile
                     value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
          </type>
          <binding>
            <strength value="required"/>
            <valueSet
                      value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
          </binding>
        </element>
        <element id="Procedure.statusCode.code">
          <path value="Procedure.statusCode.code"/>
          <representation value="xmlAttr"/>
          <label value="Code"/>
          <definition
                      value="The plain code symbol defined by the code system. For example, &quot;784.0&quot; is the code symbol of the ICD-9 code &quot;784.0&quot; for headache."/>
          <comment
                   value="This statusCode SHALL contain exactly one [1..1] @code=&quot;active&quot; Active (CodeSystem: HL7ActStatus urn:oid:2.16.840.1.113883.5.14) (CONF:4515-31978)."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="CD.code"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="code"/>
            <profile
                     value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
          </type>
          <fixedCode value="active"/>
        </element>
        <element id="Procedure.statusCode.codeSystem">
          <path value="Procedure.statusCode.codeSystem"/>
          <representation value="xmlAttr"/>
          <label value="Code System"/>
          <definition value="Specifies the code system that defines the code."/>
          <min value="0"/>
          <max value="0"/>
          <base>
            <path value="CD.codeSystem"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
            <profile
                     value="http://hl7.org/cda/stds/core/StructureDefinition/oid"/>
            <profile
                     value="http://hl7.org/cda/stds/core/StructureDefinition/uuid"/>
            <profile
                     value="http://hl7.org/cda/stds/core/StructureDefinition/ruid"/>
          </type>
        </element>
        <element id="Procedure.statusCode.codeSystemName">
          <path value="Procedure.statusCode.codeSystemName"/>
          <representation value="xmlAttr"/>
          <label value="Code System Name"/>
          <definition value="The common name of the coding system."/>
          <min value="0"/>
          <max value="0"/>
          <base>
            <path value="CD.codeSystemName"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
            <profile
                     value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
          </type>
        </element>
        <element id="Procedure.statusCode.codeSystemVersion">
          <path value="Procedure.statusCode.codeSystemVersion"/>
          <representation value="xmlAttr"/>
          <label value="Code System Version"/>
          <definition
                      value="If applicable, a version descriptor defined specifically for the given code system."/>
          <min value="0"/>
          <max value="0"/>
          <base>
            <path value="CD.codeSystemVersion"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
            <profile
                     value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
          </type>
        </element>
        <element id="Procedure.statusCode.displayName">
          <path value="Procedure.statusCode.displayName"/>
          <representation value="xmlAttr"/>
          <label value="Display Name"/>
          <definition
                      value="A name or title for the code, under which the sending system shows the code value to its users."/>
          <min value="0"/>
          <max value="0"/>
          <base>
            <path value="CD.displayName"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
            <profile
                     value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
          </type>
        </element>
        <element id="Procedure.statusCode.sdtcValueSet">
          <extension
                     url="http://hl7.org/fhir/tools/StructureDefinition/xml-namespace">
            <valueUri value="urn:hl7-org:sdtc"/>
          </extension>
          <extension
                     url="http://hl7.org/fhir/tools/StructureDefinition/xml-name">
            <valueString value="valueSet"/>
          </extension>
          <path value="Procedure.statusCode.sdtcValueSet"/>
          <representation value="xmlAttr"/>
          <definition
                      value="The valueSet extension adds an attribute for elements with a CD dataType which indicates the particular value set constraining the coded concept."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="CD.valueSet"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
            <profile
                     value="http://hl7.org/cda/stds/core/StructureDefinition/oid"/>
          </type>
        </element>
        <element id="Procedure.statusCode.sdtcValueSetVersion">
          <extension
                     url="http://hl7.org/fhir/tools/StructureDefinition/xml-namespace">
            <valueUri value="urn:hl7-org:sdtc"/>
          </extension>
          <extension
                     url="http://hl7.org/fhir/tools/StructureDefinition/xml-name">
            <valueString value="valueSetVersion"/>
          </extension>
          <path value="Procedure.statusCode.sdtcValueSetVersion"/>
          <representation value="xmlAttr"/>
          <definition
                      value="The valueSetVersion extension adds an attribute for elements with a CD dataType which indicates the version of the particular value set constraining the coded concept."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="CD.sdtcValueSetVersion"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
            <profile
                     value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
          </type>
        </element>
        <element id="Procedure.statusCode.originalText">
          <path value="Procedure.statusCode.originalText"/>
          <label value="Original Text"/>
          <definition
                      value="The text or phrase used as the basis for the coding."/>
          <min value="0"/>
          <max value="0"/>
          <base>
            <path value="CD.originalText"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="http://hl7.org/cda/stds/core/StructureDefinition/ED"/>
          </type>
        </element>
        <element id="Procedure.statusCode.qualifier">
          <path value="Procedure.statusCode.qualifier"/>
          <label value="Qualifier"/>
          <definition
                      value="Specifies additional codes that increase the specificity of the the primary code."/>
          <min value="0"/>
          <max value="0"/>
          <base>
            <path value="CD.qualifier"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="http://hl7.org/cda/stds/core/StructureDefinition/CR"/>
          </type>
        </element>
        <element id="Procedure.statusCode.translation">
          <path value="Procedure.statusCode.translation"/>
          <representation value="typeAttr"/>
          <label value="Translation"/>
          <definition
                      value="A set of other concept descriptors that translate this concept descriptor into other code systems."/>
          <min value="0"/>
          <max value="0"/>
          <base>
            <path value="CD.translation"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="http://hl7.org/cda/stds/core/StructureDefinition/CD"/>
          </type>
        </element>
        <element id="Procedure.effectiveTime">
          <path value="Procedure.effectiveTime"/>
          <short
                 value="Represents the trial period duration, if a trial period is specified."/>
          <comment
                   value="SHOULD contain zero or one [0..1] effectiveTime (CONF:4515-30447)."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Procedure.effectiveTime"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS"/>
          </type>
          <condition value="should-effectiveTime"/>
        </element>
        <element id="Procedure.priorityCode">
          <path value="Procedure.priorityCode"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Procedure.priorityCode"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
          </type>
          <binding>
            <strength value="example"/>
            <valueSet
                      value="http://terminology.hl7.org/ValueSet/v3-ActPriority|3.0.0"/>
          </binding>
        </element>
        <element id="Procedure.languageCode">
          <path value="Procedure.languageCode"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Procedure.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://hl7.org/fhir/ValueSet/all-languages"/>
          </binding>
        </element>
        <element id="Procedure.methodCode">
          <path value="Procedure.methodCode"/>
          <short
                 value="In a planned procedure the provider may suggest that a procedure should be performed using a particular method. MethodCode *SHALL NOT* conflict with the method inherent in Procedure/code."/>
          <definition value="Drawn from concept domain ProcedureMethod"/>
          <comment
                   value="MAY contain zero or more [0..*] methodCode (CONF:4515-31980)."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Procedure.methodCode"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
          </type>
        </element>
        <element id="Procedure.approachSiteCode">
          <path value="Procedure.approachSiteCode"/>
          <definition value="Drawn from concept domain ActSite"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Procedure.approachSiteCode"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="http://hl7.org/cda/stds/core/StructureDefinition/CD"/>
          </type>
        </element>
        <element id="Procedure.targetSiteCode">
          <path value="Procedure.targetSiteCode"/>
          <short
                 value="The targetSiteCode is used to identify the part of the body of concern for the planned procedure."/>
          <definition value="Drawn from concept domain ActSite"/>
          <comment
                   value="MAY contain zero or more [0..*] targetSiteCode, which SHALL be selected from ValueSet Body Site Value Set urn:oid:2.16.840.1.113883.3.88.12.3221.8.9 DYNAMIC (CONF:4515-31981)."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Procedure.targetSiteCode"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="http://hl7.org/cda/stds/core/StructureDefinition/CD"/>
          </type>
          <binding>
            <strength value="required"/>
            <valueSet
                      value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.3221.8.9"/>
          </binding>
        </element>
        <element id="Procedure.subject">
          <path value="Procedure.subject"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Procedure.subject"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/Subject"/>
          </type>
        </element>
        <element id="Procedure.specimen">
          <path value="Procedure.specimen"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Procedure.specimen"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/Specimen"/>
          </type>
        </element>
        <element id="Procedure.performer">
          <path value="Procedure.performer"/>
          <short
                 value="The clinician who is expected to perform the procedure could be identified using procedure/performer."/>
          <comment
                   value="MAY contain zero or more [0..*] performer (CONF:4515-30449)."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Procedure.performer"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/Performer2"/>
          </type>
        </element>
        <element id="Procedure.author">
          <path value="Procedure.author"/>
          <short
                 value="The author in a planned procedure represents the clinician who is requesting or planning the procedure."/>
          <comment
                   value="SHOULD contain zero or one [0..1] Author Participation (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.119) (CONF:4515-31979)."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Procedure.author"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/Author"/>
            <profile
                     value="http://hl7.org/cda/us/ccda/StructureDefinition/AuthorParticipation"/>
          </type>
          <condition value="should-author"/>
        </element>
        <element id="Procedure.informant">
          <path value="Procedure.informant"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Procedure.informant"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/Informant"/>
          </type>
        </element>
        <element id="Procedure.participant">
          <path value="Procedure.participant"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Procedure.participant"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/Participant2"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship">
          <path value="Procedure.entryRelationship"/>
          <slicing>
            <discriminator>
              <type value="profile"/>
              <path value="act"/>
            </discriminator>
            <discriminator>
              <type value="profile"/>
              <path value="observation"/>
            </discriminator>
            <rules value="open"/>
          </slicing>
          <comment
                   value="MAY contain zero or more [0..*] entryRelationship (CONF:4515-32996) such that it"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Procedure.entryRelationship"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:priorityPreference">
          <path value="Procedure.entryRelationship"/>
          <sliceName value="priorityPreference"/>
          <short
                 value="The following entryRelationship represents the priority that a patient or a provider places on the procedure."/>
          <comment
                   value="MAY contain zero or more [0..*] entryRelationship (CONF:4515-31079) such that it"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Procedure.entryRelationship"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:priorityPreference.nullFlavor">
          <path value="Procedure.entryRelationship.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://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
          </binding>
        </element>
        <element id="Procedure.entryRelationship:priorityPreference.realmCode">
          <path value="Procedure.entryRelationship.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="Procedure.entryRelationship:priorityPreference.typeId">
          <path value="Procedure.entryRelationship.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>
          <constraint>
            <key value="II-1"/>
            <severity value="error"/>
            <human
                   value="An II instance must have either a root or an nullFlavor."/>
            <expression value="root.exists() or nullFlavor.exists()"/>
            <source
                    value="http://hl7.org/cda/stds/core/StructureDefinition/InfrastructureRoot"/>
          </constraint>
        </element>
        <element
                 id="Procedure.entryRelationship:priorityPreference.typeId.nullFlavor">
          <path value="Procedure.entryRelationship.typeId.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://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
          </binding>
        </element>
        <element
                 id="Procedure.entryRelationship:priorityPreference.typeId.assigningAuthorityName">
          <path
                value="Procedure.entryRelationship.typeId.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="Procedure.entryRelationship:priorityPreference.typeId.displayable">
          <path value="Procedure.entryRelationship.typeId.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="Procedure.entryRelationship:priorityPreference.typeId.root">
          <path value="Procedure.entryRelationship.typeId.root"/>
          <representation value="xmlAttr"/>
          <label value="Root"/>
          <definition value="Identifies the type as an HL7 Registered model"/>
          <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>
          <fixedString value="2.16.840.1.113883.1.3"/>
        </element>
        <element
                 id="Procedure.entryRelationship:priorityPreference.typeId.extension">
          <path value="Procedure.entryRelationship.typeId.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="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>
        </element>
        <element id="Procedure.entryRelationship:priorityPreference.templateId">
          <path value="Procedure.entryRelationship.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="Procedure.entryRelationship:priorityPreference.typeCode">
          <path value="Procedure.entryRelationship.typeCode"/>
          <representation value="xmlAttr"/>
          <comment
                   value="SHALL contain exactly one [1..1] @typeCode=&quot;REFR&quot; Refers to (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:4515-31080)."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.typeCode"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="code"/>
            <profile
                     value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
          </type>
          <fixedCode value="REFR"/>
          <binding>
            <strength value="required"/>
            <valueSet
                      value="http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship|3.0.0"/>
          </binding>
        </element>
        <element
                 id="Procedure.entryRelationship:priorityPreference.inversionInd">
          <path value="Procedure.entryRelationship.inversionInd"/>
          <representation value="xmlAttr"/>
          <definition
                      value="The entryRelationship.inversionInd can be set to &quot;true&quot; to indicate that the relationship should be interpreted as if the roles of the source and target entries were reversed."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.inversionInd"/>
            <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="Procedure.entryRelationship:priorityPreference.contextConductionInd">
          <path value="Procedure.entryRelationship.contextConductionInd"/>
          <representation value="xmlAttr"/>
          <definition
                      value="The entryRelationship.contextConductionInd differs from the otherwise common use of this attribute in that in all other cases where this attribute is used, the value is fixed at &quot;true&quot;, whereas here the value is defaulted to &quot;true&quot;, and can be changed to &quot;false&quot; when referencing an entry in the same document. Setting the context conduction to false when referencing an entry in the same document keeps clear the fact that the referenced object retains its original context."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.contextConductionInd"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="boolean"/>
            <profile
                     value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
          </type>
          <defaultValueBoolean value="true"/>
        </element>
        <element id="Procedure.entryRelationship:priorityPreference.negationInd">
          <path value="Procedure.entryRelationship.negationInd"/>
          <representation value="xmlAttr"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.negationInd"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="boolean"/>
            <profile
                     value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
          </type>
        </element>
        <element
                 id="Procedure.entryRelationship:priorityPreference.sequenceNumber">
          <path value="Procedure.entryRelationship.sequenceNumber"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.sequenceNumber"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="http://hl7.org/cda/stds/core/StructureDefinition/INT"/>
          </type>
        </element>
        <element
                 id="Procedure.entryRelationship:priorityPreference.seperatableInd">
          <path value="Procedure.entryRelationship.seperatableInd"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.seperatableInd"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="http://hl7.org/cda/stds/core/StructureDefinition/BL"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:priorityPreference.act">
          <path value="Procedure.entryRelationship.act"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.act"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="http://hl7.org/cda/stds/core/StructureDefinition/Act"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:priorityPreference.encounter">
          <path value="Procedure.entryRelationship.encounter"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.encounter"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/Encounter"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:priorityPreference.observation">
          <path value="Procedure.entryRelationship.observation"/>
          <comment
                   value="SHALL contain exactly one [1..1] Priority Preference (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.143) (CONF:4515-31081)."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.observation"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/Observation"/>
            <profile
                     value="http://hl7.org/cda/us/ccda/StructureDefinition/PriorityPreference"/>
          </type>
        </element>
        <element
                 id="Procedure.entryRelationship:priorityPreference.observationMedia">
          <path value="Procedure.entryRelationship.observationMedia"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.observationMedia"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/ObservationMedia"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:priorityPreference.organizer">
          <path value="Procedure.entryRelationship.organizer"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.organizer"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/Organizer"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:priorityPreference.procedure">
          <path value="Procedure.entryRelationship.procedure"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.procedure"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/Procedure"/>
          </type>
        </element>
        <element
                 id="Procedure.entryRelationship:priorityPreference.regionOfInterest">
          <path value="Procedure.entryRelationship.regionOfInterest"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.regionOfInterest"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/RegionOfInterest"/>
          </type>
        </element>
        <element
                 id="Procedure.entryRelationship:priorityPreference.substanceAdministration">
          <path value="Procedure.entryRelationship.substanceAdministration"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.substanceAdministration"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:priorityPreference.supply">
          <path value="Procedure.entryRelationship.supply"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.supply"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/Supply"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:indication">
          <path value="Procedure.entryRelationship"/>
          <sliceName value="indication"/>
          <short
                 value="The following entryRelationship represents the indication for the procedure."/>
          <comment
                   value="MAY contain zero or more [0..*] entryRelationship (CONF:4515-31982) such that it"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Procedure.entryRelationship"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:indication.nullFlavor">
          <path value="Procedure.entryRelationship.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://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
          </binding>
        </element>
        <element id="Procedure.entryRelationship:indication.realmCode">
          <path value="Procedure.entryRelationship.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="Procedure.entryRelationship:indication.typeId">
          <path value="Procedure.entryRelationship.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>
          <constraint>
            <key value="II-1"/>
            <severity value="error"/>
            <human
                   value="An II instance must have either a root or an nullFlavor."/>
            <expression value="root.exists() or nullFlavor.exists()"/>
            <source
                    value="http://hl7.org/cda/stds/core/StructureDefinition/InfrastructureRoot"/>
          </constraint>
        </element>
        <element id="Procedure.entryRelationship:indication.typeId.nullFlavor">
          <path value="Procedure.entryRelationship.typeId.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://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
          </binding>
        </element>
        <element
                 id="Procedure.entryRelationship:indication.typeId.assigningAuthorityName">
          <path
                value="Procedure.entryRelationship.typeId.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="Procedure.entryRelationship:indication.typeId.displayable">
          <path value="Procedure.entryRelationship.typeId.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="Procedure.entryRelationship:indication.typeId.root">
          <path value="Procedure.entryRelationship.typeId.root"/>
          <representation value="xmlAttr"/>
          <label value="Root"/>
          <definition value="Identifies the type as an HL7 Registered model"/>
          <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>
          <fixedString value="2.16.840.1.113883.1.3"/>
        </element>
        <element id="Procedure.entryRelationship:indication.typeId.extension">
          <path value="Procedure.entryRelationship.typeId.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="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>
        </element>
        <element id="Procedure.entryRelationship:indication.templateId">
          <path value="Procedure.entryRelationship.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="Procedure.entryRelationship:indication.typeCode">
          <path value="Procedure.entryRelationship.typeCode"/>
          <representation value="xmlAttr"/>
          <comment
                   value="SHALL contain exactly one [1..1] @typeCode=&quot;RSON&quot; Has Reason (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:4515-31983)."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.typeCode"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="code"/>
            <profile
                     value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
          </type>
          <fixedCode value="RSON"/>
          <binding>
            <strength value="required"/>
            <valueSet
                      value="http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship|3.0.0"/>
          </binding>
        </element>
        <element id="Procedure.entryRelationship:indication.inversionInd">
          <path value="Procedure.entryRelationship.inversionInd"/>
          <representation value="xmlAttr"/>
          <definition
                      value="The entryRelationship.inversionInd can be set to &quot;true&quot; to indicate that the relationship should be interpreted as if the roles of the source and target entries were reversed."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.inversionInd"/>
            <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="Procedure.entryRelationship:indication.contextConductionInd">
          <path value="Procedure.entryRelationship.contextConductionInd"/>
          <representation value="xmlAttr"/>
          <definition
                      value="The entryRelationship.contextConductionInd differs from the otherwise common use of this attribute in that in all other cases where this attribute is used, the value is fixed at &quot;true&quot;, whereas here the value is defaulted to &quot;true&quot;, and can be changed to &quot;false&quot; when referencing an entry in the same document. Setting the context conduction to false when referencing an entry in the same document keeps clear the fact that the referenced object retains its original context."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.contextConductionInd"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="boolean"/>
            <profile
                     value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
          </type>
          <defaultValueBoolean value="true"/>
        </element>
        <element id="Procedure.entryRelationship:indication.negationInd">
          <path value="Procedure.entryRelationship.negationInd"/>
          <representation value="xmlAttr"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.negationInd"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="boolean"/>
            <profile
                     value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:indication.sequenceNumber">
          <path value="Procedure.entryRelationship.sequenceNumber"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.sequenceNumber"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="http://hl7.org/cda/stds/core/StructureDefinition/INT"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:indication.seperatableInd">
          <path value="Procedure.entryRelationship.seperatableInd"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.seperatableInd"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="http://hl7.org/cda/stds/core/StructureDefinition/BL"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:indication.act">
          <path value="Procedure.entryRelationship.act"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.act"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="http://hl7.org/cda/stds/core/StructureDefinition/Act"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:indication.encounter">
          <path value="Procedure.entryRelationship.encounter"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.encounter"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/Encounter"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:indication.observation">
          <path value="Procedure.entryRelationship.observation"/>
          <comment
                   value="SHALL contain exactly one [1..1] Indication (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.19:2014-06-09) (CONF:4515-31984)."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.observation"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/Observation"/>
            <profile
                     value="http://hl7.org/cda/us/ccda/StructureDefinition/Indication"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:indication.observationMedia">
          <path value="Procedure.entryRelationship.observationMedia"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.observationMedia"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/ObservationMedia"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:indication.organizer">
          <path value="Procedure.entryRelationship.organizer"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.organizer"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/Organizer"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:indication.procedure">
          <path value="Procedure.entryRelationship.procedure"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.procedure"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/Procedure"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:indication.regionOfInterest">
          <path value="Procedure.entryRelationship.regionOfInterest"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.regionOfInterest"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/RegionOfInterest"/>
          </type>
        </element>
        <element
                 id="Procedure.entryRelationship:indication.substanceAdministration">
          <path value="Procedure.entryRelationship.substanceAdministration"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.substanceAdministration"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:indication.supply">
          <path value="Procedure.entryRelationship.supply"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.supply"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/Supply"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:instruction">
          <path value="Procedure.entryRelationship"/>
          <sliceName value="instruction"/>
          <short
                 value="The following entryRelationship captures any instructions associated with the planned procedure."/>
          <comment
                   value="MAY contain zero or more [0..*] entryRelationship (CONF:4515-31985) such that it"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Procedure.entryRelationship"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:instruction.nullFlavor">
          <path value="Procedure.entryRelationship.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://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
          </binding>
        </element>
        <element id="Procedure.entryRelationship:instruction.realmCode">
          <path value="Procedure.entryRelationship.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="Procedure.entryRelationship:instruction.typeId">
          <path value="Procedure.entryRelationship.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>
          <constraint>
            <key value="II-1"/>
            <severity value="error"/>
            <human
                   value="An II instance must have either a root or an nullFlavor."/>
            <expression value="root.exists() or nullFlavor.exists()"/>
            <source
                    value="http://hl7.org/cda/stds/core/StructureDefinition/InfrastructureRoot"/>
          </constraint>
        </element>
        <element id="Procedure.entryRelationship:instruction.typeId.nullFlavor">
          <path value="Procedure.entryRelationship.typeId.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://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
          </binding>
        </element>
        <element
                 id="Procedure.entryRelationship:instruction.typeId.assigningAuthorityName">
          <path
                value="Procedure.entryRelationship.typeId.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="Procedure.entryRelationship:instruction.typeId.displayable">
          <path value="Procedure.entryRelationship.typeId.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="Procedure.entryRelationship:instruction.typeId.root">
          <path value="Procedure.entryRelationship.typeId.root"/>
          <representation value="xmlAttr"/>
          <label value="Root"/>
          <definition value="Identifies the type as an HL7 Registered model"/>
          <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>
          <fixedString value="2.16.840.1.113883.1.3"/>
        </element>
        <element id="Procedure.entryRelationship:instruction.typeId.extension">
          <path value="Procedure.entryRelationship.typeId.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="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>
        </element>
        <element id="Procedure.entryRelationship:instruction.templateId">
          <path value="Procedure.entryRelationship.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="Procedure.entryRelationship:instruction.typeCode">
          <path value="Procedure.entryRelationship.typeCode"/>
          <representation value="xmlAttr"/>
          <comment
                   value="SHALL contain exactly one [1..1] @typeCode=&quot;SUBJ&quot; Has Subject (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:4515-31986)."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.typeCode"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="code"/>
            <profile
                     value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
          </type>
          <fixedCode value="SUBJ"/>
          <binding>
            <strength value="required"/>
            <valueSet
                      value="http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship|3.0.0"/>
          </binding>
        </element>
        <element id="Procedure.entryRelationship:instruction.inversionInd">
          <path value="Procedure.entryRelationship.inversionInd"/>
          <representation value="xmlAttr"/>
          <definition
                      value="The entryRelationship.inversionInd can be set to &quot;true&quot; to indicate that the relationship should be interpreted as if the roles of the source and target entries were reversed."/>
          <comment
                   value="SHALL contain exactly one [1..1] @inversionInd=&quot;true&quot; True (CONF:4515-31987)."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.inversionInd"/>
            <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="Procedure.entryRelationship:instruction.contextConductionInd">
          <path value="Procedure.entryRelationship.contextConductionInd"/>
          <representation value="xmlAttr"/>
          <definition
                      value="The entryRelationship.contextConductionInd differs from the otherwise common use of this attribute in that in all other cases where this attribute is used, the value is fixed at &quot;true&quot;, whereas here the value is defaulted to &quot;true&quot;, and can be changed to &quot;false&quot; when referencing an entry in the same document. Setting the context conduction to false when referencing an entry in the same document keeps clear the fact that the referenced object retains its original context."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.contextConductionInd"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="boolean"/>
            <profile
                     value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
          </type>
          <defaultValueBoolean value="true"/>
        </element>
        <element id="Procedure.entryRelationship:instruction.negationInd">
          <path value="Procedure.entryRelationship.negationInd"/>
          <representation value="xmlAttr"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.negationInd"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="boolean"/>
            <profile
                     value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:instruction.sequenceNumber">
          <path value="Procedure.entryRelationship.sequenceNumber"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.sequenceNumber"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="http://hl7.org/cda/stds/core/StructureDefinition/INT"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:instruction.seperatableInd">
          <path value="Procedure.entryRelationship.seperatableInd"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.seperatableInd"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="http://hl7.org/cda/stds/core/StructureDefinition/BL"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:instruction.act">
          <path value="Procedure.entryRelationship.act"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.act"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="http://hl7.org/cda/stds/core/StructureDefinition/Act"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:instruction.encounter">
          <path value="Procedure.entryRelationship.encounter"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.encounter"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/Encounter"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:instruction.observation">
          <path value="Procedure.entryRelationship.observation"/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.observation"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/Observation"/>
            <profile
                     value="http://hl7.org/cda/us/ccda/StructureDefinition/InstructionObservation"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:instruction.observationMedia">
          <path value="Procedure.entryRelationship.observationMedia"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.observationMedia"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/ObservationMedia"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:instruction.organizer">
          <path value="Procedure.entryRelationship.organizer"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.organizer"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/Organizer"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:instruction.procedure">
          <path value="Procedure.entryRelationship.procedure"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.procedure"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/Procedure"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:instruction.regionOfInterest">
          <path value="Procedure.entryRelationship.regionOfInterest"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.regionOfInterest"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/RegionOfInterest"/>
          </type>
        </element>
        <element
                 id="Procedure.entryRelationship:instruction.substanceAdministration">
          <path value="Procedure.entryRelationship.substanceAdministration"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.substanceAdministration"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:instruction.supply">
          <path value="Procedure.entryRelationship.supply"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.supply"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/Supply"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:coverage">
          <path value="Procedure.entryRelationship"/>
          <sliceName value="coverage"/>
          <short
                 value="The following entryRelationship represents the insurance coverage the patient may have for the procedure."/>
          <comment
                   value="MAY contain zero or more [0..*] entryRelationship (CONF:4515-31990) such that it"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Procedure.entryRelationship"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:coverage.nullFlavor">
          <path value="Procedure.entryRelationship.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://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
          </binding>
        </element>
        <element id="Procedure.entryRelationship:coverage.realmCode">
          <path value="Procedure.entryRelationship.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="Procedure.entryRelationship:coverage.typeId">
          <path value="Procedure.entryRelationship.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>
          <constraint>
            <key value="II-1"/>
            <severity value="error"/>
            <human
                   value="An II instance must have either a root or an nullFlavor."/>
            <expression value="root.exists() or nullFlavor.exists()"/>
            <source
                    value="http://hl7.org/cda/stds/core/StructureDefinition/InfrastructureRoot"/>
          </constraint>
        </element>
        <element id="Procedure.entryRelationship:coverage.typeId.nullFlavor">
          <path value="Procedure.entryRelationship.typeId.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://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
          </binding>
        </element>
        <element
                 id="Procedure.entryRelationship:coverage.typeId.assigningAuthorityName">
          <path
                value="Procedure.entryRelationship.typeId.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="Procedure.entryRelationship:coverage.typeId.displayable">
          <path value="Procedure.entryRelationship.typeId.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="Procedure.entryRelationship:coverage.typeId.root">
          <path value="Procedure.entryRelationship.typeId.root"/>
          <representation value="xmlAttr"/>
          <label value="Root"/>
          <definition value="Identifies the type as an HL7 Registered model"/>
          <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>
          <fixedString value="2.16.840.1.113883.1.3"/>
        </element>
        <element id="Procedure.entryRelationship:coverage.typeId.extension">
          <path value="Procedure.entryRelationship.typeId.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="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>
        </element>
        <element id="Procedure.entryRelationship:coverage.templateId">
          <path value="Procedure.entryRelationship.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="Procedure.entryRelationship:coverage.typeCode">
          <path value="Procedure.entryRelationship.typeCode"/>
          <representation value="xmlAttr"/>
          <comment
                   value="SHALL contain exactly one [1..1] @typeCode=&quot;COMP&quot; Has component (CONF:4515-31991)."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.typeCode"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="code"/>
            <profile
                     value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
          </type>
          <fixedCode value="COMP"/>
          <binding>
            <strength value="required"/>
            <valueSet
                      value="http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship|3.0.0"/>
          </binding>
        </element>
        <element id="Procedure.entryRelationship:coverage.inversionInd">
          <path value="Procedure.entryRelationship.inversionInd"/>
          <representation value="xmlAttr"/>
          <definition
                      value="The entryRelationship.inversionInd can be set to &quot;true&quot; to indicate that the relationship should be interpreted as if the roles of the source and target entries were reversed."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.inversionInd"/>
            <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="Procedure.entryRelationship:coverage.contextConductionInd">
          <path value="Procedure.entryRelationship.contextConductionInd"/>
          <representation value="xmlAttr"/>
          <definition
                      value="The entryRelationship.contextConductionInd differs from the otherwise common use of this attribute in that in all other cases where this attribute is used, the value is fixed at &quot;true&quot;, whereas here the value is defaulted to &quot;true&quot;, and can be changed to &quot;false&quot; when referencing an entry in the same document. Setting the context conduction to false when referencing an entry in the same document keeps clear the fact that the referenced object retains its original context."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.contextConductionInd"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="boolean"/>
            <profile
                     value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
          </type>
          <defaultValueBoolean value="true"/>
        </element>
        <element id="Procedure.entryRelationship:coverage.negationInd">
          <path value="Procedure.entryRelationship.negationInd"/>
          <representation value="xmlAttr"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.negationInd"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="boolean"/>
            <profile
                     value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:coverage.sequenceNumber">
          <path value="Procedure.entryRelationship.sequenceNumber"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.sequenceNumber"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="http://hl7.org/cda/stds/core/StructureDefinition/INT"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:coverage.seperatableInd">
          <path value="Procedure.entryRelationship.seperatableInd"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.seperatableInd"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="http://hl7.org/cda/stds/core/StructureDefinition/BL"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:coverage.act">
          <path value="Procedure.entryRelationship.act"/>
          <comment
                   value="SHALL contain exactly one [1..1] Planned Coverage (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.129) (CONF:4515-31992)."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.act"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="http://hl7.org/cda/stds/core/StructureDefinition/Act"/>
            <profile
                     value="http://hl7.org/cda/us/ccda/StructureDefinition/PlannedCoverage"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:coverage.encounter">
          <path value="Procedure.entryRelationship.encounter"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.encounter"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/Encounter"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:coverage.observation">
          <path value="Procedure.entryRelationship.observation"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.observation"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/Observation"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:coverage.observationMedia">
          <path value="Procedure.entryRelationship.observationMedia"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.observationMedia"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/ObservationMedia"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:coverage.organizer">
          <path value="Procedure.entryRelationship.organizer"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.organizer"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/Organizer"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:coverage.procedure">
          <path value="Procedure.entryRelationship.procedure"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.procedure"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/Procedure"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:coverage.regionOfInterest">
          <path value="Procedure.entryRelationship.regionOfInterest"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.regionOfInterest"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/RegionOfInterest"/>
          </type>
        </element>
        <element
                 id="Procedure.entryRelationship:coverage.substanceAdministration">
          <path value="Procedure.entryRelationship.substanceAdministration"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.substanceAdministration"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:coverage.supply">
          <path value="Procedure.entryRelationship.supply"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.supply"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/Supply"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:assessmentScale">
          <path value="Procedure.entryRelationship"/>
          <sliceName value="assessmentScale"/>
          <short
                 value="When an Assessment Scale Observation is contained in a Procedure Template instance that is a Social Determinant of Health procedure, that Assessment scale **MAY** contain Assessment Scale observations that represent LOINC question and answer pairs from SDOH screening instruments."/>
          <comment
                   value="MAY contain zero or more [0..*] entryRelationship (CONF:4515-32994) such that it"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Procedure.entryRelationship"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:assessmentScale.nullFlavor">
          <path value="Procedure.entryRelationship.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://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
          </binding>
        </element>
        <element id="Procedure.entryRelationship:assessmentScale.realmCode">
          <path value="Procedure.entryRelationship.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="Procedure.entryRelationship:assessmentScale.typeId">
          <path value="Procedure.entryRelationship.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>
          <constraint>
            <key value="II-1"/>
            <severity value="error"/>
            <human
                   value="An II instance must have either a root or an nullFlavor."/>
            <expression value="root.exists() or nullFlavor.exists()"/>
            <source
                    value="http://hl7.org/cda/stds/core/StructureDefinition/InfrastructureRoot"/>
          </constraint>
        </element>
        <element
                 id="Procedure.entryRelationship:assessmentScale.typeId.nullFlavor">
          <path value="Procedure.entryRelationship.typeId.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://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
          </binding>
        </element>
        <element
                 id="Procedure.entryRelationship:assessmentScale.typeId.assigningAuthorityName">
          <path
                value="Procedure.entryRelationship.typeId.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="Procedure.entryRelationship:assessmentScale.typeId.displayable">
          <path value="Procedure.entryRelationship.typeId.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="Procedure.entryRelationship:assessmentScale.typeId.root">
          <path value="Procedure.entryRelationship.typeId.root"/>
          <representation value="xmlAttr"/>
          <label value="Root"/>
          <definition value="Identifies the type as an HL7 Registered model"/>
          <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>
          <fixedString value="2.16.840.1.113883.1.3"/>
        </element>
        <element
                 id="Procedure.entryRelationship:assessmentScale.typeId.extension">
          <path value="Procedure.entryRelationship.typeId.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="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>
        </element>
        <element id="Procedure.entryRelationship:assessmentScale.templateId">
          <path value="Procedure.entryRelationship.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="Procedure.entryRelationship:assessmentScale.typeCode">
          <path value="Procedure.entryRelationship.typeCode"/>
          <representation value="xmlAttr"/>
          <comment
                   value="SHALL contain exactly one [1..1] @typeCode=&quot;RSON&quot; Has reason (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:4515-32998)."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.typeCode"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="code"/>
            <profile
                     value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
          </type>
          <fixedCode value="RSON"/>
          <binding>
            <strength value="required"/>
            <valueSet
                      value="http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship|3.0.0"/>
          </binding>
        </element>
        <element id="Procedure.entryRelationship:assessmentScale.inversionInd">
          <path value="Procedure.entryRelationship.inversionInd"/>
          <representation value="xmlAttr"/>
          <definition
                      value="The entryRelationship.inversionInd can be set to &quot;true&quot; to indicate that the relationship should be interpreted as if the roles of the source and target entries were reversed."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.inversionInd"/>
            <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="Procedure.entryRelationship:assessmentScale.contextConductionInd">
          <path value="Procedure.entryRelationship.contextConductionInd"/>
          <representation value="xmlAttr"/>
          <definition
                      value="The entryRelationship.contextConductionInd differs from the otherwise common use of this attribute in that in all other cases where this attribute is used, the value is fixed at &quot;true&quot;, whereas here the value is defaulted to &quot;true&quot;, and can be changed to &quot;false&quot; when referencing an entry in the same document. Setting the context conduction to false when referencing an entry in the same document keeps clear the fact that the referenced object retains its original context."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.contextConductionInd"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="boolean"/>
            <profile
                     value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
          </type>
          <defaultValueBoolean value="true"/>
        </element>
        <element id="Procedure.entryRelationship:assessmentScale.negationInd">
          <path value="Procedure.entryRelationship.negationInd"/>
          <representation value="xmlAttr"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.negationInd"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="boolean"/>
            <profile
                     value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:assessmentScale.sequenceNumber">
          <path value="Procedure.entryRelationship.sequenceNumber"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.sequenceNumber"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="http://hl7.org/cda/stds/core/StructureDefinition/INT"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:assessmentScale.seperatableInd">
          <path value="Procedure.entryRelationship.seperatableInd"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.seperatableInd"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="http://hl7.org/cda/stds/core/StructureDefinition/BL"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:assessmentScale.act">
          <path value="Procedure.entryRelationship.act"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.act"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="http://hl7.org/cda/stds/core/StructureDefinition/Act"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:assessmentScale.encounter">
          <path value="Procedure.entryRelationship.encounter"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.encounter"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/Encounter"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:assessmentScale.observation">
          <path value="Procedure.entryRelationship.observation"/>
          <comment
                   value="SHALL contain exactly one [1..1] Assessment Scale Observation (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.69) (CONF:4515-32995)."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.observation"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/Observation"/>
            <profile
                     value="http://hl7.org/cda/us/ccda/StructureDefinition/AssessmentScaleObservation"/>
          </type>
        </element>
        <element
                 id="Procedure.entryRelationship:assessmentScale.observationMedia">
          <path value="Procedure.entryRelationship.observationMedia"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.observationMedia"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/ObservationMedia"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:assessmentScale.organizer">
          <path value="Procedure.entryRelationship.organizer"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.organizer"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/Organizer"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:assessmentScale.procedure">
          <path value="Procedure.entryRelationship.procedure"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.procedure"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/Procedure"/>
          </type>
        </element>
        <element
                 id="Procedure.entryRelationship:assessmentScale.regionOfInterest">
          <path value="Procedure.entryRelationship.regionOfInterest"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.regionOfInterest"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/RegionOfInterest"/>
          </type>
        </element>
        <element
                 id="Procedure.entryRelationship:assessmentScale.substanceAdministration">
          <path value="Procedure.entryRelationship.substanceAdministration"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.substanceAdministration"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:assessmentScale.supply">
          <path value="Procedure.entryRelationship.supply"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.supply"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/Supply"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:entryReference">
          <path value="Procedure.entryRelationship"/>
          <sliceName value="entryReference"/>
          <short
                 value="When an Entry Reference Template is contained in a Procedure Template instance that is a Social Determinant of Health procedure, that Entry Reference **MAY** refer to Assessment Scale Observation in the same document that represent LOINC question and answer pairs from SDOH screening instruments."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Procedure.entryRelationship"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:entryReference.nullFlavor">
          <path value="Procedure.entryRelationship.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://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
          </binding>
        </element>
        <element id="Procedure.entryRelationship:entryReference.realmCode">
          <path value="Procedure.entryRelationship.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="Procedure.entryRelationship:entryReference.typeId">
          <path value="Procedure.entryRelationship.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>
          <constraint>
            <key value="II-1"/>
            <severity value="error"/>
            <human
                   value="An II instance must have either a root or an nullFlavor."/>
            <expression value="root.exists() or nullFlavor.exists()"/>
            <source
                    value="http://hl7.org/cda/stds/core/StructureDefinition/InfrastructureRoot"/>
          </constraint>
        </element>
        <element
                 id="Procedure.entryRelationship:entryReference.typeId.nullFlavor">
          <path value="Procedure.entryRelationship.typeId.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://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
          </binding>
        </element>
        <element
                 id="Procedure.entryRelationship:entryReference.typeId.assigningAuthorityName">
          <path
                value="Procedure.entryRelationship.typeId.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="Procedure.entryRelationship:entryReference.typeId.displayable">
          <path value="Procedure.entryRelationship.typeId.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="Procedure.entryRelationship:entryReference.typeId.root">
          <path value="Procedure.entryRelationship.typeId.root"/>
          <representation value="xmlAttr"/>
          <label value="Root"/>
          <definition value="Identifies the type as an HL7 Registered model"/>
          <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>
          <fixedString value="2.16.840.1.113883.1.3"/>
        </element>
        <element
                 id="Procedure.entryRelationship:entryReference.typeId.extension">
          <path value="Procedure.entryRelationship.typeId.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="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>
        </element>
        <element id="Procedure.entryRelationship:entryReference.templateId">
          <path value="Procedure.entryRelationship.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="Procedure.entryRelationship:entryReference.typeCode">
          <path value="Procedure.entryRelationship.typeCode"/>
          <representation value="xmlAttr"/>
          <comment
                   value="SHALL contain exactly one [1..1] @typeCode=&quot;RSON&quot; Has reason (CONF:4515-32999)."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.typeCode"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="code"/>
            <profile
                     value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
          </type>
          <fixedCode value="RSON"/>
          <binding>
            <strength value="required"/>
            <valueSet
                      value="http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship|3.0.0"/>
          </binding>
        </element>
        <element id="Procedure.entryRelationship:entryReference.inversionInd">
          <path value="Procedure.entryRelationship.inversionInd"/>
          <representation value="xmlAttr"/>
          <definition
                      value="The entryRelationship.inversionInd can be set to &quot;true&quot; to indicate that the relationship should be interpreted as if the roles of the source and target entries were reversed."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.inversionInd"/>
            <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="Procedure.entryRelationship:entryReference.contextConductionInd">
          <path value="Procedure.entryRelationship.contextConductionInd"/>
          <representation value="xmlAttr"/>
          <definition
                      value="The entryRelationship.contextConductionInd differs from the otherwise common use of this attribute in that in all other cases where this attribute is used, the value is fixed at &quot;true&quot;, whereas here the value is defaulted to &quot;true&quot;, and can be changed to &quot;false&quot; when referencing an entry in the same document. Setting the context conduction to false when referencing an entry in the same document keeps clear the fact that the referenced object retains its original context."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.contextConductionInd"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="boolean"/>
            <profile
                     value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
          </type>
          <defaultValueBoolean value="true"/>
        </element>
        <element id="Procedure.entryRelationship:entryReference.negationInd">
          <path value="Procedure.entryRelationship.negationInd"/>
          <representation value="xmlAttr"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.negationInd"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="boolean"/>
            <profile
                     value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:entryReference.sequenceNumber">
          <path value="Procedure.entryRelationship.sequenceNumber"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.sequenceNumber"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="http://hl7.org/cda/stds/core/StructureDefinition/INT"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:entryReference.seperatableInd">
          <path value="Procedure.entryRelationship.seperatableInd"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.seperatableInd"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="http://hl7.org/cda/stds/core/StructureDefinition/BL"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:entryReference.act">
          <path value="Procedure.entryRelationship.act"/>
          <comment
                   value="SHALL contain exactly one [1..1] Entry Reference (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.122) (CONF:4515-32997)."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.act"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="http://hl7.org/cda/stds/core/StructureDefinition/Act"/>
            <profile
                     value="http://hl7.org/cda/us/ccda/StructureDefinition/EntryReference"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:entryReference.encounter">
          <path value="Procedure.entryRelationship.encounter"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.encounter"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/Encounter"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:entryReference.observation">
          <path value="Procedure.entryRelationship.observation"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.observation"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/Observation"/>
          </type>
        </element>
        <element
                 id="Procedure.entryRelationship:entryReference.observationMedia">
          <path value="Procedure.entryRelationship.observationMedia"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.observationMedia"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/ObservationMedia"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:entryReference.organizer">
          <path value="Procedure.entryRelationship.organizer"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.organizer"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/Organizer"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:entryReference.procedure">
          <path value="Procedure.entryRelationship.procedure"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.procedure"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/Procedure"/>
          </type>
        </element>
        <element
                 id="Procedure.entryRelationship:entryReference.regionOfInterest">
          <path value="Procedure.entryRelationship.regionOfInterest"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.regionOfInterest"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/RegionOfInterest"/>
          </type>
        </element>
        <element
                 id="Procedure.entryRelationship:entryReference.substanceAdministration">
          <path value="Procedure.entryRelationship.substanceAdministration"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.substanceAdministration"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration"/>
          </type>
        </element>
        <element id="Procedure.entryRelationship:entryReference.supply">
          <path value="Procedure.entryRelationship.supply"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EntryRelationship.supply"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/Supply"/>
          </type>
        </element>
        <element id="Procedure.reference">
          <path value="Procedure.reference"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Procedure.reference"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/Reference"/>
          </type>
        </element>
        <element id="Procedure.precondition">
          <path value="Procedure.precondition"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Procedure.precondition"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/Precondition"/>
          </type>
        </element>
        <element id="Procedure.sdtcPrecondition2">
          <extension
                     url="http://hl7.org/fhir/tools/StructureDefinition/xml-namespace">
            <valueUri value="urn:hl7-org:sdtc"/>
          </extension>
          <extension
                     url="http://hl7.org/fhir/tools/StructureDefinition/xml-name">
            <valueString value="precondition2"/>
          </extension>
          <path value="Procedure.sdtcPrecondition2"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Procedure.sdtcPrecondition2"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/Precondition2"/>
          </type>
        </element>
        <element id="Procedure.sdtcInFulfillmentOf1">
          <extension
                     url="http://hl7.org/fhir/tools/StructureDefinition/xml-namespace">
            <valueUri value="urn:hl7-org:sdtc"/>
          </extension>
          <extension
                     url="http://hl7.org/fhir/tools/StructureDefinition/xml-name">
            <valueString value="inFulfillmentOf1"/>
          </extension>
          <path value="Procedure.sdtcInFulfillmentOf1"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Procedure.sdtcInFulfillmentOf1"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code
                  value="http://hl7.org/cda/stds/core/StructureDefinition/InFulfillmentOf1"/>
          </type>
        </element>
      </snapshot>
      <differential>
        <element id="Procedure.templateId">
          <path value="Procedure.templateId"/>
          <min value="2"/>
        </element>
        <element
                 id="Procedure.templateId:medically-assisted-nutrition-planned-procedure-part">
          <path value="Procedure.templateId"/>
          <sliceName value="medically-assisted-nutrition-planned-procedure-part"/>
          <min value="1"/>
          <max value="1"/>
        </element>
        <element
                 id="Procedure.templateId:medically-assisted-nutrition-planned-procedure-part.root">
          <path value="Procedure.templateId.root"/>
          <min value="1"/>
          <patternString value="2.16.840.1.113883.9.275.3.4.2"/>
        </element>
        <element
                 id="Procedure.templateId:medically-assisted-nutrition-planned-procedure-part.extension">
          <path value="Procedure.templateId.extension"/>
          <min value="1"/>
          <patternString value="2026-08-28"/>
        </element>
        <element id="Procedure.moodCode">
          <path value="Procedure.moodCode"/>
          <comment
                   value="SHALL contain exactly one [1..1] @moodCode=&quot;RQO&quot; Request (CodeSystem: HL7ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC)."/>
          <fixedCode value="RQO"/>
        </element>
        <element id="Procedure.id">
          <path value="Procedure.id"/>
          <comment
                   value="MUST contain at least one [1..*] id.
    If needed, the identifier for the procedure part of this clinical statement can be the id of the statement suffixed with a part# to make it distinct."/>
        </element>
        <element id="Procedure.code.code">
          <path value="Procedure.code.code"/>
          <patternCode value="386373004"/>
        </element>
        <element id="Procedure.negationInd">
          <path value="Procedure.negationInd"/>
          <comment
                   value="If the order is to NOT perform the procedure, then negationInd will be true for the procedure.
    In FHIR this aligns with use of the doNotPerform element."/>
          <mustSupport value="true"/>
        </element>
        <element id="Procedure.text">
          <path value="Procedure.text"/>
          <short value="links to the rendering of the portable medical order"/>
          <min value="1"/>
        </element>
        <element id="Procedure.effectiveTime">
          <path value="Procedure.effectiveTime"/>
          <short
                 value="Represents the trial period duration, if a trial period is specified."/>
        </element>
      </differential>
    </StructureDefinition>