Consolidated CDA Release 2.1 StructureDefinition Publication
2.1 - CI Build

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

## Logical Model: PlannedMedicationActivity - TTL Profile

Draft as of 2023-09-29

TTL representation of the PlannedMedicationActivity logical model.

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix owl: <http://www.w3.org/2002/07/owl#> .
    @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

    # - resource -------------------------------------------------------------------

     a fhir:StructureDefinition ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "PlannedMedicationActivity"] ; #
      fhir:text [
    fhir:status [ fhir:v "extensions" ] ;
    fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;\"><tr style=\"border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top\"><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"The logical name of the element\">Name</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Information about the use of the element\">Flags</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Minimum and Maximum # of times the the element can appear in the instance\">Card.</a></th><th style=\"width: 100px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Reference to the type of the element\">Type</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Additional information about the element\">Description &amp; Constraints</a><span style=\"float: right\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64, \" 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-PlannedMedicationActivity-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\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-SubstanceAdministration.html\">CDAR2.SubstanceAdministration</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-weight:bold\">XML Namespace: </span>urn:hl7-org:v3<br/>Elements defined in Ancestors: <a href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-SubstanceAdministration.html\">@classCode</a>, <a href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-SubstanceAdministration.html\">@moodCode</a>, <a href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-SubstanceAdministration.html\">realmCode</a>, <a href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-SubstanceAdministration.html\">typeId</a>, <a href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-SubstanceAdministration.html\" title=\"When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question\">templateId</a>, <a href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-SubstanceAdministration.html\">id</a>, <a href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-SubstanceAdministration.html\">code</a>, <a href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-SubstanceAdministration.html\">@negationInd</a>, <a href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-SubstanceAdministration.html\">text</a>, <a href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-SubstanceAdministration.html\">statusCode</a>, <a href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-SubstanceAdministration.html\">effectiveTime</a>, <a href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-SubstanceAdministration.html\">priorityCode</a>, <a href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-SubstanceAdministration.html\">repeatNumber</a>, <a href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-SubstanceAdministration.html\">routeCode</a>, <a href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-SubstanceAdministration.html\">approachSiteCode</a>, <a href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-SubstanceAdministration.html\">doseQuantity</a>, <a href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-SubstanceAdministration.html\">rateQuantity</a>, <a href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-SubstanceAdministration.html\">maxDoseQuantity</a>, <a href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-SubstanceAdministration.html\">administrationUnitCode</a>, <a href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//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=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-SubstanceAdministration.html\">subject</a>, <a href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-SubstanceAdministration.html\">specimen</a>, <a href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-SubstanceAdministration.html\">performer</a>, <a href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-SubstanceAdministration.html\">author</a>, <a href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-SubstanceAdministration.html\">informant</a>, <a href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-SubstanceAdministration.html\">participant</a>, <a href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-SubstanceAdministration.html\">entryRelationship</a>, <a href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-SubstanceAdministration.html\">reference</a>, <a href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-SubstanceAdministration.html\">precondition</a></td></tr>\r\n<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-PlannedMedicationActivity-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=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-cs-simple.html\" title=\"code\">cs</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>\r\n<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-PlannedMedicationActivity-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=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-cs-simple.html\" title=\"code\">cs</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-weight:bold\">Binding: </span><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.11.20.9.24/expansion\">Planned moodCode (SubstanceAdministration/Supply)</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>\r\n<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-PlannedMedicationActivity-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=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-II.html\">II</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-weight:bold; font-style: italic\">Slice: </span><span style=\"font-style: italic\">Unordered, Open by value:extension, value:root</span></td></tr>\r\n<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-PlannedMedicationActivity-definitions.html#SubstanceAdministration.templateId:primary\" title=\"Slice primary\">templateId:primary</a><a name=\"SubstanceAdministration.templateId\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-II.html\">II</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>\r\n<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-PlannedMedicationActivity-definitions.html#SubstanceAdministration.templateId:primary.root\">root</a><a name=\"SubstanceAdministration.templateId.root\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-oid.html\" title=\"string\">oid</a><span style=\"opacity: 0.5\">, </span><a style=\"opacity: 0.5\" href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-uuid.html\" title=\"string\">uuid</a><span style=\"opacity: 0.5\">, </span><a style=\"opacity: 0.5\" href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-ruid.html\" title=\"string\">ruid</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-weight:bold\">Required Pattern: </span><span style=\"color: darkgreen\">2.16.840.1.113883.10.20.22.4.42</span></td></tr>\r\n<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-PlannedMedicationActivity-definitions.html#SubstanceAdministration.templateId:primary.extension\">extension</a><a name=\"SubstanceAdministration.templateId.extension\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-st-simple.html\" title=\"string\">st</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-weight:bold\">Required Pattern: </span><span style=\"color: darkgreen\">2014-06-09</span></td></tr>\r\n<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-PlannedMedicationActivity-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=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-II.html\">II</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>\r\n<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-PlannedMedicationActivity-definitions.html#SubstanceAdministration.statusCode\">statusCode</a><a name=\"SubstanceAdministration.statusCode\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-CS.html\">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>\r\n<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-PlannedMedicationActivity-definitions.html#SubstanceAdministration.statusCode.code\">code</a><a name=\"SubstanceAdministration.statusCode.code\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-cs-simple.html\" title=\"code\">cs</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-weight:bold\">Fixed Value: </span><span style=\"color: darkgreen\">active</span></td></tr>\r\n<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_resource.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-PlannedMedicationActivity-definitions.html#SubstanceAdministration.effectiveTime\">effectiveTime</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\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-IVL-TS.html\">IVL_TS</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">The effectiveTime in a planned medication activity represents the time that the medication activity should occur.</td></tr>\r\n<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-PlannedMedicationActivity-definitions.html#SubstanceAdministration.repeatNumber\">repeatNumber</a><a name=\"SubstanceAdministration.repeatNumber\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-IVL-INT.html\">IVL_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\">In a Planned Medication Activity, repeatNumber defines the number of allowed administrations. For example, a repeatNumber of &quot;3&quot; means that the substance can be administered up to 3 times.</td></tr>\r\n<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-PlannedMedicationActivity-definitions.html#SubstanceAdministration.routeCode\">routeCode</a><a name=\"SubstanceAdministration.routeCode\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-CE.html\">CE</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-weight:bold\">Binding: </span><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.88.12.3221.8.7/expansion\">SPL Drug Route of Administration Terminology</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>\r\n<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-PlannedMedicationActivity-definitions.html#SubstanceAdministration.routeCode.translation\">translation</a><a name=\"SubstanceAdministration.routeCode.translation\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-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.113762.1.4.1099.12/expansion\">Medication Route</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>\r\n<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-PlannedMedicationActivity-definitions.html#SubstanceAdministration.approachSiteCode\">approachSiteCode</a><a name=\"SubstanceAdministration.approachSiteCode\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-CD.html\">CD</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-weight:bold\">Binding: </span><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.88.12.3221.8.9/expansion\">Body Site Value Set</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>\r\n<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-PlannedMedicationActivity-definitions.html#SubstanceAdministration.doseQuantity\">doseQuantity</a><a name=\"SubstanceAdministration.doseQuantity\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-IVL-PQ.html\">IVL_PQ</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>\r\n<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-PlannedMedicationActivity-definitions.html#SubstanceAdministration.doseQuantity.unit\">unit</a><a name=\"SubstanceAdministration.doseQuantity.unit\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-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.1.11.12839/expansion\">UnitsOfMeasureCaseSensitive</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>\r\n<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-PlannedMedicationActivity-definitions.html#SubstanceAdministration.rateQuantity\">rateQuantity</a><a name=\"SubstanceAdministration.rateQuantity\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-IVL-PQ.html\">IVL_PQ</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>\r\n<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-PlannedMedicationActivity-definitions.html#SubstanceAdministration.rateQuantity.unit\">unit</a><a name=\"SubstanceAdministration.rateQuantity.unit\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-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.1.11.12839/expansion\">UnitsOfMeasureCaseSensitive</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>\r\n<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-PlannedMedicationActivity-definitions.html#SubstanceAdministration.maxDoseQuantity\">maxDoseQuantity</a><a name=\"SubstanceAdministration.maxDoseQuantity\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-RTO-PQ-PQ.html\">RTO_PQ_PQ</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>\r\n<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-PlannedMedicationActivity-definitions.html#SubstanceAdministration.administrationUnitCode\">administrationUnitCode</a><a name=\"SubstanceAdministration.administrationUnitCode\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-CE.html\">CE</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-weight:bold\">Binding: </span><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1021.30/expansion\">AdministrationUnitDoseForm</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>\r\n<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-PlannedMedicationActivity-definitions.html#SubstanceAdministration.consumable\">consumable</a><a name=\"SubstanceAdministration.consumable\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-InfrastructureRoot.html\">InfrastructureRoot</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>\r\n<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_resource.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-PlannedMedicationActivity-definitions.html#SubstanceAdministration.consumable.manufacturedProduct\">manufacturedProduct</a><a name=\"SubstanceAdministration.consumable.manufacturedProduct\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"StructureDefinition-MedicationInformation.html\" title=\"http://hl7.org/cda/stds/core/StructureDefinition/ManufacturedProduct\">MedicationInformation</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>\r\n<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-PlannedMedicationActivity-definitions.html#SubstanceAdministration.performer\">performer</a><a name=\"SubstanceAdministration.performer\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-Performer2.html\">Performer2</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">The clinician who is expected to perform the medication activity could be identified using substanceAdministration/performer.</td></tr>\r\n<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_resource.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-PlannedMedicationActivity-definitions.html#SubstanceAdministration.author\">author</a><a name=\"SubstanceAdministration.author\"> </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 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: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">The author in a planned medication activity represents the clinician who is requesting or planning the medication activity.</td></tr>\r\n<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-PlannedMedicationActivity-definitions.html#SubstanceAdministration.entryRelationship\">Slices for entryRelationship</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\"><span style=\"font-style: italic\"/><span style=\"opacity: 0.5; font-style: italic\">0</span><span style=\"opacity: 0.5; font-style: italic\">..</span><span style=\"opacity: 0.5; font-style: italic\">*</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; font-style: italic\" href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-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\"><span style=\"font-style: italic\">The following entryRelationship captures any instructions associated with the planned medication activity.</span><br style=\"font-style: italic\"/><span style=\"font-weight:bold; font-style: italic\">Slice: </span><span style=\"font-style: italic\">Unordered, Open by profile:act, profile:observation</span></td></tr>\r\n<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-PlannedMedicationActivity-definitions.html#SubstanceAdministration.entryRelationship:priorityPreference\" title=\"Slice priorityPreference\">entryRelationship:priorityPreference</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=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//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 represents the priority that a patient or a provider places on the planned medication activity.<br/></td></tr>\r\n<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-PlannedMedicationActivity-definitions.html#SubstanceAdministration.entryRelationship:priorityPreference.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=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-cs-simple.html\" title=\"code\">cs</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-weight:bold\">Fixed Value: </span><span style=\"color: darkgreen\">REFR</span></td></tr>\r\n<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-PlannedMedicationActivity-definitions.html#SubstanceAdministration.entryRelationship:priorityPreference.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-PriorityPreference.html\" title=\"http://hl7.org/cda/stds/core/StructureDefinition/Observation\">PriorityPreference</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>\r\n<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-PlannedMedicationActivity-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=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//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\">The following entryRelationship represents the indication for the planned medication activity.<br/></td></tr>\r\n<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-PlannedMedicationActivity-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=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-cs-simple.html\" title=\"code\">cs</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-weight:bold\">Fixed Value: </span><span style=\"color: darkgreen\">RSON</span></td></tr>\r\n<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-PlannedMedicationActivity-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>\r\n<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-PlannedMedicationActivity-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..*</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-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>\r\n<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-PlannedMedicationActivity-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=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-cs-simple.html\" title=\"code\">cs</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-weight:bold\">Fixed Value: </span><span style=\"color: darkgreen\">SUBJ</span></td></tr>\r\n<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-PlannedMedicationActivity-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: 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-Instruction.html\" title=\"http://hl7.org/cda/stds/core/StructureDefinition/Act\">Instruction</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>\r\n<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-PlannedMedicationActivity-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=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-Precondition.html\">Precondition</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>\r\n<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-PlannedMedicationActivity-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=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-cs-simple.html\" title=\"code\">cs</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-weight:bold\">Fixed Value: </span><span style=\"color: darkgreen\">PRCN</span></td></tr>\r\n<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-PlannedMedicationActivity-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>\r\n<tr><td colspan=\"5\" class=\"hierarchy\"><br/><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64, \" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>"
      ] ; #
      fhir:extension ( [
    fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/logical-target"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:boolean ;
          ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/data-absent-reason"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "not-applicable" ]       ] )     ]
      ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "urn:hl7-org:v3"^^xsd:anyURI ]
      ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "substanceAdministration"^^xsd:anyURI ]
      ] ) ; #
      fhir:url [ fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/PlannedMedicationActivity"^^xsd:anyURI] ; #
      fhir:identifier ( [
    fhir:value [ fhir:v "urn:hl7ii:2.16.840.1.113883.10.20.22.4.42:2014-06-09" ]
      ] ) ; #
      fhir:version [ fhir:v "2.1"] ; #
      fhir:name [ fhir:v "PlannedMedicationActivity"] ; #
      fhir:title [ fhir:v "Planned Medication Activity"] ; #
      fhir:status [ fhir:v "draft"] ; #
      fhir:date [ fhir:v "2023-09-29T16:20:44+00:00"^^xsd:dateTime] ; #
      fhir:publisher [ fhir:v "Health Level Seven"] ; #
      fhir:contact ( [
    fhir:name [ fhir:v "HL7 International - Structured Documents" ] ;
        ( fhir:telecom [
    fhir:system [ fhir:v "url" ] ;
    fhir:value [ fhir:v "http://www.hl7.org/Special/committees/structure" ]     ] )
      ] ) ; #
      fhir:description [ fhir:v "This template represents planned medication activities. The priority of the medication activity to the patient and provider is communicated through Priority Preference. The effectiveTime indicates the time when the medication activity is intended to take place. The authorTime indicates when the documentation of the plan occurred."] ; #
      fhir:jurisdiction ( [
        ( fhir:coding [
    fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "US" ]     ] )
      ] ) ; #
      fhir:fhirVersion [ fhir:v "5.0.0"] ; #
      fhir:mapping ( [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:uri [ fhir:v "http://hl7.org/v3"^^xsd:anyURI ] ;
    fhir:name [ fhir:v "RIM Mapping" ]
      ] ) ; #
      fhir:kind [ fhir:v "logical"] ; #
      fhir:abstract [ fhir:v "false"^^xsd:boolean] ; #
      fhir:type [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration"^^xsd:anyURI] ; #
      fhir:baseDefinition [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration>
      ] ; #
      fhir:derivation [ fhir:v "constraint"] ; #
      fhir:snapshot [
        ( fhir:element [
    fhir:id [ fhir:v "SubstanceAdministration" ] ;
    fhir:path [ fhir:v "SubstanceAdministration" ] ;
    fhir:short [ fhir:v "Base for all types and resources" ] ;
    fhir:definition [ fhir:v "Base definition for all types defined in FHIR type system." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Base" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.classCode" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.classCode" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:comment [ fhir:v "SHALL contain exactly one [1..1] @classCode=\"SBADM\" (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:1098-8572)." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "SubstanceAdministration.classCode" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "code"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>         ] )       ] ) ;
    fhir:defaultValue [ fhir:v "SBADM" ] ;
    fhir:fixed [ fhir:v "SBADM" ] ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "http://terminology.hl7.org/ValueSet/v3-ActClass"^^xsd:anyURI ;
    fhir:link <http://terminology.hl7.org/ValueSet/v3-ActClass>         ]       ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.moodCode" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.moodCode" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:comment [ fhir:v "SHALL contain exactly one [1..1] @moodCode, which SHALL be selected from ValueSet Planned moodCode (SubstanceAdministration/Supply) urn:oid:2.16.840.1.113883.11.20.9.24 STATIC 2011-09-30 (CONF:1098-8573)." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "SubstanceAdministration.moodCode" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "code"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>         ] )       ] ) ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.24"^^xsd:anyURI ;
    fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.24>         ]       ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.realmCode" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.realmCode" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "SubstanceAdministration.realmCode" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CS"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.typeId" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.typeId" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "SubstanceAdministration.typeId" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.templateId" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.templateId" ] ;
    fhir:slicing [
            ( fhir:discriminator [
    fhir:type [ fhir:v "value" ] ;
    fhir:path [ fhir:v "extension" ]         ] [
    fhir:type [ fhir:v "value" ] ;
    fhir:path [ fhir:v "root" ]         ] ) ;
    fhir:rules [ fhir:v "open" ]       ] ;
    fhir:definition [ fhir:v "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" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "SubstanceAdministration.templateId" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.templateId:primary" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.templateId" ] ;
    fhir:sliceName [ fhir:v "primary" ] ;
    fhir:definition [ fhir:v "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" ] ;
    fhir:comment [ fhir:v "SHALL contain exactly one [1..1] templateId (CONF:1098-30465) such that it" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "SubstanceAdministration.templateId" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.templateId:primary.nullFlavor" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.templateId.nullFlavor" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:label [ fhir:v "Exceptional Value Detail" ] ;
    fhir:definition [ fhir:v "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "ANY.nullFlavor" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "code"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>         ] )       ] ) ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "http://terminology.hl7.org/ValueSet/v3-NullFlavor"^^xsd:anyURI ;
    fhir:link <http://terminology.hl7.org/ValueSet/v3-NullFlavor>         ]       ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.templateId:primary.assigningAuthorityName" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.templateId.assigningAuthorityName" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:label [ fhir:v "Assigning Authority Name" ] ;
    fhir:definition [ fhir:v "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." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "II.assigningAuthorityName" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/st-simple>         ] )       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.templateId:primary.displayable" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.templateId.displayable" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:label [ fhir:v "Displayable" ] ;
    fhir:definition [ fhir:v "Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false)." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "II.displayable" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "boolean"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/bl-simple>         ] )       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.templateId:primary.root" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.templateId.root" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:label [ fhir:v "Root" ] ;
    fhir:definition [ fhir:v "A unique identifier that guarantees the global uniqueness of the instance identifier. The root alone may be the entire instance identifier." ] ;
    fhir:comment [ fhir:v "SHALL contain exactly one [1..1] @root=\"2.16.840.1.113883.10.20.22.4.42\" (CONF:1098-30466)." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "II.root" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/oid"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/oid>         ] [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/uuid"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/uuid>         ] [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ruid"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/ruid>         ] )       ] ) ;
    fhir:pattern [ fhir:v "2.16.840.1.113883.10.20.22.4.42" ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.templateId:primary.extension" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.templateId.extension" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:label [ fhir:v "Extension" ] ;
    fhir:definition [ fhir:v "A character string as a unique identifier within the scope of the identifier root." ] ;
    fhir:comment [ fhir:v "SHALL contain exactly one [1..1] @extension=\"2014-06-09\" (CONF:1098-32557)." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "II.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/st-simple>         ] )       ] ) ;
    fhir:pattern [ fhir:v "2014-06-09" ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.id" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.id" ] ;
    fhir:comment [ fhir:v "SHALL contain at least one [1..*] id (CONF:1098-8575)." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "SubstanceAdministration.id" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.code" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.code" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "SubstanceAdministration.code" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CD"^^xsd:anyURI ]       ] ) ;
    fhir:binding [
    fhir:strength [ fhir:v "extensible" ] ;
    fhir:valueSet [
    fhir:v "http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdministrationCode"^^xsd:anyURI ;
    fhir:link <http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdministrationCode>         ]       ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.negationInd" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.negationInd" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "SubstanceAdministration.negationInd" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "boolean"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/bl-simple>         ] )       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.text" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.text" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "SubstanceAdministration.text" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ED"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.statusCode" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.statusCode" ] ;
    fhir:comment [ fhir:v "SHALL contain exactly one [1..1] statusCode (CONF:1098-32087)." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "SubstanceAdministration.statusCode" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CS"^^xsd:anyURI ]       ] ) ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "http://terminology.hl7.org/ValueSet/v3-ActStatus"^^xsd:anyURI ;
    fhir:link <http://terminology.hl7.org/ValueSet/v3-ActStatus>         ]       ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.statusCode.nullFlavor" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.statusCode.nullFlavor" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:label [ fhir:v "Exceptional Value Detail" ] ;
    fhir:definition [ fhir:v "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "ANY.nullFlavor" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "code"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>         ] )       ] ) ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "http://terminology.hl7.org/ValueSet/v3-NullFlavor"^^xsd:anyURI ;
    fhir:link <http://terminology.hl7.org/ValueSet/v3-NullFlavor>         ]       ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.statusCode.code" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.statusCode.code" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:label [ fhir:v "Code" ] ;
    fhir:definition [ fhir:v "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." ] ;
    fhir:comment [ fhir:v "This statusCode SHALL contain exactly one [1..1] @code=\"active\" Active (CodeSystem: HL7ActStatus urn:oid:2.16.840.1.113883.5.14) (CONF:1098-32088)." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CD.code" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "code"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>         ] )       ] ) ;
    fhir:fixed [ fhir:v "active" ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.statusCode.codeSystem" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.statusCode.codeSystem" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:label [ fhir:v "Code System" ] ;
    fhir:definition [ fhir:v "Specifies the code system that defines the code." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "0" ] ;
    fhir:base [
    fhir:path [ fhir:v "CD.codeSystem" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/oid"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/oid>         ] [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/uuid"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/uuid>         ] [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ruid"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/ruid>         ] )       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.statusCode.codeSystemName" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.statusCode.codeSystemName" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:label [ fhir:v "Code System Name" ] ;
    fhir:definition [ fhir:v "The common name of the coding system." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "0" ] ;
    fhir:base [
    fhir:path [ fhir:v "CD.codeSystemName" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/st-simple>         ] )       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.statusCode.codeSystemVersion" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.statusCode.codeSystemVersion" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:label [ fhir:v "Code System Version" ] ;
    fhir:definition [ fhir:v "If applicable, a version descriptor defined specifically for the given code system." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "0" ] ;
    fhir:base [
    fhir:path [ fhir:v "CD.codeSystemVersion" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/st-simple>         ] )       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.statusCode.displayName" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.statusCode.displayName" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:label [ fhir:v "Display Name" ] ;
    fhir:definition [ fhir:v "A name or title for the code, under which the sending system shows the code value to its users." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "0" ] ;
    fhir:base [
    fhir:path [ fhir:v "CD.displayName" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/st-simple>         ] )       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.statusCode.sdtcValueSet" ] ;
          ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "urn:hl7-org:sdtc"^^xsd:anyURI ]       ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "valueSet" ]       ] ) ;
    fhir:path [ fhir:v "SubstanceAdministration.statusCode.sdtcValueSet" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:definition [ fhir:v "The valueSet extension adds an attribute for elements with a CD dataType which indicates the particular value set constraining the coded concept." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CD.valueSet" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/oid"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/oid>         ] )       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.statusCode.sdtcValueSetVersion" ] ;
          ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "urn:hl7-org:sdtc"^^xsd:anyURI ]       ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "valueSetVersion" ]       ] ) ;
    fhir:path [ fhir:v "SubstanceAdministration.statusCode.sdtcValueSetVersion" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:definition [ fhir:v "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." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CD.sdtcValueSetVersion" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/st-simple>         ] )       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.statusCode.originalText" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.statusCode.originalText" ] ;
    fhir:label [ fhir:v "Original Text" ] ;
    fhir:definition [ fhir:v "The text or phrase used as the basis for the coding." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "0" ] ;
    fhir:base [
    fhir:path [ fhir:v "CD.originalText" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ED"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.statusCode.qualifier" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.statusCode.qualifier" ] ;
    fhir:label [ fhir:v "Qualifier" ] ;
    fhir:definition [ fhir:v "Specifies additional codes that increase the specificity of the the primary code." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "0" ] ;
    fhir:base [
    fhir:path [ fhir:v "CD.qualifier" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CR"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.statusCode.translation" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.statusCode.translation" ] ;
          ( fhir:representation [ fhir:v "typeAttr" ] ) ;
    fhir:label [ fhir:v "Translation" ] ;
    fhir:definition [ fhir:v "A set of other concept descriptors that translate this concept descriptor into other code systems." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "0" ] ;
    fhir:base [
    fhir:path [ fhir:v "CD.translation" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CD"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.effectiveTime" ] ;
          ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype"^^xsd:anyURI ] ;
    fhir:value [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/SXCM-TS"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/SXCM-TS>         ]       ] ) ;
    fhir:path [ fhir:v "SubstanceAdministration.effectiveTime" ] ;
          ( fhir:representation [ fhir:v "typeAttr" ] ) ;
    fhir:short [ fhir:v "The effectiveTime in a planned medication activity represents the time that the medication activity should occur." ] ;
    fhir:comment [ fhir:v "SHALL contain exactly one [1..1] effectiveTime (CONF:1098-30468) such that it" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "SubstanceAdministration.effectiveTime" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.priorityCode" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.priorityCode" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "SubstanceAdministration.priorityCode" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CE"^^xsd:anyURI ]       ] ) ;
    fhir:binding [
    fhir:strength [ fhir:v "extensible" ] ;
    fhir:valueSet [
    fhir:v "http://terminology.hl7.org/ValueSet/v3-ActPriority"^^xsd:anyURI ;
    fhir:link <http://terminology.hl7.org/ValueSet/v3-ActPriority>         ]       ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.repeatNumber" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.repeatNumber" ] ;
    fhir:short [ fhir:v "In a Planned Medication Activity, repeatNumber defines the number of allowed administrations. For example, a repeatNumber of \"3\" means that the substance can be administered up to 3 times." ] ;
    fhir:comment [ fhir:v "MAY contain zero or one [0..1] repeatNumber (CONF:1098-32066)." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "SubstanceAdministration.repeatNumber" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/IVL-INT"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.routeCode" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.routeCode" ] ;
    fhir:comment [ fhir:v "MAY 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-32067)." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "SubstanceAdministration.routeCode" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CE"^^xsd:anyURI ]       ] ) ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.3221.8.7"^^xsd:anyURI ;
    fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.3221.8.7>         ]       ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.routeCode.nullFlavor" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.routeCode.nullFlavor" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:label [ fhir:v "Exceptional Value Detail" ] ;
    fhir:definition [ fhir:v "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "ANY.nullFlavor" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "code"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>         ] )       ] ) ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "http://terminology.hl7.org/ValueSet/v3-NullFlavor"^^xsd:anyURI ;
    fhir:link <http://terminology.hl7.org/ValueSet/v3-NullFlavor>         ]       ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.routeCode.code" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.routeCode.code" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:label [ fhir:v "Code" ] ;
    fhir:definition [ fhir:v "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." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CD.code" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "code"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>         ] )       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.routeCode.codeSystem" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.routeCode.codeSystem" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:label [ fhir:v "Code System" ] ;
    fhir:definition [ fhir:v "Specifies the code system that defines the code." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CD.codeSystem" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/oid"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/oid>         ] [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/uuid"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/uuid>         ] [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ruid"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/ruid>         ] )       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.routeCode.codeSystemName" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.routeCode.codeSystemName" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:label [ fhir:v "Code System Name" ] ;
    fhir:definition [ fhir:v "The common name of the coding system." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CD.codeSystemName" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/st-simple>         ] )       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.routeCode.codeSystemVersion" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.routeCode.codeSystemVersion" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:label [ fhir:v "Code System Version" ] ;
    fhir:definition [ fhir:v "If applicable, a version descriptor defined specifically for the given code system." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CD.codeSystemVersion" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/st-simple>         ] )       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.routeCode.displayName" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.routeCode.displayName" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:label [ fhir:v "Display Name" ] ;
    fhir:definition [ fhir:v "A name or title for the code, under which the sending system shows the code value to its users." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CD.displayName" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/st-simple>         ] )       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.routeCode.sdtcValueSet" ] ;
          ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "urn:hl7-org:sdtc"^^xsd:anyURI ]       ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "valueSet" ]       ] ) ;
    fhir:path [ fhir:v "SubstanceAdministration.routeCode.sdtcValueSet" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:definition [ fhir:v "The valueSet extension adds an attribute for elements with a CD dataType which indicates the particular value set constraining the coded concept." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CD.valueSet" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/oid"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/oid>         ] )       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.routeCode.sdtcValueSetVersion" ] ;
          ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "urn:hl7-org:sdtc"^^xsd:anyURI ]       ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "valueSetVersion" ]       ] ) ;
    fhir:path [ fhir:v "SubstanceAdministration.routeCode.sdtcValueSetVersion" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:definition [ fhir:v "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." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CD.sdtcValueSetVersion" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/st-simple>         ] )       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.routeCode.originalText" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.routeCode.originalText" ] ;
    fhir:label [ fhir:v "Original Text" ] ;
    fhir:definition [ fhir:v "The text or phrase used as the basis for the coding." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CD.originalText" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ED"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.routeCode.qualifier" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.routeCode.qualifier" ] ;
    fhir:label [ fhir:v "Qualifier" ] ;
    fhir:definition [ fhir:v "Specifies additional codes that increase the specificity of the the primary code." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "0" ] ;
    fhir:base [
    fhir:path [ fhir:v "CD.qualifier" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CR"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.routeCode.translation" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.routeCode.translation" ] ;
          ( fhir:representation [ fhir:v "typeAttr" ] ) ;
    fhir:label [ fhir:v "Translation" ] ;
    fhir:definition [ fhir:v "A set of other concept descriptors that translate this concept descriptor into other code systems." ] ;
    fhir:comment [ fhir:v "The routeCode, if present, SHOULD contain zero or more [0..*] translation, which SHALL be selected from ValueSet Medication Route urn:oid:2.16.840.1.113762.1.4.1099.12 DYNAMIC (CONF:1098-32952)." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "CD.translation" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CD"^^xsd:anyURI ]       ] ) ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.12"^^xsd:anyURI ;
    fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.12>         ]       ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.approachSiteCode" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.approachSiteCode" ] ;
    fhir:comment [ fhir:v "MAY contain zero or more [0..*] approachSiteCode, which SHALL be selected from ValueSet Body Site Value Set urn:oid:2.16.840.1.113883.3.88.12.3221.8.9 DYNAMIC (CONF:1098-32078)." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "SubstanceAdministration.approachSiteCode" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CD"^^xsd:anyURI ]       ] ) ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.3221.8.9"^^xsd:anyURI ;
    fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.3221.8.9>         ]       ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.doseQuantity" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.doseQuantity" ] ;
    fhir:comment [ fhir:v "MAY contain zero or one [0..1] doseQuantity (CONF:1098-32068)." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "SubstanceAdministration.doseQuantity" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/IVL-PQ"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.doseQuantity.nullFlavor" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.doseQuantity.nullFlavor" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:label [ fhir:v "Exceptional Value Detail" ] ;
    fhir:definition [ fhir:v "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "ANY.nullFlavor" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "code"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>         ] )       ] ) ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "http://terminology.hl7.org/ValueSet/v3-NullFlavor"^^xsd:anyURI ;
    fhir:link <http://terminology.hl7.org/ValueSet/v3-NullFlavor>         ]       ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.doseQuantity.unit" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.doseQuantity.unit" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:label [ fhir:v "Unit of Measure" ] ;
    fhir:definition [ fhir:v "The unit of measure specified in the Unified Code for Units of Measure (UCUM) []." ] ;
    fhir:comment [ fhir:v "The doseQuantity, if present, SHOULD contain zero or one [0..1] @unit, which SHALL be selected from ValueSet UnitsOfMeasureCaseSensitive urn:oid:2.16.840.1.113883.1.11.12839 DYNAMIC (CONF:1098-32133)." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "IVL_PQ.unit" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "code"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>         ] )       ] ) ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.12839"^^xsd:anyURI ;
    fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.12839>         ]       ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.doseQuantity.value" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.doseQuantity.value" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:label [ fhir:v "Maginitude Value" ] ;
    fhir:definition [ fhir:v "The magnitude of the quantity measured in terms of the unit." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "PQ.value" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "decimal"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/real-simple"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/real-simple>         ] )       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.doseQuantity.operator" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.doseQuantity.operator" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:definition [ fhir:v "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." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "IVL_PQ.operator" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "code"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>         ] )       ] ) ;
    fhir:defaultValue [ fhir:v "I" ] ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "http://terminology.hl7.org/ValueSet/v3-SetOperator"^^xsd:anyURI ;
    fhir:link <http://terminology.hl7.org/ValueSet/v3-SetOperator>         ]       ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.doseQuantity.low" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.doseQuantity.low" ] ;
    fhir:label [ fhir:v "Low Boundary" ] ;
    fhir:definition [ fhir:v "This is the low limit of the interval." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "IVL_PQ.low" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/IVXB-PQ"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.doseQuantity.center" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.doseQuantity.center" ] ;
    fhir:label [ fhir:v "Central Value" ] ;
    fhir:definition [ fhir:v "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." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "IVL_PQ.center" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/PQ"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.doseQuantity.width" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.doseQuantity.width" ] ;
    fhir:label [ fhir:v "Width" ] ;
    fhir:definition [ fhir:v "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." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "IVL_PQ.width" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/PQ"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.doseQuantity.high" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.doseQuantity.high" ] ;
    fhir:label [ fhir:v "High Boundary" ] ;
    fhir:definition [ fhir:v "This is the high limit of the interval." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "IVL_PQ.high" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/IVXB-PQ"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.rateQuantity" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.rateQuantity" ] ;
    fhir:comment [ fhir:v "MAY contain zero or one [0..1] rateQuantity (CONF:1098-32079)." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "SubstanceAdministration.rateQuantity" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/IVL-PQ"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.rateQuantity.nullFlavor" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.rateQuantity.nullFlavor" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:label [ fhir:v "Exceptional Value Detail" ] ;
    fhir:definition [ fhir:v "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "ANY.nullFlavor" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "code"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>         ] )       ] ) ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "http://terminology.hl7.org/ValueSet/v3-NullFlavor"^^xsd:anyURI ;
    fhir:link <http://terminology.hl7.org/ValueSet/v3-NullFlavor>         ]       ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.rateQuantity.unit" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.rateQuantity.unit" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:label [ fhir:v "Unit of Measure" ] ;
    fhir:definition [ fhir:v "The unit of measure specified in the Unified Code for Units of Measure (UCUM) []." ] ;
    fhir:comment [ fhir:v "The rateQuantity, if present, SHOULD contain zero or one [0..1] @unit, which SHALL be selected from ValueSet UnitsOfMeasureCaseSensitive urn:oid:2.16.840.1.113883.1.11.12839 DYNAMIC (CONF:1098-32134)." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "IVL_PQ.unit" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "code"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>         ] )       ] ) ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.12839"^^xsd:anyURI ;
    fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.12839>         ]       ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.rateQuantity.value" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.rateQuantity.value" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:label [ fhir:v "Maginitude Value" ] ;
    fhir:definition [ fhir:v "The magnitude of the quantity measured in terms of the unit." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "PQ.value" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "decimal"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/real-simple"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/real-simple>         ] )       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.rateQuantity.operator" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.rateQuantity.operator" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:definition [ fhir:v "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." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "IVL_PQ.operator" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "code"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>         ] )       ] ) ;
    fhir:defaultValue [ fhir:v "I" ] ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "http://terminology.hl7.org/ValueSet/v3-SetOperator"^^xsd:anyURI ;
    fhir:link <http://terminology.hl7.org/ValueSet/v3-SetOperator>         ]       ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.rateQuantity.low" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.rateQuantity.low" ] ;
    fhir:label [ fhir:v "Low Boundary" ] ;
    fhir:definition [ fhir:v "This is the low limit of the interval." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "IVL_PQ.low" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/IVXB-PQ"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.rateQuantity.center" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.rateQuantity.center" ] ;
    fhir:label [ fhir:v "Central Value" ] ;
    fhir:definition [ fhir:v "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." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "IVL_PQ.center" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/PQ"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.rateQuantity.width" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.rateQuantity.width" ] ;
    fhir:label [ fhir:v "Width" ] ;
    fhir:definition [ fhir:v "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." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "IVL_PQ.width" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/PQ"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.rateQuantity.high" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.rateQuantity.high" ] ;
    fhir:label [ fhir:v "High Boundary" ] ;
    fhir:definition [ fhir:v "This is the high limit of the interval." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "IVL_PQ.high" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/IVXB-PQ"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.maxDoseQuantity" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.maxDoseQuantity" ] ;
    fhir:comment [ fhir:v "MAY contain zero or one [0..1] maxDoseQuantity (CONF:1098-32080)." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "SubstanceAdministration.maxDoseQuantity" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/RTO-PQ-PQ"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.administrationUnitCode" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.administrationUnitCode" ] ;
    fhir:comment [ fhir:v "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-32081)." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "SubstanceAdministration.administrationUnitCode" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CE"^^xsd:anyURI ]       ] ) ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.30"^^xsd:anyURI ;
    fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.30>         ]       ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.consumable" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.consumable" ] ;
    fhir:definition [ fhir:v "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." ] ;
    fhir:comment [ fhir:v "SHALL contain exactly one [1..1] consumable (CONF:1098-32082)." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "SubstanceAdministration.consumable" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/InfrastructureRoot"^^xsd:anyURI ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.consumable.nullFlavor" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.consumable.nullFlavor" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:label [ fhir:v "Exceptional Value Detail" ] ;
    fhir:definition [ fhir:v "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "ANY.nullFlavor" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "code"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>         ] )       ] ) ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "http://terminology.hl7.org/ValueSet/v3-NullFlavor"^^xsd:anyURI ;
    fhir:link <http://terminology.hl7.org/ValueSet/v3-NullFlavor>         ]       ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.consumable.realmCode" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.consumable.realmCode" ] ;
    fhir:definition [ fhir:v "When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "InfrastructureRoot.realmCode" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CS"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.consumable.typeId" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.consumable.typeId" ] ;
    fhir:definition [ fhir:v "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." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "InfrastructureRoot.typeId" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.consumable.templateId" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.consumable.templateId" ] ;
    fhir:definition [ fhir:v "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" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "InfrastructureRoot.templateId" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.consumable.typeCode" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.consumable.typeCode" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "SubstanceAdministration.consumable.typeCode" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "code"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>         ] )       ] ) ;
    fhir:fixed [ fhir:v "CSM" ] ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "http://terminology.hl7.org/ValueSet/v3-ParticipationTargetDirect"^^xsd:anyURI ;
    fhir:link <http://terminology.hl7.org/ValueSet/v3-ParticipationTargetDirect>         ]       ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.consumable.manufacturedProduct" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.consumable.manufacturedProduct" ] ;
    fhir:short [ fhir:v "Base for all types and resources" ] ;
    fhir:definition [ fhir:v "Base definition for all types defined in FHIR type system." ] ;
    fhir:comment [ fhir:v "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-32083)." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "SubstanceAdministration.consumable.manufacturedProduct" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ManufacturedProduct"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/MedicationInformation"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/us/ccda/StructureDefinition/MedicationInformation>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.subject" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.subject" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "SubstanceAdministration.subject" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Subject"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.specimen" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.specimen" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "SubstanceAdministration.specimen" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Specimen"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.performer" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.performer" ] ;
    fhir:short [ fhir:v "The clinician who is expected to perform the medication activity could be identified using substanceAdministration/performer." ] ;
    fhir:comment [ fhir:v "MAY contain zero or more [0..*] performer (CONF:1098-30470)." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "SubstanceAdministration.performer" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Performer2"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.author" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.author" ] ;
    fhir:short [ fhir:v "The author in a planned medication activity represents the clinician who is requesting or planning the medication activity." ] ;
    fhir:definition [ fhir:v "Base definition for all types defined in FHIR type system." ] ;
    fhir:comment [ fhir:v "SHOULD contain zero or one [0..1] Author Participation (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.119) (CONF:1098-32046)." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "SubstanceAdministration.author" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Author"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/AuthorParticipation"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/us/ccda/StructureDefinition/AuthorParticipation>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.informant" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.informant" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "SubstanceAdministration.informant" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Informant"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.participant" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.participant" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "SubstanceAdministration.participant" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Participant2"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship" ] ;
    fhir:slicing [
            ( fhir:discriminator [
    fhir:type [ fhir:v "profile" ] ;
    fhir:path [ fhir:v "act" ]         ] [
    fhir:type [ fhir:v "profile" ] ;
    fhir:path [ fhir:v "observation" ]         ] ) ;
    fhir:rules [ fhir:v "open" ]       ] ;
    fhir:short [ fhir:v "The following entryRelationship captures any instructions associated with the planned medication activity." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:priorityPreference" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship" ] ;
    fhir:sliceName [ fhir:v "priorityPreference" ] ;
    fhir:short [ fhir:v "The following entryRelationship represents the priority that a patient or a provider places on the planned medication activity." ] ;
    fhir:comment [ fhir:v "MAY contain zero or more [0..*] entryRelationship (CONF:1098-31104) such that it" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:priorityPreference.nullFlavor" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.nullFlavor" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:label [ fhir:v "Exceptional Value Detail" ] ;
    fhir:definition [ fhir:v "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "ANY.nullFlavor" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "code"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>         ] )       ] ) ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "http://terminology.hl7.org/ValueSet/v3-NullFlavor"^^xsd:anyURI ;
    fhir:link <http://terminology.hl7.org/ValueSet/v3-NullFlavor>         ]       ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:priorityPreference.realmCode" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.realmCode" ] ;
    fhir:definition [ fhir:v "When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "InfrastructureRoot.realmCode" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CS"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:priorityPreference.typeId" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.typeId" ] ;
    fhir:definition [ fhir:v "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." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "InfrastructureRoot.typeId" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:priorityPreference.templateId" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.templateId" ] ;
    fhir:definition [ fhir:v "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" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "InfrastructureRoot.templateId" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:priorityPreference.typeCode" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.typeCode" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:comment [ fhir:v "SHALL contain exactly one [1..1] @typeCode=\"REFR\" Refers to (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:1098-31105)." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EntryRelationship.typeCode" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "code"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>         ] )       ] ) ;
    fhir:fixed [ fhir:v "REFR" ] ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship"^^xsd:anyURI ;
    fhir:link <http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship>         ]       ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:priorityPreference.inversionInd" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.inversionInd" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:definition [ fhir:v "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." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EntryRelationship.inversionInd" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "boolean"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/bl-simple>         ] )       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:priorityPreference.contextConductionInd" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.contextConductionInd" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:definition [ fhir:v "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." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EntryRelationship.contextConductionInd" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "boolean"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/bl-simple>         ] )       ] ) ;
    fhir:defaultValue [ fhir:v "true"^^xsd:boolean ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:priorityPreference.negationInd" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.negationInd" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EntryRelationship.negationInd" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "boolean"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/bl-simple>         ] )       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:priorityPreference.sequenceNumber" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.sequenceNumber" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EntryRelationship.sequenceNumber" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/INT"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:priorityPreference.seperatableInd" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.seperatableInd" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EntryRelationship.seperatableInd" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/BL"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:priorityPreference.act" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.act" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EntryRelationship.act" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Act"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:priorityPreference.encounter" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.encounter" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EntryRelationship.encounter" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Encounter"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:priorityPreference.observation" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.observation" ] ;
    fhir:short [ fhir:v "Base for all types and resources" ] ;
    fhir:definition [ fhir:v "Base definition for all types defined in FHIR type system." ] ;
    fhir:comment [ fhir:v "SHALL contain exactly one [1..1] Priority Preference (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.143) (CONF:1098-31106)." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EntryRelationship.observation" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Observation"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/PriorityPreference"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/us/ccda/StructureDefinition/PriorityPreference>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:priorityPreference.observationMedia" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.observationMedia" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EntryRelationship.observationMedia" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ObservationMedia"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:priorityPreference.organizer" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.organizer" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EntryRelationship.organizer" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Organizer"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:priorityPreference.procedure" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.procedure" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EntryRelationship.procedure" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Procedure"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:priorityPreference.regionOfInterest" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.regionOfInterest" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EntryRelationship.regionOfInterest" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/RegionOfInterest"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:priorityPreference.substanceAdministration" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.substanceAdministration" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EntryRelationship.substanceAdministration" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:priorityPreference.supply" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.supply" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EntryRelationship.supply" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Supply"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:indication" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship" ] ;
    fhir:sliceName [ fhir:v "indication" ] ;
    fhir:short [ fhir:v "The following entryRelationship represents the indication for the planned medication activity." ] ;
    fhir:comment [ fhir:v "MAY contain zero or more [0..*] entryRelationship (CONF:1098-32069) such that it" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:indication.nullFlavor" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.nullFlavor" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:label [ fhir:v "Exceptional Value Detail" ] ;
    fhir:definition [ fhir:v "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "ANY.nullFlavor" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "code"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>         ] )       ] ) ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "http://terminology.hl7.org/ValueSet/v3-NullFlavor"^^xsd:anyURI ;
    fhir:link <http://terminology.hl7.org/ValueSet/v3-NullFlavor>         ]       ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:indication.realmCode" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.realmCode" ] ;
    fhir:definition [ fhir:v "When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "InfrastructureRoot.realmCode" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CS"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:indication.typeId" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.typeId" ] ;
    fhir:definition [ fhir:v "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." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "InfrastructureRoot.typeId" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:indication.templateId" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.templateId" ] ;
    fhir:definition [ fhir:v "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" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "InfrastructureRoot.templateId" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:indication.typeCode" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.typeCode" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:comment [ fhir:v "SHALL contain exactly one [1..1] @typeCode=\"RSON\" Has Reason (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:1098-32070)." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EntryRelationship.typeCode" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "code"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>         ] )       ] ) ;
    fhir:fixed [ fhir:v "RSON" ] ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship"^^xsd:anyURI ;
    fhir:link <http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship>         ]       ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:indication.inversionInd" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.inversionInd" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:definition [ fhir:v "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." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EntryRelationship.inversionInd" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "boolean"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/bl-simple>         ] )       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:indication.contextConductionInd" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.contextConductionInd" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:definition [ fhir:v "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." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EntryRelationship.contextConductionInd" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "boolean"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/bl-simple>         ] )       ] ) ;
    fhir:defaultValue [ fhir:v "true"^^xsd:boolean ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:indication.negationInd" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.negationInd" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EntryRelationship.negationInd" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "boolean"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/bl-simple>         ] )       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:indication.sequenceNumber" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.sequenceNumber" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EntryRelationship.sequenceNumber" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/INT"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:indication.seperatableInd" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.seperatableInd" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EntryRelationship.seperatableInd" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/BL"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:indication.act" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.act" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EntryRelationship.act" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Act"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:indication.encounter" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.encounter" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EntryRelationship.encounter" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Encounter"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:indication.observation" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.observation" ] ;
    fhir:short [ fhir:v "Base for all types and resources" ] ;
    fhir:definition [ fhir:v "Base definition for all types defined in FHIR type system." ] ;
    fhir:comment [ fhir:v "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-32071)." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EntryRelationship.observation" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Observation"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/Indication"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/us/ccda/StructureDefinition/Indication>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:indication.observationMedia" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.observationMedia" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EntryRelationship.observationMedia" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ObservationMedia"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:indication.organizer" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.organizer" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EntryRelationship.organizer" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Organizer"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:indication.procedure" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.procedure" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EntryRelationship.procedure" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Procedure"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:indication.regionOfInterest" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.regionOfInterest" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EntryRelationship.regionOfInterest" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/RegionOfInterest"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:indication.substanceAdministration" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.substanceAdministration" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EntryRelationship.substanceAdministration" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:indication.supply" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.supply" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EntryRelationship.supply" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Supply"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:instruction" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship" ] ;
    fhir:sliceName [ fhir:v "instruction" ] ;
    fhir:comment [ fhir:v "MAY contain zero or more [0..*] entryRelationship (CONF:1098-32072) such that it" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/EntryRelationship"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:instruction.nullFlavor" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.nullFlavor" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:label [ fhir:v "Exceptional Value Detail" ] ;
    fhir:definition [ fhir:v "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "ANY.nullFlavor" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "code"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>         ] )       ] ) ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "http://terminology.hl7.org/ValueSet/v3-NullFlavor"^^xsd:anyURI ;
    fhir:link <http://terminology.hl7.org/ValueSet/v3-NullFlavor>         ]       ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:instruction.realmCode" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.realmCode" ] ;
    fhir:definition [ fhir:v "When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "InfrastructureRoot.realmCode" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CS"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:instruction.typeId" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.typeId" ] ;
    fhir:definition [ fhir:v "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." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "InfrastructureRoot.typeId" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:instruction.templateId" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.templateId" ] ;
    fhir:definition [ fhir:v "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" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "InfrastructureRoot.templateId" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:instruction.typeCode" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.typeCode" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:comment [ fhir:v "SHALL contain exactly one [1..1] @typeCode=\"SUBJ\" Has Subject (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:1098-32073)." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EntryRelationship.typeCode" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "code"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>         ] )       ] ) ;
    fhir:fixed [ fhir:v "SUBJ" ] ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship"^^xsd:anyURI ;
    fhir:link <http://terminology.hl7.org/ValueSet/v3-xActRelationshipEntryRelationship>         ]       ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:instruction.inversionInd" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.inversionInd" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:definition [ fhir:v "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." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EntryRelationship.inversionInd" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "boolean"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/bl-simple>         ] )       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:instruction.contextConductionInd" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.contextConductionInd" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:definition [ fhir:v "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." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EntryRelationship.contextConductionInd" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "boolean"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/bl-simple>         ] )       ] ) ;
    fhir:defaultValue [ fhir:v "true"^^xsd:boolean ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:instruction.negationInd" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.negationInd" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EntryRelationship.negationInd" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "boolean"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/bl-simple>         ] )       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:instruction.sequenceNumber" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.sequenceNumber" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EntryRelationship.sequenceNumber" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/INT"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:instruction.seperatableInd" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.seperatableInd" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EntryRelationship.seperatableInd" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/BL"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:instruction.act" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.act" ] ;
    fhir:short [ fhir:v "Base for all types and resources" ] ;
    fhir:definition [ fhir:v "Base definition for all types defined in FHIR type system." ] ;
    fhir:comment [ fhir:v "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-32074)." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EntryRelationship.act" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Act"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/Instruction"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/us/ccda/StructureDefinition/Instruction>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:instruction.encounter" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.encounter" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EntryRelationship.encounter" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Encounter"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:instruction.observation" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.observation" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EntryRelationship.observation" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Observation"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:instruction.observationMedia" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.observationMedia" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EntryRelationship.observationMedia" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ObservationMedia"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:instruction.organizer" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.organizer" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EntryRelationship.organizer" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Organizer"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:instruction.procedure" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.procedure" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EntryRelationship.procedure" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Procedure"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:instruction.regionOfInterest" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.regionOfInterest" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EntryRelationship.regionOfInterest" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/RegionOfInterest"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:instruction.substanceAdministration" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.substanceAdministration" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EntryRelationship.substanceAdministration" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/SubstanceAdministration"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:instruction.supply" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.supply" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EntryRelationship.supply" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Supply"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.reference" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.reference" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "SubstanceAdministration.reference" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Reference"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.precondition" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.precondition" ] ;
    fhir:comment [ fhir:v "MAY contain zero or more [0..*] precondition (CONF:1098-32084)." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "SubstanceAdministration.precondition" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Precondition"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.precondition.nullFlavor" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.precondition.nullFlavor" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:label [ fhir:v "Exceptional Value Detail" ] ;
    fhir:definition [ fhir:v "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Precondition.nullFlavor" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "code"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>         ] )       ] ) ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "http://terminology.hl7.org/ValueSet/v3-NullFlavor"^^xsd:anyURI ;
    fhir:link <http://terminology.hl7.org/ValueSet/v3-NullFlavor>         ]       ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.precondition.typeCode" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.precondition.typeCode" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:comment [ fhir:v "The precondition, if present, SHALL contain exactly one [1..1] @typeCode=\"PRCN\" Precondition (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:1098-32085)." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Precondition.typeCode" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "code"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>         ] )       ] ) ;
    fhir:fixed [ fhir:v "PRCN" ] ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "http://terminology.hl7.org/ValueSet/v3-ActRelationshipType"^^xsd:anyURI ;
    fhir:link <http://terminology.hl7.org/ValueSet/v3-ActRelationshipType>         ]       ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.precondition.realmCode" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.precondition.realmCode" ] ;
    fhir:definition [ fhir:v "When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Precondition.realmCode" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CS"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.precondition.typeId" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.precondition.typeId" ] ;
    fhir:definition [ fhir:v "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." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Precondition.typeId" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.precondition.templateId" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.precondition.templateId" ] ;
    fhir:definition [ fhir:v "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" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Precondition.templateId" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.precondition.criterion" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.precondition.criterion" ] ;
    fhir:short [ fhir:v "Base for all types and resources" ] ;
    fhir:definition [ fhir:v "Base definition for all types defined in FHIR type system." ] ;
    fhir:comment [ fhir:v "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-32086)." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Precondition.criterion" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Criterion"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/PreconditionforSubstanceAdministration"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/us/ccda/StructureDefinition/PreconditionforSubstanceAdministration>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] )
      ] ; #
      fhir:differential [
        ( fhir:element [
    fhir:id [ fhir:v "SubstanceAdministration.classCode" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.classCode" ] ;
    fhir:comment [ fhir:v "SHALL contain exactly one [1..1] @classCode=\"SBADM\" (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:1098-8572)." ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.moodCode" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.moodCode" ] ;
    fhir:comment [ fhir:v "SHALL contain exactly one [1..1] @moodCode, which SHALL be selected from ValueSet Planned moodCode (SubstanceAdministration/Supply) urn:oid:2.16.840.1.113883.11.20.9.24 STATIC 2011-09-30 (CONF:1098-8573)." ] ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.24"^^xsd:anyURI ;
    fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.24>         ]       ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.templateId" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.templateId" ] ;
    fhir:slicing [
            ( fhir:discriminator [
    fhir:type [ fhir:v "value" ] ;
    fhir:path [ fhir:v "extension" ]         ] [
    fhir:type [ fhir:v "value" ] ;
    fhir:path [ fhir:v "root" ]         ] ) ;
    fhir:rules [ fhir:v "open" ]       ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.templateId:primary" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.templateId" ] ;
    fhir:sliceName [ fhir:v "primary" ] ;
    fhir:comment [ fhir:v "SHALL contain exactly one [1..1] templateId (CONF:1098-30465) such that it" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.templateId:primary.root" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.templateId.root" ] ;
    fhir:comment [ fhir:v "SHALL contain exactly one [1..1] @root=\"2.16.840.1.113883.10.20.22.4.42\" (CONF:1098-30466)." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:pattern [ fhir:v "2.16.840.1.113883.10.20.22.4.42" ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.templateId:primary.extension" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.templateId.extension" ] ;
    fhir:comment [ fhir:v "SHALL contain exactly one [1..1] @extension=\"2014-06-09\" (CONF:1098-32557)." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:pattern [ fhir:v "2014-06-09" ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.id" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.id" ] ;
    fhir:comment [ fhir:v "SHALL contain at least one [1..*] id (CONF:1098-8575)." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.statusCode" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.statusCode" ] ;
    fhir:comment [ fhir:v "SHALL contain exactly one [1..1] statusCode (CONF:1098-32087)." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.statusCode.code" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.statusCode.code" ] ;
    fhir:comment [ fhir:v "This statusCode SHALL contain exactly one [1..1] @code=\"active\" Active (CodeSystem: HL7ActStatus urn:oid:2.16.840.1.113883.5.14) (CONF:1098-32088)." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:fixed [ fhir:v "active" ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.effectiveTime" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.effectiveTime" ] ;
    fhir:short [ fhir:v "The effectiveTime in a planned medication activity represents the time that the medication activity should occur." ] ;
    fhir:comment [ fhir:v "SHALL contain exactly one [1..1] effectiveTime (CONF:1098-30468) such that it" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.repeatNumber" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.repeatNumber" ] ;
    fhir:short [ fhir:v "In a Planned Medication Activity, repeatNumber defines the number of allowed administrations. For example, a repeatNumber of \"3\" means that the substance can be administered up to 3 times." ] ;
    fhir:comment [ fhir:v "MAY contain zero or one [0..1] repeatNumber (CONF:1098-32066)." ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.routeCode" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.routeCode" ] ;
    fhir:comment [ fhir:v "MAY 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-32067)." ] ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.3221.8.7"^^xsd:anyURI ;
    fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.3221.8.7>         ]       ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.routeCode.translation" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.routeCode.translation" ] ;
    fhir:comment [ fhir:v "The routeCode, if present, SHOULD contain zero or more [0..*] translation, which SHALL be selected from ValueSet Medication Route urn:oid:2.16.840.1.113762.1.4.1099.12 DYNAMIC (CONF:1098-32952)." ] ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.12"^^xsd:anyURI ;
    fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.12>         ]       ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.approachSiteCode" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.approachSiteCode" ] ;
    fhir:comment [ fhir:v "MAY contain zero or more [0..*] approachSiteCode, which SHALL be selected from ValueSet Body Site Value Set urn:oid:2.16.840.1.113883.3.88.12.3221.8.9 DYNAMIC (CONF:1098-32078)." ] ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.3221.8.9"^^xsd:anyURI ;
    fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.3221.8.9>         ]       ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.doseQuantity" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.doseQuantity" ] ;
    fhir:comment [ fhir:v "MAY contain zero or one [0..1] doseQuantity (CONF:1098-32068)." ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.doseQuantity.unit" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.doseQuantity.unit" ] ;
    fhir:comment [ fhir:v "The doseQuantity, if present, SHOULD contain zero or one [0..1] @unit, which SHALL be selected from ValueSet UnitsOfMeasureCaseSensitive urn:oid:2.16.840.1.113883.1.11.12839 DYNAMIC (CONF:1098-32133)." ] ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.12839"^^xsd:anyURI ;
    fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.12839>         ]       ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.rateQuantity" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.rateQuantity" ] ;
    fhir:comment [ fhir:v "MAY contain zero or one [0..1] rateQuantity (CONF:1098-32079)." ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.rateQuantity.unit" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.rateQuantity.unit" ] ;
    fhir:comment [ fhir:v "The rateQuantity, if present, SHOULD contain zero or one [0..1] @unit, which SHALL be selected from ValueSet UnitsOfMeasureCaseSensitive urn:oid:2.16.840.1.113883.1.11.12839 DYNAMIC (CONF:1098-32134)." ] ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.12839"^^xsd:anyURI ;
    fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.12839>         ]       ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.maxDoseQuantity" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.maxDoseQuantity" ] ;
    fhir:comment [ fhir:v "MAY contain zero or one [0..1] maxDoseQuantity (CONF:1098-32080)." ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.administrationUnitCode" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.administrationUnitCode" ] ;
    fhir:comment [ fhir:v "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-32081)." ] ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.30"^^xsd:anyURI ;
    fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.30>         ]       ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.consumable" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.consumable" ] ;
    fhir:comment [ fhir:v "SHALL contain exactly one [1..1] consumable (CONF:1098-32082)." ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.consumable.manufacturedProduct" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.consumable.manufacturedProduct" ] ;
    fhir:comment [ fhir:v "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-32083)." ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ManufacturedProduct"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/MedicationInformation"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/us/ccda/StructureDefinition/MedicationInformation>         ] )       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.performer" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.performer" ] ;
    fhir:short [ fhir:v "The clinician who is expected to perform the medication activity could be identified using substanceAdministration/performer." ] ;
    fhir:comment [ fhir:v "MAY contain zero or more [0..*] performer (CONF:1098-30470)." ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.author" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.author" ] ;
    fhir:short [ fhir:v "The author in a planned medication activity represents the clinician who is requesting or planning the medication activity." ] ;
    fhir:comment [ fhir:v "SHOULD contain zero or one [0..1] Author Participation (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.119) (CONF:1098-32046)." ] ;
    fhir:max [ fhir:v "1" ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Author"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/AuthorParticipation"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/us/ccda/StructureDefinition/AuthorParticipation>         ] )       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship" ] ;
    fhir:slicing [
            ( fhir:discriminator [
    fhir:type [ fhir:v "profile" ] ;
    fhir:path [ fhir:v "act" ]         ] [
    fhir:type [ fhir:v "profile" ] ;
    fhir:path [ fhir:v "observation" ]         ] ) ;
    fhir:rules [ fhir:v "open" ]       ] ;
    fhir:short [ fhir:v "The following entryRelationship captures any instructions associated with the planned medication activity." ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:priorityPreference" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship" ] ;
    fhir:sliceName [ fhir:v "priorityPreference" ] ;
    fhir:short [ fhir:v "The following entryRelationship represents the priority that a patient or a provider places on the planned medication activity." ] ;
    fhir:comment [ fhir:v "MAY contain zero or more [0..*] entryRelationship (CONF:1098-31104) such that it" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:priorityPreference.typeCode" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.typeCode" ] ;
    fhir:comment [ fhir:v "SHALL contain exactly one [1..1] @typeCode=\"REFR\" Refers to (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:1098-31105)." ] ;
    fhir:fixed [ fhir:v "REFR" ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:priorityPreference.observation" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.observation" ] ;
    fhir:comment [ fhir:v "SHALL contain exactly one [1..1] Priority Preference (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.143) (CONF:1098-31106)." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Observation"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/PriorityPreference"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/us/ccda/StructureDefinition/PriorityPreference>         ] )       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:indication" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship" ] ;
    fhir:sliceName [ fhir:v "indication" ] ;
    fhir:short [ fhir:v "The following entryRelationship represents the indication for the planned medication activity." ] ;
    fhir:comment [ fhir:v "MAY contain zero or more [0..*] entryRelationship (CONF:1098-32069) such that it" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:indication.typeCode" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.typeCode" ] ;
    fhir:comment [ fhir:v "SHALL contain exactly one [1..1] @typeCode=\"RSON\" Has Reason (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:1098-32070)." ] ;
    fhir:fixed [ fhir:v "RSON" ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:indication.observation" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.observation" ] ;
    fhir:comment [ fhir:v "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-32071)." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Observation"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/Indication"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/us/ccda/StructureDefinition/Indication>         ] )       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:instruction" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship" ] ;
    fhir:sliceName [ fhir:v "instruction" ] ;
    fhir:comment [ fhir:v "MAY contain zero or more [0..*] entryRelationship (CONF:1098-32072) such that it" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:instruction.typeCode" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.typeCode" ] ;
    fhir:comment [ fhir:v "SHALL contain exactly one [1..1] @typeCode=\"SUBJ\" Has Subject (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:1098-32073)." ] ;
    fhir:fixed [ fhir:v "SUBJ" ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.entryRelationship:instruction.act" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.entryRelationship.act" ] ;
    fhir:comment [ fhir:v "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-32074)." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Act"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/Instruction"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/us/ccda/StructureDefinition/Instruction>         ] )       ] )     ] [
    fhir:id [ fhir:v "SubstanceAdministration.precondition" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.precondition" ] ;
    fhir:comment [ fhir:v "MAY contain zero or more [0..*] precondition (CONF:1098-32084)." ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.precondition.typeCode" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.precondition.typeCode" ] ;
    fhir:comment [ fhir:v "The precondition, if present, SHALL contain exactly one [1..1] @typeCode=\"PRCN\" Precondition (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:1098-32085)." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:fixed [ fhir:v "PRCN" ]     ] [
    fhir:id [ fhir:v "SubstanceAdministration.precondition.criterion" ] ;
    fhir:path [ fhir:v "SubstanceAdministration.precondition.criterion" ] ;
    fhir:comment [ fhir:v "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-32086)." ] ;
          ( fhir:type [
    fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Criterion"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/cda/us/ccda/StructureDefinition/PreconditionforSubstanceAdministration"^^xsd:anyURI ;
    fhir:link <http://hl7.org/cda/us/ccda/StructureDefinition/PreconditionforSubstanceAdministration>         ] )       ] )     ] )
      ] . #