This page is part of the CCDA: Consolidated CDA Release (v3.0.0: CCDA 3.0) generated with FHIR (HL7® FHIR® Standard) v5.0.0. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions
Draft as of 2024-05-18 |
XML representation of the MedicationActivity logical model.
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="MedicationActivity"/>
<text>
<status value="extensions"/>
<div xmlns="http://www.w3.org/1999/xhtml"><table border="0" cellpadding="0" cellspacing="0" style="border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;"><tr style="border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top"><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="The logical name of the element">Name</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Information about the use of the element">Flags</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Minimum and Maximum # of times the the element can appear in the instance">Card.</a></th><th style="width: 100px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Reference to the type of the element">Type</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Additional information about the element">Description & Constraints</a><span style="float: right"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC" alt="doco" style="background-color: inherit"/></a></span></th></tr><tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-MedicationActivity-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"><a style="padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;" href="http://hl7.org/fhir/R5/conformance-rules.html#constraints" title="This element has or is affected by constraints (should-text-ref-value, 1098-7513, should-routeCode, dose-unit-or-admin-unit, should-author)">C</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">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="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-SubstanceAdministration.html">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">XML Namespace: </span>urn:hl7-org:v3<br/>Elements defined in Ancestors:<a href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-ANY.html" title="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.">@nullFlavor</a>, <a href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-InfrastructureRoot.html" title="When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question">realmCode</a>, <a href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-InfrastructureRoot.html" title="When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question.">typeId</a>, <a href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-InfrastructureRoot.html" title="When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question">templateId</a>, <a href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-SubstanceAdministration.html">@classCode</a>, <a href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-SubstanceAdministration.html">@moodCode</a>, <a href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-SubstanceAdministration.html">id</a>, <a href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-SubstanceAdministration.html">code</a>, <a href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-SubstanceAdministration.html">@negationInd</a>, <a href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-SubstanceAdministration.html">text</a>, <a href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-SubstanceAdministration.html">statusCode</a>, <a href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-SubstanceAdministration.html">effectiveTime</a>, <a href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-SubstanceAdministration.html">priorityCode</a>, <a href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-SubstanceAdministration.html">repeatNumber</a>, <a href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-SubstanceAdministration.html">routeCode</a>, <a href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-SubstanceAdministration.html">approachSiteCode</a>, <a href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-SubstanceAdministration.html">doseQuantity</a>, <a href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-SubstanceAdministration.html">rateQuantity</a>, <a href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-SubstanceAdministration.html">maxDoseQuantity</a>, <a href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-SubstanceAdministration.html">administrationUnitCode</a>, <a href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-SubstanceAdministration.html" title="The consumable participation is used to bring in the LabeledDrug or Material entity that describes the administered substance. The LabeledDrug class, which is an Entity class playing the Role of Manufactured Product, identifies the drug that is consumed in the substance administration. The medication is identified by means of the LabeledDrug.code or the LabeledDrug.name. The Material entity is used to identify non-drug administered substances such as vaccines and blood products.">consumable</a>, <a href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-SubstanceAdministration.html">subject</a>, <a href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-SubstanceAdministration.html">specimen</a>, <a href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-SubstanceAdministration.html">performer</a>, <a href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-SubstanceAdministration.html">author</a>, <a href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-SubstanceAdministration.html">informant</a>, <a href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-SubstanceAdministration.html">participant</a>, <a href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-SubstanceAdministration.html">entryRelationship</a>, <a href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-SubstanceAdministration.html">reference</a>, <a href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-SubstanceAdministration.html">precondition</a>, <a href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-SubstanceAdministration.html">sdtcInFulfillmentOf1</a><br/><span style="opacity: 0.5">Base for all types and resources</span><br/><span style="font-weight:bold">Instance of this type are validated by templateId</span><br/><span style="font-weight:bold" title="The root class that contains instances of this class">Logical Container: </span><a href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-ClinicalDocument.html">ClinicalDocument (CDA Class)</a><br/><span style="font-weight:bold">should-text-ref-value: </span>SHOULD contain text/reference/@value<br/><span style="font-weight:bold">1098-7513: </span>SHOULD contain zero or one [0..1] effectiveTime (CONF:1098-7513) such that it **SHALL** contain exactly one [1..1] @xsi:type="PIVL_TS" or "EIVL_TS" (CONF:1098-28499).<br/><span style="font-weight:bold">should-routeCode: </span>SHOULD contain routeCode<br/><span style="font-weight:bold">dose-unit-or-admin-unit: </span>If doseQuantity/@unit is present, then administrationUnitCode SHALL NOT be present.<br/><span style="font-weight:bold">should-author: </span>SHOULD contain author</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-MedicationActivity-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="font-style: italic">1</span><span style="font-style: italic">..</span><span style="opacity: 0.5; font-style: italic">*</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5; font-style: italic" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-II.html">II</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold; font-style: italic">Slice: </span><span style="font-style: italic">Unordered, Open by value:root, value:extension</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck125.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_slice_item.png" alt="." style="background-color: white; background-color: inherit" title="Slice Item" class="hierarchy"/> <a href="StructureDefinition-MedicationActivity-definitions.html#SubstanceAdministration.templateId:medication-activity" title="Slice medication-activity">templateId:medication-activity</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="http://hl7.org/cda/stds/core/2.0.0-sd/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-MedicationActivity-definitions.html#SubstanceAdministration.templateId:medication-activity.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..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-oid.html" title="string">oid</a><span style="opacity: 0.5">, </span><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-uuid.html" title="string">uuid</a><span style="opacity: 0.5">, </span><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-ruid.html" title="string">ruid</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Required Pattern: </span><span style="color: darkgreen">2.16.840.1.113883.10.20.22.4.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-MedicationActivity-definitions.html#SubstanceAdministration.templateId:medication-activity.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..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-st-simple.html" title="string">st</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Required Pattern: </span><span style="color: darkgreen">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-MedicationActivity-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"><span style="opacity: 0.5">1</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-cs-simple.html" title="code">cs</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></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-MedicationActivity-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"><span style="opacity: 0.5">1</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-cs-simple.html" title="code">cs</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Binding: </span><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.11.20.9.18/expansion" title="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.18">MoodCodeEvnInt <img src="external.png" alt="."/></a> (<a href="http://hl7.org/fhir/R5/terminologies.html#required" title="To be conformant, the concept in this element SHALL be from the specified value set.">required</a>)</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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-MedicationActivity-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..<span style="opacity: 0.5">*</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/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-MedicationActivity-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"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/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, "this is intended to further specify the nature of the substance administration act. To date the committee has made no use of this attribute". 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-MedicationActivity-definitions.html#SubstanceAdministration.text">text</a><a name="SubstanceAdministration.text"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-ED.html">ED</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">SHOULD reference the portion of section narrative text corresponding to this entry</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-MedicationActivity-definitions.html#SubstanceAdministration.text.reference">reference</a><a name="SubstanceAdministration.text.reference"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;" href="http://hl7.org/fhir/R5/conformance-rules.html#constraints" title="This element has or is affected by constraints (value-starts-octothorpe)">C</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-TEL.html">TEL</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">value-starts-octothorpe: </span>If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative</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-MedicationActivity-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..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/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-MedicationActivity-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..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-cs-simple.html" title="code">cs</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">The substance administration effectiveTime field can repeat, in order to represent varying levels of complex dosing. effectiveTime can be used to represent the duration of administration (e.g., "10 days"), the frequency of administration (e.g., "every 8 hours"), and more. Here, we require that there SHALL be an effectiveTime documentation of the duration (or single-administration timestamp), and that there SHOULD be an effectiveTime documentation of the frequency. Other timing nuances, supported by the base CDA R2 standard, may also be included.<br/><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" title="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.11">Medication Status <img src="external.png" alt="."/></a> (<a href="http://hl7.org/fhir/R5/terminologies.html#required" title="To be conformant, the concept in this element SHALL be from the specified value set.">required</a>)</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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-MedicationActivity-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="font-style: italic">1</span><span style="font-style: italic">..</span><span style="opacity: 0.5; font-style: italic">*</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5; font-style: italic" href="http://hl7.org/cda/stds/core/2.0.0-sd/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="http://hl7.org/cda/stds/core/2.0.0-sd/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="http://hl7.org/cda/stds/core/2.0.0-sd/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="http://hl7.org/cda/stds/core/2.0.0-sd/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="http://hl7.org/cda/stds/core/2.0.0-sd/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 type:$this</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-MedicationActivity-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"><a style="padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;" href="http://hl7.org/fhir/R5/conformance-rules.html#constraints" title="This element has or is affected by constraints (1098-32890, should-value-att, should-low)">C</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/cda/stds/core/2.0.0-sd/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">The substance administration effectiveTime field can repeat, in order to represent varying levels of complex dosing. effectiveTime can be used to represent the duration of administration (e.g., "10 days"), the frequency of administration (e.g., "every 8 hours"), and more. Here, we require that there **SHALL** be an effectiveTime documentation of the duration (or single-administration timestamp), and that there **SHOULD** be an effectiveTime documentation of the frequency. Other timing nuances, supported by the base CDA R2 standard, may also be included. Note: This effectiveTime represents either the time the medication was started and stopped or the single-administration timestamp.<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).<br/><span style="font-weight:bold">should-value-att: </span>SHOULD contain @value<br/><span style="font-weight:bold">should-low: </span>SHOULD contain low</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-MedicationActivity-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"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-ts-simple.html" title="dateTime">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 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-MedicationActivity-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"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-IVXB-TS.html">IVXB_TS</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">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-MedicationActivity-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"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-IVXB-TS.html">IVXB_TS</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">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_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-MedicationActivity-definitions.html#SubstanceAdministration.effectiveTime:periodicFrequency" title="Slice periodicFrequency">effectiveTime:periodicFrequency</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"/><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 href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-EIVL-TS.html">EIVL_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 a periodic medication frequency (e.g., administration times per day).</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-MedicationActivity-definitions.html#SubstanceAdministration.effectiveTime:periodicFrequency.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..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-cs-simple.html" title="code">cs</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Required Pattern: </span><span style="color: darkgreen">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_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-MedicationActivity-definitions.html#SubstanceAdministration.effectiveTime:eventFrequency" title="Slice eventFrequency">effectiveTime:eventFrequency</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"/><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 href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-PIVL-TS.html">PIVL_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 an event-based medication frequency (e.g., administration at bedtime).</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-MedicationActivity-definitions.html#SubstanceAdministration.effectiveTime:eventFrequency.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..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-cs-simple.html" title="code">cs</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Required Pattern: </span><span style="color: darkgreen">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-MedicationActivity-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"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/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 "INT" (intent) mood, the repeatNumber defines the number of allowed administrations. For example, a repeatNumber of "3" means that the substance can be administered up to 3 times. In "EVN" (event) mood, the repeatNumber is the number of occurrences. For example, a repeatNumber of "3" 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-MedicationActivity-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"><a style="padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;" href="http://hl7.org/fhir/R5/conformance-rules.html#constraints" title="This element has or is affected by constraints (should-translation)">C</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/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" title="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.3221.8.7">SPL Drug Route of Administration Terminology <img src="external.png" alt="."/></a> (<a href="http://hl7.org/fhir/R5/terminologies.html#required" title="To be conformant, the concept in this element SHALL be from the specified value set.">required</a>)<br/><span style="font-weight:bold">should-translation: </span>SHOULD contain translation</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-MedicationActivity-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"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">*</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/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" title="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.12">Medication Route <img src="external.png" alt="."/></a> (<a href="http://hl7.org/fhir/R5/terminologies.html#preferred" title="Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.">preferred</a>)</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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-MedicationActivity-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"><span style="opacity: 0.5">0</span>..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/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" title="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.3221.8.9">Body Site Value Set <img src="external.png" alt="."/></a> (<a href="http://hl7.org/fhir/R5/terminologies.html#required" title="To be conformant, the concept in this element SHALL be from the specified value set.">required</a>)</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-MedicationActivity-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"><a style="padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;" href="http://hl7.org/fhir/R5/conformance-rules.html#constraints" title="This element has or is affected by constraints (should-unit)">C</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/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">If the consumable code is not pre-coordinated (e.g., is "simply metoprolol Oral Product" (RxCUI 1163523), then doseQuantity must represent a physical quantity with @unit, e.g., "25" and "mg", specifying the amount of product given per administration (CONF:1098-16879).&#10;If the consumable code is a pre-coordinated unit dose (e.g., "metoprolol 25mg tablet") then doseQuantity is a unitless number that indicates the number of products given per administration (e.g., "2", meaning 2 x "metoprolol 25mg tablet" per administration) (CONF:1098-16878).<br/><span style="font-weight:bold">should-unit: </span>SHOULD contain @unit</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-MedicationActivity-definitions.html#SubstanceAdministration.doseQuantity.unit" title="NOTE: The base CDA R2.0 standard requires @unit to be drawn from UCUM, and best practice is to use case sensitive UCUM units">@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"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-cs-simple.html" title="code">cs</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">(USCDI) Dose Unit of Measure. NOTE: The base CDA R2.0 standard requires @unit to be drawn from UCUM, and best practice is to use case sensitive UCUM units<br/><span style="font-weight:bold">Binding: </span><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.1.11.12839/expansion" title="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.12839">UnitsOfMeasureCaseSensitive <img src="external.png" alt="."/></a> (<a href="http://hl7.org/fhir/R5/terminologies.html#preferred" title="Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.">preferred</a>)</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: 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-MedicationActivity-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"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/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-MedicationActivity-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..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-cs-simple.html" title="code">cs</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">NOTE: The base CDA R2.0 standard requires @unit to be drawn from UCUM, and best practice is to use case sensitive UCUM units<br/><span style="font-weight:bold">Binding: </span><a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.1.11.12839/expansion" title="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.12839">UnitsOfMeasureCaseSensitive <img src="external.png" alt="."/></a> (<a href="http://hl7.org/fhir/R5/terminologies.html#required" title="To be conformant, the concept in this element SHALL be from the specified value set.">required</a>)</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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-MedicationActivity-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"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/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-MedicationActivity-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"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/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" title="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.30">AdministrationUnitDoseForm <img src="external.png" alt="."/></a> (<a href="http://hl7.org/fhir/R5/terminologies.html#required" title="To be conformant, the concept in this element SHALL be from the specified value set.">required</a>)</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-MedicationActivity-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"><span style="opacity: 0.5">1</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-InfrastructureRoot.html">InfrastructureRoot</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">(USCDI) Medications</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_resource.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-MedicationActivity-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"><span style="opacity: 0.5">1</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-MedicationInformation.html" title="http://hl7.org/cda/stds/core/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"><span style="opacity: 0.5">Base for all types and resources</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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-MedicationActivity-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"><span style="opacity: 0.5">0</span>..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/cda/stds/core/2.0.0-sd/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-MedicationActivity-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"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">*</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-AuthorParticipation.html" title="http://hl7.org/cda/stds/core/StructureDefinition/Author">AuthorParticipation</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Base for all types and resources</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck13.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_slice.png" alt="." style="background-color: white; background-color: inherit" title="Slice Definition" class="hierarchy"/> <a style="font-style: italic" href="StructureDefinition-MedicationActivity-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="http://hl7.org/cda/stds/core/2.0.0-sd/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: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-MedicationActivity-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="http://hl7.org/cda/stds/core/2.0.0-sd/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-MedicationActivity-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"><span style="opacity: 0.5">1</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-cs-simple.html" title="code">cs</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Fixed Value: </span><span style="color: darkgreen">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-MedicationActivity-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"><span style="opacity: 0.5">1</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-DrugVehicle.html" title="http://hl7.org/cda/stds/core/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"><span style="opacity: 0.5">Base for all types and resources</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck13.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_slice.png" alt="." style="background-color: white; background-color: inherit" title="Slice Definition" class="hierarchy"/> <a style="font-style: italic" href="StructureDefinition-MedicationActivity-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"><a style="opacity: 0.5; font-style: italic" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-EntryRelationship.html">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"><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-MedicationActivity-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"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-EntryRelationship.html">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">(USCDI) Indication<br/></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-MedicationActivity-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"><span style="opacity: 0.5">1</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-cs-simple.html" title="code">cs</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Fixed Value: </span><span style="color: darkgreen">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-MedicationActivity-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..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-Indication.html" title="http://hl7.org/cda/stds/core/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"><span style="opacity: 0.5">Base for all types and resources</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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-MedicationActivity-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"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-EntryRelationship.html">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"/></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-MedicationActivity-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"><span style="opacity: 0.5">1</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-cs-simple.html" title="code">cs</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Fixed Value: </span><span style="color: darkgreen">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-MedicationActivity-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..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-bl-simple.html" title="boolean">bl</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Fixed Value: </span><span style="color: darkgreen">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-MedicationActivity-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..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-Instruction.html" title="http://hl7.org/cda/stds/core/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"><span style="opacity: 0.5">Base for all types and resources</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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-MedicationActivity-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"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-EntryRelationship.html">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"/></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-MedicationActivity-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"><span style="opacity: 0.5">1</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-cs-simple.html" title="code">cs</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Fixed Value: </span><span style="color: darkgreen">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-MedicationActivity-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..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-MedicationSupplyOrder.html" title="http://hl7.org/cda/stds/core/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"><span style="opacity: 0.5">Base for all types and resources</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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-MedicationActivity-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"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-EntryRelationship.html">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"/></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-MedicationActivity-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"><span style="opacity: 0.5">1</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-cs-simple.html" title="code">cs</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Fixed Value: </span><span style="color: darkgreen">REFR</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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-MedicationActivity-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..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-MedicationDispense.html" title="http://hl7.org/cda/stds/core/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"><span style="opacity: 0.5">Base for all types and resources</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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-MedicationActivity-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"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-EntryRelationship.html">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"/></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-MedicationActivity-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"><span style="opacity: 0.5">1</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-cs-simple.html" title="code">cs</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Fixed Value: </span><span style="color: darkgreen">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-MedicationActivity-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..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-ReactionObservation.html" title="http://hl7.org/cda/stds/core/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"><span style="opacity: 0.5">Base for all types and resources</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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-MedicationActivity-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"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-EntryRelationship.html">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"/></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-MedicationActivity-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"><span style="opacity: 0.5">1</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-cs-simple.html" title="code">cs</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Fixed Value: </span><span style="color: darkgreen">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-MedicationActivity-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..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-DrugMonitoringAct.html" title="http://hl7.org/cda/stds/core/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"><span style="opacity: 0.5">Base for all types and resources</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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-MedicationActivity-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"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-EntryRelationship.html">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">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-MedicationActivity-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"><span style="opacity: 0.5">1</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-cs-simple.html" title="code">cs</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Fixed Value: </span><span style="color: darkgreen">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-MedicationActivity-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..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-bl-simple.html" title="boolean">bl</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Fixed Value: </span><span style="color: darkgreen">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-MedicationActivity-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"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/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-MedicationActivity-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..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-SubstanceAdministeredAct.html" title="http://hl7.org/cda/stds/core/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"><span style="opacity: 0.5">Base for all types and resources</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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-MedicationActivity-definitions.html#SubstanceAdministration.entryRelationship:adherence" title="Slice adherence">entryRelationship:adherence</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"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-EntryRelationship.html">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">(USCDI) Medication Adherence<br/></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-MedicationActivity-definitions.html#SubstanceAdministration.entryRelationship:adherence.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"><span style="opacity: 0.5">1</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-cs-simple.html" title="code">cs</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Fixed Value: </span><span style="color: darkgreen">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-MedicationActivity-definitions.html#SubstanceAdministration.entryRelationship:adherence.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..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-MedicationAdherence.html" title="http://hl7.org/cda/stds/core/StructureDefinition/Observation">MedicationAdherence</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Base for all types and resources</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck125.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end_slicer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_slice_item.png" alt="." style="background-color: white; background-color: inherit" title="Slice Item" class="hierarchy"/> <a href="StructureDefinition-MedicationActivity-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: 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="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-EntryRelationship.html">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">(USCDI) Medication Instructions<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_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-MedicationActivity-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: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">1</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-cs-simple.html" title="code">cs</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Fixed Value: </span><span style="color: darkgreen">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_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: white; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-MedicationActivity-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: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-MedicationFreeTextSig.html" title="http://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration">MedicationFreeTextSig</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Base for all types and resources</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck01.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-MedicationActivity-definitions.html#SubstanceAdministration.precondition">precondition</a><a name="SubstanceAdministration.precondition"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">*</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-Precondition.html">Precondition</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_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: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-MedicationActivity-definitions.html#SubstanceAdministration.precondition.typeCode">@typeCode</a><a name="SubstanceAdministration.precondition.typeCode"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..<span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-cs-simple.html" title="code">cs</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></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_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: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-MedicationActivity-definitions.html#SubstanceAdministration.precondition.criterion">criterion</a><a name="SubstanceAdministration.precondition.criterion"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">1</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-PreconditionforSubstanceAdministration.html" title="http://hl7.org/cda/stds/core/StructureDefinition/Criterion">PreconditionforSubstanceAdministration</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">Base for all types and resources</span></td></tr>
<tr><td colspan="5" class="hierarchy"><br/><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC" alt="doco" style="background-color: inherit"/> Documentation for this format</a></td></tr></table></div>
</text>
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/logical-target">
<valueBoolean>
<extension
url="http://hl7.org/fhir/StructureDefinition/data-absent-reason">
<valueCode value="not-applicable"/>
</extension>
</valueBoolean>
</extension>
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/xml-namespace">
<valueUri value="urn:hl7-org:v3"/>
</extension>
<extension url="http://hl7.org/fhir/tools/StructureDefinition/xml-name">
<valueString value="substanceAdministration"/>
</extension>
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/logical-container">
<valueUri
value="http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument"/>
</extension>
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/type-profile-style">
<valueUri value="cda"/>
</extension>
<url
value="http://hl7.org/cda/us/ccda/StructureDefinition/MedicationActivity"/>
<identifier>
<system value="urn:ietf:rfc:3986"/>
<value value="urn:hl7ii:2.16.840.1.113883.10.20.22.4.16:2014-06-09"/>
</identifier>
<version value="3.0.0"/>
<name value="MedicationActivity"/>
<title value="Medication Activity"/>
<status value="draft"/>
<date value="2024-05-18T00:16:25-05: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., "take 2 tablets twice a day for the next 10 days"). Medication activities in "INT" 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 "EVN" mood would reflect actual use.
A moodCode of INT is allowed, but it is recommended that the Planned Medication Activity template be used for moodCodes other than EVN if the document type contains a section that includes Planned Medication Activity (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 "metoprolol 25mg tablet" per administration will have a doseQuantity of "1", whereas a patient consuming "metoprolol Oral Product" (RxCUI 1163523) will have a dose of "25 mg"."/>
<jurisdiction>
<coding>
<system value="urn:iso:std:iso:3166"/>
<code value="US"/>
</coding>
</jurisdiction>
<fhirVersion value="5.0.0"/>
<mapping>
<identity value="rim"/>
<uri value="http://hl7.org/v3"/>
<name value="RIM Mapping"/>
</mapping>
<kind value="logical"/>
<abstract value="false"/>
<type
value="http://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration"/>
<baseDefinition
value="http://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration"/>
<derivation value="constraint"/>
<snapshot>
<element id="SubstanceAdministration">
<path value="SubstanceAdministration"/>
<short value="Base for all types and resources"/>
<definition
value="Defines the basic properties of every data value. This is an abstract type, meaning that no value can be just a data value without belonging to any concrete type. Every concrete type is a specialization of this general abstract DataValue type."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="Base"/>
<min value="0"/>
<max value="*"/>
</base>
<constraint>
<key value="should-text-ref-value"/>
<severity value="warning"/>
<human value="SHOULD contain text/reference/@value"/>
<expression value="text.reference.value.exists()"/>
<source
value="http://hl7.org/cda/us/ccda/StructureDefinition/MedicationActivity"/>
</constraint>
<constraint>
<key value="1098-7513"/>
<severity value="warning"/>
<human
value="SHOULD contain zero or one [0..1] effectiveTime (CONF:1098-7513) such that it **SHALL** contain exactly one [1..1] @xsi:type="PIVL_TS" or "EIVL_TS" (CONF:1098-28499)."/>
<expression
value="effectiveTime.ofType(CDA.PIVL_TS).exists() or effectiveTime.ofType(CDA.EIVL_TS).exists()"/>
<source
value="http://hl7.org/cda/us/ccda/StructureDefinition/MedicationActivity"/>
</constraint>
<constraint>
<key value="should-routeCode"/>
<severity value="warning"/>
<human value="SHOULD contain routeCode"/>
<expression value="routeCode.exists()"/>
<source
value="http://hl7.org/cda/us/ccda/StructureDefinition/MedicationActivity"/>
</constraint>
<constraint>
<key value="dose-unit-or-admin-unit"/>
<severity value="error"/>
<human
value="If doseQuantity/@unit is present, then administrationUnitCode SHALL NOT be present."/>
<expression
value="doseQuantity.unit.exists() implies administrationUnitCode.empty()"/>
<source
value="http://hl7.org/cda/us/ccda/StructureDefinition/MedicationActivity"/>
</constraint>
<constraint>
<key value="should-author"/>
<severity value="warning"/>
<human value="SHOULD contain author"/>
<expression value="author.exists()"/>
<source
value="http://hl7.org/cda/us/ccda/StructureDefinition/MedicationActivity"/>
</constraint>
<isModifier value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element id="SubstanceAdministration.nullFlavor">
<path value="SubstanceAdministration.nullFlavor"/>
<representation value="xmlAttr"/>
<label value="Exceptional Value Detail"/>
<definition
value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="ANY.nullFlavor"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
</binding>
</element>
<element id="SubstanceAdministration.realmCode">
<path value="SubstanceAdministration.realmCode"/>
<definition
value="When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="InfrastructureRoot.realmCode"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
</type>
</element>
<element id="SubstanceAdministration.typeId">
<path value="SubstanceAdministration.typeId"/>
<definition
value="When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="InfrastructureRoot.typeId"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
</type>
</element>
<element id="SubstanceAdministration.typeId.nullFlavor">
<path value="SubstanceAdministration.typeId.nullFlavor"/>
<representation value="xmlAttr"/>
<label value="Exceptional Value Detail"/>
<definition
value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="ANY.nullFlavor"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
</binding>
</element>
<element id="SubstanceAdministration.typeId.assigningAuthorityName">
<path value="SubstanceAdministration.typeId.assigningAuthorityName"/>
<representation value="xmlAttr"/>
<label value="Assigning Authority Name"/>
<definition
value="A human readable name or mnemonic for the assigning authority. The Assigning Authority Name has no computational value. The purpose of a Assigning Authority Name is to assist an unaided human interpreter of an II value to interpret the authority. Note: no automated processing must depend on the assigning authority name to be present in any form."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="II.assigningAuthorityName"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
</type>
</element>
<element id="SubstanceAdministration.typeId.displayable">
<path value="SubstanceAdministration.typeId.displayable"/>
<representation value="xmlAttr"/>
<label value="Displayable"/>
<definition
value="Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false)."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="II.displayable"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
</type>
</element>
<element id="SubstanceAdministration.typeId.root">
<path value="SubstanceAdministration.typeId.root"/>
<representation value="xmlAttr"/>
<label value="Root"/>
<definition value="Identifies the type as an HL7 Registered model"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="II.root"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/oid"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/uuid"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/ruid"/>
</type>
<fixedString value="2.16.840.1.113883.1.3"/>
</element>
<element id="SubstanceAdministration.typeId.extension">
<path value="SubstanceAdministration.typeId.extension"/>
<representation value="xmlAttr"/>
<label value="Extension"/>
<definition
value="A character string as a unique identifier within the scope of the identifier root."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="II.extension"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
</type>
</element>
<element id="SubstanceAdministration.templateId">
<path value="SubstanceAdministration.templateId"/>
<slicing>
<discriminator>
<type value="value"/>
<path value="root"/>
</discriminator>
<discriminator>
<type value="value"/>
<path value="extension"/>
</discriminator>
<rules value="open"/>
</slicing>
<definition
value="When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question"/>
<min value="1"/>
<max value="*"/>
<base>
<path value="InfrastructureRoot.templateId"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
</type>
</element>
<element id="SubstanceAdministration.templateId:medication-activity">
<path value="SubstanceAdministration.templateId"/>
<sliceName value="medication-activity"/>
<definition
value="When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="InfrastructureRoot.templateId"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
</type>
</element>
<element
id="SubstanceAdministration.templateId:medication-activity.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"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
</binding>
</element>
<element
id="SubstanceAdministration.templateId:medication-activity.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"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.templateId:medication-activity.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"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.templateId:medication-activity.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."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="II.root"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/oid"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/uuid"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/ruid"/>
</type>
<patternString value="2.16.840.1.113883.10.20.22.4.16"/>
</element>
<element
id="SubstanceAdministration.templateId:medication-activity.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."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="II.extension"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
</type>
<patternString value="2014-06-09"/>
</element>
<element id="SubstanceAdministration.classCode">
<path value="SubstanceAdministration.classCode"/>
<representation value="xmlAttr"/>
<comment
value="SHALL contain exactly one [1..1] @classCode="SBADM" (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"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<fixedCode value="SBADM"/>
<binding>
<strength value="required"/>
<valueSet value="http://hl7.org/cda/stds/core/ValueSet/CDAActClass"/>
</binding>
</element>
<element id="SubstanceAdministration.moodCode">
<path value="SubstanceAdministration.moodCode"/>
<representation value="xmlAttr"/>
<comment
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"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.18"/>
</binding>
</element>
<element id="SubstanceAdministration.id">
<path value="SubstanceAdministration.id"/>
<comment
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/cda/stds/core/StructureDefinition/II"/>
</type>
</element>
<element id="SubstanceAdministration.code">
<path value="SubstanceAdministration.code"/>
<short
value="SubstanceAdministration.code is an optional field. Per HL7 Pharmacy Committee, "this is intended to further specify the nature of the substance administration act. To date the committee has made no use of this attribute". 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."/>
<comment 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/cda/stds/core/StructureDefinition/CD"/>
</type>
<binding>
<strength value="example"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDAActSubstanceAdministrationCode"/>
</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"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
</type>
</element>
<element id="SubstanceAdministration.text">
<path value="SubstanceAdministration.text"/>
<short
value="SHOULD reference the portion of section narrative text corresponding to this entry"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="SubstanceAdministration.text"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/ED"/>
</type>
</element>
<element id="SubstanceAdministration.text.nullFlavor">
<path value="SubstanceAdministration.text.nullFlavor"/>
<representation value="xmlAttr"/>
<label value="Exceptional Value Detail"/>
<definition
value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="ANY.nullFlavor"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
</binding>
</element>
<element id="SubstanceAdministration.text.compression">
<path value="SubstanceAdministration.text.compression"/>
<representation value="xmlAttr"/>
<label value="Compression"/>
<definition
value="Indicates whether the raw byte data is compressed, and what compression algorithm was used."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="ED.compression"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDACompressionAlgorithm"/>
</binding>
</element>
<element id="SubstanceAdministration.text.integrityCheck">
<path value="SubstanceAdministration.text.integrityCheck"/>
<representation value="xmlAttr"/>
<label value="Integrity Check"/>
<definition
value="The integrity check is a short binary value representing a cryptographically strong checksum that is calculated over the binary data. The purpose of this property, when communicated with a reference is for anyone to validate later whether the reference still resolved to the same data that the reference resolved to when the encapsulated data value with reference was created."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="ED.integrityCheck"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="base64Binary"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/bin"/>
</type>
</element>
<element id="SubstanceAdministration.text.integrityCheckAlgorithm">
<path value="SubstanceAdministration.text.integrityCheckAlgorithm"/>
<representation value="xmlAttr"/>
<label value="Integrity Check Algorithm"/>
<definition
value="Specifies the algorithm used to compute the integrityCheck value. The cryptographically strong checksum algorithm Secure Hash Algorithm-1 (SHA-1) is currently the industry standard. It has superseded the MD5 algorithm only a couple of years ago, when certain flaws in the security of MD5 were discovered. Currently the SHA-1 hash algorithm is the default choice for the integrity check algorithm. Note that SHA-256 is also entering widespread usage."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="ED.integrityCheckAlgorithm"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://terminology.hl7.org/ValueSet/v3-IntegrityCheckAlgorithm|2.0.0"/>
</binding>
</element>
<element id="SubstanceAdministration.text.language">
<path value="SubstanceAdministration.text.language"/>
<representation value="xmlAttr"/>
<label value="Language"/>
<definition
value="For character based information the language property specifies the human language of the text."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="ED.language"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
</element>
<element id="SubstanceAdministration.text.mediaType">
<path value="SubstanceAdministration.text.mediaType"/>
<representation value="xmlAttr"/>
<label value="Media Type"/>
<definition
value="Identifies the type of the encapsulated data and identifies a method to interpret or render the data."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="ED.mediaType"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="example"/>
<valueSet value="http://terminology.hl7.org/ValueSet/v3-MediaType"/>
</binding>
</element>
<element id="SubstanceAdministration.text.representation">
<path value="SubstanceAdministration.text.representation"/>
<representation value="xmlAttr"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="ED.representation"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/BinaryDataEncoding"/>
</binding>
</element>
<element id="SubstanceAdministration.text.xmlText">
<path value="SubstanceAdministration.text.xmlText"/>
<representation value="xmlText"/>
<short
value="Allows for mixed text content. If @representation='B64', this SHALL be a base64binary string."/>
<definition
value="Data that is primarily intended for human interpretation or for further machine processing is outside the scope of HL7. This includes unformatted or formatted written language, multimedia data, or structured information as defined by a different standard (e.g., XML-signatures.)"/>
<comment
value="This element is represented in XML as textual content. The actual name "xmlText" will not appear in a CDA instance."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="ED.xmlText"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
</type>
</element>
<element id="SubstanceAdministration.text.reference">
<path value="SubstanceAdministration.text.reference"/>
<label value="Reference"/>
<definition
value="A telecommunication address (TEL), such as a URL for HTTP or FTP, which will resolve to precisely the same binary data that could as well have been provided as inline data."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="ED.reference"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/TEL"/>
</type>
<constraint>
<key value="value-starts-octothorpe"/>
<severity value="error"/>
<human
value="If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative"/>
<expression value="value.exists() implies value.startsWith('#')"/>
<source
value="http://hl7.org/cda/us/ccda/StructureDefinition/MedicationActivity"/>
</constraint>
</element>
<element id="SubstanceAdministration.text.thumbnail">
<path value="SubstanceAdministration.text.thumbnail"/>
<label value="Thumbnail"/>
<definition
value="An abbreviated rendition of the full data. A thumbnail requires significantly fewer resources than the full data, while still maintaining some distinctive similarity with the full data. A thumbnail is typically used with by-reference encapsulated data. It allows a user to select data more efficiently before actually downloading through the reference."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="ED.thumbnail"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/ED"/>
</type>
</element>
<element id="SubstanceAdministration.statusCode">
<path value="SubstanceAdministration.statusCode"/>
<comment
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/cda/stds/core/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"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
</binding>
</element>
<element id="SubstanceAdministration.statusCode.code">
<path value="SubstanceAdministration.statusCode.code"/>
<representation value="xmlAttr"/>
<label value="Code"/>
<short
value="The substance administration effectiveTime field can repeat, in order to represent varying levels of complex dosing. effectiveTime can be used to represent the duration of administration (e.g., "10 days"), the frequency of administration (e.g., "every 8 hours"), and more. Here, we require that there SHALL be an effectiveTime documentation of the duration (or single-administration timestamp), and that there SHOULD be an effectiveTime documentation of the frequency. Other timing nuances, supported by the base CDA R2 standard, may also be included."/>
<definition
value="The plain code symbol defined by the code system. For example, "784.0" is the code symbol of the ICD-9 code "784.0" for headache."/>
<comment
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="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.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"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/oid"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/uuid"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/ruid"/>
</type>
</element>
<element id="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"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
</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"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
</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"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
</type>
</element>
<element id="SubstanceAdministration.statusCode.sdtcValueSet">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/xml-namespace">
<valueUri value="urn:hl7-org:sdtc"/>
</extension>
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/xml-name">
<valueString value="valueSet"/>
</extension>
<path value="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"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/oid"/>
</type>
</element>
<element id="SubstanceAdministration.statusCode.sdtcValueSetVersion">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/xml-namespace">
<valueUri value="urn:hl7-org:sdtc"/>
</extension>
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/xml-name">
<valueString value="valueSetVersion"/>
</extension>
<path value="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"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
</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/cda/stds/core/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/cda/stds/core/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/cda/stds/core/StructureDefinition/CD"/>
</type>
</element>
<element id="SubstanceAdministration.effectiveTime">
<extension
url="http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype">
<valueCanonical
value="http://hl7.org/cda/stds/core/StructureDefinition/SXCM-TS"/>
</extension>
<path value="SubstanceAdministration.effectiveTime"/>
<representation value="typeAttr"/>
<slicing>
<discriminator>
<type value="type"/>
<path value="$this"/>
</discriminator>
<rules value="open"/>
</slicing>
<min value="1"/>
<max value="*"/>
<base>
<path value="SubstanceAdministration.effectiveTime"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/SXCM-TS"/>
</type>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS"/>
</type>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/EIVL-TS"/>
</type>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/PIVL-TS"/>
</type>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/SXPR-TS"/>
</type>
</element>
<element id="SubstanceAdministration.effectiveTime:duration">
<extension
url="http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype">
<valueCanonical
value="http://hl7.org/cda/stds/core/StructureDefinition/SXCM-TS"/>
</extension>
<path value="SubstanceAdministration.effectiveTime"/>
<representation value="typeAttr"/>
<sliceName value="duration"/>
<short
value="The substance administration effectiveTime field can repeat, in order to represent varying levels of complex dosing. effectiveTime can be used to represent the duration of administration (e.g., "10 days"), the frequency of administration (e.g., "every 8 hours"), and more. Here, we require that there **SHALL** be an effectiveTime documentation of the duration (or single-administration timestamp), and that there **SHOULD** be an effectiveTime documentation of the frequency. Other timing nuances, supported by the base CDA R2 standard, may also be included. Note: This effectiveTime represents either the time the medication was started and stopped or the single-administration timestamp."/>
<comment
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/cda/stds/core/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)."/>
<expression
value="(value.exists() or low.exists()) and ((value.exists() and low.exists()).not())"/>
<source
value="http://hl7.org/cda/us/ccda/StructureDefinition/MedicationActivity"/>
</constraint>
<constraint>
<key value="should-value-att"/>
<severity value="warning"/>
<human value="SHOULD contain @value"/>
<expression value="value.exists()"/>
<source
value="http://hl7.org/cda/us/ccda/StructureDefinition/MedicationActivity"/>
</constraint>
<constraint>
<key value="should-low"/>
<severity value="warning"/>
<human value="SHOULD contain low"/>
<expression value="low.exists()"/>
<source
value="http://hl7.org/cda/us/ccda/StructureDefinition/MedicationActivity"/>
</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"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
</binding>
</element>
<element id="SubstanceAdministration.effectiveTime:duration.value">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/elementdefinition-date-format">
<valueString value="YYYYMMDDHHMMSS.UUUU[+|-ZZzz]"/>
</extension>
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/elementdefinition-date-rules">
<valueString value="year-valid"/>
</extension>
<path value="SubstanceAdministration.effectiveTime.value"/>
<representation value="xmlAttr"/>
<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."/>
<comment
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"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/ts-simple"/>
</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"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<defaultValueCode value="I"/>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDASetOperator"/>
</binding>
</element>
<element id="SubstanceAdministration.effectiveTime:duration.low">
<path value="SubstanceAdministration.effectiveTime.low"/>
<label value="Low Boundary"/>
<short value="indicates when medication started"/>
<definition value="This is the low limit of the interval."/>
<comment
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/cda/stds/core/StructureDefinition/IVXB-TS"/>
</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/cda/stds/core/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/cda/stds/core/StructureDefinition/PQ"/>
</type>
</element>
<element id="SubstanceAdministration.effectiveTime:duration.high">
<path value="SubstanceAdministration.effectiveTime.high"/>
<label value="High Boundary"/>
<short value="indicates when medication stopped"/>
<definition value="This is the high limit of the interval."/>
<comment
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/cda/stds/core/StructureDefinition/IVXB-TS"/>
</type>
</element>
<element id="SubstanceAdministration.effectiveTime:periodicFrequency">
<extension
url="http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype">
<valueCanonical
value="http://hl7.org/cda/stds/core/StructureDefinition/SXCM-TS"/>
</extension>
<path value="SubstanceAdministration.effectiveTime"/>
<representation value="typeAttr"/>
<sliceName value="periodicFrequency"/>
<short
value="This effectiveTime represents a periodic medication frequency (e.g., administration times per day)."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="SubstanceAdministration.effectiveTime"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/EIVL-TS"/>
</type>
</element>
<element
id="SubstanceAdministration.effectiveTime:periodicFrequency.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"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
</binding>
</element>
<element
id="SubstanceAdministration.effectiveTime:periodicFrequency.value">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/elementdefinition-date-format">
<valueString value="YYYYMMDDHHMMSS.UUUU[+|-ZZzz]"/>
</extension>
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/elementdefinition-date-rules">
<valueString value="year-valid"/>
</extension>
<path value="SubstanceAdministration.effectiveTime.value"/>
<representation value="xmlAttr"/>
<definition
value="A quantity specifying a point on the axis of natural time. A point in time is most often represented as a calendar expression."/>
<min value="0"/>
<max value="0"/>
<base>
<path value="TS.value"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="dateTime"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/ts-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.effectiveTime:periodicFrequency.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."/>
<comment
value="SHALL contain exactly one [1..1] @operator="A" (CONF:1098-9106)."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="SXCM_TS.operator"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<defaultValueCode value="I"/>
<patternCode value="A"/>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDASetOperator"/>
</binding>
</element>
<element
id="SubstanceAdministration.effectiveTime:periodicFrequency.event">
<path value="SubstanceAdministration.effectiveTime.event"/>
<label value="Event"/>
<definition
value="A code for a common (periodical) activity of daily living based on which the event related periodic interval is specified."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EIVL_TS.event"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/CE"/>
</type>
</element>
<element
id="SubstanceAdministration.effectiveTime:periodicFrequency.offset">
<path value="SubstanceAdministration.effectiveTime.offset"/>
<label value="Offset"/>
<definition
value="An interval of elapsed time (duration, not absolute point in time) that marks the offsets for the beginning, width and end of the event-related periodic interval measured from the time each such event actually occurred."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EIVL_TS.offset"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/IVL-PQ"/>
</type>
</element>
<element id="SubstanceAdministration.effectiveTime:eventFrequency">
<extension
url="http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype">
<valueCanonical
value="http://hl7.org/cda/stds/core/StructureDefinition/SXCM-TS"/>
</extension>
<path value="SubstanceAdministration.effectiveTime"/>
<representation value="typeAttr"/>
<sliceName value="eventFrequency"/>
<short
value="This effectiveTime represents an event-based medication frequency (e.g., administration at bedtime)."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="SubstanceAdministration.effectiveTime"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/PIVL-TS"/>
</type>
</element>
<element
id="SubstanceAdministration.effectiveTime:eventFrequency.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"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
</binding>
</element>
<element id="SubstanceAdministration.effectiveTime:eventFrequency.value">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/elementdefinition-date-format">
<valueString value="YYYYMMDDHHMMSS.UUUU[+|-ZZzz]"/>
</extension>
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/elementdefinition-date-rules">
<valueString value="year-valid"/>
</extension>
<path value="SubstanceAdministration.effectiveTime.value"/>
<representation value="xmlAttr"/>
<definition
value="A quantity specifying a point on the axis of natural time. A point in time is most often represented as a calendar expression."/>
<min value="0"/>
<max value="0"/>
<base>
<path value="TS.value"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="dateTime"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/ts-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.effectiveTime:eventFrequency.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."/>
<comment
value="SHALL contain exactly one [1..1] @operator="A" (CONF:1098-9106)."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="SXCM_TS.operator"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<defaultValueCode value="I"/>
<patternCode value="A"/>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDASetOperator"/>
</binding>
</element>
<element id="SubstanceAdministration.effectiveTime:eventFrequency.phase">
<path value="SubstanceAdministration.effectiveTime.phase"/>
<label value="Phase"/>
<definition
value="A prototype of the repeating interval, specifying the duration of each occurrence and anchors the periodic interval sequence at a certain point in time."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="PIVL_TS.phase"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS"/>
</type>
</element>
<element
id="SubstanceAdministration.effectiveTime:eventFrequency.period">
<path value="SubstanceAdministration.effectiveTime.period"/>
<label value="Period"/>
<definition
value="A time duration specifying as a reciprocal measure of the frequency at which the periodic interval repeats."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="PIVL_TS.period"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/PQ"/>
</type>
</element>
<element
id="SubstanceAdministration.effectiveTime:eventFrequency.alignment">
<path value="SubstanceAdministration.effectiveTime.alignment"/>
<representation value="xmlAttr"/>
<label value="Alignment to the Calendar"/>
<definition
value="Specifies if and how the repetitions are aligned to the cycles of the underlying calendar (e.g., to distinguish every 30 days from "the 5th of every month".) A non-aligned periodic interval recurs independently from the calendar. An aligned periodic interval is synchronized with the calendar."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="PIVL_TS.alignment"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.effectiveTime:eventFrequency.institutionSpecified">
<path
value="SubstanceAdministration.effectiveTime.institutionSpecified"/>
<representation value="xmlAttr"/>
<label value="Institution Specified Timing"/>
<definition
value="Indicates whether the exact timing is up to the party executing the schedule (e.g., to distinguish "every 8 hours" from "3 times a day".)"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="PIVL_TS.institutionSpecified"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
</type>
</element>
<element id="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/cda/stds/core/StructureDefinition/CE"/>
</type>
<binding>
<strength value="example"/>
<valueSet value="http://terminology.hl7.org/ValueSet/v3-ActPriority"/>
</binding>
</element>
<element id="SubstanceAdministration.repeatNumber">
<path value="SubstanceAdministration.repeatNumber"/>
<short
value="In "INT" (intent) mood, the repeatNumber defines the number of allowed administrations. For example, a repeatNumber of "3" means that the substance can be administered up to 3 times. In "EVN" (event) mood, the repeatNumber is the number of occurrences. For example, a repeatNumber of "3" in a substance administration event means that the current administration is the 3rd in a series."/>
<comment
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/cda/stds/core/StructureDefinition/IVL-INT"/>
</type>
</element>
<element id="SubstanceAdministration.routeCode">
<path value="SubstanceAdministration.routeCode"/>
<comment
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/cda/stds/core/StructureDefinition/CE"/>
</type>
<constraint>
<key value="should-translation"/>
<severity value="warning"/>
<human value="SHOULD contain translation"/>
<expression value="translation.exists()"/>
<source
value="http://hl7.org/cda/us/ccda/StructureDefinition/MedicationActivity"/>
</constraint>
<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"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
</binding>
</element>
<element id="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, "784.0" is the code symbol of the ICD-9 code "784.0" for headache."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="CD.code"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
</element>
<element id="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"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/oid"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/uuid"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/ruid"/>
</type>
</element>
<element id="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"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
</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"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
</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"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
</type>
</element>
<element id="SubstanceAdministration.routeCode.sdtcValueSet">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/xml-namespace">
<valueUri value="urn:hl7-org:sdtc"/>
</extension>
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/xml-name">
<valueString value="valueSet"/>
</extension>
<path value="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"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/oid"/>
</type>
</element>
<element id="SubstanceAdministration.routeCode.sdtcValueSetVersion">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/xml-namespace">
<valueUri value="urn:hl7-org:sdtc"/>
</extension>
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/xml-name">
<valueString value="valueSetVersion"/>
</extension>
<path value="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"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
</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/cda/stds/core/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/cda/stds/core/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."/>
<comment
value="The routeCode, if present, SHOULD contain zero or more [0..*] translation, which SHOULD 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/cda/stds/core/StructureDefinition/CD"/>
</type>
<binding>
<strength value="preferred"/>
<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"/>
<comment
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/cda/stds/core/StructureDefinition/CD"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.3221.8.9"/>
</binding>
</element>
<element id="SubstanceAdministration.doseQuantity">
<path value="SubstanceAdministration.doseQuantity"/>
<short
value="If the consumable code is not pre-coordinated (e.g., is "simply metoprolol Oral Product" (RxCUI 1163523), then doseQuantity must represent a physical quantity with @unit, e.g., "25" and "mg", specifying the amount of product given per administration (CONF:1098-16879).&#10;If the consumable code is a pre-coordinated unit dose (e.g., "metoprolol 25mg tablet") then doseQuantity is a unitless number that indicates the number of products given per administration (e.g., "2", meaning 2 x "metoprolol 25mg tablet" per administration) (CONF:1098-16878)."/>
<comment
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/cda/stds/core/StructureDefinition/IVL-PQ"/>
</type>
<constraint>
<key value="should-unit"/>
<severity value="warning"/>
<human value="SHOULD contain @unit"/>
<expression value="nullFlavor.exists() or unit.exists()"/>
<source
value="http://hl7.org/cda/us/ccda/StructureDefinition/MedicationActivity"/>
</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"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
</binding>
</element>
<element id="SubstanceAdministration.doseQuantity.unit">
<extension
url="http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement">
<valueBoolean value="true"/>
</extension>
<path value="SubstanceAdministration.doseQuantity.unit"/>
<representation value="xmlAttr"/>
<label value="Unit of Measure"/>
<short
value="(USCDI) Dose Unit of Measure. NOTE: The base CDA R2.0 standard requires @unit to be drawn from UCUM, and best practice is to use case sensitive UCUM units"/>
<definition
value="NOTE: The base CDA R2.0 standard requires @unit to be drawn from UCUM, and best practice is to use case sensitive UCUM units"/>
<comment
value="This doseQuantity SHOULD contain zero or one [0..1] @unit, which SHOULD 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="PQ.unit"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<defaultValueCode value="1"/>
<binding>
<strength value="preferred"/>
<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"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/real-simple"/>
</type>
</element>
<element id="SubstanceAdministration.doseQuantity.translation">
<path value="SubstanceAdministration.doseQuantity.translation"/>
<label value="Translation"/>
<definition
value="An alternative representation of the same physical quantity expressed in a different unit, of a different unit code system and possibly with a different value."/>
<min value="0"/>
<max value="*"/>
<base>
<path value="PQ.translation"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/PQR"/>
</type>
</element>
<element id="SubstanceAdministration.doseQuantity.operator">
<path value="SubstanceAdministration.doseQuantity.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="IVL_PQ.operator"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<defaultValueCode value="I"/>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDASetOperator"/>
</binding>
</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/cda/stds/core/StructureDefinition/IVXB-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/cda/stds/core/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/cda/stds/core/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/cda/stds/core/StructureDefinition/IVXB-PQ"/>
</type>
</element>
<element id="SubstanceAdministration.rateQuantity">
<path value="SubstanceAdministration.rateQuantity"/>
<comment
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/cda/stds/core/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"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
</binding>
</element>
<element id="SubstanceAdministration.rateQuantity.unit">
<path value="SubstanceAdministration.rateQuantity.unit"/>
<representation value="xmlAttr"/>
<label value="Unit of Measure"/>
<short
value="NOTE: The base CDA R2.0 standard requires @unit to be drawn from UCUM, and best practice is to use case sensitive UCUM units"/>
<definition
value="The unit of measure specified in the Unified Code for Units of Measure (UCUM) []."/>
<comment
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="PQ.unit"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<defaultValueCode value="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.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"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/real-simple"/>
</type>
</element>
<element id="SubstanceAdministration.rateQuantity.translation">
<path value="SubstanceAdministration.rateQuantity.translation"/>
<label value="Translation"/>
<definition
value="An alternative representation of the same physical quantity expressed in a different unit, of a different unit code system and possibly with a different value."/>
<min value="0"/>
<max value="*"/>
<base>
<path value="PQ.translation"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/PQR"/>
</type>
</element>
<element id="SubstanceAdministration.rateQuantity.operator">
<path value="SubstanceAdministration.rateQuantity.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="IVL_PQ.operator"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<defaultValueCode value="I"/>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDASetOperator"/>
</binding>
</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/cda/stds/core/StructureDefinition/IVXB-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/cda/stds/core/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/cda/stds/core/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/cda/stds/core/StructureDefinition/IVXB-PQ"/>
</type>
</element>
<element id="SubstanceAdministration.maxDoseQuantity">
<path value="SubstanceAdministration.maxDoseQuantity"/>
<comment
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/cda/stds/core/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."/>
<comment
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/cda/stds/core/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">
<extension
url="http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement">
<valueBoolean value="true"/>
</extension>
<path value="SubstanceAdministration.consumable"/>
<short value="(USCDI) Medications"/>
<definition
value="The consumable participation is used to bring in the LabeledDrug or Material entity that describes the administered substance. The LabeledDrug class, which is an Entity class playing the Role of Manufactured Product, identifies the drug that is consumed in the substance administration. The medication is identified by means of the LabeledDrug.code or the LabeledDrug.name. The Material entity is used to identify non-drug administered substances such as vaccines and blood products."/>
<comment
value="This consumable SHALL contain exactly one [1..1] Medication Information (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"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/InfrastructureRoot"/>
</type>
</element>
<element id="SubstanceAdministration.consumable.nullFlavor">
<path value="SubstanceAdministration.consumable.nullFlavor"/>
<representation value="xmlAttr"/>
<label value="Exceptional Value Detail"/>
<definition
value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="ANY.nullFlavor"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
</binding>
</element>
<element id="SubstanceAdministration.consumable.realmCode">
<path value="SubstanceAdministration.consumable.realmCode"/>
<definition
value="When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="InfrastructureRoot.realmCode"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
</type>
</element>
<element id="SubstanceAdministration.consumable.typeId">
<path value="SubstanceAdministration.consumable.typeId"/>
<definition
value="When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="InfrastructureRoot.typeId"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
</type>
</element>
<element id="SubstanceAdministration.consumable.typeId.nullFlavor">
<path value="SubstanceAdministration.consumable.typeId.nullFlavor"/>
<representation value="xmlAttr"/>
<label value="Exceptional Value Detail"/>
<definition
value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="ANY.nullFlavor"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
</binding>
</element>
<element
id="SubstanceAdministration.consumable.typeId.assigningAuthorityName">
<path
value="SubstanceAdministration.consumable.typeId.assigningAuthorityName"/>
<representation value="xmlAttr"/>
<label value="Assigning Authority Name"/>
<definition
value="A human readable name or mnemonic for the assigning authority. The Assigning Authority Name has no computational value. The purpose of a Assigning Authority Name is to assist an unaided human interpreter of an II value to interpret the authority. Note: no automated processing must depend on the assigning authority name to be present in any form."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="II.assigningAuthorityName"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
</type>
</element>
<element id="SubstanceAdministration.consumable.typeId.displayable">
<path value="SubstanceAdministration.consumable.typeId.displayable"/>
<representation value="xmlAttr"/>
<label value="Displayable"/>
<definition
value="Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false)."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="II.displayable"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
</type>
</element>
<element id="SubstanceAdministration.consumable.typeId.root">
<path value="SubstanceAdministration.consumable.typeId.root"/>
<representation value="xmlAttr"/>
<label value="Root"/>
<definition value="Identifies the type as an HL7 Registered model"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="II.root"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/oid"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/uuid"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/ruid"/>
</type>
<fixedString value="2.16.840.1.113883.1.3"/>
</element>
<element id="SubstanceAdministration.consumable.typeId.extension">
<path value="SubstanceAdministration.consumable.typeId.extension"/>
<representation value="xmlAttr"/>
<label value="Extension"/>
<definition
value="A character string as a unique identifier within the scope of the identifier root."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="II.extension"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
</type>
</element>
<element id="SubstanceAdministration.consumable.templateId">
<path value="SubstanceAdministration.consumable.templateId"/>
<definition
value="When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="InfrastructureRoot.templateId"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
</type>
</element>
<element id="SubstanceAdministration.consumable.typeCode">
<path value="SubstanceAdministration.consumable.typeCode"/>
<representation value="xmlAttr"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="SubstanceAdministration.consumable.typeCode"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<fixedCode value="CSM"/>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDAParticipationType"/>
</binding>
</element>
<element id="SubstanceAdministration.consumable.manufacturedProduct">
<path value="SubstanceAdministration.consumable.manufacturedProduct"/>
<short value="Base for all types and resources"/>
<definition
value="Defines the basic properties of every data value. This is an abstract type, meaning that no value can be just a data value without belonging to any concrete type. Every concrete type is a specialization of this general abstract DataValue type."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="SubstanceAdministration.consumable.manufacturedProduct"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/ManufacturedProduct"/>
<profile
value="http://hl7.org/cda/us/ccda/StructureDefinition/MedicationInformation"/>
</type>
<constraint>
<key value="product-choice"/>
<severity value="error"/>
<human
value="manufacturedLabeledDrug and manufacturedMaterial are mutually exclusive (one must be present)"/>
<expression
value="(manufacturedLabeledDrug | manufacturedMaterial).count() = 1"/>
<source
value="http://hl7.org/cda/stds/core/StructureDefinition/ManufacturedProduct"/>
</constraint>
<isModifier value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</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="http://hl7.org/cda/stds/core/StructureDefinition/Subject"/>
</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/cda/stds/core/StructureDefinition/Specimen"/>
</type>
</element>
<element id="SubstanceAdministration.performer">
<path value="SubstanceAdministration.performer"/>
<comment
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/cda/stds/core/StructureDefinition/Performer2"/>
</type>
</element>
<element id="SubstanceAdministration.author">
<path value="SubstanceAdministration.author"/>
<short value="Base for all types and resources"/>
<definition
value="Defines the basic properties of every data value. This is an abstract type, meaning that no value can be just a data value without belonging to any concrete type. Every concrete type is a specialization of this general abstract DataValue type."/>
<comment
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/cda/stds/core/StructureDefinition/Author"/>
<profile
value="http://hl7.org/cda/us/ccda/StructureDefinition/AuthorParticipation"/>
</type>
<isModifier value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</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="http://hl7.org/cda/stds/core/StructureDefinition/Informant"/>
</type>
</element>
<element id="SubstanceAdministration.participant">
<path value="SubstanceAdministration.participant"/>
<slicing>
<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/cda/stds/core/StructureDefinition/Participant2"/>
</type>
</element>
<element id="SubstanceAdministration.participant:drugVehicle">
<path value="SubstanceAdministration.participant"/>
<sliceName value="drugVehicle"/>
<comment
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/cda/stds/core/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="ANY.nullFlavor"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
</binding>
</element>
<element id="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="InfrastructureRoot.realmCode"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/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="InfrastructureRoot.typeId"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
</type>
</element>
<element
id="SubstanceAdministration.participant:drugVehicle.typeId.nullFlavor">
<path value="SubstanceAdministration.participant.typeId.nullFlavor"/>
<representation value="xmlAttr"/>
<label value="Exceptional Value Detail"/>
<definition
value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="ANY.nullFlavor"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
</binding>
</element>
<element
id="SubstanceAdministration.participant:drugVehicle.typeId.assigningAuthorityName">
<path
value="SubstanceAdministration.participant.typeId.assigningAuthorityName"/>
<representation value="xmlAttr"/>
<label value="Assigning Authority Name"/>
<definition
value="A human readable name or mnemonic for the assigning authority. The Assigning Authority Name has no computational value. The purpose of a Assigning Authority Name is to assist an unaided human interpreter of an II value to interpret the authority. Note: no automated processing must depend on the assigning authority name to be present in any form."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="II.assigningAuthorityName"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.participant:drugVehicle.typeId.displayable">
<path value="SubstanceAdministration.participant.typeId.displayable"/>
<representation value="xmlAttr"/>
<label value="Displayable"/>
<definition
value="Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false)."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="II.displayable"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.participant:drugVehicle.typeId.root">
<path value="SubstanceAdministration.participant.typeId.root"/>
<representation value="xmlAttr"/>
<label value="Root"/>
<definition value="Identifies the type as an HL7 Registered model"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="II.root"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/oid"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/uuid"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/ruid"/>
</type>
<fixedString value="2.16.840.1.113883.1.3"/>
</element>
<element
id="SubstanceAdministration.participant:drugVehicle.typeId.extension">
<path value="SubstanceAdministration.participant.typeId.extension"/>
<representation value="xmlAttr"/>
<label value="Extension"/>
<definition
value="A character string as a unique identifier within the scope of the identifier root."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="II.extension"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
</type>
</element>
<element id="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="InfrastructureRoot.templateId"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
</type>
</element>
<element id="SubstanceAdministration.participant:drugVehicle.typeCode">
<path value="SubstanceAdministration.participant.typeCode"/>
<representation value="xmlAttr"/>
<comment
value="SHALL contain exactly one [1..1] @typeCode="CSM" (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="1"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<fixedCode value="CSM"/>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDAParticipationType"/>
</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"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<fixedCode value="OP"/>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDAContextControl"/>
</binding>
</element>
<element
id="SubstanceAdministration.participant:drugVehicle.sdtcFunctionCode">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/xml-namespace">
<valueUri value="urn:hl7-org:sdtc"/>
</extension>
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/xml-name">
<valueString value="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/cda/stds/core/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/cda/stds/core/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/cda/stds/core/StructureDefinition/CE"/>
</type>
</element>
<element
id="SubstanceAdministration.participant:drugVehicle.participantRole">
<path value="SubstanceAdministration.participant.participantRole"/>
<short value="Base for all types and resources"/>
<definition
value="Defines the basic properties of every data value. This is an abstract type, meaning that no value can be just a data value without belonging to any concrete type. Every concrete type is a specialization of this general abstract DataValue type."/>
<comment
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/cda/stds/core/StructureDefinition/ParticipantRole"/>
<profile
value="http://hl7.org/cda/us/ccda/StructureDefinition/DrugVehicle"/>
</type>
<constraint>
<key value="role-choice"/>
<severity value="error"/>
<human
value="playingDevice and playingEntity are mutually exclusive"/>
<expression value="(playingDevice | playingEntity).count() <= 1"/>
<source
value="http://hl7.org/cda/stds/core/StructureDefinition/ParticipantRole"/>
</constraint>
<isModifier value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</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="http://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship"/>
</type>
</element>
<element id="SubstanceAdministration.entryRelationship:indication">
<extension
url="http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement">
<valueBoolean value="true"/>
</extension>
<path value="SubstanceAdministration.entryRelationship"/>
<sliceName value="indication"/>
<short value="(USCDI) Indication"/>
<comment
value="SHALL contain exactly one [1..1] Indication (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.19:2014-06-09) (CONF:1098-16087)."/>
<min value="0"/>
<max value="*"/>
<base>
<path value="SubstanceAdministration.entryRelationship"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:indication.nullFlavor">
<path value="SubstanceAdministration.entryRelationship.nullFlavor"/>
<representation value="xmlAttr"/>
<label value="Exceptional Value Detail"/>
<definition
value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="ANY.nullFlavor"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
</binding>
</element>
<element
id="SubstanceAdministration.entryRelationship:indication.realmCode">
<path value="SubstanceAdministration.entryRelationship.realmCode"/>
<definition
value="When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="InfrastructureRoot.realmCode"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:indication.typeId">
<path value="SubstanceAdministration.entryRelationship.typeId"/>
<definition
value="When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="InfrastructureRoot.typeId"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:indication.typeId.nullFlavor">
<path
value="SubstanceAdministration.entryRelationship.typeId.nullFlavor"/>
<representation value="xmlAttr"/>
<label value="Exceptional Value Detail"/>
<definition
value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="ANY.nullFlavor"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
</binding>
</element>
<element
id="SubstanceAdministration.entryRelationship:indication.typeId.assigningAuthorityName">
<path
value="SubstanceAdministration.entryRelationship.typeId.assigningAuthorityName"/>
<representation value="xmlAttr"/>
<label value="Assigning Authority Name"/>
<definition
value="A human readable name or mnemonic for the assigning authority. The Assigning Authority Name has no computational value. The purpose of a Assigning Authority Name is to assist an unaided human interpreter of an II value to interpret the authority. Note: no automated processing must depend on the assigning authority name to be present in any form."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="II.assigningAuthorityName"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:indication.typeId.displayable">
<path
value="SubstanceAdministration.entryRelationship.typeId.displayable"/>
<representation value="xmlAttr"/>
<label value="Displayable"/>
<definition
value="Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false)."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="II.displayable"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:indication.typeId.root">
<path value="SubstanceAdministration.entryRelationship.typeId.root"/>
<representation value="xmlAttr"/>
<label value="Root"/>
<definition value="Identifies the type as an HL7 Registered model"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="II.root"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/oid"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/uuid"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/ruid"/>
</type>
<fixedString value="2.16.840.1.113883.1.3"/>
</element>
<element
id="SubstanceAdministration.entryRelationship:indication.typeId.extension">
<path
value="SubstanceAdministration.entryRelationship.typeId.extension"/>
<representation value="xmlAttr"/>
<label value="Extension"/>
<definition
value="A character string as a unique identifier within the scope of the identifier root."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="II.extension"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:indication.templateId">
<path value="SubstanceAdministration.entryRelationship.templateId"/>
<definition
value="When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="InfrastructureRoot.templateId"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:indication.typeCode">
<path value="SubstanceAdministration.entryRelationship.typeCode"/>
<representation value="xmlAttr"/>
<comment
value="SHALL contain exactly one [1..1] @typeCode="RSON" (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:1098-7537)."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="EntryRelationship.typeCode"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<fixedCode value="RSON"/>
<binding>
<strength value="required"/>
<valueSet
value="http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship"/>
</binding>
</element>
<element
id="SubstanceAdministration.entryRelationship:indication.inversionInd">
<path value="SubstanceAdministration.entryRelationship.inversionInd"/>
<representation value="xmlAttr"/>
<definition
value="The entryRelationship.inversionInd can be set to "true" to indicate that the relationship should be interpreted as if the roles of the source and target entries were reversed."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.inversionInd"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:indication.contextConductionInd">
<path
value="SubstanceAdministration.entryRelationship.contextConductionInd"/>
<representation value="xmlAttr"/>
<definition
value="The entryRelationship.contextConductionInd differs from the otherwise common use of this attribute in that in all other cases where this attribute is used, the value is fixed at "true", whereas here the value is defaulted to "true", and can be changed to "false" when referencing an entry in the same document. Setting the context conduction to false when referencing an entry in the same document keeps clear the fact that the referenced object retains its original context."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.contextConductionInd"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
</type>
<defaultValueBoolean value="true"/>
</element>
<element
id="SubstanceAdministration.entryRelationship:indication.negationInd">
<path value="SubstanceAdministration.entryRelationship.negationInd"/>
<representation value="xmlAttr"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.negationInd"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:indication.sequenceNumber">
<path value="SubstanceAdministration.entryRelationship.sequenceNumber"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.sequenceNumber"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/INT"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:indication.seperatableInd">
<path value="SubstanceAdministration.entryRelationship.seperatableInd"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.seperatableInd"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/BL"/>
</type>
</element>
<element id="SubstanceAdministration.entryRelationship:indication.act">
<path value="SubstanceAdministration.entryRelationship.act"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.act"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/Act"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:indication.encounter">
<path value="SubstanceAdministration.entryRelationship.encounter"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.encounter"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Encounter"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:indication.observation">
<path value="SubstanceAdministration.entryRelationship.observation"/>
<short value="Base for all types and resources"/>
<definition
value="Defines the basic properties of every data value. This is an abstract type, meaning that no value can be just a data value without belonging to any concrete type. Every concrete type is a specialization of this general abstract DataValue type."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="EntryRelationship.observation"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Observation"/>
<profile
value="http://hl7.org/cda/us/ccda/StructureDefinition/Indication"/>
</type>
<constraint>
<key value="should-text-ref-value"/>
<severity value="warning"/>
<human value="SHOULD contain text/reference/@value"/>
<expression value="text.reference.value.exists()"/>
<source
value="http://hl7.org/cda/us/ccda/StructureDefinition/Indication"/>
</constraint>
<constraint>
<key value="should-effectiveTime"/>
<severity value="warning"/>
<human value="SHOULD contain effectiveTime"/>
<expression value="effectiveTime.exists()"/>
<source
value="http://hl7.org/cda/us/ccda/StructureDefinition/Indication"/>
</constraint>
<constraint>
<key value="indication-value"/>
<severity value="error"/>
<human
value="If the ID element does not reference a problem recorded elsewhere in the document, then observation/value must be populated with a coded entry."/>
<expression
value="value.exists() or (%resource.descendants().ofType(CDA.Observation).where(id.exists($this.root = %context.id.first().root and $this.extension ~ %context.id.first().extension) and value.exists()))"/>
<source
value="http://hl7.org/cda/us/ccda/StructureDefinition/Indication"/>
</constraint>
<isModifier value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element
id="SubstanceAdministration.entryRelationship:indication.observationMedia">
<path
value="SubstanceAdministration.entryRelationship.observationMedia"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.observationMedia"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/ObservationMedia"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:indication.organizer">
<path value="SubstanceAdministration.entryRelationship.organizer"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.organizer"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Organizer"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:indication.procedure">
<path value="SubstanceAdministration.entryRelationship.procedure"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.procedure"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Procedure"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:indication.regionOfInterest">
<path
value="SubstanceAdministration.entryRelationship.regionOfInterest"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.regionOfInterest"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/RegionOfInterest"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:indication.substanceAdministration">
<path
value="SubstanceAdministration.entryRelationship.substanceAdministration"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.substanceAdministration"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:indication.supply">
<path value="SubstanceAdministration.entryRelationship.supply"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.supply"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Supply"/>
</type>
</element>
<element id="SubstanceAdministration.entryRelationship:instruction">
<path value="SubstanceAdministration.entryRelationship"/>
<sliceName value="instruction"/>
<comment
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="http://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:instruction.nullFlavor">
<path value="SubstanceAdministration.entryRelationship.nullFlavor"/>
<representation value="xmlAttr"/>
<label value="Exceptional Value Detail"/>
<definition
value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="ANY.nullFlavor"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
</binding>
</element>
<element
id="SubstanceAdministration.entryRelationship:instruction.realmCode">
<path value="SubstanceAdministration.entryRelationship.realmCode"/>
<definition
value="When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="InfrastructureRoot.realmCode"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:instruction.typeId">
<path value="SubstanceAdministration.entryRelationship.typeId"/>
<definition
value="When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="InfrastructureRoot.typeId"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:instruction.typeId.nullFlavor">
<path
value="SubstanceAdministration.entryRelationship.typeId.nullFlavor"/>
<representation value="xmlAttr"/>
<label value="Exceptional Value Detail"/>
<definition
value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="ANY.nullFlavor"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
</binding>
</element>
<element
id="SubstanceAdministration.entryRelationship:instruction.typeId.assigningAuthorityName">
<path
value="SubstanceAdministration.entryRelationship.typeId.assigningAuthorityName"/>
<representation value="xmlAttr"/>
<label value="Assigning Authority Name"/>
<definition
value="A human readable name or mnemonic for the assigning authority. The Assigning Authority Name has no computational value. The purpose of a Assigning Authority Name is to assist an unaided human interpreter of an II value to interpret the authority. Note: no automated processing must depend on the assigning authority name to be present in any form."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="II.assigningAuthorityName"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:instruction.typeId.displayable">
<path
value="SubstanceAdministration.entryRelationship.typeId.displayable"/>
<representation value="xmlAttr"/>
<label value="Displayable"/>
<definition
value="Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false)."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="II.displayable"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:instruction.typeId.root">
<path value="SubstanceAdministration.entryRelationship.typeId.root"/>
<representation value="xmlAttr"/>
<label value="Root"/>
<definition value="Identifies the type as an HL7 Registered model"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="II.root"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/oid"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/uuid"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/ruid"/>
</type>
<fixedString value="2.16.840.1.113883.1.3"/>
</element>
<element
id="SubstanceAdministration.entryRelationship:instruction.typeId.extension">
<path
value="SubstanceAdministration.entryRelationship.typeId.extension"/>
<representation value="xmlAttr"/>
<label value="Extension"/>
<definition
value="A character string as a unique identifier within the scope of the identifier root."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="II.extension"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:instruction.templateId">
<path value="SubstanceAdministration.entryRelationship.templateId"/>
<definition
value="When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="InfrastructureRoot.templateId"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:instruction.typeCode">
<path value="SubstanceAdministration.entryRelationship.typeCode"/>
<representation value="xmlAttr"/>
<comment
value="SHALL contain exactly one [1..1] @typeCode="SUBJ" (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:1098-7540)."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="EntryRelationship.typeCode"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<fixedCode value="SUBJ"/>
<binding>
<strength value="required"/>
<valueSet
value="http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship"/>
</binding>
</element>
<element
id="SubstanceAdministration.entryRelationship:instruction.inversionInd">
<path value="SubstanceAdministration.entryRelationship.inversionInd"/>
<representation value="xmlAttr"/>
<definition
value="The entryRelationship.inversionInd can be set to "true" to indicate that the relationship should be interpreted as if the roles of the source and target entries were reversed."/>
<comment
value="SHALL contain exactly one [1..1] @inversionInd="true" True (CONF:1098-7542)."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="EntryRelationship.inversionInd"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
</type>
<fixedBoolean value="true"/>
</element>
<element
id="SubstanceAdministration.entryRelationship:instruction.contextConductionInd">
<path
value="SubstanceAdministration.entryRelationship.contextConductionInd"/>
<representation value="xmlAttr"/>
<definition
value="The entryRelationship.contextConductionInd differs from the otherwise common use of this attribute in that in all other cases where this attribute is used, the value is fixed at "true", whereas here the value is defaulted to "true", and can be changed to "false" when referencing an entry in the same document. Setting the context conduction to false when referencing an entry in the same document keeps clear the fact that the referenced object retains its original context."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.contextConductionInd"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
</type>
<defaultValueBoolean value="true"/>
</element>
<element
id="SubstanceAdministration.entryRelationship:instruction.negationInd">
<path value="SubstanceAdministration.entryRelationship.negationInd"/>
<representation value="xmlAttr"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.negationInd"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:instruction.sequenceNumber">
<path value="SubstanceAdministration.entryRelationship.sequenceNumber"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.sequenceNumber"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/INT"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:instruction.seperatableInd">
<path value="SubstanceAdministration.entryRelationship.seperatableInd"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.seperatableInd"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/BL"/>
</type>
</element>
<element id="SubstanceAdministration.entryRelationship:instruction.act">
<path value="SubstanceAdministration.entryRelationship.act"/>
<short value="Base for all types and resources"/>
<definition
value="Defines the basic properties of every data value. This is an abstract type, meaning that no value can be just a data value without belonging to any concrete type. Every concrete type is a specialization of this general abstract DataValue type."/>
<comment
value="SHALL contain exactly one [1..1] Instruction (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="EntryRelationship.act"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/Act"/>
<profile
value="http://hl7.org/cda/us/ccda/StructureDefinition/Instruction"/>
</type>
<constraint>
<key value="should-text-ref-value"/>
<severity value="warning"/>
<human value="SHOULD contain text/reference/@value"/>
<expression value="text.reference.value.exists()"/>
<source
value="http://hl7.org/cda/us/ccda/StructureDefinition/Instruction"/>
</constraint>
<isModifier value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element
id="SubstanceAdministration.entryRelationship:instruction.encounter">
<path value="SubstanceAdministration.entryRelationship.encounter"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.encounter"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Encounter"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:instruction.observation">
<path value="SubstanceAdministration.entryRelationship.observation"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.observation"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Observation"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:instruction.observationMedia">
<path
value="SubstanceAdministration.entryRelationship.observationMedia"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.observationMedia"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/ObservationMedia"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:instruction.organizer">
<path value="SubstanceAdministration.entryRelationship.organizer"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.organizer"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Organizer"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:instruction.procedure">
<path value="SubstanceAdministration.entryRelationship.procedure"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.procedure"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Procedure"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:instruction.regionOfInterest">
<path
value="SubstanceAdministration.entryRelationship.regionOfInterest"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.regionOfInterest"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/RegionOfInterest"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:instruction.substanceAdministration">
<path
value="SubstanceAdministration.entryRelationship.substanceAdministration"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.substanceAdministration"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:instruction.supply">
<path value="SubstanceAdministration.entryRelationship.supply"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.supply"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Supply"/>
</type>
</element>
<element id="SubstanceAdministration.entryRelationship:supplyOrder">
<path value="SubstanceAdministration.entryRelationship"/>
<sliceName value="supplyOrder"/>
<comment
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="http://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:supplyOrder.nullFlavor">
<path value="SubstanceAdministration.entryRelationship.nullFlavor"/>
<representation value="xmlAttr"/>
<label value="Exceptional Value Detail"/>
<definition
value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="ANY.nullFlavor"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
</binding>
</element>
<element
id="SubstanceAdministration.entryRelationship:supplyOrder.realmCode">
<path value="SubstanceAdministration.entryRelationship.realmCode"/>
<definition
value="When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="InfrastructureRoot.realmCode"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:supplyOrder.typeId">
<path value="SubstanceAdministration.entryRelationship.typeId"/>
<definition
value="When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="InfrastructureRoot.typeId"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:supplyOrder.typeId.nullFlavor">
<path
value="SubstanceAdministration.entryRelationship.typeId.nullFlavor"/>
<representation value="xmlAttr"/>
<label value="Exceptional Value Detail"/>
<definition
value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="ANY.nullFlavor"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
</binding>
</element>
<element
id="SubstanceAdministration.entryRelationship:supplyOrder.typeId.assigningAuthorityName">
<path
value="SubstanceAdministration.entryRelationship.typeId.assigningAuthorityName"/>
<representation value="xmlAttr"/>
<label value="Assigning Authority Name"/>
<definition
value="A human readable name or mnemonic for the assigning authority. The Assigning Authority Name has no computational value. The purpose of a Assigning Authority Name is to assist an unaided human interpreter of an II value to interpret the authority. Note: no automated processing must depend on the assigning authority name to be present in any form."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="II.assigningAuthorityName"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:supplyOrder.typeId.displayable">
<path
value="SubstanceAdministration.entryRelationship.typeId.displayable"/>
<representation value="xmlAttr"/>
<label value="Displayable"/>
<definition
value="Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false)."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="II.displayable"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:supplyOrder.typeId.root">
<path value="SubstanceAdministration.entryRelationship.typeId.root"/>
<representation value="xmlAttr"/>
<label value="Root"/>
<definition value="Identifies the type as an HL7 Registered model"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="II.root"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/oid"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/uuid"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/ruid"/>
</type>
<fixedString value="2.16.840.1.113883.1.3"/>
</element>
<element
id="SubstanceAdministration.entryRelationship:supplyOrder.typeId.extension">
<path
value="SubstanceAdministration.entryRelationship.typeId.extension"/>
<representation value="xmlAttr"/>
<label value="Extension"/>
<definition
value="A character string as a unique identifier within the scope of the identifier root."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="II.extension"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:supplyOrder.templateId">
<path value="SubstanceAdministration.entryRelationship.templateId"/>
<definition
value="When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="InfrastructureRoot.templateId"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:supplyOrder.typeCode">
<path value="SubstanceAdministration.entryRelationship.typeCode"/>
<representation value="xmlAttr"/>
<comment
value="SHALL contain exactly one [1..1] @typeCode="REFR" (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:1098-7547)."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="EntryRelationship.typeCode"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<fixedCode value="REFR"/>
<binding>
<strength value="required"/>
<valueSet
value="http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship"/>
</binding>
</element>
<element
id="SubstanceAdministration.entryRelationship:supplyOrder.inversionInd">
<path value="SubstanceAdministration.entryRelationship.inversionInd"/>
<representation value="xmlAttr"/>
<definition
value="The entryRelationship.inversionInd can be set to "true" to indicate that the relationship should be interpreted as if the roles of the source and target entries were reversed."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.inversionInd"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:supplyOrder.contextConductionInd">
<path
value="SubstanceAdministration.entryRelationship.contextConductionInd"/>
<representation value="xmlAttr"/>
<definition
value="The entryRelationship.contextConductionInd differs from the otherwise common use of this attribute in that in all other cases where this attribute is used, the value is fixed at "true", whereas here the value is defaulted to "true", and can be changed to "false" when referencing an entry in the same document. Setting the context conduction to false when referencing an entry in the same document keeps clear the fact that the referenced object retains its original context."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.contextConductionInd"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
</type>
<defaultValueBoolean value="true"/>
</element>
<element
id="SubstanceAdministration.entryRelationship:supplyOrder.negationInd">
<path value="SubstanceAdministration.entryRelationship.negationInd"/>
<representation value="xmlAttr"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.negationInd"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:supplyOrder.sequenceNumber">
<path value="SubstanceAdministration.entryRelationship.sequenceNumber"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.sequenceNumber"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/INT"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:supplyOrder.seperatableInd">
<path value="SubstanceAdministration.entryRelationship.seperatableInd"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.seperatableInd"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/BL"/>
</type>
</element>
<element id="SubstanceAdministration.entryRelationship:supplyOrder.act">
<path value="SubstanceAdministration.entryRelationship.act"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.act"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/Act"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:supplyOrder.encounter">
<path value="SubstanceAdministration.entryRelationship.encounter"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.encounter"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Encounter"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:supplyOrder.observation">
<path value="SubstanceAdministration.entryRelationship.observation"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.observation"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Observation"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:supplyOrder.observationMedia">
<path
value="SubstanceAdministration.entryRelationship.observationMedia"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.observationMedia"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/ObservationMedia"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:supplyOrder.organizer">
<path value="SubstanceAdministration.entryRelationship.organizer"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.organizer"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Organizer"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:supplyOrder.procedure">
<path value="SubstanceAdministration.entryRelationship.procedure"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.procedure"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Procedure"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:supplyOrder.regionOfInterest">
<path
value="SubstanceAdministration.entryRelationship.regionOfInterest"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.regionOfInterest"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/RegionOfInterest"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:supplyOrder.substanceAdministration">
<path
value="SubstanceAdministration.entryRelationship.substanceAdministration"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.substanceAdministration"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:supplyOrder.supply">
<path value="SubstanceAdministration.entryRelationship.supply"/>
<short value="Base for all types and resources"/>
<definition
value="Defines the basic properties of every data value. This is an abstract type, meaning that no value can be just a data value without belonging to any concrete type. Every concrete type is a specialization of this general abstract DataValue type."/>
<comment
value="SHALL contain exactly one [1..1] Medication Supply Order (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="EntryRelationship.supply"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Supply"/>
<profile
value="http://hl7.org/cda/us/ccda/StructureDefinition/MedicationSupplyOrder"/>
</type>
<constraint>
<key value="should-text-ref-value"/>
<severity value="warning"/>
<human value="SHOULD contain text/reference/@value"/>
<expression value="text.reference.value.exists()"/>
<source
value="http://hl7.org/cda/us/ccda/StructureDefinition/MedicationSupplyOrder"/>
</constraint>
<constraint>
<key value="should-repeatNumber"/>
<severity value="warning"/>
<human value="SHOULD contain repeatNumber"/>
<expression value="repeatNumber.exists()"/>
<source
value="http://hl7.org/cda/us/ccda/StructureDefinition/MedicationSupplyOrder"/>
</constraint>
<constraint>
<key value="should-quantity"/>
<severity value="warning"/>
<human value="SHOULD contain quantity"/>
<expression value="quantity.exists()"/>
<source
value="http://hl7.org/cda/us/ccda/StructureDefinition/MedicationSupplyOrder"/>
</constraint>
<isModifier value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element
id="SubstanceAdministration.entryRelationship:medicationDispense">
<path value="SubstanceAdministration.entryRelationship"/>
<sliceName value="medicationDispense"/>
<comment
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="http://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:medicationDispense.nullFlavor">
<path value="SubstanceAdministration.entryRelationship.nullFlavor"/>
<representation value="xmlAttr"/>
<label value="Exceptional Value Detail"/>
<definition
value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="ANY.nullFlavor"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
</binding>
</element>
<element
id="SubstanceAdministration.entryRelationship:medicationDispense.realmCode">
<path value="SubstanceAdministration.entryRelationship.realmCode"/>
<definition
value="When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="InfrastructureRoot.realmCode"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:medicationDispense.typeId">
<path value="SubstanceAdministration.entryRelationship.typeId"/>
<definition
value="When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="InfrastructureRoot.typeId"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:medicationDispense.typeId.nullFlavor">
<path
value="SubstanceAdministration.entryRelationship.typeId.nullFlavor"/>
<representation value="xmlAttr"/>
<label value="Exceptional Value Detail"/>
<definition
value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="ANY.nullFlavor"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
</binding>
</element>
<element
id="SubstanceAdministration.entryRelationship:medicationDispense.typeId.assigningAuthorityName">
<path
value="SubstanceAdministration.entryRelationship.typeId.assigningAuthorityName"/>
<representation value="xmlAttr"/>
<label value="Assigning Authority Name"/>
<definition
value="A human readable name or mnemonic for the assigning authority. The Assigning Authority Name has no computational value. The purpose of a Assigning Authority Name is to assist an unaided human interpreter of an II value to interpret the authority. Note: no automated processing must depend on the assigning authority name to be present in any form."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="II.assigningAuthorityName"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:medicationDispense.typeId.displayable">
<path
value="SubstanceAdministration.entryRelationship.typeId.displayable"/>
<representation value="xmlAttr"/>
<label value="Displayable"/>
<definition
value="Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false)."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="II.displayable"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:medicationDispense.typeId.root">
<path value="SubstanceAdministration.entryRelationship.typeId.root"/>
<representation value="xmlAttr"/>
<label value="Root"/>
<definition value="Identifies the type as an HL7 Registered model"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="II.root"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/oid"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/uuid"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/ruid"/>
</type>
<fixedString value="2.16.840.1.113883.1.3"/>
</element>
<element
id="SubstanceAdministration.entryRelationship:medicationDispense.typeId.extension">
<path
value="SubstanceAdministration.entryRelationship.typeId.extension"/>
<representation value="xmlAttr"/>
<label value="Extension"/>
<definition
value="A character string as a unique identifier within the scope of the identifier root."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="II.extension"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:medicationDispense.templateId">
<path value="SubstanceAdministration.entryRelationship.templateId"/>
<definition
value="When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="InfrastructureRoot.templateId"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:medicationDispense.typeCode">
<path value="SubstanceAdministration.entryRelationship.typeCode"/>
<representation value="xmlAttr"/>
<comment
value="SHALL contain exactly one [1..1] @typeCode="REFR" (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:1098-7553)."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="EntryRelationship.typeCode"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<fixedCode value="REFR"/>
<binding>
<strength value="required"/>
<valueSet
value="http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship"/>
</binding>
</element>
<element
id="SubstanceAdministration.entryRelationship:medicationDispense.inversionInd">
<path value="SubstanceAdministration.entryRelationship.inversionInd"/>
<representation value="xmlAttr"/>
<definition
value="The entryRelationship.inversionInd can be set to "true" to indicate that the relationship should be interpreted as if the roles of the source and target entries were reversed."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.inversionInd"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:medicationDispense.contextConductionInd">
<path
value="SubstanceAdministration.entryRelationship.contextConductionInd"/>
<representation value="xmlAttr"/>
<definition
value="The entryRelationship.contextConductionInd differs from the otherwise common use of this attribute in that in all other cases where this attribute is used, the value is fixed at "true", whereas here the value is defaulted to "true", and can be changed to "false" when referencing an entry in the same document. Setting the context conduction to false when referencing an entry in the same document keeps clear the fact that the referenced object retains its original context."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.contextConductionInd"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
</type>
<defaultValueBoolean value="true"/>
</element>
<element
id="SubstanceAdministration.entryRelationship:medicationDispense.negationInd">
<path value="SubstanceAdministration.entryRelationship.negationInd"/>
<representation value="xmlAttr"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.negationInd"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:medicationDispense.sequenceNumber">
<path value="SubstanceAdministration.entryRelationship.sequenceNumber"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.sequenceNumber"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/INT"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:medicationDispense.seperatableInd">
<path value="SubstanceAdministration.entryRelationship.seperatableInd"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.seperatableInd"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/BL"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:medicationDispense.act">
<path value="SubstanceAdministration.entryRelationship.act"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.act"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/Act"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:medicationDispense.encounter">
<path value="SubstanceAdministration.entryRelationship.encounter"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.encounter"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Encounter"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:medicationDispense.observation">
<path value="SubstanceAdministration.entryRelationship.observation"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.observation"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Observation"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:medicationDispense.observationMedia">
<path
value="SubstanceAdministration.entryRelationship.observationMedia"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.observationMedia"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/ObservationMedia"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:medicationDispense.organizer">
<path value="SubstanceAdministration.entryRelationship.organizer"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.organizer"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Organizer"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:medicationDispense.procedure">
<path value="SubstanceAdministration.entryRelationship.procedure"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.procedure"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Procedure"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:medicationDispense.regionOfInterest">
<path
value="SubstanceAdministration.entryRelationship.regionOfInterest"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.regionOfInterest"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/RegionOfInterest"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:medicationDispense.substanceAdministration">
<path
value="SubstanceAdministration.entryRelationship.substanceAdministration"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.substanceAdministration"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:medicationDispense.supply">
<path value="SubstanceAdministration.entryRelationship.supply"/>
<short value="Base for all types and resources"/>
<definition
value="Defines the basic properties of every data value. This is an abstract type, meaning that no value can be just a data value without belonging to any concrete type. Every concrete type is a specialization of this general abstract DataValue type."/>
<comment
value="SHALL contain exactly one [1..1] Medication Dispense (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="EntryRelationship.supply"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Supply"/>
<profile
value="http://hl7.org/cda/us/ccda/StructureDefinition/MedicationDispense"/>
</type>
<constraint>
<key value="should-text-ref-value"/>
<severity value="warning"/>
<human value="SHOULD contain text/reference/@value"/>
<expression value="text.reference.value.exists()"/>
<source
value="http://hl7.org/cda/us/ccda/StructureDefinition/MedicationDispense"/>
</constraint>
<constraint>
<key value="should-effectiveTime"/>
<severity value="warning"/>
<human value="SHOULD contain effectiveTime"/>
<expression value="effectiveTime.exists()"/>
<source
value="http://hl7.org/cda/us/ccda/StructureDefinition/MedicationDispense"/>
</constraint>
<constraint>
<key value="should-repeatNumber"/>
<severity value="warning"/>
<human value="SHOULD contain repeatNumber"/>
<expression value="repeatNumber.exists()"/>
<source
value="http://hl7.org/cda/us/ccda/StructureDefinition/MedicationDispense"/>
</constraint>
<constraint>
<key value="should-quantity"/>
<severity value="warning"/>
<human value="SHOULD contain quantity"/>
<expression value="quantity.exists()"/>
<source
value="http://hl7.org/cda/us/ccda/StructureDefinition/MedicationDispense"/>
</constraint>
<isModifier value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element id="SubstanceAdministration.entryRelationship:reaction">
<path value="SubstanceAdministration.entryRelationship"/>
<sliceName value="reaction"/>
<comment
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="http://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:reaction.nullFlavor">
<path value="SubstanceAdministration.entryRelationship.nullFlavor"/>
<representation value="xmlAttr"/>
<label value="Exceptional Value Detail"/>
<definition
value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="ANY.nullFlavor"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
</binding>
</element>
<element
id="SubstanceAdministration.entryRelationship:reaction.realmCode">
<path value="SubstanceAdministration.entryRelationship.realmCode"/>
<definition
value="When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="InfrastructureRoot.realmCode"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
</type>
</element>
<element id="SubstanceAdministration.entryRelationship:reaction.typeId">
<path value="SubstanceAdministration.entryRelationship.typeId"/>
<definition
value="When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="InfrastructureRoot.typeId"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:reaction.typeId.nullFlavor">
<path
value="SubstanceAdministration.entryRelationship.typeId.nullFlavor"/>
<representation value="xmlAttr"/>
<label value="Exceptional Value Detail"/>
<definition
value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="ANY.nullFlavor"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
</binding>
</element>
<element
id="SubstanceAdministration.entryRelationship:reaction.typeId.assigningAuthorityName">
<path
value="SubstanceAdministration.entryRelationship.typeId.assigningAuthorityName"/>
<representation value="xmlAttr"/>
<label value="Assigning Authority Name"/>
<definition
value="A human readable name or mnemonic for the assigning authority. The Assigning Authority Name has no computational value. The purpose of a Assigning Authority Name is to assist an unaided human interpreter of an II value to interpret the authority. Note: no automated processing must depend on the assigning authority name to be present in any form."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="II.assigningAuthorityName"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:reaction.typeId.displayable">
<path
value="SubstanceAdministration.entryRelationship.typeId.displayable"/>
<representation value="xmlAttr"/>
<label value="Displayable"/>
<definition
value="Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false)."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="II.displayable"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:reaction.typeId.root">
<path value="SubstanceAdministration.entryRelationship.typeId.root"/>
<representation value="xmlAttr"/>
<label value="Root"/>
<definition value="Identifies the type as an HL7 Registered model"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="II.root"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/oid"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/uuid"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/ruid"/>
</type>
<fixedString value="2.16.840.1.113883.1.3"/>
</element>
<element
id="SubstanceAdministration.entryRelationship:reaction.typeId.extension">
<path
value="SubstanceAdministration.entryRelationship.typeId.extension"/>
<representation value="xmlAttr"/>
<label value="Extension"/>
<definition
value="A character string as a unique identifier within the scope of the identifier root."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="II.extension"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:reaction.templateId">
<path value="SubstanceAdministration.entryRelationship.templateId"/>
<definition
value="When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="InfrastructureRoot.templateId"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:reaction.typeCode">
<path value="SubstanceAdministration.entryRelationship.typeCode"/>
<representation value="xmlAttr"/>
<comment
value="SHALL contain exactly one [1..1] @typeCode="CAUS" (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:1098-7544)."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="EntryRelationship.typeCode"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<fixedCode value="CAUS"/>
<binding>
<strength value="required"/>
<valueSet
value="http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship"/>
</binding>
</element>
<element
id="SubstanceAdministration.entryRelationship:reaction.inversionInd">
<path value="SubstanceAdministration.entryRelationship.inversionInd"/>
<representation value="xmlAttr"/>
<definition
value="The entryRelationship.inversionInd can be set to "true" to indicate that the relationship should be interpreted as if the roles of the source and target entries were reversed."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.inversionInd"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:reaction.contextConductionInd">
<path
value="SubstanceAdministration.entryRelationship.contextConductionInd"/>
<representation value="xmlAttr"/>
<definition
value="The entryRelationship.contextConductionInd differs from the otherwise common use of this attribute in that in all other cases where this attribute is used, the value is fixed at "true", whereas here the value is defaulted to "true", and can be changed to "false" when referencing an entry in the same document. Setting the context conduction to false when referencing an entry in the same document keeps clear the fact that the referenced object retains its original context."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.contextConductionInd"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
</type>
<defaultValueBoolean value="true"/>
</element>
<element
id="SubstanceAdministration.entryRelationship:reaction.negationInd">
<path value="SubstanceAdministration.entryRelationship.negationInd"/>
<representation value="xmlAttr"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.negationInd"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:reaction.sequenceNumber">
<path value="SubstanceAdministration.entryRelationship.sequenceNumber"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.sequenceNumber"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/INT"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:reaction.seperatableInd">
<path value="SubstanceAdministration.entryRelationship.seperatableInd"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.seperatableInd"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/BL"/>
</type>
</element>
<element id="SubstanceAdministration.entryRelationship:reaction.act">
<path value="SubstanceAdministration.entryRelationship.act"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.act"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/Act"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:reaction.encounter">
<path value="SubstanceAdministration.entryRelationship.encounter"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.encounter"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Encounter"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:reaction.observation">
<path value="SubstanceAdministration.entryRelationship.observation"/>
<short value="Base for all types and resources"/>
<definition
value="Defines the basic properties of every data value. This is an abstract type, meaning that no value can be just a data value without belonging to any concrete type. Every concrete type is a specialization of this general abstract DataValue type."/>
<comment
value="SHALL contain exactly one [1..1] Reaction Observation (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="EntryRelationship.observation"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Observation"/>
<profile
value="http://hl7.org/cda/us/ccda/StructureDefinition/ReactionObservation"/>
</type>
<constraint>
<key value="should-text-ref-value"/>
<severity value="warning"/>
<human value="SHOULD contain text/reference/@value"/>
<expression value="text.reference.value.exists()"/>
<source
value="http://hl7.org/cda/us/ccda/StructureDefinition/ReactionObservation"/>
</constraint>
<constraint>
<key value="should-effectiveTime"/>
<severity value="warning"/>
<human value="SHOULD contain effectiveTime"/>
<expression value="effectiveTime.exists()"/>
<source
value="http://hl7.org/cda/us/ccda/StructureDefinition/ReactionObservation"/>
</constraint>
<isModifier value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element
id="SubstanceAdministration.entryRelationship:reaction.observationMedia">
<path
value="SubstanceAdministration.entryRelationship.observationMedia"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.observationMedia"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/ObservationMedia"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:reaction.organizer">
<path value="SubstanceAdministration.entryRelationship.organizer"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.organizer"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Organizer"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:reaction.procedure">
<path value="SubstanceAdministration.entryRelationship.procedure"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.procedure"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Procedure"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:reaction.regionOfInterest">
<path
value="SubstanceAdministration.entryRelationship.regionOfInterest"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.regionOfInterest"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/RegionOfInterest"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:reaction.substanceAdministration">
<path
value="SubstanceAdministration.entryRelationship.substanceAdministration"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.substanceAdministration"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration"/>
</type>
</element>
<element id="SubstanceAdministration.entryRelationship:reaction.supply">
<path value="SubstanceAdministration.entryRelationship.supply"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.supply"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Supply"/>
</type>
</element>
<element id="SubstanceAdministration.entryRelationship:drugMonitoring">
<path value="SubstanceAdministration.entryRelationship"/>
<sliceName value="drugMonitoring"/>
<comment
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="http://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:drugMonitoring.nullFlavor">
<path value="SubstanceAdministration.entryRelationship.nullFlavor"/>
<representation value="xmlAttr"/>
<label value="Exceptional Value Detail"/>
<definition
value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="ANY.nullFlavor"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
</binding>
</element>
<element
id="SubstanceAdministration.entryRelationship:drugMonitoring.realmCode">
<path value="SubstanceAdministration.entryRelationship.realmCode"/>
<definition
value="When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="InfrastructureRoot.realmCode"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:drugMonitoring.typeId">
<path value="SubstanceAdministration.entryRelationship.typeId"/>
<definition
value="When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="InfrastructureRoot.typeId"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:drugMonitoring.typeId.nullFlavor">
<path
value="SubstanceAdministration.entryRelationship.typeId.nullFlavor"/>
<representation value="xmlAttr"/>
<label value="Exceptional Value Detail"/>
<definition
value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="ANY.nullFlavor"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
</binding>
</element>
<element
id="SubstanceAdministration.entryRelationship:drugMonitoring.typeId.assigningAuthorityName">
<path
value="SubstanceAdministration.entryRelationship.typeId.assigningAuthorityName"/>
<representation value="xmlAttr"/>
<label value="Assigning Authority Name"/>
<definition
value="A human readable name or mnemonic for the assigning authority. The Assigning Authority Name has no computational value. The purpose of a Assigning Authority Name is to assist an unaided human interpreter of an II value to interpret the authority. Note: no automated processing must depend on the assigning authority name to be present in any form."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="II.assigningAuthorityName"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:drugMonitoring.typeId.displayable">
<path
value="SubstanceAdministration.entryRelationship.typeId.displayable"/>
<representation value="xmlAttr"/>
<label value="Displayable"/>
<definition
value="Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false)."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="II.displayable"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:drugMonitoring.typeId.root">
<path value="SubstanceAdministration.entryRelationship.typeId.root"/>
<representation value="xmlAttr"/>
<label value="Root"/>
<definition value="Identifies the type as an HL7 Registered model"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="II.root"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/oid"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/uuid"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/ruid"/>
</type>
<fixedString value="2.16.840.1.113883.1.3"/>
</element>
<element
id="SubstanceAdministration.entryRelationship:drugMonitoring.typeId.extension">
<path
value="SubstanceAdministration.entryRelationship.typeId.extension"/>
<representation value="xmlAttr"/>
<label value="Extension"/>
<definition
value="A character string as a unique identifier within the scope of the identifier root."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="II.extension"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:drugMonitoring.templateId">
<path value="SubstanceAdministration.entryRelationship.templateId"/>
<definition
value="When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="InfrastructureRoot.templateId"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:drugMonitoring.typeCode">
<path value="SubstanceAdministration.entryRelationship.typeCode"/>
<representation value="xmlAttr"/>
<comment
value="SHALL contain exactly one [1..1] @typeCode="COMP" Has component (CONF:1098-30821)."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="EntryRelationship.typeCode"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<fixedCode value="COMP"/>
<binding>
<strength value="required"/>
<valueSet
value="http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship"/>
</binding>
</element>
<element
id="SubstanceAdministration.entryRelationship:drugMonitoring.inversionInd">
<path value="SubstanceAdministration.entryRelationship.inversionInd"/>
<representation value="xmlAttr"/>
<definition
value="The entryRelationship.inversionInd can be set to "true" to indicate that the relationship should be interpreted as if the roles of the source and target entries were reversed."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.inversionInd"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:drugMonitoring.contextConductionInd">
<path
value="SubstanceAdministration.entryRelationship.contextConductionInd"/>
<representation value="xmlAttr"/>
<definition
value="The entryRelationship.contextConductionInd differs from the otherwise common use of this attribute in that in all other cases where this attribute is used, the value is fixed at "true", whereas here the value is defaulted to "true", and can be changed to "false" when referencing an entry in the same document. Setting the context conduction to false when referencing an entry in the same document keeps clear the fact that the referenced object retains its original context."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.contextConductionInd"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
</type>
<defaultValueBoolean value="true"/>
</element>
<element
id="SubstanceAdministration.entryRelationship:drugMonitoring.negationInd">
<path value="SubstanceAdministration.entryRelationship.negationInd"/>
<representation value="xmlAttr"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.negationInd"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:drugMonitoring.sequenceNumber">
<path value="SubstanceAdministration.entryRelationship.sequenceNumber"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.sequenceNumber"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/INT"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:drugMonitoring.seperatableInd">
<path value="SubstanceAdministration.entryRelationship.seperatableInd"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.seperatableInd"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/BL"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:drugMonitoring.act">
<path value="SubstanceAdministration.entryRelationship.act"/>
<short value="Base for all types and resources"/>
<definition
value="Defines the basic properties of every data value. This is an abstract type, meaning that no value can be just a data value without belonging to any concrete type. Every concrete type is a specialization of this general abstract DataValue type."/>
<comment
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="EntryRelationship.act"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/Act"/>
<profile
value="http://hl7.org/cda/us/ccda/StructureDefinition/DrugMonitoringAct"/>
</type>
<constraint>
<key value="should-text-ref-value"/>
<severity value="warning"/>
<human value="SHOULD contain text/reference/@value"/>
<expression value="text.reference.value.exists()"/>
<source
value="http://hl7.org/cda/us/ccda/StructureDefinition/DrugMonitoringAct"/>
</constraint>
<isModifier value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element
id="SubstanceAdministration.entryRelationship:drugMonitoring.encounter">
<path value="SubstanceAdministration.entryRelationship.encounter"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.encounter"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Encounter"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:drugMonitoring.observation">
<path value="SubstanceAdministration.entryRelationship.observation"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.observation"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Observation"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:drugMonitoring.observationMedia">
<path
value="SubstanceAdministration.entryRelationship.observationMedia"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.observationMedia"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/ObservationMedia"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:drugMonitoring.organizer">
<path value="SubstanceAdministration.entryRelationship.organizer"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.organizer"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Organizer"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:drugMonitoring.procedure">
<path value="SubstanceAdministration.entryRelationship.procedure"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.procedure"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Procedure"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:drugMonitoring.regionOfInterest">
<path
value="SubstanceAdministration.entryRelationship.regionOfInterest"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.regionOfInterest"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/RegionOfInterest"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:drugMonitoring.substanceAdministration">
<path
value="SubstanceAdministration.entryRelationship.substanceAdministration"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.substanceAdministration"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:drugMonitoring.supply">
<path value="SubstanceAdministration.entryRelationship.supply"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.supply"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Supply"/>
</type>
</element>
<element
id="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."/>
<comment
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="http://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:substanceAdministered.nullFlavor">
<path value="SubstanceAdministration.entryRelationship.nullFlavor"/>
<representation value="xmlAttr"/>
<label value="Exceptional Value Detail"/>
<definition
value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="ANY.nullFlavor"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
</binding>
</element>
<element
id="SubstanceAdministration.entryRelationship:substanceAdministered.realmCode">
<path value="SubstanceAdministration.entryRelationship.realmCode"/>
<definition
value="When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="InfrastructureRoot.realmCode"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:substanceAdministered.typeId">
<path value="SubstanceAdministration.entryRelationship.typeId"/>
<definition
value="When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="InfrastructureRoot.typeId"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:substanceAdministered.typeId.nullFlavor">
<path
value="SubstanceAdministration.entryRelationship.typeId.nullFlavor"/>
<representation value="xmlAttr"/>
<label value="Exceptional Value Detail"/>
<definition
value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="ANY.nullFlavor"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
</binding>
</element>
<element
id="SubstanceAdministration.entryRelationship:substanceAdministered.typeId.assigningAuthorityName">
<path
value="SubstanceAdministration.entryRelationship.typeId.assigningAuthorityName"/>
<representation value="xmlAttr"/>
<label value="Assigning Authority Name"/>
<definition
value="A human readable name or mnemonic for the assigning authority. The Assigning Authority Name has no computational value. The purpose of a Assigning Authority Name is to assist an unaided human interpreter of an II value to interpret the authority. Note: no automated processing must depend on the assigning authority name to be present in any form."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="II.assigningAuthorityName"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:substanceAdministered.typeId.displayable">
<path
value="SubstanceAdministration.entryRelationship.typeId.displayable"/>
<representation value="xmlAttr"/>
<label value="Displayable"/>
<definition
value="Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false)."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="II.displayable"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:substanceAdministered.typeId.root">
<path value="SubstanceAdministration.entryRelationship.typeId.root"/>
<representation value="xmlAttr"/>
<label value="Root"/>
<definition value="Identifies the type as an HL7 Registered model"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="II.root"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/oid"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/uuid"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/ruid"/>
</type>
<fixedString value="2.16.840.1.113883.1.3"/>
</element>
<element
id="SubstanceAdministration.entryRelationship:substanceAdministered.typeId.extension">
<path
value="SubstanceAdministration.entryRelationship.typeId.extension"/>
<representation value="xmlAttr"/>
<label value="Extension"/>
<definition
value="A character string as a unique identifier within the scope of the identifier root."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="II.extension"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:substanceAdministered.templateId">
<path value="SubstanceAdministration.entryRelationship.templateId"/>
<definition
value="When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="InfrastructureRoot.templateId"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:substanceAdministered.typeCode">
<path value="SubstanceAdministration.entryRelationship.typeCode"/>
<representation value="xmlAttr"/>
<comment
value="SHALL contain exactly one [1..1] @typeCode="COMP" Component (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:1098-31516)."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="EntryRelationship.typeCode"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<fixedCode value="COMP"/>
<binding>
<strength value="required"/>
<valueSet
value="http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship"/>
</binding>
</element>
<element
id="SubstanceAdministration.entryRelationship:substanceAdministered.inversionInd">
<path value="SubstanceAdministration.entryRelationship.inversionInd"/>
<representation value="xmlAttr"/>
<definition
value="The entryRelationship.inversionInd can be set to "true" to indicate that the relationship should be interpreted as if the roles of the source and target entries were reversed."/>
<comment
value="SHALL contain exactly one [1..1] @inversionInd="true" (CONF:1098-31517)."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="EntryRelationship.inversionInd"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
</type>
<fixedBoolean value="true"/>
</element>
<element
id="SubstanceAdministration.entryRelationship:substanceAdministered.contextConductionInd">
<path
value="SubstanceAdministration.entryRelationship.contextConductionInd"/>
<representation value="xmlAttr"/>
<definition
value="The entryRelationship.contextConductionInd differs from the otherwise common use of this attribute in that in all other cases where this attribute is used, the value is fixed at "true", whereas here the value is defaulted to "true", and can be changed to "false" when referencing an entry in the same document. Setting the context conduction to false when referencing an entry in the same document keeps clear the fact that the referenced object retains its original context."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.contextConductionInd"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
</type>
<defaultValueBoolean value="true"/>
</element>
<element
id="SubstanceAdministration.entryRelationship:substanceAdministered.negationInd">
<path value="SubstanceAdministration.entryRelationship.negationInd"/>
<representation value="xmlAttr"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.negationInd"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:substanceAdministered.sequenceNumber">
<path value="SubstanceAdministration.entryRelationship.sequenceNumber"/>
<comment
value="MAY contain zero or one [0..1] sequenceNumber (CONF:1098-31518)."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.sequenceNumber"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/INT"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:substanceAdministered.seperatableInd">
<path value="SubstanceAdministration.entryRelationship.seperatableInd"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.seperatableInd"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/BL"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:substanceAdministered.act">
<path value="SubstanceAdministration.entryRelationship.act"/>
<short value="Base for all types and resources"/>
<definition
value="Defines the basic properties of every data value. This is an abstract type, meaning that no value can be just a data value without belonging to any concrete type. Every concrete type is a specialization of this general abstract DataValue type."/>
<comment
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="EntryRelationship.act"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/Act"/>
<profile
value="http://hl7.org/cda/us/ccda/StructureDefinition/SubstanceAdministeredAct"/>
</type>
<constraint>
<key value="should-text-ref-value"/>
<severity value="warning"/>
<human value="SHOULD contain text/reference/@value"/>
<expression value="text.reference.value.exists()"/>
<source
value="http://hl7.org/cda/us/ccda/StructureDefinition/SubstanceAdministeredAct"/>
</constraint>
<isModifier value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element
id="SubstanceAdministration.entryRelationship:substanceAdministered.encounter">
<path value="SubstanceAdministration.entryRelationship.encounter"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.encounter"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Encounter"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:substanceAdministered.observation">
<path value="SubstanceAdministration.entryRelationship.observation"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.observation"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Observation"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:substanceAdministered.observationMedia">
<path
value="SubstanceAdministration.entryRelationship.observationMedia"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.observationMedia"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/ObservationMedia"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:substanceAdministered.organizer">
<path value="SubstanceAdministration.entryRelationship.organizer"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.organizer"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Organizer"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:substanceAdministered.procedure">
<path value="SubstanceAdministration.entryRelationship.procedure"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.procedure"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Procedure"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:substanceAdministered.regionOfInterest">
<path
value="SubstanceAdministration.entryRelationship.regionOfInterest"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.regionOfInterest"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/RegionOfInterest"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:substanceAdministered.substanceAdministration">
<path
value="SubstanceAdministration.entryRelationship.substanceAdministration"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.substanceAdministration"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:substanceAdministered.supply">
<path value="SubstanceAdministration.entryRelationship.supply"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.supply"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Supply"/>
</type>
</element>
<element id="SubstanceAdministration.entryRelationship:adherence">
<extension
url="http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement">
<valueBoolean value="true"/>
</extension>
<path value="SubstanceAdministration.entryRelationship"/>
<sliceName value="adherence"/>
<short value="(USCDI) Medication Adherence"/>
<comment
value="MAY contain zero or more [0..*] entryRelationship such that it"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="SubstanceAdministration.entryRelationship"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:adherence.nullFlavor">
<path value="SubstanceAdministration.entryRelationship.nullFlavor"/>
<representation value="xmlAttr"/>
<label value="Exceptional Value Detail"/>
<definition
value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="ANY.nullFlavor"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
</binding>
</element>
<element
id="SubstanceAdministration.entryRelationship:adherence.realmCode">
<path value="SubstanceAdministration.entryRelationship.realmCode"/>
<definition
value="When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="InfrastructureRoot.realmCode"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
</type>
</element>
<element id="SubstanceAdministration.entryRelationship:adherence.typeId">
<path value="SubstanceAdministration.entryRelationship.typeId"/>
<definition
value="When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="InfrastructureRoot.typeId"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:adherence.typeId.nullFlavor">
<path
value="SubstanceAdministration.entryRelationship.typeId.nullFlavor"/>
<representation value="xmlAttr"/>
<label value="Exceptional Value Detail"/>
<definition
value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="ANY.nullFlavor"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
</binding>
</element>
<element
id="SubstanceAdministration.entryRelationship:adherence.typeId.assigningAuthorityName">
<path
value="SubstanceAdministration.entryRelationship.typeId.assigningAuthorityName"/>
<representation value="xmlAttr"/>
<label value="Assigning Authority Name"/>
<definition
value="A human readable name or mnemonic for the assigning authority. The Assigning Authority Name has no computational value. The purpose of a Assigning Authority Name is to assist an unaided human interpreter of an II value to interpret the authority. Note: no automated processing must depend on the assigning authority name to be present in any form."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="II.assigningAuthorityName"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:adherence.typeId.displayable">
<path
value="SubstanceAdministration.entryRelationship.typeId.displayable"/>
<representation value="xmlAttr"/>
<label value="Displayable"/>
<definition
value="Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false)."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="II.displayable"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:adherence.typeId.root">
<path value="SubstanceAdministration.entryRelationship.typeId.root"/>
<representation value="xmlAttr"/>
<label value="Root"/>
<definition value="Identifies the type as an HL7 Registered model"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="II.root"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/oid"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/uuid"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/ruid"/>
</type>
<fixedString value="2.16.840.1.113883.1.3"/>
</element>
<element
id="SubstanceAdministration.entryRelationship:adherence.typeId.extension">
<path
value="SubstanceAdministration.entryRelationship.typeId.extension"/>
<representation value="xmlAttr"/>
<label value="Extension"/>
<definition
value="A character string as a unique identifier within the scope of the identifier root."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="II.extension"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:adherence.templateId">
<path value="SubstanceAdministration.entryRelationship.templateId"/>
<definition
value="When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="InfrastructureRoot.templateId"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:adherence.typeCode">
<path value="SubstanceAdministration.entryRelationship.typeCode"/>
<representation value="xmlAttr"/>
<comment
value="SHALL contain exactly one [1..1] @typeCode="COMP" Component (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002)."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="EntryRelationship.typeCode"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<fixedCode value="COMP"/>
<binding>
<strength value="required"/>
<valueSet
value="http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship"/>
</binding>
</element>
<element
id="SubstanceAdministration.entryRelationship:adherence.inversionInd">
<path value="SubstanceAdministration.entryRelationship.inversionInd"/>
<representation value="xmlAttr"/>
<definition
value="The entryRelationship.inversionInd can be set to "true" to indicate that the relationship should be interpreted as if the roles of the source and target entries were reversed."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.inversionInd"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:adherence.contextConductionInd">
<path
value="SubstanceAdministration.entryRelationship.contextConductionInd"/>
<representation value="xmlAttr"/>
<definition
value="The entryRelationship.contextConductionInd differs from the otherwise common use of this attribute in that in all other cases where this attribute is used, the value is fixed at "true", whereas here the value is defaulted to "true", and can be changed to "false" when referencing an entry in the same document. Setting the context conduction to false when referencing an entry in the same document keeps clear the fact that the referenced object retains its original context."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.contextConductionInd"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
</type>
<defaultValueBoolean value="true"/>
</element>
<element
id="SubstanceAdministration.entryRelationship:adherence.negationInd">
<path value="SubstanceAdministration.entryRelationship.negationInd"/>
<representation value="xmlAttr"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.negationInd"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:adherence.sequenceNumber">
<path value="SubstanceAdministration.entryRelationship.sequenceNumber"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.sequenceNumber"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/INT"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:adherence.seperatableInd">
<path value="SubstanceAdministration.entryRelationship.seperatableInd"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.seperatableInd"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/BL"/>
</type>
</element>
<element id="SubstanceAdministration.entryRelationship:adherence.act">
<path value="SubstanceAdministration.entryRelationship.act"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.act"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/Act"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:adherence.encounter">
<path value="SubstanceAdministration.entryRelationship.encounter"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.encounter"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Encounter"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:adherence.observation">
<path value="SubstanceAdministration.entryRelationship.observation"/>
<short value="Base for all types and resources"/>
<definition
value="Defines the basic properties of every data value. This is an abstract type, meaning that no value can be just a data value without belonging to any concrete type. Every concrete type is a specialization of this general abstract DataValue type."/>
<comment
value="SHALL contain exactly one [1..1] Medication Adherence (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.508)."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="EntryRelationship.observation"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Observation"/>
<profile
value="http://hl7.org/cda/us/ccda/StructureDefinition/MedicationAdherence"/>
</type>
<constraint>
<key value="should-text-ref-value"/>
<severity value="warning"/>
<human value="SHOULD contain text/reference/@value"/>
<expression value="text.reference.value.exists()"/>
<source
value="http://hl7.org/cda/us/ccda/StructureDefinition/MedicationAdherence"/>
</constraint>
<constraint>
<key value="should-informant"/>
<severity value="warning"/>
<human value="SHOULD contain informant"/>
<expression value="informant.exists()"/>
<source
value="http://hl7.org/cda/us/ccda/StructureDefinition/MedicationAdherence"/>
</constraint>
<isModifier value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element
id="SubstanceAdministration.entryRelationship:adherence.observationMedia">
<path
value="SubstanceAdministration.entryRelationship.observationMedia"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.observationMedia"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/ObservationMedia"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:adherence.organizer">
<path value="SubstanceAdministration.entryRelationship.organizer"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.organizer"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Organizer"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:adherence.procedure">
<path value="SubstanceAdministration.entryRelationship.procedure"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.procedure"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Procedure"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:adherence.regionOfInterest">
<path
value="SubstanceAdministration.entryRelationship.regionOfInterest"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.regionOfInterest"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/RegionOfInterest"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:adherence.substanceAdministration">
<path
value="SubstanceAdministration.entryRelationship.substanceAdministration"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.substanceAdministration"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration"/>
</type>
</element>
<element id="SubstanceAdministration.entryRelationship:adherence.supply">
<path value="SubstanceAdministration.entryRelationship.supply"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.supply"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Supply"/>
</type>
</element>
<element id="SubstanceAdministration.entryRelationship:signature">
<extension
url="http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement">
<valueBoolean value="true"/>
</extension>
<path value="SubstanceAdministration.entryRelationship"/>
<sliceName value="signature"/>
<short value="(USCDI) Medication Instructions"/>
<comment
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="http://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:signature.nullFlavor">
<path value="SubstanceAdministration.entryRelationship.nullFlavor"/>
<representation value="xmlAttr"/>
<label value="Exceptional Value Detail"/>
<definition
value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="ANY.nullFlavor"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
</binding>
</element>
<element
id="SubstanceAdministration.entryRelationship:signature.realmCode">
<path value="SubstanceAdministration.entryRelationship.realmCode"/>
<definition
value="When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="InfrastructureRoot.realmCode"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/CS"/>
</type>
</element>
<element id="SubstanceAdministration.entryRelationship:signature.typeId">
<path value="SubstanceAdministration.entryRelationship.typeId"/>
<definition
value="When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="InfrastructureRoot.typeId"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:signature.typeId.nullFlavor">
<path
value="SubstanceAdministration.entryRelationship.typeId.nullFlavor"/>
<representation value="xmlAttr"/>
<label value="Exceptional Value Detail"/>
<definition
value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="ANY.nullFlavor"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
</binding>
</element>
<element
id="SubstanceAdministration.entryRelationship:signature.typeId.assigningAuthorityName">
<path
value="SubstanceAdministration.entryRelationship.typeId.assigningAuthorityName"/>
<representation value="xmlAttr"/>
<label value="Assigning Authority Name"/>
<definition
value="A human readable name or mnemonic for the assigning authority. The Assigning Authority Name has no computational value. The purpose of a Assigning Authority Name is to assist an unaided human interpreter of an II value to interpret the authority. Note: no automated processing must depend on the assigning authority name to be present in any form."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="II.assigningAuthorityName"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:signature.typeId.displayable">
<path
value="SubstanceAdministration.entryRelationship.typeId.displayable"/>
<representation value="xmlAttr"/>
<label value="Displayable"/>
<definition
value="Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false)."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="II.displayable"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:signature.typeId.root">
<path value="SubstanceAdministration.entryRelationship.typeId.root"/>
<representation value="xmlAttr"/>
<label value="Root"/>
<definition value="Identifies the type as an HL7 Registered model"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="II.root"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/oid"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/uuid"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/ruid"/>
</type>
<fixedString value="2.16.840.1.113883.1.3"/>
</element>
<element
id="SubstanceAdministration.entryRelationship:signature.typeId.extension">
<path
value="SubstanceAdministration.entryRelationship.typeId.extension"/>
<representation value="xmlAttr"/>
<label value="Extension"/>
<definition
value="A character string as a unique identifier within the scope of the identifier root."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="II.extension"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:signature.templateId">
<path value="SubstanceAdministration.entryRelationship.templateId"/>
<definition
value="When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="InfrastructureRoot.templateId"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:signature.typeCode">
<path value="SubstanceAdministration.entryRelationship.typeCode"/>
<representation value="xmlAttr"/>
<comment
value="SHALL contain exactly one [1..1] @typeCode="COMP" 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="EntryRelationship.typeCode"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<fixedCode value="COMP"/>
<binding>
<strength value="required"/>
<valueSet
value="http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship"/>
</binding>
</element>
<element
id="SubstanceAdministration.entryRelationship:signature.inversionInd">
<path value="SubstanceAdministration.entryRelationship.inversionInd"/>
<representation value="xmlAttr"/>
<definition
value="The entryRelationship.inversionInd can be set to "true" to indicate that the relationship should be interpreted as if the roles of the source and target entries were reversed."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.inversionInd"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:signature.contextConductionInd">
<path
value="SubstanceAdministration.entryRelationship.contextConductionInd"/>
<representation value="xmlAttr"/>
<definition
value="The entryRelationship.contextConductionInd differs from the otherwise common use of this attribute in that in all other cases where this attribute is used, the value is fixed at "true", whereas here the value is defaulted to "true", and can be changed to "false" when referencing an entry in the same document. Setting the context conduction to false when referencing an entry in the same document keeps clear the fact that the referenced object retains its original context."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.contextConductionInd"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
</type>
<defaultValueBoolean value="true"/>
</element>
<element
id="SubstanceAdministration.entryRelationship:signature.negationInd">
<path value="SubstanceAdministration.entryRelationship.negationInd"/>
<representation value="xmlAttr"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.negationInd"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:signature.sequenceNumber">
<path value="SubstanceAdministration.entryRelationship.sequenceNumber"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.sequenceNumber"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/INT"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:signature.seperatableInd">
<path value="SubstanceAdministration.entryRelationship.seperatableInd"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.seperatableInd"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/BL"/>
</type>
</element>
<element id="SubstanceAdministration.entryRelationship:signature.act">
<path value="SubstanceAdministration.entryRelationship.act"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.act"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/Act"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:signature.encounter">
<path value="SubstanceAdministration.entryRelationship.encounter"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.encounter"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Encounter"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:signature.observation">
<path value="SubstanceAdministration.entryRelationship.observation"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.observation"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Observation"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:signature.observationMedia">
<path
value="SubstanceAdministration.entryRelationship.observationMedia"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.observationMedia"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/ObservationMedia"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:signature.organizer">
<path value="SubstanceAdministration.entryRelationship.organizer"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.organizer"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Organizer"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:signature.procedure">
<path value="SubstanceAdministration.entryRelationship.procedure"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.procedure"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Procedure"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:signature.regionOfInterest">
<path
value="SubstanceAdministration.entryRelationship.regionOfInterest"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.regionOfInterest"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/RegionOfInterest"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:signature.substanceAdministration">
<path
value="SubstanceAdministration.entryRelationship.substanceAdministration"/>
<short value="Base for all types and resources"/>
<definition
value="Defines the basic properties of every data value. This is an abstract type, meaning that no value can be just a data value without belonging to any concrete type. Every concrete type is a specialization of this general abstract DataValue type."/>
<comment
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="EntryRelationship.substanceAdministration"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration"/>
<profile
value="http://hl7.org/cda/us/ccda/StructureDefinition/MedicationFreeTextSig"/>
</type>
<constraint>
<key value="should-text-ref-value"/>
<severity value="warning"/>
<human value="SHOULD contain text/reference/@value"/>
<expression value="text.reference.value.exists()"/>
<source
value="http://hl7.org/cda/us/ccda/StructureDefinition/MedicationFreeTextSig"/>
</constraint>
<isModifier value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element id="SubstanceAdministration.entryRelationship:signature.supply">
<path value="SubstanceAdministration.entryRelationship.supply"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="EntryRelationship.supply"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Supply"/>
</type>
</element>
<element id="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="http://hl7.org/cda/stds/core/StructureDefinition/Reference"/>
</type>
</element>
<element id="SubstanceAdministration.precondition">
<path value="SubstanceAdministration.precondition"/>
<comment
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/cda/stds/core/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="ANY.nullFlavor"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
</binding>
</element>
<element id="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="InfrastructureRoot.realmCode"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/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="InfrastructureRoot.typeId"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
</type>
</element>
<element id="SubstanceAdministration.precondition.typeId.nullFlavor">
<path value="SubstanceAdministration.precondition.typeId.nullFlavor"/>
<representation value="xmlAttr"/>
<label value="Exceptional Value Detail"/>
<definition
value="If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="ANY.nullFlavor"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"/>
</binding>
</element>
<element
id="SubstanceAdministration.precondition.typeId.assigningAuthorityName">
<path
value="SubstanceAdministration.precondition.typeId.assigningAuthorityName"/>
<representation value="xmlAttr"/>
<label value="Assigning Authority Name"/>
<definition
value="A human readable name or mnemonic for the assigning authority. The Assigning Authority Name has no computational value. The purpose of a Assigning Authority Name is to assist an unaided human interpreter of an II value to interpret the authority. Note: no automated processing must depend on the assigning authority name to be present in any form."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="II.assigningAuthorityName"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
</type>
</element>
<element id="SubstanceAdministration.precondition.typeId.displayable">
<path value="SubstanceAdministration.precondition.typeId.displayable"/>
<representation value="xmlAttr"/>
<label value="Displayable"/>
<definition
value="Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false)."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="II.displayable"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"/>
</type>
</element>
<element id="SubstanceAdministration.precondition.typeId.root">
<path value="SubstanceAdministration.precondition.typeId.root"/>
<representation value="xmlAttr"/>
<label value="Root"/>
<definition value="Identifies the type as an HL7 Registered model"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="II.root"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/oid"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/uuid"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/ruid"/>
</type>
<fixedString value="2.16.840.1.113883.1.3"/>
</element>
<element id="SubstanceAdministration.precondition.typeId.extension">
<path value="SubstanceAdministration.precondition.typeId.extension"/>
<representation value="xmlAttr"/>
<label value="Extension"/>
<definition
value="A character string as a unique identifier within the scope of the identifier root."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="II.extension"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/st-simple"/>
</type>
</element>
<element id="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="InfrastructureRoot.templateId"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/II"/>
</type>
</element>
<element id="SubstanceAdministration.precondition.typeCode">
<path value="SubstanceAdministration.precondition.typeCode"/>
<representation value="xmlAttr"/>
<comment
value="The precondition, if present, SHALL contain exactly one [1..1] @typeCode="PRCN" (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"/>
<profile
value="http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"/>
</type>
<fixedCode value="PRCN"/>
<binding>
<strength value="required"/>
<valueSet
value="http://hl7.org/cda/stds/core/ValueSet/CDAActRelationshipType"/>
</binding>
</element>
<element id="SubstanceAdministration.precondition.criterion">
<path value="SubstanceAdministration.precondition.criterion"/>
<short value="Base for all types and resources"/>
<definition
value="Defines the basic properties of every data value. This is an abstract type, meaning that no value can be just a data value without belonging to any concrete type. Every concrete type is a specialization of this general abstract DataValue type."/>
<comment
value="The precondition, if present, SHALL contain exactly one [1..1] Precondition for Substance Administration (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/cda/stds/core/StructureDefinition/Criterion"/>
<profile
value="http://hl7.org/cda/us/ccda/StructureDefinition/PreconditionforSubstanceAdministration"/>
</type>
<isModifier value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element id="SubstanceAdministration.sdtcInFulfillmentOf1">
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/xml-namespace">
<valueUri value="urn:hl7-org:sdtc"/>
</extension>
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/xml-name">
<valueString value="inFulfillmentOf1"/>
</extension>
<path value="SubstanceAdministration.sdtcInFulfillmentOf1"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="SubstanceAdministration.sdtcInFulfillmentOf1"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/InFulfillmentOf1"/>
</type>
</element>
</snapshot>
<differential>
<element id="SubstanceAdministration">
<path value="SubstanceAdministration"/>
<constraint>
<key value="should-text-ref-value"/>
<severity value="warning"/>
<human value="SHOULD contain text/reference/@value"/>
<expression value="text.reference.value.exists()"/>
<source
value="http://hl7.org/cda/us/ccda/StructureDefinition/MedicationActivity"/>
</constraint>
<constraint>
<key value="1098-7513"/>
<severity value="warning"/>
<human
value="SHOULD contain zero or one [0..1] effectiveTime (CONF:1098-7513) such that it **SHALL** contain exactly one [1..1] @xsi:type="PIVL_TS" or "EIVL_TS" (CONF:1098-28499)."/>
<expression
value="effectiveTime.ofType(CDA.PIVL_TS).exists() or effectiveTime.ofType(CDA.EIVL_TS).exists()"/>
<source
value="http://hl7.org/cda/us/ccda/StructureDefinition/MedicationActivity"/>
</constraint>
<constraint>
<key value="should-routeCode"/>
<severity value="warning"/>
<human value="SHOULD contain routeCode"/>
<expression value="routeCode.exists()"/>
<source
value="http://hl7.org/cda/us/ccda/StructureDefinition/MedicationActivity"/>
</constraint>
<constraint>
<key value="dose-unit-or-admin-unit"/>
<severity value="error"/>
<human
value="If doseQuantity/@unit is present, then administrationUnitCode SHALL NOT be present."/>
<expression
value="doseQuantity.unit.exists() implies administrationUnitCode.empty()"/>
<source
value="http://hl7.org/cda/us/ccda/StructureDefinition/MedicationActivity"/>
</constraint>
<constraint>
<key value="should-author"/>
<severity value="warning"/>
<human value="SHOULD contain author"/>
<expression value="author.exists()"/>
<source
value="http://hl7.org/cda/us/ccda/StructureDefinition/MedicationActivity"/>
</constraint>
</element>
<element id="SubstanceAdministration.templateId">
<path value="SubstanceAdministration.templateId"/>
<slicing>
<discriminator>
<type value="value"/>
<path value="root"/>
</discriminator>
<discriminator>
<type value="value"/>
<path value="extension"/>
</discriminator>
<rules value="open"/>
</slicing>
<min value="1"/>
</element>
<element id="SubstanceAdministration.templateId:medication-activity">
<path value="SubstanceAdministration.templateId"/>
<sliceName value="medication-activity"/>
<min value="1"/>
<max value="1"/>
</element>
<element
id="SubstanceAdministration.templateId:medication-activity.root">
<path value="SubstanceAdministration.templateId.root"/>
<min value="1"/>
<patternString value="2.16.840.1.113883.10.20.22.4.16"/>
</element>
<element
id="SubstanceAdministration.templateId:medication-activity.extension">
<path value="SubstanceAdministration.templateId.extension"/>
<min value="1"/>
<patternString value="2014-06-09"/>
</element>
<element id="SubstanceAdministration.classCode">
<path value="SubstanceAdministration.classCode"/>
<comment
value="SHALL contain exactly one [1..1] @classCode="SBADM" (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:1098-7496)."/>
</element>
<element id="SubstanceAdministration.moodCode">
<path value="SubstanceAdministration.moodCode"/>
<comment
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)."/>
<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.id">
<path value="SubstanceAdministration.id"/>
<comment
value="SHALL contain at least one [1..*] id (CONF:1098-7500)."/>
<min value="1"/>
</element>
<element id="SubstanceAdministration.code">
<path value="SubstanceAdministration.code"/>
<short
value="SubstanceAdministration.code is an optional field. Per HL7 Pharmacy Committee, "this is intended to further specify the nature of the substance administration act. To date the committee has made no use of this attribute". 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."/>
<comment value="MAY contain zero or one [0..1] code (CONF:1098-7506)."/>
</element>
<element id="SubstanceAdministration.text">
<path value="SubstanceAdministration.text"/>
<short
value="SHOULD reference the portion of section narrative text corresponding to this entry"/>
</element>
<element id="SubstanceAdministration.text.reference">
<path value="SubstanceAdministration.text.reference"/>
<constraint>
<key value="value-starts-octothorpe"/>
<severity value="error"/>
<human
value="If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative"/>
<expression value="value.exists() implies value.startsWith('#')"/>
<source
value="http://hl7.org/cda/us/ccda/StructureDefinition/MedicationActivity"/>
</constraint>
</element>
<element id="SubstanceAdministration.statusCode">
<path value="SubstanceAdministration.statusCode"/>
<comment
value="SHALL contain exactly one [1..1] statusCode (CONF:1098-7507)."/>
<min value="1"/>
</element>
<element id="SubstanceAdministration.statusCode.code">
<path value="SubstanceAdministration.statusCode.code"/>
<short
value="The substance administration effectiveTime field can repeat, in order to represent varying levels of complex dosing. effectiveTime can be used to represent the duration of administration (e.g., "10 days"), the frequency of administration (e.g., "every 8 hours"), and more. Here, we require that there SHALL be an effectiveTime documentation of the duration (or single-administration timestamp), and that there SHOULD be an effectiveTime documentation of the frequency. Other timing nuances, supported by the base CDA R2 standard, may also be included."/>
<comment
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"/>
<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="type"/>
<path value="$this"/>
</discriminator>
<rules value="open"/>
</slicing>
<min value="1"/>
</element>
<element id="SubstanceAdministration.effectiveTime:duration">
<path value="SubstanceAdministration.effectiveTime"/>
<sliceName value="duration"/>
<short
value="The substance administration effectiveTime field can repeat, in order to represent varying levels of complex dosing. effectiveTime can be used to represent the duration of administration (e.g., "10 days"), the frequency of administration (e.g., "every 8 hours"), and more. Here, we require that there **SHALL** be an effectiveTime documentation of the duration (or single-administration timestamp), and that there **SHOULD** be an effectiveTime documentation of the frequency. Other timing nuances, supported by the base CDA R2 standard, may also be included. Note: This effectiveTime represents either the time the medication was started and stopped or the single-administration timestamp."/>
<comment
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/cda/stds/core/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)."/>
<expression
value="(value.exists() or low.exists()) and ((value.exists() and low.exists()).not())"/>
<source
value="http://hl7.org/cda/us/ccda/StructureDefinition/MedicationActivity"/>
</constraint>
<constraint>
<key value="should-value-att"/>
<severity value="warning"/>
<human value="SHOULD contain @value"/>
<expression value="value.exists()"/>
<source
value="http://hl7.org/cda/us/ccda/StructureDefinition/MedicationActivity"/>
</constraint>
<constraint>
<key value="should-low"/>
<severity value="warning"/>
<human value="SHOULD contain low"/>
<expression value="low.exists()"/>
<source
value="http://hl7.org/cda/us/ccda/StructureDefinition/MedicationActivity"/>
</constraint>
</element>
<element id="SubstanceAdministration.effectiveTime:duration.value">
<path value="SubstanceAdministration.effectiveTime.value"/>
<short value="indicates a single-administration timestamp"/>
<comment
value="SHOULD contain zero or one [0..1] @value (CONF:1098-32775)."/>
</element>
<element id="SubstanceAdministration.effectiveTime:duration.low">
<path value="SubstanceAdministration.effectiveTime.low"/>
<short value="indicates when medication started"/>
<comment
value="SHOULD contain zero or one [0..1] low (CONF:1098-32776)."/>
</element>
<element id="SubstanceAdministration.effectiveTime:duration.high">
<path value="SubstanceAdministration.effectiveTime.high"/>
<short value="indicates when medication stopped"/>
<comment
value="MAY contain zero or one [0..1] high (CONF:1098-32777)."/>
</element>
<element id="SubstanceAdministration.effectiveTime:periodicFrequency">
<path value="SubstanceAdministration.effectiveTime"/>
<sliceName value="periodicFrequency"/>
<short
value="This effectiveTime represents a periodic medication frequency (e.g., administration times per day)."/>
<min value="0"/>
<max value="1"/>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/EIVL-TS"/>
</type>
</element>
<element
id="SubstanceAdministration.effectiveTime:periodicFrequency.operator">
<path value="SubstanceAdministration.effectiveTime.operator"/>
<comment
value="SHALL contain exactly one [1..1] @operator="A" (CONF:1098-9106)."/>
<min value="1"/>
<patternCode value="A"/>
</element>
<element id="SubstanceAdministration.effectiveTime:eventFrequency">
<path value="SubstanceAdministration.effectiveTime"/>
<sliceName value="eventFrequency"/>
<short
value="This effectiveTime represents an event-based medication frequency (e.g., administration at bedtime)."/>
<min value="0"/>
<max value="1"/>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/PIVL-TS"/>
</type>
</element>
<element
id="SubstanceAdministration.effectiveTime:eventFrequency.operator">
<path value="SubstanceAdministration.effectiveTime.operator"/>
<comment
value="SHALL contain exactly one [1..1] @operator="A" (CONF:1098-9106)."/>
<min value="1"/>
<patternCode value="A"/>
</element>
<element id="SubstanceAdministration.repeatNumber">
<path value="SubstanceAdministration.repeatNumber"/>
<short
value="In "INT" (intent) mood, the repeatNumber defines the number of allowed administrations. For example, a repeatNumber of "3" means that the substance can be administered up to 3 times. In "EVN" (event) mood, the repeatNumber is the number of occurrences. For example, a repeatNumber of "3" in a substance administration event means that the current administration is the 3rd in a series."/>
<comment
value="MAY contain zero or one [0..1] repeatNumber (CONF:1098-7555)."/>
</element>
<element id="SubstanceAdministration.routeCode">
<path value="SubstanceAdministration.routeCode"/>
<comment
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)."/>
<constraint>
<key value="should-translation"/>
<severity value="warning"/>
<human value="SHOULD contain translation"/>
<expression value="translation.exists()"/>
<source
value="http://hl7.org/cda/us/ccda/StructureDefinition/MedicationActivity"/>
</constraint>
<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"/>
<comment
value="The routeCode, if present, SHOULD contain zero or more [0..*] translation, which SHOULD be selected from ValueSet Medication Route urn:oid:2.16.840.1.113762.1.4.1099.12 DYNAMIC (CONF:1098-32950)."/>
<binding>
<strength value="preferred"/>
<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"/>
<comment
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)."/>
<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"/>
<short
value="If the consumable code is not pre-coordinated (e.g., is "simply metoprolol Oral Product" (RxCUI 1163523), then doseQuantity must represent a physical quantity with @unit, e.g., "25" and "mg", specifying the amount of product given per administration (CONF:1098-16879).&#10;If the consumable code is a pre-coordinated unit dose (e.g., "metoprolol 25mg tablet") then doseQuantity is a unitless number that indicates the number of products given per administration (e.g., "2", meaning 2 x "metoprolol 25mg tablet" per administration) (CONF:1098-16878)."/>
<comment
value="SHALL contain exactly one [1..1] doseQuantity (CONF:1098-7516)."/>
<min value="1"/>
<constraint>
<key value="should-unit"/>
<severity value="warning"/>
<human value="SHOULD contain @unit"/>
<expression value="nullFlavor.exists() or unit.exists()"/>
<source
value="http://hl7.org/cda/us/ccda/StructureDefinition/MedicationActivity"/>
</constraint>
</element>
<element id="SubstanceAdministration.doseQuantity.unit">
<extension
url="http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement">
<valueBoolean value="true"/>
</extension>
<path value="SubstanceAdministration.doseQuantity.unit"/>
<short
value="(USCDI) Dose Unit of Measure. NOTE: The base CDA R2.0 standard requires @unit to be drawn from UCUM, and best practice is to use case sensitive UCUM units"/>
<definition
value="NOTE: The base CDA R2.0 standard requires @unit to be drawn from UCUM, and best practice is to use case sensitive UCUM units"/>
<comment
value="This doseQuantity SHOULD contain zero or one [0..1] @unit, which SHOULD be selected from ValueSet UnitsOfMeasureCaseSensitive urn:oid:2.16.840.1.113883.1.11.12839 DYNAMIC (CONF:1098-7526)."/>
<binding>
<strength value="preferred"/>
<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"/>
<comment
value="MAY contain zero or one [0..1] rateQuantity (CONF:1098-7517)."/>
</element>
<element id="SubstanceAdministration.rateQuantity.unit">
<path value="SubstanceAdministration.rateQuantity.unit"/>
<short
value="NOTE: The base CDA R2.0 standard requires @unit to be drawn from UCUM, and best practice is to use case sensitive UCUM units"/>
<comment
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"/>
<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"/>
<comment
value="MAY contain zero or one [0..1] maxDoseQuantity (CONF:1098-7518)."/>
</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."/>
<comment
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)."/>
<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">
<extension
url="http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement">
<valueBoolean value="true"/>
</extension>
<path value="SubstanceAdministration.consumable"/>
<short value="(USCDI) Medications"/>
<comment
value="This consumable SHALL contain exactly one [1..1] Medication Information (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.23:2014-06-09) (CONF:1098-16085)."/>
</element>
<element id="SubstanceAdministration.consumable.manufacturedProduct">
<path value="SubstanceAdministration.consumable.manufacturedProduct"/>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/ManufacturedProduct"/>
<profile
value="http://hl7.org/cda/us/ccda/StructureDefinition/MedicationInformation"/>
</type>
</element>
<element id="SubstanceAdministration.performer">
<path value="SubstanceAdministration.performer"/>
<comment
value="MAY contain zero or one [0..1] performer (CONF:1098-7522)."/>
<max value="1"/>
</element>
<element id="SubstanceAdministration.author">
<path value="SubstanceAdministration.author"/>
<comment
value="SHOULD contain zero or more [0..*] Author Participation (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.119) (CONF:1098-31150)."/>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Author"/>
<profile
value="http://hl7.org/cda/us/ccda/StructureDefinition/AuthorParticipation"/>
</type>
</element>
<element id="SubstanceAdministration.participant">
<path value="SubstanceAdministration.participant"/>
<slicing>
<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"/>
<comment
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"/>
<comment
value="SHALL contain exactly one [1..1] @typeCode="CSM" (CodeSystem: HL7ParticipationType urn:oid:2.16.840.1.113883.5.90 STATIC) (CONF:1098-7524)."/>
<fixedCode value="CSM"/>
</element>
<element
id="SubstanceAdministration.participant:drugVehicle.participantRole">
<path value="SubstanceAdministration.participant.participantRole"/>
<comment
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)."/>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/ParticipantRole"/>
<profile
value="http://hl7.org/cda/us/ccda/StructureDefinition/DrugVehicle"/>
</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">
<extension
url="http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement">
<valueBoolean value="true"/>
</extension>
<path value="SubstanceAdministration.entryRelationship"/>
<sliceName value="indication"/>
<short value="(USCDI) Indication"/>
<comment
value="SHALL contain exactly one [1..1] Indication (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.19:2014-06-09) (CONF:1098-16087)."/>
<min value="0"/>
<max value="*"/>
</element>
<element
id="SubstanceAdministration.entryRelationship:indication.typeCode">
<path value="SubstanceAdministration.entryRelationship.typeCode"/>
<comment
value="SHALL contain exactly one [1..1] @typeCode="RSON" (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:1098-7537)."/>
<fixedCode value="RSON"/>
</element>
<element
id="SubstanceAdministration.entryRelationship:indication.observation">
<path value="SubstanceAdministration.entryRelationship.observation"/>
<min value="1"/>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Observation"/>
<profile
value="http://hl7.org/cda/us/ccda/StructureDefinition/Indication"/>
</type>
</element>
<element id="SubstanceAdministration.entryRelationship:instruction">
<path value="SubstanceAdministration.entryRelationship"/>
<sliceName value="instruction"/>
<comment
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"/>
<comment
value="SHALL contain exactly one [1..1] @typeCode="SUBJ" (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:1098-7540)."/>
<fixedCode value="SUBJ"/>
</element>
<element
id="SubstanceAdministration.entryRelationship:instruction.inversionInd">
<path value="SubstanceAdministration.entryRelationship.inversionInd"/>
<comment
value="SHALL contain exactly one [1..1] @inversionInd="true" True (CONF:1098-7542)."/>
<min value="1"/>
<fixedBoolean value="true"/>
</element>
<element id="SubstanceAdministration.entryRelationship:instruction.act">
<path value="SubstanceAdministration.entryRelationship.act"/>
<comment
value="SHALL contain exactly one [1..1] Instruction (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.20:2014-06-09) (CONF:1098-31387)."/>
<min value="1"/>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/Act"/>
<profile
value="http://hl7.org/cda/us/ccda/StructureDefinition/Instruction"/>
</type>
</element>
<element id="SubstanceAdministration.entryRelationship:supplyOrder">
<path value="SubstanceAdministration.entryRelationship"/>
<sliceName value="supplyOrder"/>
<comment
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"/>
<comment
value="SHALL contain exactly one [1..1] @typeCode="REFR" (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:1098-7547)."/>
<fixedCode value="REFR"/>
</element>
<element
id="SubstanceAdministration.entryRelationship:supplyOrder.supply">
<path value="SubstanceAdministration.entryRelationship.supply"/>
<comment
value="SHALL contain exactly one [1..1] Medication Supply Order (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.17:2014-06-09) (CONF:1098-16089)."/>
<min value="1"/>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Supply"/>
<profile
value="http://hl7.org/cda/us/ccda/StructureDefinition/MedicationSupplyOrder"/>
</type>
</element>
<element
id="SubstanceAdministration.entryRelationship:medicationDispense">
<path value="SubstanceAdministration.entryRelationship"/>
<sliceName value="medicationDispense"/>
<comment
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"/>
<comment
value="SHALL contain exactly one [1..1] @typeCode="REFR" (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:1098-7553)."/>
<fixedCode value="REFR"/>
</element>
<element
id="SubstanceAdministration.entryRelationship:medicationDispense.supply">
<path value="SubstanceAdministration.entryRelationship.supply"/>
<comment
value="SHALL contain exactly one [1..1] Medication Dispense (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.18:2014-06-09) (CONF:1098-16090)."/>
<min value="1"/>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Supply"/>
<profile
value="http://hl7.org/cda/us/ccda/StructureDefinition/MedicationDispense"/>
</type>
</element>
<element id="SubstanceAdministration.entryRelationship:reaction">
<path value="SubstanceAdministration.entryRelationship"/>
<sliceName value="reaction"/>
<comment
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"/>
<comment
value="SHALL contain exactly one [1..1] @typeCode="CAUS" (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:1098-7544)."/>
<fixedCode value="CAUS"/>
</element>
<element
id="SubstanceAdministration.entryRelationship:reaction.observation">
<path value="SubstanceAdministration.entryRelationship.observation"/>
<comment
value="SHALL contain exactly one [1..1] Reaction Observation (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.9:2014-06-09) (CONF:1098-16091)."/>
<min value="1"/>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Observation"/>
<profile
value="http://hl7.org/cda/us/ccda/StructureDefinition/ReactionObservation"/>
</type>
</element>
<element id="SubstanceAdministration.entryRelationship:drugMonitoring">
<path value="SubstanceAdministration.entryRelationship"/>
<sliceName value="drugMonitoring"/>
<comment
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"/>
<comment
value="SHALL contain exactly one [1..1] @typeCode="COMP" Has component (CONF:1098-30821)."/>
<fixedCode value="COMP"/>
</element>
<element
id="SubstanceAdministration.entryRelationship:drugMonitoring.act">
<path value="SubstanceAdministration.entryRelationship.act"/>
<comment
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"/>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/Act"/>
<profile
value="http://hl7.org/cda/us/ccda/StructureDefinition/DrugMonitoringAct"/>
</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."/>
<comment
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"/>
<comment
value="SHALL contain exactly one [1..1] @typeCode="COMP" Component (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:1098-31516)."/>
<fixedCode value="COMP"/>
</element>
<element
id="SubstanceAdministration.entryRelationship:substanceAdministered.inversionInd">
<path value="SubstanceAdministration.entryRelationship.inversionInd"/>
<comment
value="SHALL contain exactly one [1..1] @inversionInd="true" (CONF:1098-31517)."/>
<min value="1"/>
<fixedBoolean value="true"/>
</element>
<element
id="SubstanceAdministration.entryRelationship:substanceAdministered.sequenceNumber">
<path value="SubstanceAdministration.entryRelationship.sequenceNumber"/>
<comment
value="MAY contain zero or one [0..1] sequenceNumber (CONF:1098-31518)."/>
</element>
<element
id="SubstanceAdministration.entryRelationship:substanceAdministered.act">
<path value="SubstanceAdministration.entryRelationship.act"/>
<comment
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"/>
<type>
<code value="http://hl7.org/cda/stds/core/StructureDefinition/Act"/>
<profile
value="http://hl7.org/cda/us/ccda/StructureDefinition/SubstanceAdministeredAct"/>
</type>
</element>
<element id="SubstanceAdministration.entryRelationship:adherence">
<extension
url="http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement">
<valueBoolean value="true"/>
</extension>
<path value="SubstanceAdministration.entryRelationship"/>
<sliceName value="adherence"/>
<short value="(USCDI) Medication Adherence"/>
<comment
value="MAY contain zero or more [0..*] entryRelationship such that it"/>
<min value="0"/>
<max value="*"/>
</element>
<element
id="SubstanceAdministration.entryRelationship:adherence.typeCode">
<path value="SubstanceAdministration.entryRelationship.typeCode"/>
<comment
value="SHALL contain exactly one [1..1] @typeCode="COMP" Component (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002)."/>
<fixedCode value="COMP"/>
</element>
<element
id="SubstanceAdministration.entryRelationship:adherence.observation">
<path value="SubstanceAdministration.entryRelationship.observation"/>
<comment
value="SHALL contain exactly one [1..1] Medication Adherence (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.508)."/>
<min value="1"/>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Observation"/>
<profile
value="http://hl7.org/cda/us/ccda/StructureDefinition/MedicationAdherence"/>
</type>
</element>
<element id="SubstanceAdministration.entryRelationship:signature">
<extension
url="http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement">
<valueBoolean value="true"/>
</extension>
<path value="SubstanceAdministration.entryRelationship"/>
<sliceName value="signature"/>
<short value="(USCDI) Medication Instructions"/>
<comment
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"/>
<comment
value="SHALL contain exactly one [1..1] @typeCode="COMP" Has component (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:1098-32908)."/>
<fixedCode value="COMP"/>
</element>
<element
id="SubstanceAdministration.entryRelationship:signature.substanceAdministration">
<path
value="SubstanceAdministration.entryRelationship.substanceAdministration"/>
<comment
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"/>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration"/>
<profile
value="http://hl7.org/cda/us/ccda/StructureDefinition/MedicationFreeTextSig"/>
</type>
</element>
<element id="SubstanceAdministration.precondition">
<path value="SubstanceAdministration.precondition"/>
<comment
value="MAY contain zero or more [0..*] precondition (CONF:1098-31520)."/>
</element>
<element id="SubstanceAdministration.precondition.typeCode">
<path value="SubstanceAdministration.precondition.typeCode"/>
<comment
value="The precondition, if present, SHALL contain exactly one [1..1] @typeCode="PRCN" (CONF:1098-31882)."/>
<min value="1"/>
</element>
<element id="SubstanceAdministration.precondition.criterion">
<path value="SubstanceAdministration.precondition.criterion"/>
<comment
value="The precondition, if present, SHALL contain exactly one [1..1] Precondition for Substance Administration (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.25:2014-06-09) (CONF:1098-31883)."/>
<type>
<code
value="http://hl7.org/cda/stds/core/StructureDefinition/Criterion"/>
<profile
value="http://hl7.org/cda/us/ccda/StructureDefinition/PreconditionforSubstanceAdministration"/>
</type>
</element>
</differential>
</StructureDefinition>