Consolidated CDA Release 2.2
2.2 - CI Build

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

## Resource Profile: MedicationDispense - JSON Profile

Active as of 2022-05-13

JSON representation of the 2.16.840.1.113883.10.20.22.4.18 resource profile.

Raw json | Download

    {
      "resourceType" : "StructureDefinition",
      "id" : "2.16.840.1.113883.10.20.22.4.18",
      "text" : {
        "status" : "extensions",
        "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=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"The logical name of the element\">Name</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"Information about the use of the element\">Flags</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"Minimum and Maximum # of times the the element can appear in the instance\">Card.</a></th><th style=\"width: 100px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"Reference to the type of the element\">Type</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"Additional information about the element\">Description &amp; Constraints</a><span style=\"float: right\"><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"Legend for this format\"><img src=\"http://hl7.org/fhir/R4/help16.png\" alt=\"doco\" style=\"background-color: inherit\"/></a></span></th></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-2.16.840.1.113883.10.20.22.4.18-definitions.html#Supply\">Supply</a><a name=\"Supply\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: black; null\" title=\"This element has or is affected by some invariants (1098-9333)\">I</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-Supply.html\">CDAR2Supply</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-weight:bold\">1098-9333: </span>A supply act  **SHALL** contain one product/Medication Information *OR* one product/Immunization Medication Information template (CONF:1098-9333).</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-2.16.840.1.113883.10.20.22.4.18-definitions.html#Supply.classCode\">classCode</a><a name=\"Supply.classCode\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#code\">code</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>\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-2.16.840.1.113883.10.20.22.4.18-definitions.html#Supply.moodCode\">moodCode</a><a name=\"Supply.moodCode\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#code\">code</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-weight:bold\">Required Pattern: </span><span style=\"color: darkgreen\">EVN</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_bck13.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Slice Definition\" class=\"hierarchy\"/> <a style=\"font-style: italic\" href=\"StructureDefinition-2.16.840.1.113883.10.20.22.4.18-definitions.html#Supply.templateId\">Slices for templateId</a><a name=\"Supply.templateId\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-style: italic\"/><span style=\"opacity: 0.5; font-style: italic\">0</span><span style=\"opacity: 0.5; font-style: italic\">..</span><span style=\"opacity: 0.5; font-style: italic\">*</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; font-style: italic\" href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-II.html\">II</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-weight:bold; font-style: italic\">Slice: </span><span style=\"font-style: italic\">Unordered, Open by value:root, value:extension</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-2.16.840.1.113883.10.20.22.4.18-definitions.html#Supply.templateId:primary\" title=\"Slice primary\">templateId:primary</a><a name=\"Supply.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-2.16.840.1.113883.10.20.22.4.18-definitions.html#Supply.templateId:primary.root\">root</a><a name=\"Supply.templateId.root\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-weight:bold\">Required Pattern: </span><span style=\"color: darkgreen\">2.16.840.1.113883.10.20.22.4.18</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-2.16.840.1.113883.10.20.22.4.18-definitions.html#Supply.templateId:primary.extension\">extension</a><a name=\"Supply.templateId.extension\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-weight:bold\">Required Pattern: </span><span style=\"color: darkgreen\">2014-06-09</span></td></tr>\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-2.16.840.1.113883.10.20.22.4.18-definitions.html#Supply.id\">id</a><a name=\"Supply.id\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..*</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-II.html\">II</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>\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-2.16.840.1.113883.10.20.22.4.18-definitions.html#Supply.statusCode\">statusCode</a><a name=\"Supply.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..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-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-2.16.840.1.113883.10.20.22.4.18-definitions.html#Supply.statusCode.code\">code</a><a name=\"Supply.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..1</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-weight:bold\">Binding: </span><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.88.12.80.64/expansion\">Medication Fill Status</a> (<a href=\"http://hl7.org/fhir/R4/terminologies.html#required\" title=\"To be conformant, the concept in this element SHALL be from the specified value set.\">required</a>)</td></tr>\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-2.16.840.1.113883.10.20.22.4.18-definitions.html#Supply.effectiveTime\">effectiveTime</a><a name=\"Supply.effectiveTime\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-SXCM-TS.html\">SXCM_TS</a><span style=\"opacity: 0.5\">, </span><a style=\"opacity: 0.5\" href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-IVL-TS.html\">IVL_TS</a><span style=\"opacity: 0.5\">, </span><a style=\"opacity: 0.5\" href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-EIVL-TS.html\">EIVL_TS</a><span style=\"opacity: 0.5\">, </span><a style=\"opacity: 0.5\" href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-PIVL-TS.html\">PIVL_TS</a><span style=\"opacity: 0.5\">, </span><a style=\"opacity: 0.5\" href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-SXPR-TS.html\">SXPR_TS</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></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-2.16.840.1.113883.10.20.22.4.18-definitions.html#Supply.repeatNumber\">repeatNumber</a><a name=\"Supply.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\">0..1</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-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 &quot;INT&quot; (intent) mood, the repeatNumber defines the number of allowed administrations. For example, a repeatNumber of &quot;3&quot; means that the substance can be administered up to 3 times. In &quot;EVN&quot; (event) mood, the repeatNumber is the number of occurrences. For example, a repeatNumber of &quot;3&quot; in a substance administration event means that the current administration is the 3rd in a series.</td></tr>\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-2.16.840.1.113883.10.20.22.4.18-definitions.html#Supply.quantity\">quantity</a><a name=\"Supply.quantity\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-PQ.html\">PQ</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>\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-2.16.840.1.113883.10.20.22.4.18-definitions.html#Supply.product\">product</a><a name=\"Supply.product\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Element</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>\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_bck101.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_choice.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Choice of Types\" class=\"hierarchy\"/> <a href=\"StructureDefinition-2.16.840.1.113883.10.20.22.4.18-definitions.html#Supply.product.manufacturedProduct\">manufacturedProduct</a><a name=\"Supply.product.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\">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\"/><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_bck1010.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_datatype.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> manufacturedProduct</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-ManufacturedProduct.html\">ManufacturedProduct</a>(<a href=\"StructureDefinition-2.16.840.1.113883.10.20.22.4.23.html\" title=\"Medication Information\">MedicationInformation</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>\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_bck1000.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_datatype.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> manufacturedProduct</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><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-ManufacturedProduct.html\">ManufacturedProduct</a>(<a href=\"StructureDefinition-2.16.840.1.113883.10.20.22.4.54.html\" title=\"Immunization Medication Information\">ImmunizationMedicationInformation</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_bck11.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-2.16.840.1.113883.10.20.22.4.18-definitions.html#Supply.performer\">performer</a><a name=\"Supply.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\">0..1</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"https://build.fhir.org/ig/HL7/CDA-core-2.0//StructureDefinition-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\"/></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_bck101.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-2.16.840.1.113883.10.20.22.4.18-definitions.html#Supply.performer.assignedEntity\">assignedEntity</a><a name=\"Supply.performer.assignedEntity\"> </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-AssignedEntity.html\">AssignedEntity</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_bck1000.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-2.16.840.1.113883.10.20.22.4.18-definitions.html#Supply.performer.assignedEntity.addr\">addr</a><a name=\"Supply.performer.assignedEntity.addr\"> </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=\"padding-left: 3px; padding-right: 3px; color: black; null\" title=\"This element has or is affected by some invariants (1098-10565)\">I</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"StructureDefinition-2.16.840.1.113883.10.20.22.5.2.html\" title=\"http://hl7.org/fhir/cda/StructureDefinition/AD\">USRealmAddressADUSFIELDED</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\">1098-10565: </span>The content of addr **SHALL** be a conformant US Realm Address (AD.US.FIELDED) (2.16.840.1.113883.10.20.22.5.2) (CONF:1098-10565).</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_bck03.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_slice.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Slice Definition\" class=\"hierarchy\"/> <a style=\"font-style: italic\" href=\"StructureDefinition-2.16.840.1.113883.10.20.22.4.18-definitions.html#Supply.entryRelationship\">Slices for entryRelationship</a><a name=\"Supply.entryRelationship\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-style: italic\"/><span style=\"opacity: 0.5; font-style: italic\">0</span><span style=\"opacity: 0.5; font-style: italic\">..</span><span style=\"opacity: 0.5; font-style: italic\">*</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5; font-style: italic\">Element</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-weight:bold; font-style: italic\">Slice: </span><span style=\"font-style: italic\">Unordered, Open by profile:supply</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_bck025.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_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice_item.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-2.16.840.1.113883.10.20.22.4.18-definitions.html#Supply.entryRelationship:supplyOrder\" title=\"Slice supplyOrder\">entryRelationship:supplyOrder</a><a name=\"Supply.entryRelationship\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Element</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>\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_bck0250.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-2.16.840.1.113883.10.20.22.4.18-definitions.html#Supply.entryRelationship:supplyOrder.typeCode\">typeCode</a><a name=\"Supply.entryRelationship.typeCode\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#code\">code</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-weight:bold\">Required Pattern: </span><span style=\"color: darkgreen\">REFR</span></td></tr>\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_bck0240.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-2.16.840.1.113883.10.20.22.4.18-definitions.html#Supply.entryRelationship:supplyOrder.supply\">supply</a><a name=\"Supply.entryRelationship.supply\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"StructureDefinition-2.16.840.1.113883.10.20.22.4.17.html\" title=\"http://hl7.org/fhir/cda/StructureDefinition/Supply\">MedicationSupplyOrder</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><td colspan=\"5\" class=\"hierarchy\"><br/><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"Legend for this format\"><img src=\"http://hl7.org/fhir/R4/help16.png\" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>"
      },
      "url" : "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.18",
      "identifier" : [
        {
          "value" : "urn:hl7ii:2.16.840.1.113883.10.20.22.4.18:2014-06-09"
        }
      ],
      "version" : "2.2",
      "name" : "MedicationDispense",
      "title" : "Medication Dispense",
      "status" : "active",
      "date" : "2022-05-13T15:50:12+00:00",
      "publisher" : "Health Level Seven",
      "contact" : [
        {
          "name" : "HL7 International - Structured Documents",
          "telecom" : [
            {
              "system" : "url",
              "value" : "http://www.hl7.org/Special/committees/structure"
            }
          ]
        }
      ],
      "description" : "This template records the act of supplying medications (i.e., dispensing).",
      "jurisdiction" : [
        {
          "coding" : [
            {
              "system" : "urn:iso:std:iso:3166",
              "code" : "US"
            }
          ]
        }
      ],
      "fhirVersion" : "4.0.1",
      "kind" : "resource",
      "abstract" : false,
      "type" : "Supply",
      "baseDefinition" : "http://hl7.org/fhir/cda/StructureDefinition/Supply",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [
          {
            "id" : "Supply",
            "path" : "Supply",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Base",
              "min" : 0,
              "max" : "*"
            },
            "constraint" : [
              {
                "key" : "1098-9333",
                "severity" : "error",
                "human" : "A supply act  **SHALL** contain one product/Medication Information *OR* one product/Immunization Medication Information template (CONF:1098-9333)."
              }
            ],
            "isModifier" : false
          },
          {
            "id" : "Supply.classCode",
            "path" : "Supply.classCode",
            "representation" : [
              "xmlAttr"
            ],
            "requirements" : "SHALL contain exactly one [1..1] @classCode=\"SPLY\" (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:1098-7451).",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Supply.classCode",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "defaultValueCode" : "SPLY",
            "fixedCode" : "SPLY",
            "binding" : {
              "strength" : "required",
              "valueSet" : "http://terminology.hl7.org/ValueSet/v3-ActClassSupply"
            }
          },
          {
            "id" : "Supply.moodCode",
            "path" : "Supply.moodCode",
            "representation" : [
              "xmlAttr"
            ],
            "requirements" : "SHALL contain exactly one [1..1] @moodCode=\"EVN\" (CodeSystem: HL7ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC) (CONF:1098-7452).",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Supply.moodCode",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "patternCode" : "EVN"
          },
          {
            "id" : "Supply.realmCode",
            "path" : "Supply.realmCode",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Supply.realmCode",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/CS"
              }
            ]
          },
          {
            "id" : "Supply.typeId",
            "path" : "Supply.typeId",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Supply.typeId",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/II"
              }
            ]
          },
          {
            "id" : "Supply.templateId",
            "path" : "Supply.templateId",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "value",
                  "path" : "root"
                },
                {
                  "type" : "value",
                  "path" : "extension"
                }
              ],
              "rules" : "open"
            },
            "definition" : "When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Supply.templateId",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/II"
              }
            ]
          },
          {
            "id" : "Supply.templateId:primary",
            "path" : "Supply.templateId",
            "sliceName" : "primary",
            "definition" : "When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question",
            "requirements" : "SHALL contain exactly one [1..1] templateId (CONF:1098-7453) such that it",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Supply.templateId",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/II"
              }
            ]
          },
          {
            "id" : "Supply.templateId:primary.nullFlavor",
            "path" : "Supply.templateId.nullFlavor",
            "representation" : [
              "xmlAttr"
            ],
            "label" : "Exceptional Value Detail",
            "definition" : "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ANY.nullFlavor",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "binding" : {
              "strength" : "required",
              "valueSet" : "http://terminology.hl7.org/ValueSet/v3-NullFlavor"
            }
          },
          {
            "id" : "Supply.templateId:primary.assigningAuthorityName",
            "path" : "Supply.templateId.assigningAuthorityName",
            "representation" : [
              "xmlAttr"
            ],
            "label" : "Assigning Authority Name",
            "definition" : "A human readable name or mnemonic for the assigning authority. The Assigning Authority Name has no computational value. The purpose of a Assigning Authority Name is to assist an unaided human interpreter of an II value to interpret the authority. Note: no automated processing must depend on the assigning authority name to be present in any form.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "II.assigningAuthorityName",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ]
          },
          {
            "id" : "Supply.templateId:primary.displayable",
            "path" : "Supply.templateId.displayable",
            "representation" : [
              "xmlAttr"
            ],
            "label" : "Displayable",
            "definition" : "Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false).",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "II.displayable",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "boolean"
              }
            ]
          },
          {
            "id" : "Supply.templateId:primary.root",
            "path" : "Supply.templateId.root",
            "representation" : [
              "xmlAttr"
            ],
            "label" : "Root",
            "definition" : "A unique identifier that guarantees the global uniqueness of the instance identifier. The root alone may be the entire instance identifier.",
            "requirements" : "SHALL contain exactly one [1..1] @root=\"2.16.840.1.113883.10.20.22.4.18\" (CONF:1098-10505).",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "II.root",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "patternString" : "2.16.840.1.113883.10.20.22.4.18"
          },
          {
            "id" : "Supply.templateId:primary.extension",
            "path" : "Supply.templateId.extension",
            "representation" : [
              "xmlAttr"
            ],
            "label" : "Extension",
            "definition" : "A character string as a unique identifier within the scope of the identifier root.",
            "requirements" : "SHALL contain exactly one [1..1] @extension=\"2014-06-09\" (CONF:1098-32580).",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "II.extension",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "patternString" : "2014-06-09"
          },
          {
            "id" : "Supply.id",
            "path" : "Supply.id",
            "requirements" : "SHALL contain at least one [1..*] id (CONF:1098-7454).",
            "min" : 1,
            "max" : "*",
            "base" : {
              "path" : "Supply.id",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/II"
              }
            ]
          },
          {
            "id" : "Supply.code",
            "path" : "Supply.code",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Supply.code",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/CD"
              }
            ],
            "binding" : {
              "strength" : "extensible",
              "valueSet" : "http://terminology.hl7.org/ValueSet/v3-ActCode"
            }
          },
          {
            "id" : "Supply.text",
            "path" : "Supply.text",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Supply.text",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/ED"
              }
            ]
          },
          {
            "id" : "Supply.statusCode",
            "path" : "Supply.statusCode",
            "requirements" : "SHALL contain exactly one [1..1] statusCode (CONF:1098-7455).",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Supply.statusCode",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/CS"
              }
            ],
            "binding" : {
              "strength" : "required",
              "valueSet" : "http://terminology.hl7.org/ValueSet/v3-ActStatus"
            }
          },
          {
            "id" : "Supply.statusCode.nullFlavor",
            "path" : "Supply.statusCode.nullFlavor",
            "representation" : [
              "xmlAttr"
            ],
            "label" : "Exceptional Value Detail",
            "definition" : "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "ANY.nullFlavor",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "binding" : {
              "strength" : "required",
              "valueSet" : "http://terminology.hl7.org/ValueSet/v3-NullFlavor"
            }
          },
          {
            "id" : "Supply.statusCode.code",
            "path" : "Supply.statusCode.code",
            "representation" : [
              "xmlAttr"
            ],
            "label" : "Code",
            "definition" : "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.",
            "requirements" : "This statusCode SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Medication Fill Status urn:oid:2.16.840.1.113883.3.88.12.80.64 STATIC 2014-04-23 (CONF:1098-32361).",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "CD.code",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "binding" : {
              "strength" : "required",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.80.64"
            }
          },
          {
            "id" : "Supply.statusCode.codeSystem",
            "path" : "Supply.statusCode.codeSystem",
            "representation" : [
              "xmlAttr"
            ],
            "label" : "Code System",
            "definition" : "Specifies the code system that defines the code.",
            "min" : 0,
            "max" : "0",
            "base" : {
              "path" : "CD.codeSystem",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ]
          },
          {
            "id" : "Supply.statusCode.codeSystemName",
            "path" : "Supply.statusCode.codeSystemName",
            "representation" : [
              "xmlAttr"
            ],
            "label" : "Code System Name",
            "definition" : "The common name of the coding system.",
            "min" : 0,
            "max" : "0",
            "base" : {
              "path" : "CD.codeSystemName",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ]
          },
          {
            "id" : "Supply.statusCode.codeSystemVersion",
            "path" : "Supply.statusCode.codeSystemVersion",
            "representation" : [
              "xmlAttr"
            ],
            "label" : "Code System Version",
            "definition" : "If applicable, a version descriptor defined specifically for the given code system.",
            "min" : 0,
            "max" : "0",
            "base" : {
              "path" : "CD.codeSystemVersion",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ]
          },
          {
            "id" : "Supply.statusCode.displayName",
            "path" : "Supply.statusCode.displayName",
            "representation" : [
              "xmlAttr"
            ],
            "label" : "Display Name",
            "definition" : "A name or title for the code, under which the sending system shows the code value to its users.",
            "min" : 0,
            "max" : "0",
            "base" : {
              "path" : "CD.displayName",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ]
          },
          {
            "id" : "Supply.statusCode.sdtcValueSet",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace",
                "valueUri" : "urn:hl7-org:sdtc"
              },
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name",
                "valueString" : "valueSet"
              }
            ],
            "path" : "Supply.statusCode.sdtcValueSet",
            "representation" : [
              "xmlAttr"
            ],
            "definition" : "The valueSet extension adds an attribute for elements with a CD dataType which indicates the particular value set constraining the coded concept.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "CD.valueSet",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ]
          },
          {
            "id" : "Supply.statusCode.sdtcValueSetVersion",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace",
                "valueUri" : "urn:hl7-org:sdtc"
              },
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name",
                "valueString" : "valueSetVersion"
              }
            ],
            "path" : "Supply.statusCode.sdtcValueSetVersion",
            "representation" : [
              "xmlAttr"
            ],
            "definition" : "The valueSetVersion extension adds an attribute for elements with a CD dataType which indicates the version of the particular value set constraining the coded concept.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "CD.sdtcValueSetVersion",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ]
          },
          {
            "id" : "Supply.statusCode.originalText",
            "path" : "Supply.statusCode.originalText",
            "label" : "Original Text",
            "definition" : "The text or phrase used as the basis for the coding.",
            "min" : 0,
            "max" : "0",
            "base" : {
              "path" : "CD.originalText",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/ED"
              }
            ]
          },
          {
            "id" : "Supply.statusCode.qualifier",
            "path" : "Supply.statusCode.qualifier",
            "label" : "Qualifier",
            "definition" : "Specifies additional codes that increase the specificity of the the primary code.",
            "min" : 0,
            "max" : "0",
            "base" : {
              "path" : "CD.qualifier",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/CR"
              }
            ]
          },
          {
            "id" : "Supply.statusCode.translation",
            "path" : "Supply.statusCode.translation",
            "representation" : [
              "typeAttr"
            ],
            "label" : "Translation",
            "definition" : "A set of other concept descriptors that translate this concept descriptor into other code systems.",
            "min" : 0,
            "max" : "0",
            "base" : {
              "path" : "CD.translation",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/CD"
              }
            ]
          },
          {
            "id" : "Supply.effectiveTime",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype",
                "valueString" : "http://hl7.org/fhir/cda/StructureDefinition/SXCM-TS"
              }
            ],
            "path" : "Supply.effectiveTime",
            "representation" : [
              "typeAttr"
            ],
            "requirements" : "SHOULD contain zero or one [0..1] effectiveTime (CONF:1098-7456).",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Supply.effectiveTime",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/SXCM-TS"
              },
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/IVL-TS"
              },
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/EIVL-TS"
              },
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/PIVL-TS"
              },
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/SXPR-TS"
              }
            ]
          },
          {
            "id" : "Supply.priorityCode",
            "path" : "Supply.priorityCode",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Supply.priorityCode",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/CE"
              }
            ],
            "binding" : {
              "strength" : "extensible",
              "valueSet" : "http://terminology.hl7.org/ValueSet/v3-ActPriority"
            }
          },
          {
            "id" : "Supply.repeatNumber",
            "path" : "Supply.repeatNumber",
            "short" : "In \"INT\" (intent) mood, the repeatNumber defines the number of allowed administrations. For example, a repeatNumber of \"3\" means that the substance can be administered up to 3 times. In \"EVN\" (event) mood, the repeatNumber is the number of occurrences. For example, a repeatNumber of \"3\" in a substance administration event means that the current administration is the 3rd in a series.",
            "requirements" : "SHOULD contain zero or one [0..1] repeatNumber (CONF:1098-7457).",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Supply.repeatNumber",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/IVL-INT"
              }
            ]
          },
          {
            "id" : "Supply.independentInd",
            "path" : "Supply.independentInd",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Supply.independentInd",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/BL"
              }
            ]
          },
          {
            "id" : "Supply.quantity",
            "path" : "Supply.quantity",
            "requirements" : "SHOULD contain zero or one [0..1] quantity (CONF:1098-7458).",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Supply.quantity",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/PQ"
              }
            ]
          },
          {
            "id" : "Supply.expectedUseTime",
            "path" : "Supply.expectedUseTime",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Supply.expectedUseTime",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/IVL-TS"
              }
            ]
          },
          {
            "id" : "Supply.product",
            "path" : "Supply.product",
            "requirements" : "MAY contain zero or one [0..1] product (CONF:1098-7459).",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Supply.product",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Element"
              }
            ]
          },
          {
            "id" : "Supply.product.typeCode",
            "path" : "Supply.product.typeCode",
            "representation" : [
              "xmlAttr"
            ],
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Supply.product.typeCode",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "defaultValueCode" : "PRD",
            "fixedCode" : "PRD",
            "binding" : {
              "strength" : "required",
              "valueSet" : "http://terminology.hl7.org/ValueSet/v3-ParticipationTargetDirect"
            }
          },
          {
            "id" : "Supply.product.manufacturedProduct",
            "path" : "Supply.product.manufacturedProduct",
            "requirements" : "The product, if present, SHALL contain exactly one [1..1] Medication Information (V2) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.23:2014-06-09) (CONF:1098-15607).",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Supply.product.manufacturedProduct",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/ManufacturedProduct",
                "profile" : [
                  "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.23"
                ]
              },
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/ManufacturedProduct",
                "profile" : [
                  "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.54"
                ]
              }
            ]
          },
          {
            "id" : "Supply.subject",
            "path" : "Supply.subject",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Supply.subject",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Element"
              }
            ]
          },
          {
            "id" : "Supply.subject.typeCode",
            "path" : "Supply.subject.typeCode",
            "representation" : [
              "xmlAttr"
            ],
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Supply.subject.typeCode",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "defaultValueCode" : "SBJ",
            "fixedCode" : "SBJ",
            "binding" : {
              "strength" : "required",
              "valueSet" : "http://terminology.hl7.org/ValueSet/v3-ParticipationTargetSubject"
            }
          },
          {
            "id" : "Supply.subject.contextControlCode",
            "path" : "Supply.subject.contextControlCode",
            "representation" : [
              "xmlAttr"
            ],
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Supply.subject.contextControlCode",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "defaultValueCode" : "OP",
            "fixedCode" : "OP",
            "binding" : {
              "strength" : "required",
              "valueSet" : "http://terminology.hl7.org/ValueSet/v3-ContextControl"
            }
          },
          {
            "id" : "Supply.subject.awarenessCode",
            "path" : "Supply.subject.awarenessCode",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Supply.subject.awarenessCode",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/CE"
              }
            ],
            "binding" : {
              "strength" : "extensible",
              "valueSet" : "http://terminology.hl7.org/ValueSet/v3-TargetAwareness"
            }
          },
          {
            "id" : "Supply.subject.relatedSubject",
            "path" : "Supply.subject.relatedSubject",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Supply.subject.relatedSubject",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/RelatedSubject"
              }
            ]
          },
          {
            "id" : "Supply.specimen",
            "path" : "Supply.specimen",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Supply.specimen",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/Specimen"
              }
            ]
          },
          {
            "id" : "Supply.performer",
            "path" : "Supply.performer",
            "requirements" : "MAY contain zero or one [0..1] performer (CONF:1098-7461).",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Supply.performer",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/Performer2"
              }
            ]
          },
          {
            "id" : "Supply.performer.nullFlavor",
            "path" : "Supply.performer.nullFlavor",
            "representation" : [
              "xmlAttr"
            ],
            "label" : "Exceptional Value Detail",
            "definition" : "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Performer2.nullFlavor",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "binding" : {
              "strength" : "required",
              "valueSet" : "http://terminology.hl7.org/ValueSet/v3-NullFlavor"
            }
          },
          {
            "id" : "Supply.performer.typeCode",
            "path" : "Supply.performer.typeCode",
            "representation" : [
              "xmlAttr"
            ],
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Performer2.typeCode",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code",
                "profile" : [
                  "http://hl7.org/fhir/cda/StructureDefinition/cs"
                ]
              }
            ],
            "fixedCode" : "PRF",
            "binding" : {
              "strength" : "required",
              "valueSet" : "http://terminology.hl7.org/ValueSet/v3-ParticipationPhysicalPerformer"
            }
          },
          {
            "id" : "Supply.performer.realmCode",
            "path" : "Supply.performer.realmCode",
            "definition" : "When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Performer2.realmCode",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/CS"
              }
            ]
          },
          {
            "id" : "Supply.performer.typeId",
            "path" : "Supply.performer.typeId",
            "definition" : "When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Performer2.typeId",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/II"
              }
            ]
          },
          {
            "id" : "Supply.performer.templateId",
            "path" : "Supply.performer.templateId",
            "definition" : "When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Performer2.templateId",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/II"
              }
            ]
          },
          {
            "id" : "Supply.performer.functionCode",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace",
                "valueUri" : "urn:hl7-org:sdtc"
              }
            ],
            "path" : "Supply.performer.functionCode",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Performer2.functionCode",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/CE"
              }
            ]
          },
          {
            "id" : "Supply.performer.time",
            "path" : "Supply.performer.time",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Performer2.time",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/IVL-TS"
              }
            ]
          },
          {
            "id" : "Supply.performer.modeCode",
            "path" : "Supply.performer.modeCode",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Performer2.modeCode",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/CE"
              }
            ]
          },
          {
            "id" : "Supply.performer.assignedEntity",
            "path" : "Supply.performer.assignedEntity",
            "requirements" : "The performer, if present, SHALL contain exactly one [1..1] assignedEntity (CONF:1098-7467).",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Performer2.assignedEntity",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/AssignedEntity"
              }
            ]
          },
          {
            "id" : "Supply.performer.assignedEntity.classCode",
            "path" : "Supply.performer.assignedEntity.classCode",
            "representation" : [
              "xmlAttr"
            ],
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "AssignedEntity.classCode",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "defaultValueCode" : "ASSIGNED",
            "fixedCode" : "ASSIGNED",
            "binding" : {
              "strength" : "required",
              "valueSet" : "http://terminology.hl7.org/ValueSet/v3-RoleClassAssignedEntity"
            }
          },
          {
            "id" : "Supply.performer.assignedEntity.templateId",
            "path" : "Supply.performer.assignedEntity.templateId",
            "definition" : "When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "AssignedEntity.templateId",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/II"
              }
            ]
          },
          {
            "id" : "Supply.performer.assignedEntity.id",
            "path" : "Supply.performer.assignedEntity.id",
            "min" : 1,
            "max" : "*",
            "base" : {
              "path" : "AssignedEntity.id",
              "min" : 1,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/II"
              }
            ]
          },
          {
            "id" : "Supply.performer.assignedEntity.sdtcIdentifiedBy",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace",
                "valueUri" : "urn:hl7-org:sdtc"
              },
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name",
                "valueString" : "identifiedBy"
              }
            ],
            "path" : "Supply.performer.assignedEntity.sdtcIdentifiedBy",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "AssignedEntity.sdtcIdentifiedBy",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/IdentifiedBy"
              }
            ]
          },
          {
            "id" : "Supply.performer.assignedEntity.code",
            "path" : "Supply.performer.assignedEntity.code",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "AssignedEntity.code",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/CE"
              }
            ],
            "binding" : {
              "strength" : "extensible",
              "valueSet" : "http://terminology.hl7.org/ValueSet/v3-RoleCode"
            }
          },
          {
            "id" : "Supply.performer.assignedEntity.addr",
            "path" : "Supply.performer.assignedEntity.addr",
            "definition" : "Mailing and home or office addresses. A sequence of address parts, such as street or post office Box, city, postal code, country, etc.",
            "requirements" : "This assignedEntity SHOULD contain zero or one [0..1] US Realm Address (AD.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.2) (CONF:1098-7468).",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "AssignedEntity.addr",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/AD",
                "profile" : [
                  "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.5.2"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "81-7296",
                "severity" : "error",
                "human" : "**SHALL NOT** have mixed content except for white space (CONF:81-7296).",
                "source" : "http://hl7.org/fhir/cda/StructureDefinition/Supply"
              },
              {
                "key" : "1098-10565",
                "severity" : "error",
                "human" : "The content of addr **SHALL** be a conformant US Realm Address (AD.US.FIELDED) (2.16.840.1.113883.10.20.22.5.2) (CONF:1098-10565)."
              }
            ],
            "isModifier" : false
          },
          {
            "id" : "Supply.performer.assignedEntity.telecom",
            "path" : "Supply.performer.assignedEntity.telecom",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "AssignedEntity.telecom",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/TEL"
              }
            ]
          },
          {
            "id" : "Supply.performer.assignedEntity.assignedPerson",
            "path" : "Supply.performer.assignedEntity.assignedPerson",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "AssignedEntity.assignedPerson",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/Person"
              }
            ]
          },
          {
            "id" : "Supply.performer.assignedEntity.representedOrganization",
            "path" : "Supply.performer.assignedEntity.representedOrganization",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "AssignedEntity.representedOrganization",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/Organization"
              }
            ]
          },
          {
            "id" : "Supply.author",
            "path" : "Supply.author",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Supply.author",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/Author"
              }
            ]
          },
          {
            "id" : "Supply.informant",
            "path" : "Supply.informant",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Supply.informant",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Element"
              }
            ]
          },
          {
            "id" : "Supply.informant.typeCode",
            "path" : "Supply.informant.typeCode",
            "representation" : [
              "xmlAttr"
            ],
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Supply.informant.typeCode",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "defaultValueCode" : "INF",
            "fixedCode" : "INF",
            "binding" : {
              "strength" : "required",
              "valueSet" : "http://terminology.hl7.org/ValueSet/v3-ParticipationInformationGenerator"
            }
          },
          {
            "id" : "Supply.informant.contextControlCode",
            "path" : "Supply.informant.contextControlCode",
            "representation" : [
              "xmlAttr"
            ],
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Supply.informant.contextControlCode",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "defaultValueCode" : "OP",
            "fixedCode" : "OP",
            "binding" : {
              "strength" : "required",
              "valueSet" : "http://terminology.hl7.org/ValueSet/v3-ContextControl"
            }
          },
          {
            "id" : "Supply.informant.assignedEntity",
            "path" : "Supply.informant.assignedEntity",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Supply.informant.assignedEntity",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/AssignedEntity"
              }
            ]
          },
          {
            "id" : "Supply.informant.relatedEntity",
            "path" : "Supply.informant.relatedEntity",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Supply.informant.relatedEntity",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/RelatedEntity"
              }
            ]
          },
          {
            "id" : "Supply.participant",
            "path" : "Supply.participant",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Supply.participant",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/Participant2"
              }
            ]
          },
          {
            "id" : "Supply.entryRelationship",
            "path" : "Supply.entryRelationship",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "profile",
                  "path" : "supply"
                }
              ],
              "rules" : "open"
            },
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Supply.entryRelationship",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Element"
              }
            ],
            "constraint" : [
              {
                "key" : "sup-er-1",
                "severity" : "error",
                "human" : "Only one of observation, regionOfInterest, observationMedia, substanceAdministration, supply, procedure, encounter, organizer, and act",
                "expression" : "(observation | regionOfInterest | observationMedia | substanceAdministration | supply | procedure | encounter | organizer | act).count() = 1",
                "source" : "http://hl7.org/fhir/cda/StructureDefinition/Supply"
              }
            ]
          },
          {
            "id" : "Supply.entryRelationship.typeCode",
            "path" : "Supply.entryRelationship.typeCode",
            "representation" : [
              "xmlAttr"
            ],
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Supply.entryRelationship.typeCode",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ]
          },
          {
            "id" : "Supply.entryRelationship.inversionInd",
            "path" : "Supply.entryRelationship.inversionInd",
            "representation" : [
              "xmlAttr"
            ],
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Supply.entryRelationship.inversionInd",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "boolean"
              }
            ]
          },
          {
            "id" : "Supply.entryRelationship.contextConductionInd",
            "path" : "Supply.entryRelationship.contextConductionInd",
            "representation" : [
              "xmlAttr"
            ],
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Supply.entryRelationship.contextConductionInd",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "boolean"
              }
            ],
            "defaultValueBoolean" : true
          },
          {
            "id" : "Supply.entryRelationship.sequenceNumber",
            "path" : "Supply.entryRelationship.sequenceNumber",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Supply.entryRelationship.sequenceNumber",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/INT"
              }
            ]
          },
          {
            "id" : "Supply.entryRelationship.negationInd",
            "path" : "Supply.entryRelationship.negationInd",
            "representation" : [
              "xmlAttr"
            ],
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Supply.entryRelationship.negationInd",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "boolean"
              }
            ]
          },
          {
            "id" : "Supply.entryRelationship.seperatableInd",
            "path" : "Supply.entryRelationship.seperatableInd",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Supply.entryRelationship.seperatableInd",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/BL"
              }
            ]
          },
          {
            "id" : "Supply.entryRelationship.observation",
            "path" : "Supply.entryRelationship.observation",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Supply.entryRelationship.observation",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/Observation"
              }
            ]
          },
          {
            "id" : "Supply.entryRelationship.regionOfInterest",
            "path" : "Supply.entryRelationship.regionOfInterest",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Supply.entryRelationship.regionOfInterest",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/RegionOfInterest"
              }
            ]
          },
          {
            "id" : "Supply.entryRelationship.observationMedia",
            "path" : "Supply.entryRelationship.observationMedia",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Supply.entryRelationship.observationMedia",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/ObservationMedia"
              }
            ]
          },
          {
            "id" : "Supply.entryRelationship.substanceAdministration",
            "path" : "Supply.entryRelationship.substanceAdministration",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Supply.entryRelationship.substanceAdministration",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/SubstanceAdministration"
              }
            ]
          },
          {
            "id" : "Supply.entryRelationship.supply",
            "path" : "Supply.entryRelationship.supply",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Supply.entryRelationship.supply",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/Supply"
              }
            ]
          },
          {
            "id" : "Supply.entryRelationship.procedure",
            "path" : "Supply.entryRelationship.procedure",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Supply.entryRelationship.procedure",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/Procedure"
              }
            ]
          },
          {
            "id" : "Supply.entryRelationship.encounter",
            "path" : "Supply.entryRelationship.encounter",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Supply.entryRelationship.encounter",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/Encounter"
              }
            ]
          },
          {
            "id" : "Supply.entryRelationship.organizer",
            "path" : "Supply.entryRelationship.organizer",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Supply.entryRelationship.organizer",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/Organizer"
              }
            ]
          },
          {
            "id" : "Supply.entryRelationship.act",
            "path" : "Supply.entryRelationship.act",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Supply.entryRelationship.act",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/Act"
              }
            ]
          },
          {
            "id" : "Supply.entryRelationship:supplyOrder",
            "path" : "Supply.entryRelationship",
            "sliceName" : "supplyOrder",
            "requirements" : "MAY contain zero or one [0..1] entryRelationship (CONF:1098-7473) such that it",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Supply.entryRelationship",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Element"
              }
            ],
            "constraint" : [
              {
                "key" : "sup-er-1",
                "severity" : "error",
                "human" : "Only one of observation, regionOfInterest, observationMedia, substanceAdministration, supply, procedure, encounter, organizer, and act",
                "expression" : "(observation | regionOfInterest | observationMedia | substanceAdministration | supply | procedure | encounter | organizer | act).count() = 1",
                "source" : "http://hl7.org/fhir/cda/StructureDefinition/Supply"
              }
            ]
          },
          {
            "id" : "Supply.entryRelationship:supplyOrder.typeCode",
            "path" : "Supply.entryRelationship.typeCode",
            "representation" : [
              "xmlAttr"
            ],
            "requirements" : "SHALL contain exactly one [1..1] @typeCode=\"REFR\" (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:1098-7474).",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Supply.entryRelationship.typeCode",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "patternCode" : "REFR"
          },
          {
            "id" : "Supply.entryRelationship:supplyOrder.inversionInd",
            "path" : "Supply.entryRelationship.inversionInd",
            "representation" : [
              "xmlAttr"
            ],
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Supply.entryRelationship.inversionInd",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "boolean"
              }
            ]
          },
          {
            "id" : "Supply.entryRelationship:supplyOrder.contextConductionInd",
            "path" : "Supply.entryRelationship.contextConductionInd",
            "representation" : [
              "xmlAttr"
            ],
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Supply.entryRelationship.contextConductionInd",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "boolean"
              }
            ],
            "defaultValueBoolean" : true
          },
          {
            "id" : "Supply.entryRelationship:supplyOrder.sequenceNumber",
            "path" : "Supply.entryRelationship.sequenceNumber",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Supply.entryRelationship.sequenceNumber",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/INT"
              }
            ]
          },
          {
            "id" : "Supply.entryRelationship:supplyOrder.negationInd",
            "path" : "Supply.entryRelationship.negationInd",
            "representation" : [
              "xmlAttr"
            ],
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Supply.entryRelationship.negationInd",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "boolean"
              }
            ]
          },
          {
            "id" : "Supply.entryRelationship:supplyOrder.seperatableInd",
            "path" : "Supply.entryRelationship.seperatableInd",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Supply.entryRelationship.seperatableInd",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/BL"
              }
            ]
          },
          {
            "id" : "Supply.entryRelationship:supplyOrder.observation",
            "path" : "Supply.entryRelationship.observation",
            "min" : 0,
            "max" : "0",
            "base" : {
              "path" : "Supply.entryRelationship.observation",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/Observation"
              }
            ]
          },
          {
            "id" : "Supply.entryRelationship:supplyOrder.regionOfInterest",
            "path" : "Supply.entryRelationship.regionOfInterest",
            "min" : 0,
            "max" : "0",
            "base" : {
              "path" : "Supply.entryRelationship.regionOfInterest",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/RegionOfInterest"
              }
            ]
          },
          {
            "id" : "Supply.entryRelationship:supplyOrder.observationMedia",
            "path" : "Supply.entryRelationship.observationMedia",
            "min" : 0,
            "max" : "0",
            "base" : {
              "path" : "Supply.entryRelationship.observationMedia",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/ObservationMedia"
              }
            ]
          },
          {
            "id" : "Supply.entryRelationship:supplyOrder.substanceAdministration",
            "path" : "Supply.entryRelationship.substanceAdministration",
            "min" : 0,
            "max" : "0",
            "base" : {
              "path" : "Supply.entryRelationship.substanceAdministration",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/SubstanceAdministration"
              }
            ]
          },
          {
            "id" : "Supply.entryRelationship:supplyOrder.supply",
            "path" : "Supply.entryRelationship.supply",
            "requirements" : "SHALL contain exactly one [1..1] Medication Supply Order (V2) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.17:2014-06-09) (CONF:1098-15606).",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Supply.entryRelationship.supply",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/Supply",
                "profile" : [
                  "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.17"
                ]
              }
            ],
            "isModifier" : false
          },
          {
            "id" : "Supply.entryRelationship:supplyOrder.procedure",
            "path" : "Supply.entryRelationship.procedure",
            "min" : 0,
            "max" : "0",
            "base" : {
              "path" : "Supply.entryRelationship.procedure",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/Procedure"
              }
            ]
          },
          {
            "id" : "Supply.entryRelationship:supplyOrder.encounter",
            "path" : "Supply.entryRelationship.encounter",
            "min" : 0,
            "max" : "0",
            "base" : {
              "path" : "Supply.entryRelationship.encounter",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/Encounter"
              }
            ]
          },
          {
            "id" : "Supply.entryRelationship:supplyOrder.organizer",
            "path" : "Supply.entryRelationship.organizer",
            "min" : 0,
            "max" : "0",
            "base" : {
              "path" : "Supply.entryRelationship.organizer",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/Organizer"
              }
            ]
          },
          {
            "id" : "Supply.entryRelationship:supplyOrder.act",
            "path" : "Supply.entryRelationship.act",
            "min" : 0,
            "max" : "0",
            "base" : {
              "path" : "Supply.entryRelationship.act",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/Act"
              }
            ]
          },
          {
            "id" : "Supply.reference",
            "path" : "Supply.reference",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Supply.reference",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Element"
              }
            ]
          },
          {
            "id" : "Supply.reference.typeCode",
            "path" : "Supply.reference.typeCode",
            "representation" : [
              "xmlAttr"
            ],
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Supply.reference.typeCode",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ]
          },
          {
            "id" : "Supply.reference.seperatableInd",
            "path" : "Supply.reference.seperatableInd",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Supply.reference.seperatableInd",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/BL"
              }
            ]
          },
          {
            "id" : "Supply.reference.externalAct",
            "path" : "Supply.reference.externalAct",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Supply.reference.externalAct",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/ExternalAct"
              }
            ]
          },
          {
            "id" : "Supply.reference.externalObservation",
            "path" : "Supply.reference.externalObservation",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Supply.reference.externalObservation",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/ExternalObservation"
              }
            ]
          },
          {
            "id" : "Supply.reference.externalProcedure",
            "path" : "Supply.reference.externalProcedure",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Supply.reference.externalProcedure",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/ExternalProcedure"
              }
            ]
          },
          {
            "id" : "Supply.reference.externalDocument",
            "path" : "Supply.reference.externalDocument",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Supply.reference.externalDocument",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/ExternalDocument"
              }
            ]
          },
          {
            "id" : "Supply.precondition",
            "path" : "Supply.precondition",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Supply.precondition",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/Precondition"
              }
            ]
          }
        ]
      },
      "differential" : {
        "element" : [
          {
            "id" : "Supply",
            "path" : "Supply",
            "constraint" : [
              {
                "key" : "1098-9333",
                "severity" : "error",
                "human" : "A supply act  **SHALL** contain one product/Medication Information *OR* one product/Immunization Medication Information template (CONF:1098-9333)."
              }
            ]
          },
          {
            "id" : "Supply.classCode",
            "path" : "Supply.classCode",
            "requirements" : "SHALL contain exactly one [1..1] @classCode=\"SPLY\" (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:1098-7451).",
            "min" : 1,
            "max" : "1"
          },
          {
            "id" : "Supply.moodCode",
            "path" : "Supply.moodCode",
            "requirements" : "SHALL contain exactly one [1..1] @moodCode=\"EVN\" (CodeSystem: HL7ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC) (CONF:1098-7452).",
            "min" : 1,
            "max" : "1",
            "patternCode" : "EVN"
          },
          {
            "id" : "Supply.templateId",
            "path" : "Supply.templateId",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "value",
                  "path" : "root"
                },
                {
                  "type" : "value",
                  "path" : "extension"
                }
              ],
              "rules" : "open"
            }
          },
          {
            "id" : "Supply.templateId:primary",
            "path" : "Supply.templateId",
            "sliceName" : "primary",
            "requirements" : "SHALL contain exactly one [1..1] templateId (CONF:1098-7453) such that it",
            "min" : 1,
            "max" : "1"
          },
          {
            "id" : "Supply.templateId:primary.root",
            "path" : "Supply.templateId.root",
            "requirements" : "SHALL contain exactly one [1..1] @root=\"2.16.840.1.113883.10.20.22.4.18\" (CONF:1098-10505).",
            "min" : 1,
            "max" : "1",
            "patternString" : "2.16.840.1.113883.10.20.22.4.18"
          },
          {
            "id" : "Supply.templateId:primary.extension",
            "path" : "Supply.templateId.extension",
            "requirements" : "SHALL contain exactly one [1..1] @extension=\"2014-06-09\" (CONF:1098-32580).",
            "min" : 1,
            "max" : "1",
            "patternString" : "2014-06-09"
          },
          {
            "id" : "Supply.id",
            "path" : "Supply.id",
            "requirements" : "SHALL contain at least one [1..*] id (CONF:1098-7454).",
            "min" : 1,
            "max" : "*"
          },
          {
            "id" : "Supply.statusCode",
            "path" : "Supply.statusCode",
            "requirements" : "SHALL contain exactly one [1..1] statusCode (CONF:1098-7455).",
            "min" : 1,
            "max" : "1"
          },
          {
            "id" : "Supply.statusCode.code",
            "path" : "Supply.statusCode.code",
            "requirements" : "This statusCode SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Medication Fill Status urn:oid:2.16.840.1.113883.3.88.12.80.64 STATIC 2014-04-23 (CONF:1098-32361).",
            "min" : 1,
            "max" : "1",
            "binding" : {
              "strength" : "required",
              "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.80.64"
            }
          },
          {
            "id" : "Supply.effectiveTime",
            "path" : "Supply.effectiveTime",
            "requirements" : "SHOULD contain zero or one [0..1] effectiveTime (CONF:1098-7456).",
            "min" : 0,
            "max" : "1"
          },
          {
            "id" : "Supply.repeatNumber",
            "path" : "Supply.repeatNumber",
            "short" : "In \"INT\" (intent) mood, the repeatNumber defines the number of allowed administrations. For example, a repeatNumber of \"3\" means that the substance can be administered up to 3 times. In \"EVN\" (event) mood, the repeatNumber is the number of occurrences. For example, a repeatNumber of \"3\" in a substance administration event means that the current administration is the 3rd in a series.",
            "requirements" : "SHOULD contain zero or one [0..1] repeatNumber (CONF:1098-7457).",
            "min" : 0,
            "max" : "1"
          },
          {
            "id" : "Supply.quantity",
            "path" : "Supply.quantity",
            "requirements" : "SHOULD contain zero or one [0..1] quantity (CONF:1098-7458).",
            "min" : 0,
            "max" : "1"
          },
          {
            "id" : "Supply.product",
            "path" : "Supply.product",
            "requirements" : "MAY contain zero or one [0..1] product (CONF:1098-7459).",
            "min" : 0,
            "max" : "1"
          },
          {
            "id" : "Supply.product.manufacturedProduct",
            "path" : "Supply.product.manufacturedProduct",
            "requirements" : "The product, if present, SHALL contain exactly one [1..1] Medication Information (V2) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.23:2014-06-09) (CONF:1098-15607).",
            "min" : 1,
            "max" : "1",
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/ManufacturedProduct",
                "profile" : [
                  "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.23"
                ]
              },
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/ManufacturedProduct",
                "profile" : [
                  "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.54"
                ]
              }
            ]
          },
          {
            "id" : "Supply.performer",
            "path" : "Supply.performer",
            "requirements" : "MAY contain zero or one [0..1] performer (CONF:1098-7461).",
            "min" : 0,
            "max" : "1"
          },
          {
            "id" : "Supply.performer.assignedEntity",
            "path" : "Supply.performer.assignedEntity",
            "requirements" : "The performer, if present, SHALL contain exactly one [1..1] assignedEntity (CONF:1098-7467).",
            "min" : 1,
            "max" : "1"
          },
          {
            "id" : "Supply.performer.assignedEntity.addr",
            "path" : "Supply.performer.assignedEntity.addr",
            "requirements" : "This assignedEntity SHOULD contain zero or one [0..1] US Realm Address (AD.US.FIELDED) (identifier: urn:oid:2.16.840.1.113883.10.20.22.5.2) (CONF:1098-7468).",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/AD",
                "profile" : [
                  "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.5.2"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "1098-10565",
                "severity" : "error",
                "human" : "The content of addr **SHALL** be a conformant US Realm Address (AD.US.FIELDED) (2.16.840.1.113883.10.20.22.5.2) (CONF:1098-10565)."
              }
            ]
          },
          {
            "id" : "Supply.entryRelationship",
            "path" : "Supply.entryRelationship",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "profile",
                  "path" : "supply"
                }
              ],
              "rules" : "open"
            }
          },
          {
            "id" : "Supply.entryRelationship:supplyOrder",
            "path" : "Supply.entryRelationship",
            "sliceName" : "supplyOrder",
            "requirements" : "MAY contain zero or one [0..1] entryRelationship (CONF:1098-7473) such that it",
            "min" : 0,
            "max" : "1"
          },
          {
            "id" : "Supply.entryRelationship:supplyOrder.typeCode",
            "path" : "Supply.entryRelationship.typeCode",
            "requirements" : "SHALL contain exactly one [1..1] @typeCode=\"REFR\" (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:1098-7474).",
            "min" : 1,
            "max" : "1",
            "patternCode" : "REFR"
          },
          {
            "id" : "Supply.entryRelationship:supplyOrder.supply",
            "path" : "Supply.entryRelationship.supply",
            "requirements" : "SHALL contain exactly one [1..1] Medication Supply Order (V2) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.17:2014-06-09) (CONF:1098-15606).",
            "min" : 1,
            "max" : "1",
            "type" : [
              {
                "code" : "http://hl7.org/fhir/cda/StructureDefinition/Supply",
                "profile" : [
                  "http://hl7.org/fhir/cda/ccda/StructureDefinition/2.16.840.1.113883.10.20.22.4.17"
                ]
              }
            ]
          }
        ]
      }
    }