Consolidated CDA Release 2.2
2.2 - CI Build United States of America flag

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

Resource Profile: MedicationActivity - XML Profile

Active as of 2022-05-13

XML representation of the 2.16.840.1.113883.10.20.22.4.16 resource profile.

Raw xml | Download



<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="2.16.840.1.113883.10.20.22.4.16"/>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><table border="0" cellpadding="0" cellspacing="0" style="border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;"><tr style="border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top"><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/formats.html#table" title="The logical name of the element">Name</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/formats.html#table" title="Information about the use of the element">Flags</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/formats.html#table" title="Minimum and Maximum # of times the the element can appear in the instance">Card.</a></th><th style="width: 100px" class="hierarchy"><a href="http://hl7.org/fhir/R4/formats.html#table" title="Reference to the type of the element">Type</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/formats.html#table" title="Additional information about the element">Description &amp; Constraints</a><span style="float: right"><a href="http://hl7.org/fhir/R4/formats.html#table" title="Legend for this format"><img src="http://hl7.org/fhir/R4/help16.png" alt="doco" style="background-color: inherit"/></a></span></th></tr><tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration">SubstanceAdministration</a><a name="SubstanceAdministration"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element has or is affected by some invariants (1098-30800)">I</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">1</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-SubstanceAdministration.html">CDAR2.SubstanceAdministration</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">1098-30800: </span>Medication Activity **SHOULD** include doseQuantity **OR** rateQuantity (CONF:1098-30800).</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.classCode">classCode</a><a name="SubstanceAdministration.classCode"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/R4/datatypes.html#code">code</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.moodCode">moodCode</a><a name="SubstanceAdministration.moodCode"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/R4/datatypes.html#code">code</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Binding: </span><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.11.20.9.18/expansion">MoodCodeEvnInt</a> (<a href="http://hl7.org/fhir/R4/terminologies.html#required" title="To be conformant, the concept in this element SHALL be from the specified value set.">required</a>)</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck13.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_slice.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Slice Definition" class="hierarchy"/> <a style="font-style: italic" href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.templateId">Slices for templateId</a><a name="SubstanceAdministration.templateId"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-style: italic"/><span style="opacity: 0.5; font-style: italic">0</span><span style="opacity: 0.5; font-style: italic">..</span><span style="opacity: 0.5; font-style: italic">*</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5; font-style: italic" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-II.html">II</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold; font-style: italic">Slice: </span><span style="font-style: italic">Unordered, Open by value:extension, value:root</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck125.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_slice_item.png" alt="." style="background-color: white; background-color: inherit" title="Slice Item" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.templateId:primary" title="Slice primary">templateId:primary</a><a name="SubstanceAdministration.templateId"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-II.html">II</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1250.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_slice.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.templateId:primary.root">root</a><a name="SubstanceAdministration.templateId.root"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/R4/datatypes.html#string">string</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Required Pattern: </span><span style="color: darkgreen">2.16.840.1.113883.10.20.22.4.16</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1240.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end_slice.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_extension_simple.png" alt="." style="background-color: white; background-color: inherit" title="Simple Extension" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.templateId:primary.extension">extension</a><a name="SubstanceAdministration.templateId.extension"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/R4/datatypes.html#string">string</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Required Pattern: </span><span style="color: darkgreen">2014-06-09</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.id">id</a><a name="SubstanceAdministration.id"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..*</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-II.html">II</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.code">code</a><a name="SubstanceAdministration.code"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-CD.html">CD</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">SubstanceAdministration.code is an optional field. Per HL7 Pharmacy Committee, &quot;this is intended to further specify the nature of the substance administration act. To date the committee has made no use of this attribute&quot;. Because the type of substance administration is generally implicit in the routeCode, in the consumable participant, etc., the field is generally not used, and there is no defined value set.</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.statusCode">statusCode</a><a name="SubstanceAdministration.statusCode"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-CS.html">CS</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck100.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.statusCode.code">code</a><a name="SubstanceAdministration.statusCode.code"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/R4/datatypes.html#string">string</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Binding: </span><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1099.11/expansion">Medication Status</a> (<a href="http://hl7.org/fhir/R4/terminologies.html#required" title="To be conformant, the concept in this element SHALL be from the specified value set.">required</a>)</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck13.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_slice.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Slice Definition" class="hierarchy"/> <a style="font-style: italic" href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.effectiveTime">Slices for effectiveTime</a><a name="SubstanceAdministration.effectiveTime"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-style: italic"/><span style="opacity: 0.5; font-style: italic">0</span><span style="opacity: 0.5; font-style: italic">..</span><span style="opacity: 0.5; font-style: italic">*</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5; font-style: italic" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-SXCM-TS.html">SXCM_TS</a><span style="opacity: 0.5; font-style: italic">, </span><a style="opacity: 0.5; font-style: italic" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-IVL-TS.html">IVL_TS</a><span style="opacity: 0.5; font-style: italic">, </span><a style="opacity: 0.5; font-style: italic" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-EIVL-TS.html">EIVL_TS</a><span style="opacity: 0.5; font-style: italic">, </span><a style="opacity: 0.5; font-style: italic" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-PIVL-TS.html">PIVL_TS</a><span style="opacity: 0.5; font-style: italic">, </span><a style="opacity: 0.5; font-style: italic" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-SXPR-TS.html">SXPR_TS</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold; font-style: italic">Slice: </span><span style="font-style: italic">Unordered, Open by value:operator</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck135.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_slice_item.png" alt="." style="background-color: white; background-color: inherit" title="Slice Item" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.effectiveTime:duration" title="Slice duration">effectiveTime:duration</a><a name="SubstanceAdministration.effectiveTime"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element has or is affected by some invariants (1098-32890)">I</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-IVL-TS.html">IVL_TS</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">This effectiveTime represents either the medication duration (i.e., the time the medication was started and stopped) or the single-administration timestamp.

undefined<br/><span style="font-weight:bold">1098-32890: </span>This effectiveTime **SHALL** contain either a low or a @value but not both (CONF:1098-32890).</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1350.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_slice.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.effectiveTime:duration.value">value</a><a name="SubstanceAdministration.effectiveTime.value"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/R4/datatypes.html#dateTime">dateTime</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">indicates a single-administration timestamp</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1350.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_slice.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.effectiveTime:duration.low">low</a><a name="SubstanceAdministration.effectiveTime.low"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-TS.html">TS</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">indicates when medication started</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1340.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end_slice.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.effectiveTime:duration.high">high</a><a name="SubstanceAdministration.effectiveTime.high"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-TS.html">TS</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">indicates when medication stopped</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck125.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_slice_item.png" alt="." style="background-color: white; background-color: inherit" title="Slice Item" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.effectiveTime:frequency" title="Slice frequency">effectiveTime:frequency</a><a name="SubstanceAdministration.effectiveTime"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element has or is affected by some invariants (1098-28499)">I</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-SXCM-TS.html">SXCM_TS</a><span style="opacity: 0.5">, </span><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-IVL-TS.html">IVL_TS</a><span style="opacity: 0.5">, </span><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-EIVL-TS.html">EIVL_TS</a><span style="opacity: 0.5">, </span><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-PIVL-TS.html">PIVL_TS</a><span style="opacity: 0.5">, </span><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-SXPR-TS.html">SXPR_TS</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">This effectiveTime represents the medication frequency (e.g., administration times per day).<br/><span style="font-weight:bold">1098-28499: </span>**SHALL** contain exactly one [1..1] @xsi:type=&quot;PIVL_TS&quot; or &quot;EIVL_TS&quot; (CONF:1098-28499).</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.effectiveTime:frequency.operator">operator</a><a name="SubstanceAdministration.effectiveTime.operator"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Required Pattern: </span><span style="color: darkgreen">A</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.repeatNumber">repeatNumber</a><a name="SubstanceAdministration.repeatNumber"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-IVL-INT.html">IVL_INT</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">In &quot;INT&quot; (intent) mood, the repeatNumber defines the number of allowed administrations. For example, a repeatNumber of &quot;3&quot; means that the substance can be administered up to 3 times. In &quot;EVN&quot; (event) mood, the repeatNumber is the number of occurrences. For example, a repeatNumber of &quot;3&quot; in a substance administration event means that the current administration is the 3rd in a series.</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.routeCode">routeCode</a><a name="SubstanceAdministration.routeCode"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-CE.html">CE</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Binding: </span><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.88.12.3221.8.7/expansion">SPL Drug Route of Administration Terminology</a> (<a href="http://hl7.org/fhir/R4/terminologies.html#required" title="To be conformant, the concept in this element SHALL be from the specified value set.">required</a>)</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck100.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.routeCode.translation">translation</a><a name="SubstanceAdministration.routeCode.translation"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-CD.html">CD</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Binding: </span><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1099.12/expansion">Medication Route</a> (<a href="http://hl7.org/fhir/R4/terminologies.html#required" title="To be conformant, the concept in this element SHALL be from the specified value set.">required</a>)<br/></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.approachSiteCode">approachSiteCode</a><a name="SubstanceAdministration.approachSiteCode"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-CD.html">CD</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Binding: </span><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.88.12.3221.8.9/expansion">Body Site Value Set</a> (<a href="http://hl7.org/fhir/R4/terminologies.html#required" title="To be conformant, the concept in this element SHALL be from the specified value set.">required</a>)</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.doseQuantity">doseQuantity</a><a name="SubstanceAdministration.doseQuantity"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element has or is affected by some invariants (1098-16879, 1098-16878)">I</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-IVL-PQ.html">IVL_PQ</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">1098-16879: </span>Not pre-coordinated consumable: If the consumable code is not pre-coordinated (e.g., is simply &quot;metoprolol&quot;), then doseQuantity must represent a physical quantity with @unit, e.g., &quot;25&quot; and &quot;mg&quot;, specifying the amount of product given per administration (CONF:1098-16879).<br/><span style="font-weight:bold">1098-16878: </span>Pre-coordinated consumable: If the consumable code is a pre-coordinated unit dose (e.g., &quot;metoprolol 25mg tablet&quot;) then doseQuantity is a unitless number that indicates the number of products given per administration (e.g., &quot;2&quot;, meaning 2 x &quot;metoprolol 25mg tablet&quot; per administration) (CONF:1098-16878).</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.doseQuantity.unit">unit</a><a name="SubstanceAdministration.doseQuantity.unit"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/R4/datatypes.html#code">code</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Binding: </span><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.1.11.12839/expansion">UnitsOfMeasureCaseSensitive</a> (<a href="http://hl7.org/fhir/R4/terminologies.html#required" title="To be conformant, the concept in this element SHALL be from the specified value set.">required</a>)</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.rateQuantity">rateQuantity</a><a name="SubstanceAdministration.rateQuantity"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-IVL-PQ.html">IVL_PQ</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck100.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.rateQuantity.unit">unit</a><a name="SubstanceAdministration.rateQuantity.unit"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/R4/datatypes.html#code">code</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Binding: </span><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.1.11.12839/expansion">UnitsOfMeasureCaseSensitive</a> (<a href="http://hl7.org/fhir/R4/terminologies.html#required" title="To be conformant, the concept in this element SHALL be from the specified value set.">required</a>)</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.maxDoseQuantity">maxDoseQuantity</a><a name="SubstanceAdministration.maxDoseQuantity"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-RTO-PQ-PQ.html">RTO_PQ_PQ</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.administrationUnitCode">administrationUnitCode</a><a name="SubstanceAdministration.administrationUnitCode"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-CE.html">CE</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">administrationUnitCode@code describes the units of medication administration for an item using a code that is pre-coordinated to include a physical unit form (ointment, powder, solution, etc.) which differs from the units used in administering the consumable (capful, spray, drop, etc.). For example when recording medication administrations, ?metric drop (C48491)? would be appropriate to accompany the RxNorm code of 198283 (Timolol 0.25% Ophthalmic Solution) where the number of drops would be specified in doseQuantity@value.<br/><span style="font-weight:bold">Binding: </span><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1021.30/expansion">AdministrationUnitDoseForm</a> (<a href="http://hl7.org/fhir/R4/terminologies.html#required" title="To be conformant, the concept in this element SHALL be from the specified value set.">required</a>)</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.consumable">consumable</a><a name="SubstanceAdministration.consumable"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Element</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck100.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.consumable.manufacturedProduct">manufacturedProduct</a><a name="SubstanceAdministration.consumable.manufacturedProduct"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.23.html" title="http://hl7.org/fhir/cda/StructureDefinition/ManufacturedProduct">MedicationInformation</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.performer">performer</a><a name="SubstanceAdministration.performer"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-Performer2.html">Performer2</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.author">author</a><a name="SubstanceAdministration.author"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.119.html" title="http://hl7.org/fhir/cda/StructureDefinition/Author">AuthorParticipation</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck13.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_slice.png" alt="." style="background-color: white; background-color: inherit" title="Slice Definition" class="hierarchy"/> <a style="font-style: italic" href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.participant">Slices for participant</a><a name="SubstanceAdministration.participant"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-style: italic"/><span style="opacity: 0.5; font-style: italic">0</span><span style="opacity: 0.5; font-style: italic">..</span><span style="opacity: 0.5; font-style: italic">*</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5; font-style: italic" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-Participant2.html">Participant2</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold; font-style: italic">Slice: </span><span style="font-style: italic">Unordered, Open by value:participantRole, value:typeCode</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.participant:drugVehicle" title="Slice drugVehicle">participant:drugVehicle</a><a name="SubstanceAdministration.participant"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-Participant2.html">Participant2</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1250.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_slice.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.participant:drugVehicle.typeCode">typeCode</a><a name="SubstanceAdministration.participant.typeCode"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/R4/datatypes.html#code">code</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Required Pattern: </span><span style="color: darkgreen">CSM</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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_resource.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.participant:drugVehicle.participantRole">participantRole</a><a name="SubstanceAdministration.participant.participantRole"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.24.html" title="http://hl7.org/fhir/cda/StructureDefinition/ParticipantRole">DrugVehicle</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck13.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_slice.png" alt="." style="background-color: white; background-color: inherit" title="Slice Definition" class="hierarchy"/> <a style="font-style: italic" href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.entryRelationship">Slices for entryRelationship</a><a name="SubstanceAdministration.entryRelationship"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-style: italic"/><span style="opacity: 0.5; font-style: italic">0</span><span style="opacity: 0.5; font-style: italic">..</span><span style="opacity: 0.5; font-style: italic">*</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5; font-style: italic">Element</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold; font-style: italic">Slice: </span><span style="font-style: italic">Unordered, Open by profile:substanceAdministration, profile:observation, profile:act, profile:supply</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck135.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_slice_item.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Slice Item" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.entryRelationship:indication" title="Slice indication">entryRelationship:indication</a><a name="SubstanceAdministration.entryRelationship"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Element</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1350.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_slice.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.entryRelationship:indication.typeCode">typeCode</a><a name="SubstanceAdministration.entryRelationship.typeCode"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/R4/datatypes.html#code">code</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Required Pattern: </span><span style="color: darkgreen">RSON</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1340.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end_slice.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.entryRelationship:indication.observation">observation</a><a name="SubstanceAdministration.entryRelationship.observation"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.19.html" title="http://hl7.org/fhir/cda/StructureDefinition/Observation">Indication</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck135.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_slice_item.png" alt="." style="background-color: white; background-color: inherit" title="Slice Item" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.entryRelationship:instruction" title="Slice instruction">entryRelationship:instruction</a><a name="SubstanceAdministration.entryRelationship"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Element</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1350.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_slice.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.entryRelationship:instruction.typeCode">typeCode</a><a name="SubstanceAdministration.entryRelationship.typeCode"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/R4/datatypes.html#code">code</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Required Pattern: </span><span style="color: darkgreen">SUBJ</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1350.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_slice.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.entryRelationship:instruction.inversionInd">inversionInd</a><a name="SubstanceAdministration.entryRelationship.inversionInd"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/R4/datatypes.html#boolean">boolean</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Required Pattern: </span><span style="color: darkgreen">true</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1340.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end_slice.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.entryRelationship:instruction.act">act</a><a name="SubstanceAdministration.entryRelationship.act"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.20.html" title="http://hl7.org/fhir/cda/StructureDefinition/Act">Instruction</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck135.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_slice_item.png" alt="." style="background-color: white; background-color: inherit" title="Slice Item" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.entryRelationship:supplyOrder" title="Slice supplyOrder">entryRelationship:supplyOrder</a><a name="SubstanceAdministration.entryRelationship"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Element</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1350.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_slice.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.entryRelationship:supplyOrder.typeCode">typeCode</a><a name="SubstanceAdministration.entryRelationship.typeCode"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/R4/datatypes.html#code">code</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Required Pattern: </span><span style="color: darkgreen">REFR</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1340.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end_slice.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="." style="background-color: white; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.entryRelationship:supplyOrder.supply">supply</a><a name="SubstanceAdministration.entryRelationship.supply"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.17.html" title="http://hl7.org/fhir/cda/StructureDefinition/Supply">MedicationSupplyOrder</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck135.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_slice_item.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Slice Item" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.entryRelationship:medicationDispense" title="Slice medicationDispense">entryRelationship:medicationDispense</a><a name="SubstanceAdministration.entryRelationship"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Element</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1350.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_slice.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.entryRelationship:medicationDispense.typeCode">typeCode</a><a name="SubstanceAdministration.entryRelationship.typeCode"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/R4/datatypes.html#code">code</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Required Pattern: </span><span style="color: darkgreen">REFR</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1340.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end_slice.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.entryRelationship:medicationDispense.supply">supply</a><a name="SubstanceAdministration.entryRelationship.supply"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.18.html" title="http://hl7.org/fhir/cda/StructureDefinition/Supply">MedicationDispense</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck135.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_slice_item.png" alt="." style="background-color: white; background-color: inherit" title="Slice Item" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.entryRelationship:reaction" title="Slice reaction">entryRelationship:reaction</a><a name="SubstanceAdministration.entryRelationship"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Element</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1350.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_slice.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.entryRelationship:reaction.typeCode">typeCode</a><a name="SubstanceAdministration.entryRelationship.typeCode"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/R4/datatypes.html#code">code</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Required Pattern: </span><span style="color: darkgreen">CAUS</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1340.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end_slice.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="." style="background-color: white; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.entryRelationship:reaction.observation">observation</a><a name="SubstanceAdministration.entryRelationship.observation"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.9.html" title="http://hl7.org/fhir/cda/StructureDefinition/Observation">ReactionObservation</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck135.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_slice_item.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Slice Item" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.entryRelationship:drugMonitoring" title="Slice drugMonitoring">entryRelationship:drugMonitoring</a><a name="SubstanceAdministration.entryRelationship"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Element</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1350.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_slice.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.entryRelationship:drugMonitoring.typeCode">typeCode</a><a name="SubstanceAdministration.entryRelationship.typeCode"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/R4/datatypes.html#code">code</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Required Pattern: </span><span style="color: darkgreen">COMP</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1340.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end_slice.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.entryRelationship:drugMonitoring.act">act</a><a name="SubstanceAdministration.entryRelationship.act"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.123.html" title="http://hl7.org/fhir/cda/StructureDefinition/Act">DrugMonitoringAct</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck135.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_slice_item.png" alt="." style="background-color: white; background-color: inherit" title="Slice Item" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.entryRelationship:substanceAdministered" title="Slice substanceAdministered">entryRelationship:substanceAdministered</a><a name="SubstanceAdministration.entryRelationship"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Element</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">The following entryRelationship is used to indicate a given medication's order in a series. The nested Substance Administered Act identifies an administration in the series. The entryRelationship/sequenceNumber shows the order of this particular administration in that series.<br/></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1350.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_slice.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.entryRelationship:substanceAdministered.typeCode">typeCode</a><a name="SubstanceAdministration.entryRelationship.typeCode"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/R4/datatypes.html#code">code</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Required Pattern: </span><span style="color: darkgreen">COMP</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1350.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_slice.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.entryRelationship:substanceAdministered.inversionInd">inversionInd</a><a name="SubstanceAdministration.entryRelationship.inversionInd"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/R4/datatypes.html#boolean">boolean</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Required Pattern: </span><span style="color: darkgreen">true</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1350.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_slice.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.entryRelationship:substanceAdministered.sequenceNumber">sequenceNumber</a><a name="SubstanceAdministration.entryRelationship.sequenceNumber"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-INT.html">INT</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1340.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end_slice.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="." style="background-color: white; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.entryRelationship:substanceAdministered.act">act</a><a name="SubstanceAdministration.entryRelationship.act"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.118.html" title="http://hl7.org/fhir/cda/StructureDefinition/Act">SubstanceAdministeredAct</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.entryRelationship:signature" title="Slice signature">entryRelationship:signature</a><a name="SubstanceAdministration.entryRelationship"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Element</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1250.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_slice.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.entryRelationship:signature.typeCode">typeCode</a><a name="SubstanceAdministration.entryRelationship.typeCode"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/R4/datatypes.html#code">code</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Required Pattern: </span><span style="color: darkgreen">COMP</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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_resource.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.entryRelationship:signature.substanceAdministration">substanceAdministration</a><a name="SubstanceAdministration.entryRelationship.substanceAdministration"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.147.html" title="http://hl7.org/fhir/cda/StructureDefinition/SubstanceAdministration">MedicationFreeTextSig</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck01.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.precondition">precondition</a><a name="SubstanceAdministration.precondition"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-Precondition.html">Precondition</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.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-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.precondition.typeCode">typeCode</a><a name="SubstanceAdministration.precondition.typeCode"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/R4/datatypes.html#code">code</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Required Pattern: </span><span style="color: darkgreen">PRCN</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck000.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="." style="background-color: white; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.16-definitions.html#SubstanceAdministration.precondition.criterion">criterion</a><a name="SubstanceAdministration.precondition.criterion"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-2.16.840.1.113883.10.20.22.4.25.html" title="http://hl7.org/fhir/cda/StructureDefinition/Criterion">PreconditionforSubstanceAdministration</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr><td colspan="5" class="hierarchy"><br/><a href="http://hl7.org/fhir/R4/formats.html#table" title="Legend for this format"><img src="http://hl7.org/fhir/R4/help16.png" alt="doco" style="background-color: inherit"/> Documentation for this format</a></td></tr></table></div>
  </text>
  <url
       value="http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.16"/>
  <identifier>
    <value value="urn:hl7ii:2.16.840.1.113883.10.20.22.4.16:2014-06-09"/>
  </identifier>
  <version value="2.2"/>
  <name value="MedicationActivity"/>
  <title value="Medication Activity"/>
  <status value="active"/>
  <date value="2022-05-13T15:50:12+00:00"/>
  <publisher value="Health Level Seven"/>
  <contact>
    <name value="HL7 International - Structured Documents"/>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/structure"/>
    </telecom>
  </contact>
  <description
               value="A Medication Activity describes substance administrations that have actually occurred (e.g., pills ingested or injections given) or are intended to occur (e.g., &quot;take 2 tablets twice a day for the next 10 days&quot;). Medication activities in &quot;INT&quot; mood are reflections of what a clinician intends a patient to be taking. For example, a clinician may intend that a patient be administered Lisinopril 20 mg PO for blood pressure control. If what was actually administered was Lisinopril 10 mg., then the Medication activities in the &quot;EVN&quot; mood would reflect actual use.

A moodCode of INT is allowed, but it is recommended that the Planned Medication Activity (V2) template be used for moodCodes other than EVN if the document type contains a section that includes Planned Medication Activity (V2) (for example a Care Plan document with Plan of Treatment, Intervention, or Goal sections).
At a minimum, a Medication Activity shall include an effectiveTime indicating the duration of the administration (or single-administration timestamp). Ambulatory medication lists generally provide a summary of use for a given medication over time - a medication activity in event mood with the duration reflecting when the medication started and stopped. Ongoing medications will not have a stop date (or will have a stop date with a suitable NULL value). Ambulatory medication lists will generally also have a frequency (e.g., a medication is being taken twice a day). Inpatient medications generally record each administration as a separate act.

The dose (doseQuantity) represents how many of the consumables are to be administered at each administration event. As a result, the dose is always relative to the consumable and the interval of administration. Thus, a patient consuming a single &quot;metoprolol 25mg tablet&quot; per administration will have a doseQuantity of &quot;1&quot;, whereas a patient consuming &quot;metoprolol&quot; will have a dose of &quot;25 mg&quot;."/>
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166"/>
      <code value="US"/>
    </coding>
  </jurisdiction>
  <fhirVersion value="4.0.1"/>
  <kind value="resource"/>
  <abstract value="false"/>
  <type value="SubstanceAdministration"/>
  <baseDefinition
                  value="http://hl7.org/fhir/cda/StructureDefinition/SubstanceAdministration"/>
  <derivation value="constraint"/>
  <snapshot>
    <element id="SubstanceAdministration">
      <path value="SubstanceAdministration"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Base"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <constraint>
        <key value="1098-30800"/>
        <severity value="warning"/>
        <human
               value="Medication Activity **SHOULD** include doseQuantity **OR** rateQuantity (CONF:1098-30800)."/>
      </constraint>
      <isModifier value="false"/>
    </element>
    <element id="SubstanceAdministration.classCode">
      <path value="SubstanceAdministration.classCode"/>
      <representation value="xmlAttr"/>
      <requirements
                    value="SHALL contain exactly one [1..1] @classCode=&quot;SBADM&quot; (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:1098-7496)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.classCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="SBADM"/>
      <fixedCode value="SBADM"/>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-ActClass"/>
      </binding>
    </element>
    <element id="SubstanceAdministration.moodCode">
      <path value="SubstanceAdministration.moodCode"/>
      <representation value="xmlAttr"/>
      <requirements
                    value="SHALL contain exactly one [1..1] @moodCode, which SHALL be selected from ValueSet MoodCodeEvnInt urn:oid:2.16.840.1.113883.11.20.9.18 STATIC 2011-04-03 (CONF:1098-7497)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.moodCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.18"/>
      </binding>
    </element>
    <element id="SubstanceAdministration.realmCode">
      <path value="SubstanceAdministration.realmCode"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="SubstanceAdministration.realmCode"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/CS"/>
      </type>
    </element>
    <element id="SubstanceAdministration.typeId">
      <path value="SubstanceAdministration.typeId"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.typeId"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/II"/>
      </type>
    </element>
    <element id="SubstanceAdministration.templateId">
      <path value="SubstanceAdministration.templateId"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="extension"/>
        </discriminator>
        <discriminator>
          <type value="value"/>
          <path value="root"/>
        </discriminator>
        <rules value="open"/>
      </slicing>
      <definition
                  value="When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="SubstanceAdministration.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/II"/>
      </type>
    </element>
    <element id="SubstanceAdministration.templateId:primary">
      <path value="SubstanceAdministration.templateId"/>
      <sliceName value="primary"/>
      <definition
                  value="When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question"/>
      <requirements
                    value="SHALL contain exactly one [1..1] templateId (CONF:1098-7499) such that it"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/II"/>
      </type>
    </element>
    <element id="SubstanceAdministration.templateId:primary.nullFlavor">
      <path value="SubstanceAdministration.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"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-NullFlavor"/>
      </binding>
    </element>
    <element
             id="SubstanceAdministration.templateId:primary.assigningAuthorityName">
      <path value="SubstanceAdministration.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"/>
      </type>
    </element>
    <element id="SubstanceAdministration.templateId:primary.displayable">
      <path value="SubstanceAdministration.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"/>
      </type>
    </element>
    <element id="SubstanceAdministration.templateId:primary.root">
      <path value="SubstanceAdministration.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."/>
      <requirements
                    value="SHALL contain exactly one [1..1] @root=&quot;2.16.840.1.113883.10.20.22.4.16&quot; (CONF:1098-10504)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="II.root"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <patternString value="2.16.840.1.113883.10.20.22.4.16"/>
    </element>
    <element id="SubstanceAdministration.templateId:primary.extension">
      <path value="SubstanceAdministration.templateId.extension"/>
      <representation value="xmlAttr"/>
      <label value="Extension"/>
      <definition
                  value="A character string as a unique identifier within the scope of the identifier root."/>
      <requirements
                    value="SHALL contain exactly one [1..1] @extension=&quot;2014-06-09&quot; (CONF:1098-32498)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="II.extension"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <patternString value="2014-06-09"/>
    </element>
    <element id="SubstanceAdministration.id">
      <path value="SubstanceAdministration.id"/>
      <requirements
                    value="SHALL contain at least one [1..*] id (CONF:1098-7500)."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="SubstanceAdministration.id"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/II"/>
      </type>
    </element>
    <element id="SubstanceAdministration.code">
      <path value="SubstanceAdministration.code"/>
      <label
             value="SubstanceAdministration.code is an optional field. Per HL7 Pharmacy Committee, &quot;this is intended to further specify the nature of the substance administration act. To date the committee has made no use of this attribute&quot;. Because the type of substance administration is generally implicit in the routeCode, in the consumable participant, etc., the field is generally not used, and there is no defined value set."/>
      <short
             value="SubstanceAdministration.code is an optional field. Per HL7 Pharmacy Committee, &quot;this is intended to further specify the nature of the substance administration act. To date the committee has made no use of this attribute&quot;. Because the type of substance administration is generally implicit in the routeCode, in the consumable participant, etc., the field is generally not used, and there is no defined value set."/>
      <requirements
                    value="MAY contain zero or one [0..1] code (CONF:1098-7506)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.code"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/CD"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-SubstanceAdministrationActCode"/>
      </binding>
    </element>
    <element id="SubstanceAdministration.negationInd">
      <path value="SubstanceAdministration.negationInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.negationInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element id="SubstanceAdministration.text">
      <path value="SubstanceAdministration.text"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.text"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/ED"/>
      </type>
    </element>
    <element id="SubstanceAdministration.statusCode">
      <path value="SubstanceAdministration.statusCode"/>
      <requirements
                    value="SHALL contain exactly one [1..1] statusCode (CONF:1098-7507)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.statusCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/CS"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-ActStatus"/>
      </binding>
    </element>
    <element id="SubstanceAdministration.statusCode.nullFlavor">
      <path value="SubstanceAdministration.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"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-NullFlavor"/>
      </binding>
    </element>
    <element id="SubstanceAdministration.statusCode.code">
      <path value="SubstanceAdministration.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."/>
      <requirements
                    value="This statusCode SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Medication Status urn:oid:2.16.840.1.113762.1.4.1099.11 DYNAMIC (CONF:1098-32360)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="CD.code"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.11"/>
      </binding>
    </element>
    <element id="SubstanceAdministration.statusCode.codeSystem">
      <path value="SubstanceAdministration.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"/>
      </type>
    </element>
    <element id="SubstanceAdministration.statusCode.codeSystemName">
      <path value="SubstanceAdministration.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"/>
      </type>
    </element>
    <element id="SubstanceAdministration.statusCode.codeSystemVersion">
      <path value="SubstanceAdministration.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"/>
      </type>
    </element>
    <element id="SubstanceAdministration.statusCode.displayName">
      <path value="SubstanceAdministration.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"/>
      </type>
    </element>
    <element id="SubstanceAdministration.statusCode.sdtcValueSet">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace">
        <valueUri value="urn:hl7-org:sdtc"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name">
        <valueString value="valueSet"/>
      </extension>
      <path value="SubstanceAdministration.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"/>
      </type>
    </element>
    <element id="SubstanceAdministration.statusCode.sdtcValueSetVersion">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace">
        <valueUri value="urn:hl7-org:sdtc"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name">
        <valueString value="valueSetVersion"/>
      </extension>
      <path value="SubstanceAdministration.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"/>
      </type>
    </element>
    <element id="SubstanceAdministration.statusCode.originalText">
      <path value="SubstanceAdministration.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/fhir/cda/StructureDefinition/ED"/>
      </type>
    </element>
    <element id="SubstanceAdministration.statusCode.qualifier">
      <path value="SubstanceAdministration.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/fhir/cda/StructureDefinition/CR"/>
      </type>
    </element>
    <element id="SubstanceAdministration.statusCode.translation">
      <path value="SubstanceAdministration.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/fhir/cda/StructureDefinition/CD"/>
      </type>
    </element>
    <element id="SubstanceAdministration.effectiveTime">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype">
        <valueString value="http://hl7.org/fhir/cda/StructureDefinition/SXCM-TS"/>
      </extension>
      <path value="SubstanceAdministration.effectiveTime"/>
      <representation value="typeAttr"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="operator"/>
        </discriminator>
        <rules value="open"/>
      </slicing>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="SubstanceAdministration.effectiveTime"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/SXCM-TS"/>
      </type>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/IVL-TS"/>
      </type>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/EIVL-TS"/>
      </type>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/PIVL-TS"/>
      </type>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/SXPR-TS"/>
      </type>
    </element>
    <element id="SubstanceAdministration.effectiveTime:duration">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype">
        <valueString value="http://hl7.org/fhir/cda/StructureDefinition/SXCM-TS"/>
      </extension>
      <path value="SubstanceAdministration.effectiveTime"/>
      <representation value="typeAttr"/>
      <sliceName value="duration"/>
      <label
             value="This effectiveTime represents either the medication duration (i.e., the time the medication was started and stopped) or the single-administration timestamp."/>
      <short
             value="This effectiveTime represents either the medication duration (i.e., the time the medication was started and stopped) or the single-administration timestamp.

undefined"/>
      <requirements
                    value="SHALL contain exactly one [1..1] effectiveTime (CONF:1098-7508) such that it"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.effectiveTime"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/IVL-TS"/>
      </type>
      <constraint>
        <key value="1098-32890"/>
        <severity value="error"/>
        <human
               value="This effectiveTime **SHALL** contain either a low or a @value but not both (CONF:1098-32890)."/>
      </constraint>
    </element>
    <element id="SubstanceAdministration.effectiveTime:duration.nullFlavor">
      <path value="SubstanceAdministration.effectiveTime.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition
                  value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="ANY.nullFlavor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-NullFlavor"/>
      </binding>
    </element>
    <element id="SubstanceAdministration.effectiveTime:duration.value">
      <extension
                 url="http://www.healthintersections.com.au/fhir/StructureDefinition/elementdefinition-dateformat">
        <valueString value="v3"/>
      </extension>
      <path value="SubstanceAdministration.effectiveTime.value"/>
      <representation value="xmlAttr"/>
      <label value="indicates a single-administration timestamp"/>
      <short value="indicates a single-administration timestamp"/>
      <definition
                  value="A quantity specifying a point on the axis of natural time. A point in time is most often represented as a calendar expression."/>
      <requirements
                    value="SHOULD contain zero or one [0..1] @value (CONF:1098-32775)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="TS.value"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="dateTime"/>
      </type>
    </element>
    <element id="SubstanceAdministration.effectiveTime:duration.inclusive">
      <path value="SubstanceAdministration.effectiveTime.inclusive"/>
      <representation value="xmlAttr"/>
      <definition
                  value="Specifies whether the limit is included in the interval (interval is closed) or excluded from the interval (interval is open)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="TS.inclusive"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element id="SubstanceAdministration.effectiveTime:duration.operator">
      <path value="SubstanceAdministration.effectiveTime.operator"/>
      <representation value="xmlAttr"/>
      <definition
                  value="A code specifying whether the set component is included (union) or excluded (set-difference) from the set, or other set operations with the current set component and the set as constructed from the representation stream up to the current point."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SXCM_TS.operator"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
    </element>
    <element id="SubstanceAdministration.effectiveTime:duration.low">
      <path value="SubstanceAdministration.effectiveTime.low"/>
      <label value="indicates when medication started"/>
      <short value="indicates when medication started"/>
      <definition value="This is the low limit of the interval."/>
      <requirements
                    value="SHOULD contain zero or one [0..1] low (CONF:1098-32776)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="IVL_TS.low"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/TS"/>
      </type>
    </element>
    <element id="SubstanceAdministration.effectiveTime:duration.high">
      <path value="SubstanceAdministration.effectiveTime.high"/>
      <label value="indicates when medication stopped"/>
      <short value="indicates when medication stopped"/>
      <definition value="This is the high limit of the interval."/>
      <requirements
                    value="MAY contain zero or one [0..1] high (CONF:1098-32777)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="IVL_TS.high"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/TS"/>
      </type>
    </element>
    <element id="SubstanceAdministration.effectiveTime:duration.width">
      <path value="SubstanceAdministration.effectiveTime.width"/>
      <label value="Width"/>
      <definition
                  value="The difference between high and low boundary. The purpose of distinguishing a width property is to handle all cases of incomplete information symmetrically. In any interval representation only two of the three properties high, low, and width need to be stated and the third can be derived."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="IVL_TS.width"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/PQ"/>
      </type>
    </element>
    <element id="SubstanceAdministration.effectiveTime:duration.center">
      <path value="SubstanceAdministration.effectiveTime.center"/>
      <label value="Central Value"/>
      <definition
                  value="The arithmetic mean of the interval (low plus high divided by 2). The purpose of distinguishing the center as a semantic property is for conversions of intervals from and to point values."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="IVL_TS.center"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/TS"/>
      </type>
    </element>
    <element id="SubstanceAdministration.effectiveTime:frequency">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype">
        <valueString value="http://hl7.org/fhir/cda/StructureDefinition/SXCM-TS"/>
      </extension>
      <path value="SubstanceAdministration.effectiveTime"/>
      <representation value="typeAttr"/>
      <sliceName value="frequency"/>
      <label
             value="This effectiveTime represents the medication frequency (e.g., administration times per day)."/>
      <short
             value="This effectiveTime represents the medication frequency (e.g., administration times per day)."/>
      <requirements
                    value="SHOULD contain zero or one [0..1] effectiveTime (CONF:1098-7513) such that it"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.effectiveTime"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/SXCM-TS"/>
      </type>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/IVL-TS"/>
      </type>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/EIVL-TS"/>
      </type>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/PIVL-TS"/>
      </type>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/SXPR-TS"/>
      </type>
      <constraint>
        <key value="1098-28499"/>
        <severity value="error"/>
        <human
               value="**SHALL** contain exactly one [1..1] @xsi:type=&quot;PIVL_TS&quot; or &quot;EIVL_TS&quot; (CONF:1098-28499)."/>
      </constraint>
    </element>
    <element id="SubstanceAdministration.effectiveTime:frequency.id">
      <path value="SubstanceAdministration.effectiveTime.id"/>
      <representation value="xmlAttr"/>
      <short value="Unique id for inter-element referencing"/>
      <definition
                  value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string"/>
        </extension>
        <code value="http://hl7.org/fhirpath/System.String"/>
      </type>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="SubstanceAdministration.effectiveTime:frequency.extension">
      <path value="SubstanceAdministration.effectiveTime.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <short value="Additional content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="hasValue() or (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <xpath
               value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), &quot;value&quot;)])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="SubstanceAdministration.priorityCode">
      <path value="SubstanceAdministration.priorityCode"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.priorityCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-ActPriority"/>
      </binding>
    </element>
    <element id="SubstanceAdministration.repeatNumber">
      <path value="SubstanceAdministration.repeatNumber"/>
      <short
             value="In &quot;INT&quot; (intent) mood, the repeatNumber defines the number of allowed administrations. For example, a repeatNumber of &quot;3&quot; means that the substance can be administered up to 3 times. In &quot;EVN&quot; (event) mood, the repeatNumber is the number of occurrences. For example, a repeatNumber of &quot;3&quot; in a substance administration event means that the current administration is the 3rd in a series."/>
      <requirements
                    value="MAY contain zero or one [0..1] repeatNumber (CONF:1098-7555)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.repeatNumber"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/IVL-INT"/>
      </type>
    </element>
    <element id="SubstanceAdministration.routeCode">
      <path value="SubstanceAdministration.routeCode"/>
      <requirements
                    value="SHOULD contain zero or one [0..1] routeCode, which SHALL be selected from ValueSet SPL Drug Route of Administration Terminology urn:oid:2.16.840.1.113883.3.88.12.3221.8.7 DYNAMIC (CONF:1098-7514)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.routeCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/CE"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.3221.8.7"/>
      </binding>
    </element>
    <element id="SubstanceAdministration.routeCode.nullFlavor">
      <path value="SubstanceAdministration.routeCode.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"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-NullFlavor"/>
      </binding>
    </element>
    <element id="SubstanceAdministration.routeCode.code">
      <path value="SubstanceAdministration.routeCode.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="string"/>
      </type>
    </element>
    <element id="SubstanceAdministration.routeCode.codeSystem">
      <path value="SubstanceAdministration.routeCode.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"/>
      </type>
    </element>
    <element id="SubstanceAdministration.routeCode.codeSystemName">
      <path value="SubstanceAdministration.routeCode.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"/>
      </type>
    </element>
    <element id="SubstanceAdministration.routeCode.codeSystemVersion">
      <path value="SubstanceAdministration.routeCode.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"/>
      </type>
    </element>
    <element id="SubstanceAdministration.routeCode.displayName">
      <path value="SubstanceAdministration.routeCode.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"/>
      </type>
    </element>
    <element id="SubstanceAdministration.routeCode.sdtcValueSet">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace">
        <valueUri value="urn:hl7-org:sdtc"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name">
        <valueString value="valueSet"/>
      </extension>
      <path value="SubstanceAdministration.routeCode.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"/>
      </type>
    </element>
    <element id="SubstanceAdministration.routeCode.sdtcValueSetVersion">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace">
        <valueUri value="urn:hl7-org:sdtc"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name">
        <valueString value="valueSetVersion"/>
      </extension>
      <path value="SubstanceAdministration.routeCode.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"/>
      </type>
    </element>
    <element id="SubstanceAdministration.routeCode.originalText">
      <path value="SubstanceAdministration.routeCode.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/fhir/cda/StructureDefinition/ED"/>
      </type>
    </element>
    <element id="SubstanceAdministration.routeCode.qualifier">
      <path value="SubstanceAdministration.routeCode.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/fhir/cda/StructureDefinition/CR"/>
      </type>
    </element>
    <element id="SubstanceAdministration.routeCode.translation">
      <path value="SubstanceAdministration.routeCode.translation"/>
      <representation value="typeAttr"/>
      <label value="Translation"/>
      <definition
                  value="A set of other concept descriptors that translate this concept descriptor into other code systems."/>
      <requirements
                    value="The routeCode, if present, SHOULD contain zero or more [0..*] translation, which SHALL be selected from ValueSet Medication Route urn:oid:2.16.840.1.113762.1.4.1099.12 DYNAMIC (CONF:1098-32950)."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="CD.translation"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/CD"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.12"/>
      </binding>
    </element>
    <element id="SubstanceAdministration.approachSiteCode">
      <path value="SubstanceAdministration.approachSiteCode"/>
      <requirements
                    value="MAY contain zero or one [0..1] approachSiteCode, where the code SHALL be selected from ValueSet Body Site Value Set urn:oid:2.16.840.1.113883.3.88.12.3221.8.9 DYNAMIC (CONF:1098-7515)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.approachSiteCode"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/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="SubstanceAdministration.doseQuantity">
      <path value="SubstanceAdministration.doseQuantity"/>
      <requirements
                    value="SHALL contain exactly one [1..1] doseQuantity (CONF:1098-7516)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.doseQuantity"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/IVL-PQ"/>
      </type>
      <constraint>
        <key value="1098-16879"/>
        <severity value="warning"/>
        <human
               value="Not pre-coordinated consumable: If the consumable code is not pre-coordinated (e.g., is simply &quot;metoprolol&quot;), then doseQuantity must represent a physical quantity with @unit, e.g., &quot;25&quot; and &quot;mg&quot;, specifying the amount of product given per administration (CONF:1098-16879)."/>
      </constraint>
      <constraint>
        <key value="1098-16878"/>
        <severity value="warning"/>
        <human
               value="Pre-coordinated consumable: If the consumable code is a pre-coordinated unit dose (e.g., &quot;metoprolol 25mg tablet&quot;) then doseQuantity is a unitless number that indicates the number of products given per administration (e.g., &quot;2&quot;, meaning 2 x &quot;metoprolol 25mg tablet&quot; per administration) (CONF:1098-16878)."/>
      </constraint>
    </element>
    <element id="SubstanceAdministration.doseQuantity.nullFlavor">
      <path value="SubstanceAdministration.doseQuantity.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"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-NullFlavor"/>
      </binding>
    </element>
    <element id="SubstanceAdministration.doseQuantity.unit">
      <path value="SubstanceAdministration.doseQuantity.unit"/>
      <representation value="xmlAttr"/>
      <label value="Unit of Measure"/>
      <definition
                  value="The unit of measure specified in the Unified Code for Units of Measure (UCUM) []."/>
      <requirements
                    value="This doseQuantity SHOULD contain zero or one [0..1] @unit, which SHALL be selected from ValueSet UnitsOfMeasureCaseSensitive urn:oid:2.16.840.1.113883.1.11.12839 DYNAMIC (CONF:1098-7526)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="IVL_PQ.unit"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.12839"/>
      </binding>
    </element>
    <element id="SubstanceAdministration.doseQuantity.value">
      <path value="SubstanceAdministration.doseQuantity.value"/>
      <representation value="xmlAttr"/>
      <label value="Maginitude Value"/>
      <definition
                  value="The magnitude of the quantity measured in terms of the unit."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PQ.value"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="decimal"/>
      </type>
    </element>
    <element id="SubstanceAdministration.doseQuantity.low">
      <path value="SubstanceAdministration.doseQuantity.low"/>
      <label value="Low Boundary"/>
      <definition value="This is the low limit of the interval."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="IVL_PQ.low"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/PQ"/>
      </type>
    </element>
    <element id="SubstanceAdministration.doseQuantity.high">
      <path value="SubstanceAdministration.doseQuantity.high"/>
      <label value="High Boundary"/>
      <definition value="This is the high limit of the interval."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="IVL_PQ.high"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/PQ"/>
      </type>
    </element>
    <element id="SubstanceAdministration.doseQuantity.width">
      <path value="SubstanceAdministration.doseQuantity.width"/>
      <label value="Width"/>
      <definition
                  value="The difference between high and low boundary. The purpose of distinguishing a width property is to handle all cases of incomplete information symmetrically. In any interval representation only two of the three properties high, low, and width need to be stated and the third can be derived."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="IVL_PQ.width"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/PQ"/>
      </type>
    </element>
    <element id="SubstanceAdministration.doseQuantity.center">
      <path value="SubstanceAdministration.doseQuantity.center"/>
      <label value="Central Value"/>
      <definition
                  value="The arithmetic mean of the interval (low plus high divided by 2). The purpose of distinguishing the center as a semantic property is for conversions of intervals from and to point values."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="IVL_PQ.center"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/PQ"/>
      </type>
    </element>
    <element id="SubstanceAdministration.rateQuantity">
      <path value="SubstanceAdministration.rateQuantity"/>
      <requirements
                    value="MAY contain zero or one [0..1] rateQuantity (CONF:1098-7517)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.rateQuantity"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/IVL-PQ"/>
      </type>
    </element>
    <element id="SubstanceAdministration.rateQuantity.nullFlavor">
      <path value="SubstanceAdministration.rateQuantity.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"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-NullFlavor"/>
      </binding>
    </element>
    <element id="SubstanceAdministration.rateQuantity.unit">
      <path value="SubstanceAdministration.rateQuantity.unit"/>
      <representation value="xmlAttr"/>
      <label value="Unit of Measure"/>
      <definition
                  value="The unit of measure specified in the Unified Code for Units of Measure (UCUM) []."/>
      <requirements
                    value="The rateQuantity, if present, SHALL contain exactly one [1..1] @unit, which SHALL be selected from ValueSet UnitsOfMeasureCaseSensitive urn:oid:2.16.840.1.113883.1.11.12839 DYNAMIC (CONF:1098-7525)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="IVL_PQ.unit"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.12839"/>
      </binding>
    </element>
    <element id="SubstanceAdministration.rateQuantity.value">
      <path value="SubstanceAdministration.rateQuantity.value"/>
      <representation value="xmlAttr"/>
      <label value="Maginitude Value"/>
      <definition
                  value="The magnitude of the quantity measured in terms of the unit."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="PQ.value"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="decimal"/>
      </type>
    </element>
    <element id="SubstanceAdministration.rateQuantity.low">
      <path value="SubstanceAdministration.rateQuantity.low"/>
      <label value="Low Boundary"/>
      <definition value="This is the low limit of the interval."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="IVL_PQ.low"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/PQ"/>
      </type>
    </element>
    <element id="SubstanceAdministration.rateQuantity.high">
      <path value="SubstanceAdministration.rateQuantity.high"/>
      <label value="High Boundary"/>
      <definition value="This is the high limit of the interval."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="IVL_PQ.high"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/PQ"/>
      </type>
    </element>
    <element id="SubstanceAdministration.rateQuantity.width">
      <path value="SubstanceAdministration.rateQuantity.width"/>
      <label value="Width"/>
      <definition
                  value="The difference between high and low boundary. The purpose of distinguishing a width property is to handle all cases of incomplete information symmetrically. In any interval representation only two of the three properties high, low, and width need to be stated and the third can be derived."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="IVL_PQ.width"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/PQ"/>
      </type>
    </element>
    <element id="SubstanceAdministration.rateQuantity.center">
      <path value="SubstanceAdministration.rateQuantity.center"/>
      <label value="Central Value"/>
      <definition
                  value="The arithmetic mean of the interval (low plus high divided by 2). The purpose of distinguishing the center as a semantic property is for conversions of intervals from and to point values."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="IVL_PQ.center"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/PQ"/>
      </type>
    </element>
    <element id="SubstanceAdministration.maxDoseQuantity">
      <path value="SubstanceAdministration.maxDoseQuantity"/>
      <requirements
                    value="MAY contain zero or one [0..1] maxDoseQuantity (CONF:1098-7518)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.maxDoseQuantity"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/RTO-PQ-PQ"/>
      </type>
    </element>
    <element id="SubstanceAdministration.administrationUnitCode">
      <path value="SubstanceAdministration.administrationUnitCode"/>
      <short
             value="administrationUnitCode@code describes the units of medication administration for an item using a code that is pre-coordinated to include a physical unit form (ointment, powder, solution, etc.) which differs from the units used in administering the consumable (capful, spray, drop, etc.). For example when recording medication administrations, ?metric drop (C48491)? would be appropriate to accompany the RxNorm code of 198283 (Timolol 0.25% Ophthalmic Solution) where the number of drops would be specified in doseQuantity@value."/>
      <requirements
                    value="MAY contain zero or one [0..1] administrationUnitCode, which SHALL be selected from ValueSet AdministrationUnitDoseForm urn:oid:2.16.840.1.113762.1.4.1021.30 DYNAMIC (CONF:1098-7519)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.administrationUnitCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/CE"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.30"/>
      </binding>
    </element>
    <element id="SubstanceAdministration.consumable">
      <path value="SubstanceAdministration.consumable"/>
      <requirements
                    value="SHALL contain exactly one [1..1] consumable (CONF:1098-7520)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.consumable"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Element"/>
      </type>
    </element>
    <element id="SubstanceAdministration.consumable.typeCode">
      <path value="SubstanceAdministration.consumable.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.consumable.typeCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="CSM"/>
      <fixedCode value="CSM"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ParticipationTargetDirect"/>
      </binding>
    </element>
    <element id="SubstanceAdministration.consumable.manufacturedProduct">
      <path value="SubstanceAdministration.consumable.manufacturedProduct"/>
      <requirements
                    value="This consumable SHALL contain exactly one [1..1] Medication Information (V2) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.23:2014-06-09) (CONF:1098-16085)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.consumable.manufacturedProduct"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/ManufacturedProduct"/>
        <profile
                 value="http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.23"/>
      </type>
      <isModifier value="false"/>
    </element>
    <element id="SubstanceAdministration.subject">
      <path value="SubstanceAdministration.subject"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.subject"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Element"/>
      </type>
    </element>
    <element id="SubstanceAdministration.subject.typeCode">
      <path value="SubstanceAdministration.subject.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.subject.typeCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="SBJ"/>
      <fixedCode value="SBJ"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ParticipationTargetSubject"/>
      </binding>
    </element>
    <element id="SubstanceAdministration.subject.contextControlCode">
      <path value="SubstanceAdministration.subject.contextControlCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.subject.contextControlCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="OP"/>
      <fixedCode value="OP"/>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-ContextControl"/>
      </binding>
    </element>
    <element id="SubstanceAdministration.subject.awarenessCode">
      <path value="SubstanceAdministration.subject.awarenessCode"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.subject.awarenessCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/CE"/>
      </type>
      <binding>
        <strength value="extensible"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-TargetAwareness"/>
      </binding>
    </element>
    <element id="SubstanceAdministration.subject.relatedSubject">
      <path value="SubstanceAdministration.subject.relatedSubject"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.subject.relatedSubject"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/RelatedSubject"/>
      </type>
    </element>
    <element id="SubstanceAdministration.specimen">
      <path value="SubstanceAdministration.specimen"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="SubstanceAdministration.specimen"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Specimen"/>
      </type>
    </element>
    <element id="SubstanceAdministration.performer">
      <path value="SubstanceAdministration.performer"/>
      <requirements
                    value="MAY contain zero or one [0..1] performer (CONF:1098-7522)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.performer"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Performer2"/>
      </type>
    </element>
    <element id="SubstanceAdministration.author">
      <path value="SubstanceAdministration.author"/>
      <requirements
                    value="SHOULD contain zero or more [0..*] Author Participation (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.119) (CONF:1098-31150)."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="SubstanceAdministration.author"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Author"/>
        <profile
                 value="http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.119"/>
      </type>
      <isModifier value="false"/>
    </element>
    <element id="SubstanceAdministration.informant">
      <path value="SubstanceAdministration.informant"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="SubstanceAdministration.informant"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Element"/>
      </type>
    </element>
    <element id="SubstanceAdministration.informant.typeCode">
      <path value="SubstanceAdministration.informant.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.informant.typeCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="INF"/>
      <fixedCode value="INF"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ParticipationInformationGenerator"/>
      </binding>
    </element>
    <element id="SubstanceAdministration.informant.contextControlCode">
      <path value="SubstanceAdministration.informant.contextControlCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.informant.contextControlCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <defaultValueCode value="OP"/>
      <fixedCode value="OP"/>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-ContextControl"/>
      </binding>
    </element>
    <element id="SubstanceAdministration.informant.assignedEntity">
      <path value="SubstanceAdministration.informant.assignedEntity"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.informant.assignedEntity"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/AssignedEntity"/>
      </type>
    </element>
    <element id="SubstanceAdministration.informant.relatedEntity">
      <path value="SubstanceAdministration.informant.relatedEntity"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.informant.relatedEntity"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/RelatedEntity"/>
      </type>
    </element>
    <element id="SubstanceAdministration.participant">
      <path value="SubstanceAdministration.participant"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="participantRole"/>
        </discriminator>
        <discriminator>
          <type value="value"/>
          <path value="typeCode"/>
        </discriminator>
        <rules value="open"/>
      </slicing>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="SubstanceAdministration.participant"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Participant2"/>
      </type>
    </element>
    <element id="SubstanceAdministration.participant:drugVehicle">
      <path value="SubstanceAdministration.participant"/>
      <sliceName value="drugVehicle"/>
      <requirements
                    value="MAY contain zero or more [0..*] participant (CONF:1098-7523) such that it"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="SubstanceAdministration.participant"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Participant2"/>
      </type>
    </element>
    <element id="SubstanceAdministration.participant:drugVehicle.nullFlavor">
      <path value="SubstanceAdministration.participant.nullFlavor"/>
      <representation value="xmlAttr"/>
      <label value="Exceptional Value Detail"/>
      <definition
                  value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Participant2.nullFlavor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-NullFlavor"/>
      </binding>
    </element>
    <element id="SubstanceAdministration.participant:drugVehicle.typeCode">
      <path value="SubstanceAdministration.participant.typeCode"/>
      <representation value="xmlAttr"/>
      <requirements
                    value="SHALL contain exactly one [1..1] @typeCode=&quot;CSM&quot; (CodeSystem: HL7ParticipationType urn:oid:2.16.840.1.113883.5.90 STATIC) (CONF:1098-7524)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Participant2.typeCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <patternCode value="CSM"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ParticipationType"/>
      </binding>
    </element>
    <element
             id="SubstanceAdministration.participant:drugVehicle.contextControlCode">
      <path value="SubstanceAdministration.participant.contextControlCode"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Participant2.contextControlCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <fixedCode value="OP"/>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-ContextControl"/>
      </binding>
    </element>
    <element id="SubstanceAdministration.participant:drugVehicle.realmCode">
      <path value="SubstanceAdministration.participant.realmCode"/>
      <definition
                  value="When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Participant2.realmCode"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/CS"/>
      </type>
    </element>
    <element id="SubstanceAdministration.participant:drugVehicle.typeId">
      <path value="SubstanceAdministration.participant.typeId"/>
      <definition
                  value="When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Participant2.typeId"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/II"/>
      </type>
    </element>
    <element id="SubstanceAdministration.participant:drugVehicle.templateId">
      <path value="SubstanceAdministration.participant.templateId"/>
      <definition
                  value="When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Participant2.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/II"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.participant:drugVehicle.sdtcFunctionCode">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace">
        <valueUri value="urn:hl7-org:sdtc"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name">
        <valueString value="functionCode"/>
      </extension>
      <path value="SubstanceAdministration.participant.sdtcFunctionCode"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Participant2.sdtcFunctionCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/CE"/>
      </type>
    </element>
    <element id="SubstanceAdministration.participant:drugVehicle.time">
      <path value="SubstanceAdministration.participant.time"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Participant2.time"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/IVL-TS"/>
      </type>
    </element>
    <element id="SubstanceAdministration.participant:drugVehicle.awarenessCode">
      <path value="SubstanceAdministration.participant.awarenessCode"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Participant2.awarenessCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/CE"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.participant:drugVehicle.participantRole">
      <path value="SubstanceAdministration.participant.participantRole"/>
      <requirements
                    value="SHALL contain exactly one [1..1] Drug Vehicle (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.24) (CONF:1098-16086)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Participant2.participantRole"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/ParticipantRole"/>
        <profile
                 value="http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.24"/>
      </type>
      <isModifier value="false"/>
    </element>
    <element id="SubstanceAdministration.entryRelationship">
      <path value="SubstanceAdministration.entryRelationship"/>
      <slicing>
        <discriminator>
          <type value="profile"/>
          <path value="substanceAdministration"/>
        </discriminator>
        <discriminator>
          <type value="profile"/>
          <path value="observation"/>
        </discriminator>
        <discriminator>
          <type value="profile"/>
          <path value="act"/>
        </discriminator>
        <discriminator>
          <type value="profile"/>
          <path value="supply"/>
        </discriminator>
        <rules value="open"/>
      </slicing>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Element"/>
      </type>
      <constraint>
        <key value="subst-er-1"/>
        <severity value="error"/>
        <human
               value="Only one of observation, regionOfInterest, observationMedia, substanceAdministration, supply, procedure, encounter, organizer, and act"/>
        <expression
                    value="(observation | regionOfInterest | observationMedia | substanceAdministration | supply | procedure | encounter | organizer | act).count() = 1"/>
        <source
                value="http://hl7.org/fhir/cda/StructureDefinition/SubstanceAdministration"/>
      </constraint>
    </element>
    <element id="SubstanceAdministration.entryRelationship.typeCode">
      <path value="SubstanceAdministration.entryRelationship.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.typeCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
    </element>
    <element id="SubstanceAdministration.entryRelationship.inversionInd">
      <path value="SubstanceAdministration.entryRelationship.inversionInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.inversionInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element id="SubstanceAdministration.entryRelationship.contextConductionInd">
      <path
            value="SubstanceAdministration.entryRelationship.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path
              value="SubstanceAdministration.entryRelationship.contextConductionInd"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
      <defaultValueBoolean value="true"/>
    </element>
    <element id="SubstanceAdministration.entryRelationship.sequenceNumber">
      <path value="SubstanceAdministration.entryRelationship.sequenceNumber"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.sequenceNumber"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/INT"/>
      </type>
    </element>
    <element id="SubstanceAdministration.entryRelationship.negationInd">
      <path value="SubstanceAdministration.entryRelationship.negationInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.negationInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element id="SubstanceAdministration.entryRelationship.seperatableInd">
      <path value="SubstanceAdministration.entryRelationship.seperatableInd"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.seperatableInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/BL"/>
      </type>
    </element>
    <element id="SubstanceAdministration.entryRelationship.observation">
      <path value="SubstanceAdministration.entryRelationship.observation"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.observation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Observation"/>
      </type>
    </element>
    <element id="SubstanceAdministration.entryRelationship.regionOfInterest">
      <path value="SubstanceAdministration.entryRelationship.regionOfInterest"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.regionOfInterest"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/RegionOfInterest"/>
      </type>
    </element>
    <element id="SubstanceAdministration.entryRelationship.observationMedia">
      <path value="SubstanceAdministration.entryRelationship.observationMedia"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.observationMedia"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/ObservationMedia"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship.substanceAdministration">
      <path
            value="SubstanceAdministration.entryRelationship.substanceAdministration"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path
              value="SubstanceAdministration.entryRelationship.substanceAdministration"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/SubstanceAdministration"/>
      </type>
    </element>
    <element id="SubstanceAdministration.entryRelationship.supply">
      <path value="SubstanceAdministration.entryRelationship.supply"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.supply"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Supply"/>
      </type>
    </element>
    <element id="SubstanceAdministration.entryRelationship.procedure">
      <path value="SubstanceAdministration.entryRelationship.procedure"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.procedure"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Procedure"/>
      </type>
    </element>
    <element id="SubstanceAdministration.entryRelationship.encounter">
      <path value="SubstanceAdministration.entryRelationship.encounter"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.encounter"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Encounter"/>
      </type>
    </element>
    <element id="SubstanceAdministration.entryRelationship.organizer">
      <path value="SubstanceAdministration.entryRelationship.organizer"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.organizer"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Organizer"/>
      </type>
    </element>
    <element id="SubstanceAdministration.entryRelationship.act">
      <path value="SubstanceAdministration.entryRelationship.act"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.act"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Act"/>
      </type>
    </element>
    <element id="SubstanceAdministration.entryRelationship:indication">
      <path value="SubstanceAdministration.entryRelationship"/>
      <sliceName value="indication"/>
      <requirements
                    value="MAY contain zero or more [0..*] entryRelationship (CONF:1098-7536) such that it"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Element"/>
      </type>
      <constraint>
        <key value="subst-er-1"/>
        <severity value="error"/>
        <human
               value="Only one of observation, regionOfInterest, observationMedia, substanceAdministration, supply, procedure, encounter, organizer, and act"/>
        <expression
                    value="(observation | regionOfInterest | observationMedia | substanceAdministration | supply | procedure | encounter | organizer | act).count() = 1"/>
        <source
                value="http://hl7.org/fhir/cda/StructureDefinition/SubstanceAdministration"/>
      </constraint>
    </element>
    <element id="SubstanceAdministration.entryRelationship:indication.typeCode">
      <path value="SubstanceAdministration.entryRelationship.typeCode"/>
      <representation value="xmlAttr"/>
      <requirements
                    value="SHALL contain exactly one [1..1] @typeCode=&quot;RSON&quot; (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:1098-7537)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.typeCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <patternCode value="RSON"/>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:indication.inversionInd">
      <path value="SubstanceAdministration.entryRelationship.inversionInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.inversionInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:indication.contextConductionInd">
      <path
            value="SubstanceAdministration.entryRelationship.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path
              value="SubstanceAdministration.entryRelationship.contextConductionInd"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
      <defaultValueBoolean value="true"/>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:indication.sequenceNumber">
      <path value="SubstanceAdministration.entryRelationship.sequenceNumber"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.sequenceNumber"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/INT"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:indication.negationInd">
      <path value="SubstanceAdministration.entryRelationship.negationInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.negationInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:indication.seperatableInd">
      <path value="SubstanceAdministration.entryRelationship.seperatableInd"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.seperatableInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/BL"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:indication.observation">
      <path value="SubstanceAdministration.entryRelationship.observation"/>
      <requirements
                    value="SHALL contain exactly one [1..1] Indication (V2) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.19:2014-06-09) (CONF:1098-16087)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.observation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Observation"/>
        <profile
                 value="http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.19"/>
      </type>
      <isModifier value="false"/>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:indication.regionOfInterest">
      <path value="SubstanceAdministration.entryRelationship.regionOfInterest"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.regionOfInterest"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/RegionOfInterest"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:indication.observationMedia">
      <path value="SubstanceAdministration.entryRelationship.observationMedia"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.observationMedia"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/ObservationMedia"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:indication.substanceAdministration">
      <path
            value="SubstanceAdministration.entryRelationship.substanceAdministration"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path
              value="SubstanceAdministration.entryRelationship.substanceAdministration"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/SubstanceAdministration"/>
      </type>
    </element>
    <element id="SubstanceAdministration.entryRelationship:indication.supply">
      <path value="SubstanceAdministration.entryRelationship.supply"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.supply"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Supply"/>
      </type>
    </element>
    <element id="SubstanceAdministration.entryRelationship:indication.procedure">
      <path value="SubstanceAdministration.entryRelationship.procedure"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.procedure"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Procedure"/>
      </type>
    </element>
    <element id="SubstanceAdministration.entryRelationship:indication.encounter">
      <path value="SubstanceAdministration.entryRelationship.encounter"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.encounter"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Encounter"/>
      </type>
    </element>
    <element id="SubstanceAdministration.entryRelationship:indication.organizer">
      <path value="SubstanceAdministration.entryRelationship.organizer"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.organizer"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Organizer"/>
      </type>
    </element>
    <element id="SubstanceAdministration.entryRelationship:indication.act">
      <path value="SubstanceAdministration.entryRelationship.act"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.act"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Act"/>
      </type>
    </element>
    <element id="SubstanceAdministration.entryRelationship:instruction">
      <path value="SubstanceAdministration.entryRelationship"/>
      <sliceName value="instruction"/>
      <requirements
                    value="MAY contain zero or one [0..1] entryRelationship (CONF:1098-7539) such that it"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Element"/>
      </type>
      <constraint>
        <key value="subst-er-1"/>
        <severity value="error"/>
        <human
               value="Only one of observation, regionOfInterest, observationMedia, substanceAdministration, supply, procedure, encounter, organizer, and act"/>
        <expression
                    value="(observation | regionOfInterest | observationMedia | substanceAdministration | supply | procedure | encounter | organizer | act).count() = 1"/>
        <source
                value="http://hl7.org/fhir/cda/StructureDefinition/SubstanceAdministration"/>
      </constraint>
    </element>
    <element id="SubstanceAdministration.entryRelationship:instruction.typeCode">
      <path value="SubstanceAdministration.entryRelationship.typeCode"/>
      <representation value="xmlAttr"/>
      <requirements
                    value="SHALL contain exactly one [1..1] @typeCode=&quot;SUBJ&quot; (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:1098-7540)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.typeCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <patternCode value="SUBJ"/>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:instruction.inversionInd">
      <path value="SubstanceAdministration.entryRelationship.inversionInd"/>
      <representation value="xmlAttr"/>
      <requirements
                    value="SHALL contain exactly one [1..1] @inversionInd=&quot;true&quot; True (CONF:1098-7542)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.inversionInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
      <patternBoolean value="true"/>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:instruction.contextConductionInd">
      <path
            value="SubstanceAdministration.entryRelationship.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path
              value="SubstanceAdministration.entryRelationship.contextConductionInd"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
      <defaultValueBoolean value="true"/>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:instruction.sequenceNumber">
      <path value="SubstanceAdministration.entryRelationship.sequenceNumber"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.sequenceNumber"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/INT"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:instruction.negationInd">
      <path value="SubstanceAdministration.entryRelationship.negationInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.negationInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:instruction.seperatableInd">
      <path value="SubstanceAdministration.entryRelationship.seperatableInd"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.seperatableInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/BL"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:instruction.observation">
      <path value="SubstanceAdministration.entryRelationship.observation"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.observation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Observation"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:instruction.regionOfInterest">
      <path value="SubstanceAdministration.entryRelationship.regionOfInterest"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.regionOfInterest"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/RegionOfInterest"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:instruction.observationMedia">
      <path value="SubstanceAdministration.entryRelationship.observationMedia"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.observationMedia"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/ObservationMedia"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:instruction.substanceAdministration">
      <path
            value="SubstanceAdministration.entryRelationship.substanceAdministration"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path
              value="SubstanceAdministration.entryRelationship.substanceAdministration"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/SubstanceAdministration"/>
      </type>
    </element>
    <element id="SubstanceAdministration.entryRelationship:instruction.supply">
      <path value="SubstanceAdministration.entryRelationship.supply"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.supply"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Supply"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:instruction.procedure">
      <path value="SubstanceAdministration.entryRelationship.procedure"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.procedure"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Procedure"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:instruction.encounter">
      <path value="SubstanceAdministration.entryRelationship.encounter"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.encounter"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Encounter"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:instruction.organizer">
      <path value="SubstanceAdministration.entryRelationship.organizer"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.organizer"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Organizer"/>
      </type>
    </element>
    <element id="SubstanceAdministration.entryRelationship:instruction.act">
      <path value="SubstanceAdministration.entryRelationship.act"/>
      <requirements
                    value="SHALL contain exactly one [1..1] Instruction (V2) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.20:2014-06-09) (CONF:1098-31387)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.act"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Act"/>
        <profile
                 value="http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.20"/>
      </type>
      <isModifier value="false"/>
    </element>
    <element id="SubstanceAdministration.entryRelationship:supplyOrder">
      <path value="SubstanceAdministration.entryRelationship"/>
      <sliceName value="supplyOrder"/>
      <requirements
                    value="MAY contain zero or one [0..1] entryRelationship (CONF:1098-7543) such that it"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Element"/>
      </type>
      <constraint>
        <key value="subst-er-1"/>
        <severity value="error"/>
        <human
               value="Only one of observation, regionOfInterest, observationMedia, substanceAdministration, supply, procedure, encounter, organizer, and act"/>
        <expression
                    value="(observation | regionOfInterest | observationMedia | substanceAdministration | supply | procedure | encounter | organizer | act).count() = 1"/>
        <source
                value="http://hl7.org/fhir/cda/StructureDefinition/SubstanceAdministration"/>
      </constraint>
    </element>
    <element id="SubstanceAdministration.entryRelationship:supplyOrder.typeCode">
      <path value="SubstanceAdministration.entryRelationship.typeCode"/>
      <representation value="xmlAttr"/>
      <requirements
                    value="SHALL contain exactly one [1..1] @typeCode=&quot;REFR&quot; (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:1098-7547)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.typeCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <patternCode value="REFR"/>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:supplyOrder.inversionInd">
      <path value="SubstanceAdministration.entryRelationship.inversionInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.inversionInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:supplyOrder.contextConductionInd">
      <path
            value="SubstanceAdministration.entryRelationship.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path
              value="SubstanceAdministration.entryRelationship.contextConductionInd"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
      <defaultValueBoolean value="true"/>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:supplyOrder.sequenceNumber">
      <path value="SubstanceAdministration.entryRelationship.sequenceNumber"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.sequenceNumber"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/INT"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:supplyOrder.negationInd">
      <path value="SubstanceAdministration.entryRelationship.negationInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.negationInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:supplyOrder.seperatableInd">
      <path value="SubstanceAdministration.entryRelationship.seperatableInd"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.seperatableInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/BL"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:supplyOrder.observation">
      <path value="SubstanceAdministration.entryRelationship.observation"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.observation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Observation"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:supplyOrder.regionOfInterest">
      <path value="SubstanceAdministration.entryRelationship.regionOfInterest"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.regionOfInterest"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/RegionOfInterest"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:supplyOrder.observationMedia">
      <path value="SubstanceAdministration.entryRelationship.observationMedia"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.observationMedia"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/ObservationMedia"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:supplyOrder.substanceAdministration">
      <path
            value="SubstanceAdministration.entryRelationship.substanceAdministration"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path
              value="SubstanceAdministration.entryRelationship.substanceAdministration"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/SubstanceAdministration"/>
      </type>
    </element>
    <element id="SubstanceAdministration.entryRelationship:supplyOrder.supply">
      <path value="SubstanceAdministration.entryRelationship.supply"/>
      <requirements
                    value="SHALL contain exactly one [1..1] Medication Supply Order (V2) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.17:2014-06-09) (CONF:1098-16089)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.supply"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Supply"/>
        <profile
                 value="http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.17"/>
      </type>
      <isModifier value="false"/>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:supplyOrder.procedure">
      <path value="SubstanceAdministration.entryRelationship.procedure"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.procedure"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Procedure"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:supplyOrder.encounter">
      <path value="SubstanceAdministration.entryRelationship.encounter"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.encounter"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Encounter"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:supplyOrder.organizer">
      <path value="SubstanceAdministration.entryRelationship.organizer"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.organizer"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Organizer"/>
      </type>
    </element>
    <element id="SubstanceAdministration.entryRelationship:supplyOrder.act">
      <path value="SubstanceAdministration.entryRelationship.act"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.act"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Act"/>
      </type>
    </element>
    <element id="SubstanceAdministration.entryRelationship:medicationDispense">
      <path value="SubstanceAdministration.entryRelationship"/>
      <sliceName value="medicationDispense"/>
      <requirements
                    value="MAY contain zero or more [0..*] entryRelationship (CONF:1098-7549) such that it"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Element"/>
      </type>
      <constraint>
        <key value="subst-er-1"/>
        <severity value="error"/>
        <human
               value="Only one of observation, regionOfInterest, observationMedia, substanceAdministration, supply, procedure, encounter, organizer, and act"/>
        <expression
                    value="(observation | regionOfInterest | observationMedia | substanceAdministration | supply | procedure | encounter | organizer | act).count() = 1"/>
        <source
                value="http://hl7.org/fhir/cda/StructureDefinition/SubstanceAdministration"/>
      </constraint>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:medicationDispense.typeCode">
      <path value="SubstanceAdministration.entryRelationship.typeCode"/>
      <representation value="xmlAttr"/>
      <requirements
                    value="SHALL contain exactly one [1..1] @typeCode=&quot;REFR&quot; (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:1098-7553)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.typeCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <patternCode value="REFR"/>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:medicationDispense.inversionInd">
      <path value="SubstanceAdministration.entryRelationship.inversionInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.inversionInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:medicationDispense.contextConductionInd">
      <path
            value="SubstanceAdministration.entryRelationship.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path
              value="SubstanceAdministration.entryRelationship.contextConductionInd"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
      <defaultValueBoolean value="true"/>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:medicationDispense.sequenceNumber">
      <path value="SubstanceAdministration.entryRelationship.sequenceNumber"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.sequenceNumber"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/INT"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:medicationDispense.negationInd">
      <path value="SubstanceAdministration.entryRelationship.negationInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.negationInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:medicationDispense.seperatableInd">
      <path value="SubstanceAdministration.entryRelationship.seperatableInd"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.seperatableInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/BL"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:medicationDispense.observation">
      <path value="SubstanceAdministration.entryRelationship.observation"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.observation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Observation"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:medicationDispense.regionOfInterest">
      <path value="SubstanceAdministration.entryRelationship.regionOfInterest"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.regionOfInterest"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/RegionOfInterest"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:medicationDispense.observationMedia">
      <path value="SubstanceAdministration.entryRelationship.observationMedia"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.observationMedia"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/ObservationMedia"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:medicationDispense.substanceAdministration">
      <path
            value="SubstanceAdministration.entryRelationship.substanceAdministration"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path
              value="SubstanceAdministration.entryRelationship.substanceAdministration"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/SubstanceAdministration"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:medicationDispense.supply">
      <path value="SubstanceAdministration.entryRelationship.supply"/>
      <requirements
                    value="SHALL contain exactly one [1..1] Medication Dispense (V2) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.18:2014-06-09) (CONF:1098-16090)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.supply"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Supply"/>
        <profile
                 value="http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.18"/>
      </type>
      <constraint>
        <key value="1098-9333"/>
        <severity value="error"/>
        <human
               value="A supply act  **SHALL** contain one product/Medication Information *OR* one product/Immunization Medication Information template (CONF:1098-9333)."/>
        <source
                value="http://hl7.org/fhir/cda/StructureDefinition/SubstanceAdministration"/>
      </constraint>
      <isModifier value="false"/>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:medicationDispense.procedure">
      <path value="SubstanceAdministration.entryRelationship.procedure"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.procedure"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Procedure"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:medicationDispense.encounter">
      <path value="SubstanceAdministration.entryRelationship.encounter"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.encounter"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Encounter"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:medicationDispense.organizer">
      <path value="SubstanceAdministration.entryRelationship.organizer"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.organizer"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Organizer"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:medicationDispense.act">
      <path value="SubstanceAdministration.entryRelationship.act"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.act"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Act"/>
      </type>
    </element>
    <element id="SubstanceAdministration.entryRelationship:reaction">
      <path value="SubstanceAdministration.entryRelationship"/>
      <sliceName value="reaction"/>
      <requirements
                    value="MAY contain zero or more [0..*] entryRelationship (CONF:1098-7552) such that it"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Element"/>
      </type>
      <constraint>
        <key value="subst-er-1"/>
        <severity value="error"/>
        <human
               value="Only one of observation, regionOfInterest, observationMedia, substanceAdministration, supply, procedure, encounter, organizer, and act"/>
        <expression
                    value="(observation | regionOfInterest | observationMedia | substanceAdministration | supply | procedure | encounter | organizer | act).count() = 1"/>
        <source
                value="http://hl7.org/fhir/cda/StructureDefinition/SubstanceAdministration"/>
      </constraint>
    </element>
    <element id="SubstanceAdministration.entryRelationship:reaction.typeCode">
      <path value="SubstanceAdministration.entryRelationship.typeCode"/>
      <representation value="xmlAttr"/>
      <requirements
                    value="SHALL contain exactly one [1..1] @typeCode=&quot;CAUS&quot; (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:1098-7544)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.typeCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <patternCode value="CAUS"/>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:reaction.inversionInd">
      <path value="SubstanceAdministration.entryRelationship.inversionInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.inversionInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:reaction.contextConductionInd">
      <path
            value="SubstanceAdministration.entryRelationship.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path
              value="SubstanceAdministration.entryRelationship.contextConductionInd"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
      <defaultValueBoolean value="true"/>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:reaction.sequenceNumber">
      <path value="SubstanceAdministration.entryRelationship.sequenceNumber"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.sequenceNumber"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/INT"/>
      </type>
    </element>
    <element id="SubstanceAdministration.entryRelationship:reaction.negationInd">
      <path value="SubstanceAdministration.entryRelationship.negationInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.negationInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:reaction.seperatableInd">
      <path value="SubstanceAdministration.entryRelationship.seperatableInd"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.seperatableInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/BL"/>
      </type>
    </element>
    <element id="SubstanceAdministration.entryRelationship:reaction.observation">
      <path value="SubstanceAdministration.entryRelationship.observation"/>
      <requirements
                    value="SHALL contain exactly one [1..1] Reaction Observation (V2) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.9:2014-06-09) (CONF:1098-16091)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.observation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Observation"/>
        <profile
                 value="http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.9"/>
      </type>
      <isModifier value="false"/>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:reaction.regionOfInterest">
      <path value="SubstanceAdministration.entryRelationship.regionOfInterest"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.regionOfInterest"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/RegionOfInterest"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:reaction.observationMedia">
      <path value="SubstanceAdministration.entryRelationship.observationMedia"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.observationMedia"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/ObservationMedia"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:reaction.substanceAdministration">
      <path
            value="SubstanceAdministration.entryRelationship.substanceAdministration"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path
              value="SubstanceAdministration.entryRelationship.substanceAdministration"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/SubstanceAdministration"/>
      </type>
    </element>
    <element id="SubstanceAdministration.entryRelationship:reaction.supply">
      <path value="SubstanceAdministration.entryRelationship.supply"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.supply"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Supply"/>
      </type>
    </element>
    <element id="SubstanceAdministration.entryRelationship:reaction.procedure">
      <path value="SubstanceAdministration.entryRelationship.procedure"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.procedure"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Procedure"/>
      </type>
    </element>
    <element id="SubstanceAdministration.entryRelationship:reaction.encounter">
      <path value="SubstanceAdministration.entryRelationship.encounter"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.encounter"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Encounter"/>
      </type>
    </element>
    <element id="SubstanceAdministration.entryRelationship:reaction.organizer">
      <path value="SubstanceAdministration.entryRelationship.organizer"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.organizer"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Organizer"/>
      </type>
    </element>
    <element id="SubstanceAdministration.entryRelationship:reaction.act">
      <path value="SubstanceAdministration.entryRelationship.act"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.act"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Act"/>
      </type>
    </element>
    <element id="SubstanceAdministration.entryRelationship:drugMonitoring">
      <path value="SubstanceAdministration.entryRelationship"/>
      <sliceName value="drugMonitoring"/>
      <requirements
                    value="MAY contain zero or one [0..1] entryRelationship (CONF:1098-30820) such that it"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Element"/>
      </type>
      <constraint>
        <key value="subst-er-1"/>
        <severity value="error"/>
        <human
               value="Only one of observation, regionOfInterest, observationMedia, substanceAdministration, supply, procedure, encounter, organizer, and act"/>
        <expression
                    value="(observation | regionOfInterest | observationMedia | substanceAdministration | supply | procedure | encounter | organizer | act).count() = 1"/>
        <source
                value="http://hl7.org/fhir/cda/StructureDefinition/SubstanceAdministration"/>
      </constraint>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:drugMonitoring.typeCode">
      <path value="SubstanceAdministration.entryRelationship.typeCode"/>
      <representation value="xmlAttr"/>
      <requirements
                    value="SHALL contain exactly one [1..1] @typeCode=&quot;COMP&quot; Has component (CONF:1098-30821)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.typeCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <patternCode value="COMP"/>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:drugMonitoring.inversionInd">
      <path value="SubstanceAdministration.entryRelationship.inversionInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.inversionInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:drugMonitoring.contextConductionInd">
      <path
            value="SubstanceAdministration.entryRelationship.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path
              value="SubstanceAdministration.entryRelationship.contextConductionInd"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
      <defaultValueBoolean value="true"/>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:drugMonitoring.sequenceNumber">
      <path value="SubstanceAdministration.entryRelationship.sequenceNumber"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.sequenceNumber"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/INT"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:drugMonitoring.negationInd">
      <path value="SubstanceAdministration.entryRelationship.negationInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.negationInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:drugMonitoring.seperatableInd">
      <path value="SubstanceAdministration.entryRelationship.seperatableInd"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.seperatableInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/BL"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:drugMonitoring.observation">
      <path value="SubstanceAdministration.entryRelationship.observation"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.observation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Observation"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:drugMonitoring.regionOfInterest">
      <path value="SubstanceAdministration.entryRelationship.regionOfInterest"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.regionOfInterest"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/RegionOfInterest"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:drugMonitoring.observationMedia">
      <path value="SubstanceAdministration.entryRelationship.observationMedia"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.observationMedia"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/ObservationMedia"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:drugMonitoring.substanceAdministration">
      <path
            value="SubstanceAdministration.entryRelationship.substanceAdministration"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path
              value="SubstanceAdministration.entryRelationship.substanceAdministration"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/SubstanceAdministration"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:drugMonitoring.supply">
      <path value="SubstanceAdministration.entryRelationship.supply"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.supply"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Supply"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:drugMonitoring.procedure">
      <path value="SubstanceAdministration.entryRelationship.procedure"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.procedure"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Procedure"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:drugMonitoring.encounter">
      <path value="SubstanceAdministration.entryRelationship.encounter"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.encounter"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Encounter"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:drugMonitoring.organizer">
      <path value="SubstanceAdministration.entryRelationship.organizer"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.organizer"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Organizer"/>
      </type>
    </element>
    <element id="SubstanceAdministration.entryRelationship:drugMonitoring.act">
      <path value="SubstanceAdministration.entryRelationship.act"/>
      <requirements
                    value="SHALL contain exactly one [1..1] Drug Monitoring Act (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.123) (CONF:1098-30822)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.act"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Act"/>
        <profile
                 value="http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.123"/>
      </type>
      <isModifier value="false"/>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:substanceAdministered">
      <path value="SubstanceAdministration.entryRelationship"/>
      <sliceName value="substanceAdministered"/>
      <short
             value="The following entryRelationship is used to indicate a given medication's order in a series. The nested Substance Administered Act identifies an administration in the series. The entryRelationship/sequenceNumber shows the order of this particular administration in that series."/>
      <requirements
                    value="MAY contain zero or more [0..*] entryRelationship (CONF:1098-31515) such that it"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Element"/>
      </type>
      <constraint>
        <key value="subst-er-1"/>
        <severity value="error"/>
        <human
               value="Only one of observation, regionOfInterest, observationMedia, substanceAdministration, supply, procedure, encounter, organizer, and act"/>
        <expression
                    value="(observation | regionOfInterest | observationMedia | substanceAdministration | supply | procedure | encounter | organizer | act).count() = 1"/>
        <source
                value="http://hl7.org/fhir/cda/StructureDefinition/SubstanceAdministration"/>
      </constraint>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:substanceAdministered.typeCode">
      <path value="SubstanceAdministration.entryRelationship.typeCode"/>
      <representation value="xmlAttr"/>
      <requirements
                    value="SHALL contain exactly one [1..1] @typeCode=&quot;COMP&quot; Component (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:1098-31516)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.typeCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <patternCode value="COMP"/>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:substanceAdministered.inversionInd">
      <path value="SubstanceAdministration.entryRelationship.inversionInd"/>
      <representation value="xmlAttr"/>
      <requirements
                    value="SHALL contain exactly one [1..1] @inversionInd=&quot;true&quot; (CONF:1098-31517)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.inversionInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
      <patternBoolean value="true"/>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:substanceAdministered.contextConductionInd">
      <path
            value="SubstanceAdministration.entryRelationship.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path
              value="SubstanceAdministration.entryRelationship.contextConductionInd"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
      <defaultValueBoolean value="true"/>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:substanceAdministered.sequenceNumber">
      <path value="SubstanceAdministration.entryRelationship.sequenceNumber"/>
      <requirements
                    value="MAY contain zero or one [0..1] sequenceNumber (CONF:1098-31518)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.sequenceNumber"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/INT"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:substanceAdministered.negationInd">
      <path value="SubstanceAdministration.entryRelationship.negationInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.negationInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:substanceAdministered.seperatableInd">
      <path value="SubstanceAdministration.entryRelationship.seperatableInd"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.seperatableInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/BL"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:substanceAdministered.observation">
      <path value="SubstanceAdministration.entryRelationship.observation"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.observation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Observation"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:substanceAdministered.regionOfInterest">
      <path value="SubstanceAdministration.entryRelationship.regionOfInterest"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.regionOfInterest"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/RegionOfInterest"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:substanceAdministered.observationMedia">
      <path value="SubstanceAdministration.entryRelationship.observationMedia"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.observationMedia"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/ObservationMedia"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:substanceAdministered.substanceAdministration">
      <path
            value="SubstanceAdministration.entryRelationship.substanceAdministration"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path
              value="SubstanceAdministration.entryRelationship.substanceAdministration"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/SubstanceAdministration"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:substanceAdministered.supply">
      <path value="SubstanceAdministration.entryRelationship.supply"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.supply"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Supply"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:substanceAdministered.procedure">
      <path value="SubstanceAdministration.entryRelationship.procedure"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.procedure"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Procedure"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:substanceAdministered.encounter">
      <path value="SubstanceAdministration.entryRelationship.encounter"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.encounter"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Encounter"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:substanceAdministered.organizer">
      <path value="SubstanceAdministration.entryRelationship.organizer"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.organizer"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Organizer"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:substanceAdministered.act">
      <path value="SubstanceAdministration.entryRelationship.act"/>
      <requirements
                    value="SHALL contain exactly one [1..1] Substance Administered Act (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.118) (CONF:1098-31519)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.act"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Act"/>
        <profile
                 value="http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.118"/>
      </type>
      <isModifier value="false"/>
    </element>
    <element id="SubstanceAdministration.entryRelationship:signature">
      <path value="SubstanceAdministration.entryRelationship"/>
      <sliceName value="signature"/>
      <requirements
                    value="MAY contain zero or more [0..*] entryRelationship (CONF:1098-32907) such that it"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Element"/>
      </type>
      <constraint>
        <key value="subst-er-1"/>
        <severity value="error"/>
        <human
               value="Only one of observation, regionOfInterest, observationMedia, substanceAdministration, supply, procedure, encounter, organizer, and act"/>
        <expression
                    value="(observation | regionOfInterest | observationMedia | substanceAdministration | supply | procedure | encounter | organizer | act).count() = 1"/>
        <source
                value="http://hl7.org/fhir/cda/StructureDefinition/SubstanceAdministration"/>
      </constraint>
    </element>
    <element id="SubstanceAdministration.entryRelationship:signature.typeCode">
      <path value="SubstanceAdministration.entryRelationship.typeCode"/>
      <representation value="xmlAttr"/>
      <requirements
                    value="SHALL contain exactly one [1..1] @typeCode=&quot;COMP&quot; Has component (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:1098-32908)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.typeCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <patternCode value="COMP"/>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:signature.inversionInd">
      <path value="SubstanceAdministration.entryRelationship.inversionInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.inversionInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:signature.contextConductionInd">
      <path
            value="SubstanceAdministration.entryRelationship.contextConductionInd"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path
              value="SubstanceAdministration.entryRelationship.contextConductionInd"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
      <defaultValueBoolean value="true"/>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:signature.sequenceNumber">
      <path value="SubstanceAdministration.entryRelationship.sequenceNumber"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.sequenceNumber"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/INT"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:signature.negationInd">
      <path value="SubstanceAdministration.entryRelationship.negationInd"/>
      <representation value="xmlAttr"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.negationInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:signature.seperatableInd">
      <path value="SubstanceAdministration.entryRelationship.seperatableInd"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.seperatableInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/BL"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:signature.observation">
      <path value="SubstanceAdministration.entryRelationship.observation"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.observation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Observation"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:signature.regionOfInterest">
      <path value="SubstanceAdministration.entryRelationship.regionOfInterest"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.regionOfInterest"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/RegionOfInterest"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:signature.observationMedia">
      <path value="SubstanceAdministration.entryRelationship.observationMedia"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.observationMedia"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/ObservationMedia"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:signature.substanceAdministration">
      <path
            value="SubstanceAdministration.entryRelationship.substanceAdministration"/>
      <requirements
                    value="SHALL contain exactly one [1..1] Medication Free Text Sig (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.147) (CONF:1098-32909)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path
              value="SubstanceAdministration.entryRelationship.substanceAdministration"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/SubstanceAdministration"/>
        <profile
                 value="http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.147"/>
      </type>
      <isModifier value="false"/>
    </element>
    <element id="SubstanceAdministration.entryRelationship:signature.supply">
      <path value="SubstanceAdministration.entryRelationship.supply"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.supply"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Supply"/>
      </type>
    </element>
    <element id="SubstanceAdministration.entryRelationship:signature.procedure">
      <path value="SubstanceAdministration.entryRelationship.procedure"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.procedure"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Procedure"/>
      </type>
    </element>
    <element id="SubstanceAdministration.entryRelationship:signature.encounter">
      <path value="SubstanceAdministration.entryRelationship.encounter"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.encounter"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Encounter"/>
      </type>
    </element>
    <element id="SubstanceAdministration.entryRelationship:signature.organizer">
      <path value="SubstanceAdministration.entryRelationship.organizer"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.organizer"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Organizer"/>
      </type>
    </element>
    <element id="SubstanceAdministration.entryRelationship:signature.act">
      <path value="SubstanceAdministration.entryRelationship.act"/>
      <min value="0"/>
      <max value="0"/>
      <base>
        <path value="SubstanceAdministration.entryRelationship.act"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Act"/>
      </type>
    </element>
    <element id="SubstanceAdministration.reference">
      <path value="SubstanceAdministration.reference"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="SubstanceAdministration.reference"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Element"/>
      </type>
    </element>
    <element id="SubstanceAdministration.reference.typeCode">
      <path value="SubstanceAdministration.reference.typeCode"/>
      <representation value="xmlAttr"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.reference.typeCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
    </element>
    <element id="SubstanceAdministration.reference.seperatableInd">
      <path value="SubstanceAdministration.reference.seperatableInd"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.reference.seperatableInd"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/BL"/>
      </type>
    </element>
    <element id="SubstanceAdministration.reference.externalAct">
      <path value="SubstanceAdministration.reference.externalAct"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.reference.externalAct"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/ExternalAct"/>
      </type>
    </element>
    <element id="SubstanceAdministration.reference.externalObservation">
      <path value="SubstanceAdministration.reference.externalObservation"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.reference.externalObservation"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/ExternalObservation"/>
      </type>
    </element>
    <element id="SubstanceAdministration.reference.externalProcedure">
      <path value="SubstanceAdministration.reference.externalProcedure"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.reference.externalProcedure"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/ExternalProcedure"/>
      </type>
    </element>
    <element id="SubstanceAdministration.reference.externalDocument">
      <path value="SubstanceAdministration.reference.externalDocument"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="SubstanceAdministration.reference.externalDocument"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/ExternalDocument"/>
      </type>
    </element>
    <element id="SubstanceAdministration.precondition">
      <path value="SubstanceAdministration.precondition"/>
      <requirements
                    value="MAY contain zero or more [0..*] precondition (CONF:1098-31520)."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="SubstanceAdministration.precondition"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Precondition"/>
      </type>
    </element>
    <element id="SubstanceAdministration.precondition.nullFlavor">
      <path value="SubstanceAdministration.precondition.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="Precondition.nullFlavor"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <strength value="required"/>
        <valueSet value="http://terminology.hl7.org/ValueSet/v3-NullFlavor"/>
      </binding>
    </element>
    <element id="SubstanceAdministration.precondition.typeCode">
      <path value="SubstanceAdministration.precondition.typeCode"/>
      <representation value="xmlAttr"/>
      <requirements
                    value="The precondition, if present, SHALL contain exactly one [1..1] @typeCode=&quot;PRCN&quot; (CONF:1098-31882)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Precondition.typeCode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <patternCode value="PRCN"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://terminology.hl7.org/ValueSet/v3-ActRelationshipType"/>
      </binding>
    </element>
    <element id="SubstanceAdministration.precondition.realmCode">
      <path value="SubstanceAdministration.precondition.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="Precondition.realmCode"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/CS"/>
      </type>
    </element>
    <element id="SubstanceAdministration.precondition.typeId">
      <path value="SubstanceAdministration.precondition.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="Precondition.typeId"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/II"/>
      </type>
    </element>
    <element id="SubstanceAdministration.precondition.templateId">
      <path value="SubstanceAdministration.precondition.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="Precondition.templateId"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/II"/>
      </type>
    </element>
    <element id="SubstanceAdministration.precondition.criterion">
      <path value="SubstanceAdministration.precondition.criterion"/>
      <requirements
                    value="The precondition, if present, SHALL contain exactly one [1..1] Precondition for Substance Administration (V2) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.25:2014-06-09) (CONF:1098-31883)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Precondition.criterion"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Criterion"/>
        <profile
                 value="http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.25"/>
      </type>
      <isModifier value="false"/>
    </element>
  </snapshot>
  <differential>
    <element id="SubstanceAdministration">
      <path value="SubstanceAdministration"/>
      <constraint>
        <key value="1098-30800"/>
        <severity value="warning"/>
        <human
               value="Medication Activity **SHOULD** include doseQuantity **OR** rateQuantity (CONF:1098-30800)."/>
      </constraint>
    </element>
    <element id="SubstanceAdministration.classCode">
      <path value="SubstanceAdministration.classCode"/>
      <requirements
                    value="SHALL contain exactly one [1..1] @classCode=&quot;SBADM&quot; (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:1098-7496)."/>
      <min value="1"/>
      <max value="1"/>
    </element>
    <element id="SubstanceAdministration.moodCode">
      <path value="SubstanceAdministration.moodCode"/>
      <requirements
                    value="SHALL contain exactly one [1..1] @moodCode, which SHALL be selected from ValueSet MoodCodeEvnInt urn:oid:2.16.840.1.113883.11.20.9.18 STATIC 2011-04-03 (CONF:1098-7497)."/>
      <min value="1"/>
      <max value="1"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.18"/>
      </binding>
    </element>
    <element id="SubstanceAdministration.templateId">
      <path value="SubstanceAdministration.templateId"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="extension"/>
        </discriminator>
        <discriminator>
          <type value="value"/>
          <path value="root"/>
        </discriminator>
        <rules value="open"/>
      </slicing>
    </element>
    <element id="SubstanceAdministration.templateId:primary">
      <path value="SubstanceAdministration.templateId"/>
      <sliceName value="primary"/>
      <requirements
                    value="SHALL contain exactly one [1..1] templateId (CONF:1098-7499) such that it"/>
      <min value="1"/>
      <max value="1"/>
    </element>
    <element id="SubstanceAdministration.templateId:primary.root">
      <path value="SubstanceAdministration.templateId.root"/>
      <requirements
                    value="SHALL contain exactly one [1..1] @root=&quot;2.16.840.1.113883.10.20.22.4.16&quot; (CONF:1098-10504)."/>
      <min value="1"/>
      <max value="1"/>
      <patternString value="2.16.840.1.113883.10.20.22.4.16"/>
    </element>
    <element id="SubstanceAdministration.templateId:primary.extension">
      <path value="SubstanceAdministration.templateId.extension"/>
      <requirements
                    value="SHALL contain exactly one [1..1] @extension=&quot;2014-06-09&quot; (CONF:1098-32498)."/>
      <min value="1"/>
      <max value="1"/>
      <patternString value="2014-06-09"/>
    </element>
    <element id="SubstanceAdministration.id">
      <path value="SubstanceAdministration.id"/>
      <requirements
                    value="SHALL contain at least one [1..*] id (CONF:1098-7500)."/>
      <min value="1"/>
      <max value="*"/>
    </element>
    <element id="SubstanceAdministration.code">
      <path value="SubstanceAdministration.code"/>
      <label
             value="SubstanceAdministration.code is an optional field. Per HL7 Pharmacy Committee, &quot;this is intended to further specify the nature of the substance administration act. To date the committee has made no use of this attribute&quot;. Because the type of substance administration is generally implicit in the routeCode, in the consumable participant, etc., the field is generally not used, and there is no defined value set."/>
      <short
             value="SubstanceAdministration.code is an optional field. Per HL7 Pharmacy Committee, &quot;this is intended to further specify the nature of the substance administration act. To date the committee has made no use of this attribute&quot;. Because the type of substance administration is generally implicit in the routeCode, in the consumable participant, etc., the field is generally not used, and there is no defined value set."/>
      <requirements
                    value="MAY contain zero or one [0..1] code (CONF:1098-7506)."/>
      <min value="0"/>
      <max value="1"/>
    </element>
    <element id="SubstanceAdministration.statusCode">
      <path value="SubstanceAdministration.statusCode"/>
      <requirements
                    value="SHALL contain exactly one [1..1] statusCode (CONF:1098-7507)."/>
      <min value="1"/>
      <max value="1"/>
    </element>
    <element id="SubstanceAdministration.statusCode.code">
      <path value="SubstanceAdministration.statusCode.code"/>
      <requirements
                    value="This statusCode SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Medication Status urn:oid:2.16.840.1.113762.1.4.1099.11 DYNAMIC (CONF:1098-32360)."/>
      <min value="1"/>
      <max value="1"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.11"/>
      </binding>
    </element>
    <element id="SubstanceAdministration.effectiveTime">
      <path value="SubstanceAdministration.effectiveTime"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="operator"/>
        </discriminator>
        <rules value="open"/>
      </slicing>
    </element>
    <element id="SubstanceAdministration.effectiveTime:duration">
      <path value="SubstanceAdministration.effectiveTime"/>
      <sliceName value="duration"/>
      <label
             value="This effectiveTime represents either the medication duration (i.e., the time the medication was started and stopped) or the single-administration timestamp."/>
      <short
             value="This effectiveTime represents either the medication duration (i.e., the time the medication was started and stopped) or the single-administration timestamp.

undefined"/>
      <requirements
                    value="SHALL contain exactly one [1..1] effectiveTime (CONF:1098-7508) such that it"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/IVL-TS"/>
      </type>
      <constraint>
        <key value="1098-32890"/>
        <severity value="error"/>
        <human
               value="This effectiveTime **SHALL** contain either a low or a @value but not both (CONF:1098-32890)."/>
      </constraint>
    </element>
    <element id="SubstanceAdministration.effectiveTime:duration.value">
      <path value="SubstanceAdministration.effectiveTime.value"/>
      <label value="indicates a single-administration timestamp"/>
      <short value="indicates a single-administration timestamp"/>
      <requirements
                    value="SHOULD contain zero or one [0..1] @value (CONF:1098-32775)."/>
      <min value="0"/>
      <max value="1"/>
    </element>
    <element id="SubstanceAdministration.effectiveTime:duration.low">
      <path value="SubstanceAdministration.effectiveTime.low"/>
      <label value="indicates when medication started"/>
      <short value="indicates when medication started"/>
      <requirements
                    value="SHOULD contain zero or one [0..1] low (CONF:1098-32776)."/>
      <min value="0"/>
      <max value="1"/>
    </element>
    <element id="SubstanceAdministration.effectiveTime:duration.high">
      <path value="SubstanceAdministration.effectiveTime.high"/>
      <label value="indicates when medication stopped"/>
      <short value="indicates when medication stopped"/>
      <requirements
                    value="MAY contain zero or one [0..1] high (CONF:1098-32777)."/>
      <min value="0"/>
      <max value="1"/>
    </element>
    <element id="SubstanceAdministration.effectiveTime:frequency">
      <path value="SubstanceAdministration.effectiveTime"/>
      <sliceName value="frequency"/>
      <label
             value="This effectiveTime represents the medication frequency (e.g., administration times per day)."/>
      <short
             value="This effectiveTime represents the medication frequency (e.g., administration times per day)."/>
      <requirements
                    value="SHOULD contain zero or one [0..1] effectiveTime (CONF:1098-7513) such that it"/>
      <min value="0"/>
      <max value="1"/>
      <constraint>
        <key value="1098-28499"/>
        <severity value="error"/>
        <human
               value="**SHALL** contain exactly one [1..1] @xsi:type=&quot;PIVL_TS&quot; or &quot;EIVL_TS&quot; (CONF:1098-28499)."/>
      </constraint>
    </element>
    <element id="SubstanceAdministration.effectiveTime:frequency.operator">
      <path value="SubstanceAdministration.effectiveTime.operator"/>
      <requirements
                    value="SHALL contain exactly one [1..1] @operator=&quot;A&quot; (CONF:1098-9106)."/>
      <min value="1"/>
      <max value="1"/>
      <patternString value="A"/>
    </element>
    <element id="SubstanceAdministration.repeatNumber">
      <path value="SubstanceAdministration.repeatNumber"/>
      <short
             value="In &quot;INT&quot; (intent) mood, the repeatNumber defines the number of allowed administrations. For example, a repeatNumber of &quot;3&quot; means that the substance can be administered up to 3 times. In &quot;EVN&quot; (event) mood, the repeatNumber is the number of occurrences. For example, a repeatNumber of &quot;3&quot; in a substance administration event means that the current administration is the 3rd in a series."/>
      <requirements
                    value="MAY contain zero or one [0..1] repeatNumber (CONF:1098-7555)."/>
      <min value="0"/>
      <max value="1"/>
    </element>
    <element id="SubstanceAdministration.routeCode">
      <path value="SubstanceAdministration.routeCode"/>
      <requirements
                    value="SHOULD contain zero or one [0..1] routeCode, which SHALL be selected from ValueSet SPL Drug Route of Administration Terminology urn:oid:2.16.840.1.113883.3.88.12.3221.8.7 DYNAMIC (CONF:1098-7514)."/>
      <min value="0"/>
      <max value="1"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.3221.8.7"/>
      </binding>
    </element>
    <element id="SubstanceAdministration.routeCode.translation">
      <path value="SubstanceAdministration.routeCode.translation"/>
      <requirements
                    value="The routeCode, if present, SHOULD contain zero or more [0..*] translation, which SHALL be selected from ValueSet Medication Route urn:oid:2.16.840.1.113762.1.4.1099.12 DYNAMIC (CONF:1098-32950)."/>
      <min value="0"/>
      <max value="*"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.12"/>
      </binding>
    </element>
    <element id="SubstanceAdministration.approachSiteCode">
      <path value="SubstanceAdministration.approachSiteCode"/>
      <requirements
                    value="MAY contain zero or one [0..1] approachSiteCode, where the code SHALL be selected from ValueSet Body Site Value Set urn:oid:2.16.840.1.113883.3.88.12.3221.8.9 DYNAMIC (CONF:1098-7515)."/>
      <min value="0"/>
      <max value="1"/>
      <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="SubstanceAdministration.doseQuantity">
      <path value="SubstanceAdministration.doseQuantity"/>
      <requirements
                    value="SHALL contain exactly one [1..1] doseQuantity (CONF:1098-7516)."/>
      <min value="1"/>
      <max value="1"/>
      <constraint>
        <key value="1098-16879"/>
        <severity value="warning"/>
        <human
               value="Not pre-coordinated consumable: If the consumable code is not pre-coordinated (e.g., is simply &quot;metoprolol&quot;), then doseQuantity must represent a physical quantity with @unit, e.g., &quot;25&quot; and &quot;mg&quot;, specifying the amount of product given per administration (CONF:1098-16879)."/>
      </constraint>
      <constraint>
        <key value="1098-16878"/>
        <severity value="warning"/>
        <human
               value="Pre-coordinated consumable: If the consumable code is a pre-coordinated unit dose (e.g., &quot;metoprolol 25mg tablet&quot;) then doseQuantity is a unitless number that indicates the number of products given per administration (e.g., &quot;2&quot;, meaning 2 x &quot;metoprolol 25mg tablet&quot; per administration) (CONF:1098-16878)."/>
      </constraint>
    </element>
    <element id="SubstanceAdministration.doseQuantity.unit">
      <path value="SubstanceAdministration.doseQuantity.unit"/>
      <requirements
                    value="This doseQuantity SHOULD contain zero or one [0..1] @unit, which SHALL be selected from ValueSet UnitsOfMeasureCaseSensitive urn:oid:2.16.840.1.113883.1.11.12839 DYNAMIC (CONF:1098-7526)."/>
      <min value="0"/>
      <max value="1"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.12839"/>
      </binding>
    </element>
    <element id="SubstanceAdministration.rateQuantity">
      <path value="SubstanceAdministration.rateQuantity"/>
      <requirements
                    value="MAY contain zero or one [0..1] rateQuantity (CONF:1098-7517)."/>
      <min value="0"/>
      <max value="1"/>
    </element>
    <element id="SubstanceAdministration.rateQuantity.unit">
      <path value="SubstanceAdministration.rateQuantity.unit"/>
      <requirements
                    value="The rateQuantity, if present, SHALL contain exactly one [1..1] @unit, which SHALL be selected from ValueSet UnitsOfMeasureCaseSensitive urn:oid:2.16.840.1.113883.1.11.12839 DYNAMIC (CONF:1098-7525)."/>
      <min value="1"/>
      <max value="1"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.12839"/>
      </binding>
    </element>
    <element id="SubstanceAdministration.maxDoseQuantity">
      <path value="SubstanceAdministration.maxDoseQuantity"/>
      <requirements
                    value="MAY contain zero or one [0..1] maxDoseQuantity (CONF:1098-7518)."/>
      <min value="0"/>
      <max value="1"/>
    </element>
    <element id="SubstanceAdministration.administrationUnitCode">
      <path value="SubstanceAdministration.administrationUnitCode"/>
      <short
             value="administrationUnitCode@code describes the units of medication administration for an item using a code that is pre-coordinated to include a physical unit form (ointment, powder, solution, etc.) which differs from the units used in administering the consumable (capful, spray, drop, etc.). For example when recording medication administrations, ?metric drop (C48491)? would be appropriate to accompany the RxNorm code of 198283 (Timolol 0.25% Ophthalmic Solution) where the number of drops would be specified in doseQuantity@value."/>
      <requirements
                    value="MAY contain zero or one [0..1] administrationUnitCode, which SHALL be selected from ValueSet AdministrationUnitDoseForm urn:oid:2.16.840.1.113762.1.4.1021.30 DYNAMIC (CONF:1098-7519)."/>
      <min value="0"/>
      <max value="1"/>
      <binding>
        <strength value="required"/>
        <valueSet
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.30"/>
      </binding>
    </element>
    <element id="SubstanceAdministration.consumable">
      <path value="SubstanceAdministration.consumable"/>
      <requirements
                    value="SHALL contain exactly one [1..1] consumable (CONF:1098-7520)."/>
      <min value="1"/>
      <max value="1"/>
    </element>
    <element id="SubstanceAdministration.consumable.manufacturedProduct">
      <path value="SubstanceAdministration.consumable.manufacturedProduct"/>
      <requirements
                    value="This consumable SHALL contain exactly one [1..1] Medication Information (V2) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.23:2014-06-09) (CONF:1098-16085)."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/ManufacturedProduct"/>
        <profile
                 value="http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.23"/>
      </type>
    </element>
    <element id="SubstanceAdministration.performer">
      <path value="SubstanceAdministration.performer"/>
      <requirements
                    value="MAY contain zero or one [0..1] performer (CONF:1098-7522)."/>
      <min value="0"/>
      <max value="1"/>
    </element>
    <element id="SubstanceAdministration.author">
      <path value="SubstanceAdministration.author"/>
      <requirements
                    value="SHOULD contain zero or more [0..*] Author Participation (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.119) (CONF:1098-31150)."/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Author"/>
        <profile
                 value="http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.119"/>
      </type>
    </element>
    <element id="SubstanceAdministration.participant">
      <path value="SubstanceAdministration.participant"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="participantRole"/>
        </discriminator>
        <discriminator>
          <type value="value"/>
          <path value="typeCode"/>
        </discriminator>
        <rules value="open"/>
      </slicing>
    </element>
    <element id="SubstanceAdministration.participant:drugVehicle">
      <path value="SubstanceAdministration.participant"/>
      <sliceName value="drugVehicle"/>
      <requirements
                    value="MAY contain zero or more [0..*] participant (CONF:1098-7523) such that it"/>
      <min value="0"/>
      <max value="*"/>
    </element>
    <element id="SubstanceAdministration.participant:drugVehicle.typeCode">
      <path value="SubstanceAdministration.participant.typeCode"/>
      <requirements
                    value="SHALL contain exactly one [1..1] @typeCode=&quot;CSM&quot; (CodeSystem: HL7ParticipationType urn:oid:2.16.840.1.113883.5.90 STATIC) (CONF:1098-7524)."/>
      <min value="1"/>
      <max value="1"/>
      <patternCode value="CSM"/>
    </element>
    <element
             id="SubstanceAdministration.participant:drugVehicle.participantRole">
      <path value="SubstanceAdministration.participant.participantRole"/>
      <requirements
                    value="SHALL contain exactly one [1..1] Drug Vehicle (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.24) (CONF:1098-16086)."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/ParticipantRole"/>
        <profile
                 value="http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.24"/>
      </type>
    </element>
    <element id="SubstanceAdministration.entryRelationship">
      <path value="SubstanceAdministration.entryRelationship"/>
      <slicing>
        <discriminator>
          <type value="profile"/>
          <path value="substanceAdministration"/>
        </discriminator>
        <discriminator>
          <type value="profile"/>
          <path value="observation"/>
        </discriminator>
        <discriminator>
          <type value="profile"/>
          <path value="act"/>
        </discriminator>
        <discriminator>
          <type value="profile"/>
          <path value="supply"/>
        </discriminator>
        <rules value="open"/>
      </slicing>
    </element>
    <element id="SubstanceAdministration.entryRelationship:indication">
      <path value="SubstanceAdministration.entryRelationship"/>
      <sliceName value="indication"/>
      <requirements
                    value="MAY contain zero or more [0..*] entryRelationship (CONF:1098-7536) such that it"/>
      <min value="0"/>
      <max value="*"/>
    </element>
    <element id="SubstanceAdministration.entryRelationship:indication.typeCode">
      <path value="SubstanceAdministration.entryRelationship.typeCode"/>
      <requirements
                    value="SHALL contain exactly one [1..1] @typeCode=&quot;RSON&quot; (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:1098-7537)."/>
      <min value="1"/>
      <max value="1"/>
      <patternCode value="RSON"/>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:indication.observation">
      <path value="SubstanceAdministration.entryRelationship.observation"/>
      <requirements
                    value="SHALL contain exactly one [1..1] Indication (V2) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.19:2014-06-09) (CONF:1098-16087)."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Observation"/>
        <profile
                 value="http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.19"/>
      </type>
    </element>
    <element id="SubstanceAdministration.entryRelationship:instruction">
      <path value="SubstanceAdministration.entryRelationship"/>
      <sliceName value="instruction"/>
      <requirements
                    value="MAY contain zero or one [0..1] entryRelationship (CONF:1098-7539) such that it"/>
      <min value="0"/>
      <max value="1"/>
    </element>
    <element id="SubstanceAdministration.entryRelationship:instruction.typeCode">
      <path value="SubstanceAdministration.entryRelationship.typeCode"/>
      <requirements
                    value="SHALL contain exactly one [1..1] @typeCode=&quot;SUBJ&quot; (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:1098-7540)."/>
      <min value="1"/>
      <max value="1"/>
      <patternCode value="SUBJ"/>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:instruction.inversionInd">
      <path value="SubstanceAdministration.entryRelationship.inversionInd"/>
      <requirements
                    value="SHALL contain exactly one [1..1] @inversionInd=&quot;true&quot; True (CONF:1098-7542)."/>
      <min value="1"/>
      <max value="1"/>
      <patternBoolean value="true"/>
    </element>
    <element id="SubstanceAdministration.entryRelationship:instruction.act">
      <path value="SubstanceAdministration.entryRelationship.act"/>
      <requirements
                    value="SHALL contain exactly one [1..1] Instruction (V2) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.20:2014-06-09) (CONF:1098-31387)."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Act"/>
        <profile
                 value="http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.20"/>
      </type>
    </element>
    <element id="SubstanceAdministration.entryRelationship:supplyOrder">
      <path value="SubstanceAdministration.entryRelationship"/>
      <sliceName value="supplyOrder"/>
      <requirements
                    value="MAY contain zero or one [0..1] entryRelationship (CONF:1098-7543) such that it"/>
      <min value="0"/>
      <max value="1"/>
    </element>
    <element id="SubstanceAdministration.entryRelationship:supplyOrder.typeCode">
      <path value="SubstanceAdministration.entryRelationship.typeCode"/>
      <requirements
                    value="SHALL contain exactly one [1..1] @typeCode=&quot;REFR&quot; (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:1098-7547)."/>
      <min value="1"/>
      <max value="1"/>
      <patternCode value="REFR"/>
    </element>
    <element id="SubstanceAdministration.entryRelationship:supplyOrder.supply">
      <path value="SubstanceAdministration.entryRelationship.supply"/>
      <requirements
                    value="SHALL contain exactly one [1..1] Medication Supply Order (V2) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.17:2014-06-09) (CONF:1098-16089)."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Supply"/>
        <profile
                 value="http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.17"/>
      </type>
    </element>
    <element id="SubstanceAdministration.entryRelationship:medicationDispense">
      <path value="SubstanceAdministration.entryRelationship"/>
      <sliceName value="medicationDispense"/>
      <requirements
                    value="MAY contain zero or more [0..*] entryRelationship (CONF:1098-7549) such that it"/>
      <min value="0"/>
      <max value="*"/>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:medicationDispense.typeCode">
      <path value="SubstanceAdministration.entryRelationship.typeCode"/>
      <requirements
                    value="SHALL contain exactly one [1..1] @typeCode=&quot;REFR&quot; (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:1098-7553)."/>
      <min value="1"/>
      <max value="1"/>
      <patternCode value="REFR"/>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:medicationDispense.supply">
      <path value="SubstanceAdministration.entryRelationship.supply"/>
      <requirements
                    value="SHALL contain exactly one [1..1] Medication Dispense (V2) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.18:2014-06-09) (CONF:1098-16090)."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Supply"/>
        <profile
                 value="http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.18"/>
      </type>
    </element>
    <element id="SubstanceAdministration.entryRelationship:reaction">
      <path value="SubstanceAdministration.entryRelationship"/>
      <sliceName value="reaction"/>
      <requirements
                    value="MAY contain zero or more [0..*] entryRelationship (CONF:1098-7552) such that it"/>
      <min value="0"/>
      <max value="*"/>
    </element>
    <element id="SubstanceAdministration.entryRelationship:reaction.typeCode">
      <path value="SubstanceAdministration.entryRelationship.typeCode"/>
      <requirements
                    value="SHALL contain exactly one [1..1] @typeCode=&quot;CAUS&quot; (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:1098-7544)."/>
      <min value="1"/>
      <max value="1"/>
      <patternCode value="CAUS"/>
    </element>
    <element id="SubstanceAdministration.entryRelationship:reaction.observation">
      <path value="SubstanceAdministration.entryRelationship.observation"/>
      <requirements
                    value="SHALL contain exactly one [1..1] Reaction Observation (V2) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.9:2014-06-09) (CONF:1098-16091)."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Observation"/>
        <profile
                 value="http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.9"/>
      </type>
    </element>
    <element id="SubstanceAdministration.entryRelationship:drugMonitoring">
      <path value="SubstanceAdministration.entryRelationship"/>
      <sliceName value="drugMonitoring"/>
      <requirements
                    value="MAY contain zero or one [0..1] entryRelationship (CONF:1098-30820) such that it"/>
      <min value="0"/>
      <max value="1"/>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:drugMonitoring.typeCode">
      <path value="SubstanceAdministration.entryRelationship.typeCode"/>
      <requirements
                    value="SHALL contain exactly one [1..1] @typeCode=&quot;COMP&quot; Has component (CONF:1098-30821)."/>
      <min value="1"/>
      <max value="1"/>
      <patternCode value="COMP"/>
    </element>
    <element id="SubstanceAdministration.entryRelationship:drugMonitoring.act">
      <path value="SubstanceAdministration.entryRelationship.act"/>
      <requirements
                    value="SHALL contain exactly one [1..1] Drug Monitoring Act (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.123) (CONF:1098-30822)."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Act"/>
        <profile
                 value="http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.123"/>
      </type>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:substanceAdministered">
      <path value="SubstanceAdministration.entryRelationship"/>
      <sliceName value="substanceAdministered"/>
      <short
             value="The following entryRelationship is used to indicate a given medication's order in a series. The nested Substance Administered Act identifies an administration in the series. The entryRelationship/sequenceNumber shows the order of this particular administration in that series."/>
      <requirements
                    value="MAY contain zero or more [0..*] entryRelationship (CONF:1098-31515) such that it"/>
      <min value="0"/>
      <max value="*"/>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:substanceAdministered.typeCode">
      <path value="SubstanceAdministration.entryRelationship.typeCode"/>
      <requirements
                    value="SHALL contain exactly one [1..1] @typeCode=&quot;COMP&quot; Component (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:1098-31516)."/>
      <min value="1"/>
      <max value="1"/>
      <patternCode value="COMP"/>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:substanceAdministered.inversionInd">
      <path value="SubstanceAdministration.entryRelationship.inversionInd"/>
      <requirements
                    value="SHALL contain exactly one [1..1] @inversionInd=&quot;true&quot; (CONF:1098-31517)."/>
      <min value="1"/>
      <max value="1"/>
      <patternBoolean value="true"/>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:substanceAdministered.sequenceNumber">
      <path value="SubstanceAdministration.entryRelationship.sequenceNumber"/>
      <requirements
                    value="MAY contain zero or one [0..1] sequenceNumber (CONF:1098-31518)."/>
      <min value="0"/>
      <max value="1"/>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:substanceAdministered.act">
      <path value="SubstanceAdministration.entryRelationship.act"/>
      <requirements
                    value="SHALL contain exactly one [1..1] Substance Administered Act (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.118) (CONF:1098-31519)."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Act"/>
        <profile
                 value="http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.118"/>
      </type>
    </element>
    <element id="SubstanceAdministration.entryRelationship:signature">
      <path value="SubstanceAdministration.entryRelationship"/>
      <sliceName value="signature"/>
      <requirements
                    value="MAY contain zero or more [0..*] entryRelationship (CONF:1098-32907) such that it"/>
      <min value="0"/>
      <max value="*"/>
    </element>
    <element id="SubstanceAdministration.entryRelationship:signature.typeCode">
      <path value="SubstanceAdministration.entryRelationship.typeCode"/>
      <requirements
                    value="SHALL contain exactly one [1..1] @typeCode=&quot;COMP&quot; Has component (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:1098-32908)."/>
      <min value="1"/>
      <max value="1"/>
      <patternCode value="COMP"/>
    </element>
    <element
             id="SubstanceAdministration.entryRelationship:signature.substanceAdministration">
      <path
            value="SubstanceAdministration.entryRelationship.substanceAdministration"/>
      <requirements
                    value="SHALL contain exactly one [1..1] Medication Free Text Sig (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.147) (CONF:1098-32909)."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code
              value="http://hl7.org/fhir/cda/StructureDefinition/SubstanceAdministration"/>
        <profile
                 value="http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.147"/>
      </type>
    </element>
    <element id="SubstanceAdministration.precondition">
      <path value="SubstanceAdministration.precondition"/>
      <requirements
                    value="MAY contain zero or more [0..*] precondition (CONF:1098-31520)."/>
      <min value="0"/>
      <max value="*"/>
    </element>
    <element id="SubstanceAdministration.precondition.typeCode">
      <path value="SubstanceAdministration.precondition.typeCode"/>
      <requirements
                    value="The precondition, if present, SHALL contain exactly one [1..1] @typeCode=&quot;PRCN&quot; (CONF:1098-31882)."/>
      <min value="1"/>
      <max value="1"/>
      <patternCode value="PRCN"/>
    </element>
    <element id="SubstanceAdministration.precondition.criterion">
      <path value="SubstanceAdministration.precondition.criterion"/>
      <requirements
                    value="The precondition, if present, SHALL contain exactly one [1..1] Precondition for Substance Administration (V2) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.25:2014-06-09) (CONF:1098-31883)."/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="http://hl7.org/fhir/cda/StructureDefinition/Criterion"/>
        <profile
                 value="http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.25"/>
      </type>
    </element>
  </differential>
</StructureDefinition>