IHE PCC - Routine Interfacility Patient Transport (RIPT)
2.0.0-draft - ci-build

IHE PCC - Routine Interfacility Patient Transport (RIPT), published by IHE Patient Care Coordination. This is not an authorized publication; it is the continuous build for version 2.0.0-draft). This version is based on the current content of https://github.com/IHE/PCC.RIPT/ and changes regularly. See the Directory of published versions

## Resource Profile: IHE_RIPT_Composition - JSON Profile

Active as of 2023-01-27

JSON representation of the IHE.PCC.RIPT.Composition resource profile.

Raw json | Download

    {
      "resourceType" : "StructureDefinition",
      "id" : "IHE.PCC.RIPT.Composition",
      "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=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"The logical name of the element\">Name</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Information about the use of the element\">Flags</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Minimum and Maximum # of times the the element can appear in the instance\">Card.</a></th><th style=\"width: 100px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Reference to the type of the element\">Type</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Additional information about the element\">Description &amp; Constraints</a><span style=\"float: right\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"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_resource.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-IHE.PCC.RIPT.Composition-definitions.html#Composition\">Composition</a><a name=\"Composition\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/uv/ips/STU1/StructureDefinition-Composition-uv-ips.html\">CompositionUvIps</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">International Patient Summary composition</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-IHE.PCC.RIPT.Composition-definitions.html#Composition.subject\">subject</a><a name=\"Composition.subject\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/uv/ips/STU1/StructureDefinition-Patient-uv-ips.html\">Patient (IPS)</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Who and/or what the composition is about</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-IHE.PCC.RIPT.Composition-definitions.html#Composition.section\">section</a><a name=\"Composition.section\"> </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\">3..<span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#BackboneElement\">BackboneElement</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Sections composing the IPS</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_bck15.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_item.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-IHE.PCC.RIPT.Composition-definitions.html#Composition.section:sectionCertificationOfMedicalNecessity\" title=\"Slice sectionCertificationOfMedicalNecessity: The Certification of Medical Necessity section includes the information necessary to document the justification for the medical transport, including the name and role of the person authorizing the medical transport. This information can be used to generate a Certificate of Medical Necessity (CMN) document for signature.\">section:sectionCertificationOfMedicalNecessity</a><a name=\"Composition.section\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#BackboneElement\">BackboneElement</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Certification of Medical Necessity</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_bck151.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_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-IHE.PCC.RIPT.Composition-definitions.html#Composition.section:sectionCertificationOfMedicalNecessity.code\">code</a><a name=\"Composition.section.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=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Classification of section (recommended)</span><br/><span style=\"font-weight:bold\">Required Pattern: </span><span style=\"color: darkgreen\">At least the following</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_bck1501.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_fixed.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Fixed Value\" class=\"hierarchy\"/> <a href=\"http://hl7.org/fhir/R4/datatypes-definitions.html#CodeableConcept.coding\">coding</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 href=\"http://hl7.org/fhir/R4/datatypes.html#Coding\">Coding</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Code defined by a terminology system<br/><span style=\"font-weight: bold\">Fixed Value: </span><span style=\"color: darkgreen\">(complex)</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_bck15010.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline_slice.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_fixed.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Fixed Value\" class=\"hierarchy\"/> <a href=\"http://hl7.org/fhir/R4/datatypes-definitions.html#Coding.system\">system</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#uri\">uri</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Identity of the terminology system<br/><span style=\"font-weight: bold\">Fixed Value: </span><span style=\"color: darkgreen\">http://loinc.org</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_bck15000.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline_slice.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_fixed.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Fixed Value\" class=\"hierarchy\"/> <a href=\"http://hl7.org/fhir/R4/datatypes-definitions.html#Coding.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\"/><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=\"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\">Symbol in syntax defined by the system<br/><span style=\"font-weight: bold\">Fixed Value: </span><span style=\"color: darkgreen\">52016-3</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_bck143.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_slice.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-IHE.PCC.RIPT.Composition-definitions.html#Composition.section:sectionCertificationOfMedicalNecessity.entry\" title=\"Indication of whether a physician certification statement (PCS) is available documenting the medical necessity for the EMS encounter. The Certification of Medical Necessity section includes the information necessary to document the justification for the medical transport, including the name and role of the person authorizing the medical transport. This information can be used to generate a Certificate of Medical Necessity (CMN) document for signature.\">Slices for entry</a><a name=\"Composition.section.entry\"> </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: white; background-color: red; font-style: italic\" title=\"This element must be supported\">S</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-style: italic\"/><span style=\"opacity: 0.5; font-style: italic\">0</span><span style=\"opacity: 0.5; font-style: italic\">..</span><span style=\"opacity: 0.5; font-style: italic\">*</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"font-style: italic\" href=\"http://hl7.org/fhir/R4/references.html\">Reference</a><span style=\"font-style: italic\">(</span><a style=\"opacity: 0.5; font-style: italic\" href=\"http://hl7.org/fhir/R4/resource.html\">Resource</a><span style=\"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=\"font-style: italic\">Medical Necessity Entry</span><br style=\"font-style: italic\"/><span style=\"font-weight:bold; font-style: italic\">Slice: </span><span style=\"font-style: italic\">Unordered, Open by profile:resolve()</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_bck1434.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_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-IHE.PCC.RIPT.Composition-definitions.html#Composition.section:sectionCertificationOfMedicalNecessity.entry:MedicalNecessityEntry\" title=\"Slice MedicalNecessityEntry\">entry:MedicalNecessityEntry</a><a name=\"Composition.section.entry\"> </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: white; background-color: red\" title=\"This element must be supported\">S</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=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"http://hl7.org/fhir/R4/observation.html\">Observation</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">A reference to data that supports this section</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_bck1434.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_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-IHE.PCC.RIPT.Composition-definitions.html#Composition.section:sectionCertificationOfMedicalNecessity.entry:Signature\" title=\"Slice Signature\">entry:Signature</a><a name=\"Composition.section.entry\"> </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: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"http://hl7.org/fhir/R4/observation.html\">Observation</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">A reference to data that supports this section</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_bck1434.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_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-IHE.PCC.RIPT.Composition-definitions.html#Composition.section:sectionCertificationOfMedicalNecessity.entry:SignatureDate\" title=\"Slice SignatureDate\">entry:SignatureDate</a><a name=\"Composition.section.entry\"> </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: white; background-color: red\" title=\"This element must be supported\">S</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=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"http://hl7.org/fhir/R4/observation.html\">Observation</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">A reference to data that supports this section</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_bck1434.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_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-IHE.PCC.RIPT.Composition-definitions.html#Composition.section:sectionCertificationOfMedicalNecessity.entry:SignerProviderType\" title=\"Slice SignerProviderType\">entry:SignerProviderType</a><a name=\"Composition.section.entry\"> </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: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"http://hl7.org/fhir/R4/practitionerrole.html\">PractitionerRole</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">A reference to data that supports this section</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_bck1434.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_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-IHE.PCC.RIPT.Composition-definitions.html#Composition.section:sectionCertificationOfMedicalNecessity.entry:SignerName\" title=\"Slice SignerName\">entry:SignerName</a><a name=\"Composition.section.entry\"> </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: white; background-color: red\" title=\"This element must be supported\">S</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=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"http://hl7.org/fhir/R4/practitioner.html\">Practitioner</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">A reference to data that supports this section</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_bck1434.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_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-IHE.PCC.RIPT.Composition-definitions.html#Composition.section:sectionCertificationOfMedicalNecessity.entry:Justification\" title=\"Slice Justification\">entry:Justification</a><a name=\"Composition.section.entry\"> </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: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"http://hl7.org/fhir/R4/observation.html\">Observation</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">A reference to data that supports this section</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_bck1434.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_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-IHE.PCC.RIPT.Composition-definitions.html#Composition.section:sectionCertificationOfMedicalNecessity.entry:ReasonForTransport\" title=\"Slice ReasonForTransport\">entry:ReasonForTransport</a><a name=\"Composition.section.entry\"> </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: white; background-color: red\" title=\"This element must be supported\">S</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=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"http://hl7.org/fhir/R4/observation.html\">Observation</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">A reference to data that supports this section</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_bck1434.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_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-IHE.PCC.RIPT.Composition-definitions.html#Composition.section:sectionCertificationOfMedicalNecessity.entry:PriorAuthorizationCode\" title=\"Slice PriorAuthorizationCode\">entry:PriorAuthorizationCode</a><a name=\"Composition.section.entry\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"http://hl7.org/fhir/R4/observation.html\">Observation</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">A reference to data that supports this section</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_bck1424.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_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-IHE.PCC.RIPT.Composition-definitions.html#Composition.section:sectionCertificationOfMedicalNecessity.entry:PriorAuthorizationCodePayer\" title=\"Slice PriorAuthorizationCodePayer\">entry:PriorAuthorizationCodePayer</a><a name=\"Composition.section.entry\"> </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 href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"http://hl7.org/fhir/R4/observation.html\">Observation</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">A reference to data that supports this section</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_bck15.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_item.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-IHE.PCC.RIPT.Composition-definitions.html#Composition.section:sectionCoverage\" title=\"Slice sectionCoverage: The insurance information for the patient to cover the encounter event.\">section:sectionCoverage</a><a name=\"Composition.section\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#BackboneElement\">BackboneElement</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Insurance Section</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_bck151.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_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-IHE.PCC.RIPT.Composition-definitions.html#Composition.section:sectionCoverage.code\">code</a><a name=\"Composition.section.code\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Classification of section (recommended)</span><br/><span style=\"font-weight:bold\">Required Pattern: </span><span style=\"color: darkgreen\">At least the following</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_bck1501.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_fixed.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Fixed Value\" class=\"hierarchy\"/> <a href=\"http://hl7.org/fhir/R4/datatypes-definitions.html#CodeableConcept.coding\">coding</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..*</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#Coding\">Coding</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Code defined by a terminology system<br/><span style=\"font-weight: bold\">Fixed Value: </span><span style=\"color: darkgreen\">(complex)</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_bck15010.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline_slice.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_fixed.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Fixed Value\" class=\"hierarchy\"/> <a href=\"http://hl7.org/fhir/R4/datatypes-definitions.html#Coding.system\">system</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=\"http://hl7.org/fhir/R4/datatypes.html#uri\">uri</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Identity of the terminology system<br/><span style=\"font-weight: bold\">Fixed Value: </span><span style=\"color: darkgreen\">http://loinc.org</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_bck15000.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline_slice.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_fixed.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Fixed Value\" class=\"hierarchy\"/> <a href=\"http://hl7.org/fhir/R4/datatypes-definitions.html#Coding.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\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/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\">Symbol in syntax defined by the system<br/><span style=\"font-weight: bold\">Fixed Value: </span><span style=\"color: darkgreen\">48768-6</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_bck143.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_slice.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-IHE.PCC.RIPT.Composition-definitions.html#Composition.section:sectionCoverage.entry\" title=\"Contains data on the patient's payers, whether a 'third party' insurance, self-pay, other payer or guarantor, or some combination of payers, and is used to define which entity is the responsible fiduciary for the financial aspects of a patient's care\">Slices for entry</a><a name=\"Composition.section.entry\"> </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: white; background-color: red; font-style: italic\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-style: italic\"/><span style=\"opacity: 0.5; font-style: italic\">0</span><span style=\"font-style: italic\">..</span><span style=\"font-style: italic\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"font-style: italic\" href=\"http://hl7.org/fhir/R4/references.html\">Reference</a><span style=\"font-style: italic\">(</span><a style=\"font-style: italic\" href=\"http://hl7.org/fhir/R4/coverage.html\">Coverage</a><span style=\"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\"><span style=\"font-style: italic\">the Patient's insurance information</span><br style=\"font-style: italic\"/><span style=\"font-weight:bold; font-style: italic\">Slice: </span><span style=\"font-style: italic\">Unordered, Open by profile:resolve()</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_bck1424.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_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-IHE.PCC.RIPT.Composition-definitions.html#Composition.section:sectionCoverage.entry:Coverage\" title=\"Slice Coverage\">entry:Coverage</a><a name=\"Composition.section.entry\"> </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: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/resource.html\">Resource</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">A reference to data that supports this section</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_bck15.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_item.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-IHE.PCC.RIPT.Composition-definitions.html#Composition.section:sectionReasonForReferral\" title=\"Slice sectionReasonForReferral: This section shall include at least one entry describing the reason for referral as described in the Entry Content Module. \">section:sectionReasonForReferral</a><a name=\"Composition.section\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#BackboneElement\">BackboneElement</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Reason for Referral</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_bck151.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_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-IHE.PCC.RIPT.Composition-definitions.html#Composition.section:sectionReasonForReferral.code\">code</a><a name=\"Composition.section.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=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Classification of section (recommended)</span><br/><span style=\"font-weight:bold\">Required Pattern: </span><span style=\"color: darkgreen\">At least the following</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_bck1501.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_fixed.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Fixed Value\" class=\"hierarchy\"/> <a href=\"http://hl7.org/fhir/R4/datatypes-definitions.html#CodeableConcept.coding\">coding</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 href=\"http://hl7.org/fhir/R4/datatypes.html#Coding\">Coding</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Code defined by a terminology system<br/><span style=\"font-weight: bold\">Fixed Value: </span><span style=\"color: darkgreen\">(complex)</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_bck15010.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline_slice.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_fixed.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Fixed Value\" class=\"hierarchy\"/> <a href=\"http://hl7.org/fhir/R4/datatypes-definitions.html#Coding.system\">system</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#uri\">uri</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Identity of the terminology system<br/><span style=\"font-weight: bold\">Fixed Value: </span><span style=\"color: darkgreen\">http://loinc.org</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_bck15000.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline_slice.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_fixed.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Fixed Value\" class=\"hierarchy\"/> <a href=\"http://hl7.org/fhir/R4/datatypes-definitions.html#Coding.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\"/><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=\"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\">Symbol in syntax defined by the system<br/><span style=\"font-weight: bold\">Fixed Value: </span><span style=\"color: darkgreen\">42349-1</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_bck143.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_slice.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-IHE.PCC.RIPT.Composition-definitions.html#Composition.section:sectionReasonForReferral.entry\" title=\"Indication of whether a physician certification statement (PCS) is available documenting the medical necessity for the EMS encounter. The Certification of Medical Necessity section includes the information necessary to document the justification for the medical transport, including the name and role of the person authorizing the medical transport. This information can be used to generate a Certificate of Medical Necessity (CMN) document for signature.\">Slices for entry</a><a name=\"Composition.section.entry\"> </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: white; background-color: red; font-style: italic\" title=\"This element must be supported\">S</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-style: italic\"/><span style=\"font-style: italic\">2</span><span style=\"font-style: italic\">..</span><span style=\"font-style: italic\">2</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"font-style: italic\" href=\"http://hl7.org/fhir/R4/references.html\">Reference</a><span style=\"font-style: italic\">(</span><a style=\"opacity: 0.5; font-style: italic\" href=\"http://hl7.org/fhir/R4/resource.html\">Resource</a><span style=\"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=\"font-style: italic\">Certification of Medical Necessity</span><br style=\"font-style: italic\"/><span style=\"font-weight:bold; font-style: italic\">Slice: </span><span style=\"font-style: italic\">Unordered, Open by profile:resolve()</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_bck1434.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_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-IHE.PCC.RIPT.Composition-definitions.html#Composition.section:sectionReasonForReferral.entry:SimpleObservations\" title=\"Slice SimpleObservations\">entry:SimpleObservations</a><a name=\"Composition.section.entry\"> </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: white; background-color: red\" title=\"This element must be supported\">S</span></td><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=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"http://hl7.org/fhir/R4/observation.html\">Observation</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">A reference to data that supports this section</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_bck1424.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_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-IHE.PCC.RIPT.Composition-definitions.html#Composition.section:sectionReasonForReferral.entry:ConditionsEntry\" title=\"Slice ConditionsEntry\">entry:ConditionsEntry</a><a name=\"Composition.section.entry\"> </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: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"http://hl7.org/fhir/uv/ips/STU1/StructureDefinition-Condition-uv-ips.html\">Condition (IPS)</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">A reference to data that supports this section</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_bck05.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_item.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-IHE.PCC.RIPT.Composition-definitions.html#Composition.section:sectionTransportInstructions\" title=\"Slice sectionTransportInstructions: This section contains narrative information provided by the patient’s care provider(s) to indicate any care that should be rendered during the transport.\">section:sectionTransportInstructions</a><a name=\"Composition.section\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#BackboneElement\">BackboneElement</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Transport Instructions</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_bck051.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_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-IHE.PCC.RIPT.Composition-definitions.html#Composition.section:sectionTransportInstructions.code\">code</a><a name=\"Composition.section.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=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Classification of section (recommended)</span><br/><span style=\"font-weight:bold\">Required Pattern: </span><span style=\"color: darkgreen\">At least the following</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_bck0501.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_vline_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_fixed.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Fixed Value\" class=\"hierarchy\"/> <a href=\"http://hl7.org/fhir/R4/datatypes-definitions.html#CodeableConcept.coding\">coding</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 href=\"http://hl7.org/fhir/R4/datatypes.html#Coding\">Coding</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Code defined by a terminology system<br/><span style=\"font-weight: bold\">Fixed Value: </span><span style=\"color: darkgreen\">(complex)</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_bck05010.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_vline_slice.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_fixed.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Fixed Value\" class=\"hierarchy\"/> <a href=\"http://hl7.org/fhir/R4/datatypes-definitions.html#Coding.system\">system</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#uri\">uri</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Identity of the terminology system<br/><span style=\"font-weight: bold\">Fixed Value: </span><span style=\"color: darkgreen\">http://loinc.org</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_bck05000.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_vline_slice.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_fixed.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Fixed Value\" class=\"hierarchy\"/> <a href=\"http://hl7.org/fhir/R4/datatypes-definitions.html#Coding.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\"/><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=\"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\">Symbol in syntax defined by the system<br/><span style=\"font-weight: bold\">Fixed Value: </span><span style=\"color: darkgreen\">74213-0</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_bck043.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_slice.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-IHE.PCC.RIPT.Composition-definitions.html#Composition.section:sectionTransportInstructions.entry\" title=\"This section contains information provided by the patient’s care provider(s) to indicate any care that should be rendered during the transport and the Destination information.\">Slices for entry</a><a name=\"Composition.section.entry\"> </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: white; background-color: red; font-style: italic\" title=\"This element must be supported\">S</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-style: italic\"/><span style=\"opacity: 0.5; font-style: italic\">0</span><span style=\"opacity: 0.5; font-style: italic\">..</span><span style=\"opacity: 0.5; font-style: italic\">*</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"font-style: italic\" href=\"http://hl7.org/fhir/R4/references.html\">Reference</a><span style=\"font-style: italic\">(</span><a style=\"opacity: 0.5; font-style: italic\" href=\"http://hl7.org/fhir/R4/resource.html\">Resource</a><span style=\"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=\"font-style: italic\">Transport Instructions Section Entries</span><br style=\"font-style: italic\"/><span style=\"font-weight:bold; font-style: italic\">Slice: </span><span style=\"font-style: italic\">Unordered, Open by profile:resolve()</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_bck0434.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_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-IHE.PCC.RIPT.Composition-definitions.html#Composition.section:sectionTransportInstructions.entry:TrasnportInstructions\" title=\"Slice TrasnportInstructions\">entry:TrasnportInstructions</a><a name=\"Composition.section.entry\"> </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: white; background-color: red\" title=\"This element must be supported\">S</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=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/resource.html\">Resource</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">A reference to data that supports this section</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_bck0424.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_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-IHE.PCC.RIPT.Composition-definitions.html#Composition.section:sectionTransportInstructions.entry:DestinationInformation\" title=\"Slice DestinationInformation\">entry:DestinationInformation</a><a name=\"Composition.section.entry\"> </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: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"http://hl7.org/fhir/R4/location.html\">Location</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">A reference to data that supports this section</span></td></tr>\r\n<tr><td colspan=\"5\" class=\"hierarchy\"><br/><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"http://hl7.org/fhir/R4/help16.png\" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>"
      },
      "url" : "http://profiles.ihe.net/PCC/RIPT/StructureDefinition/IHE.PCC.RIPT.Composition",
      "version" : "2.0.0-draft",
      "name" : "IHE_RIPT_Composition",
      "title" : "Refferal For Interfacility Patient Transport",
      "status" : "active",
      "date" : "2023-01-27T14:18:07+00:00",
      "publisher" : "IHE Patient Care Coordination",
      "contact" : [
        {
          "telecom" : [
            {
              "system" : "url",
              "value" : "https://www.ihe.net/ihe_domains/patient_care_coordination/"
            }
          ]
        },
        {
          "telecom" : [
            {
              "system" : "email",
              "value" : "pcc@ihe.net"
            }
          ]
        },
        {
          "name" : "IHE Patient Care Coordination",
          "telecom" : [
            {
              "system" : "email",
              "value" : "pcc@ihe.net"
            }
          ]
        }
      ],
      "description" : "composition of the FHIR elements that are used to build the FHIR Document for the Refferal For Interfacility Patient Transport document.\nthe following cardinalities follow the documentation in the RIPT profile: \n- RE 0..1 IPS Advance Directives \n- R 1..1 IPS Allergies and Intolerances\n- R 1..1 IPS Medication Summary\n- RE 0..1 IPS History of Past Illness\n- R 1..1 IPS Functional Status\n- RE 0..1 IPS History of Procedures\n- O 0..1 Immunizations\n- O 0..1 IPS Medical Devices\n- RE 0..1 IPS Problems\n- O 0..1 IPS Results\n- RE 0..1 IPS Vital Signs\n- RE 0..1 IPS History of Pregnancy\n- O 0..1 IPS Plan of Care\n- O 0..1 Payor \n- RE 0..1 Coded Reason for Referral\n- RE 0..1 Transport Instructions",
      "jurisdiction" : [
        {
          "coding" : [
            {
              "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
              "code" : "001"
            }
          ]
        }
      ],
      "fhirVersion" : "4.0.1",
      "mapping" : [
        {
          "identity" : "workflow",
          "uri" : "http://hl7.org/fhir/workflow",
          "name" : "Workflow Pattern"
        },
        {
          "identity" : "rim",
          "uri" : "http://hl7.org/v3",
          "name" : "RIM Mapping"
        },
        {
          "identity" : "cda",
          "uri" : "http://hl7.org/v3/cda",
          "name" : "CDA (R2)"
        },
        {
          "identity" : "fhirdocumentreference",
          "uri" : "http://hl7.org/fhir/documentreference",
          "name" : "FHIR DocumentReference"
        },
        {
          "identity" : "w5",
          "uri" : "http://hl7.org/fhir/fivews",
          "name" : "FiveWs Pattern Mapping"
        }
      ],
      "kind" : "resource",
      "abstract" : false,
      "type" : "Composition",
      "baseDefinition" : "http://hl7.org/fhir/uv/ips/StructureDefinition/Composition-uv-ips",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [
          {
            "id" : "Composition",
            "path" : "Composition",
            "short" : "International Patient Summary composition",
            "definition" : "International Patient Summary composition. \r\nA composition is a set of healthcare-related information that is assembled together into a single logical document that provides a single coherent statement of meaning, establishes its own context and that has clinical attestation with regard to who is making the statement. \r\nWhile a Composition defines the structure, it does not actually contain the content: rather the full content of a document is contained in a Bundle, of which the Composition is the first resource contained.",
            "comment" : "While the focus of this specification is on patient-specific clinical statements, this resource can also apply to other healthcare-related statements such as study protocol designs, healthcare invoices and other activities that are not necessarily patient-specific or clinical.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition",
              "min" : 0,
              "max" : "*"
            },
            "constraint" : [
              {
                "key" : "dom-2",
                "severity" : "error",
                "human" : "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
                "expression" : "contained.contained.empty()",
                "xpath" : "not(parent::f:contained and f:contained)",
                "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
              },
              {
                "key" : "dom-3",
                "severity" : "error",
                "human" : "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource",
                "expression" : "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()",
                "xpath" : "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))",
                "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
              },
              {
                "key" : "dom-4",
                "severity" : "error",
                "human" : "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
                "expression" : "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
                "xpath" : "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
                "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
              },
              {
                "key" : "dom-5",
                "severity" : "error",
                "human" : "If a resource is contained in another resource, it SHALL NOT have a security label",
                "expression" : "contained.meta.security.empty()",
                "xpath" : "not(exists(f:contained/*/f:meta/f:security))",
                "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
              },
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
                    "valueBoolean" : true
                  },
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation",
                    "valueMarkdown" : "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."
                  }
                ],
                "key" : "dom-6",
                "severity" : "warning",
                "human" : "A resource should have narrative for robust management",
                "expression" : "text.`div`.exists()",
                "xpath" : "exists(f:text/h:div)",
                "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "Entity. Role, or Act"
              },
              {
                "identity" : "workflow",
                "map" : "Event"
              },
              {
                "identity" : "rim",
                "map" : "Document[classCode=\"DOC\" and moodCode=\"EVN\" and isNormalAct()]"
              },
              {
                "identity" : "cda",
                "map" : "ClinicalDocument"
              },
              {
                "identity" : "fhirdocumentreference",
                "map" : "when described by DocumentReference"
              }
            ]
          },
          {
            "id" : "Composition.id",
            "path" : "Composition.id",
            "short" : "Logical id of this artifact",
            "definition" : "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
            "comment" : "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Resource.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                    "valueUrl" : "id"
                  }
                ],
                "code" : "http://hl7.org/fhirpath/System.String"
              }
            ],
            "isModifier" : false,
            "isSummary" : true
          },
          {
            "id" : "Composition.meta",
            "path" : "Composition.meta",
            "short" : "Metadata about the resource",
            "definition" : "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Resource.meta",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Meta"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : true
          },
          {
            "id" : "Composition.implicitRules",
            "path" : "Composition.implicitRules",
            "short" : "A set of rules under which this content was created",
            "definition" : "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.",
            "comment" : "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Resource.implicitRules",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "uri"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : true,
            "isModifierReason" : "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation",
            "isSummary" : true
          },
          {
            "id" : "Composition.language",
            "path" : "Composition.language",
            "short" : "Language of the resource content",
            "definition" : "The base language in which the resource is written.",
            "comment" : "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Resource.language",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
                  "valueCanonical" : "http://hl7.org/fhir/ValueSet/all-languages"
                },
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "Language"
                },
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
                  "valueBoolean" : true
                }
              ],
              "strength" : "preferred",
              "description" : "A human language.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/languages"
            }
          },
          {
            "id" : "Composition.text",
            "path" : "Composition.text",
            "short" : "Text summary of the resource, for human interpretation",
            "definition" : "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
            "comment" : "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.",
            "alias" : [
              "narrative",
              "html",
              "xhtml",
              "display"
            ],
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "DomainResource.text",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Narrative"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "Act.text?"
              }
            ]
          },
          {
            "id" : "Composition.contained",
            "path" : "Composition.contained",
            "short" : "Contained, inline Resources",
            "definition" : "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
            "comment" : "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.",
            "alias" : [
              "inline resources",
              "anonymous resources",
              "contained resources"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "DomainResource.contained",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Resource"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "Composition.extension",
            "path" : "Composition.extension",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "value",
                  "path" : "url"
                }
              ],
              "ordered" : false,
              "rules" : "open"
            },
            "short" : "Extension",
            "definition" : "An Extension",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "DomainResource.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : false,
            "isSummary" : false
          },
          {
            "id" : "Composition.extension:versionNumber",
            "path" : "Composition.extension",
            "sliceName" : "versionNumber",
            "short" : "Version-specific identifier for composition",
            "definition" : "Version specific identifier for the composition, assigned when each version is created/updated.",
            "comment" : "While each resource, including the composition itself, has its own version identifier, this is a formal identifier for the logical version of the composition as a whole. It would remain constant if the resources were moved to a new server, and all got new individual resource versions, for example.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "DomainResource.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension",
                "profile" : [
                  "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber"
                ]
              }
            ],
            "condition" : [
              "ele-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : false
          },
          {
            "id" : "Composition.modifierExtension",
            "path" : "Composition.modifierExtension",
            "short" : "Extensions that cannot be ignored",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).",
            "alias" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "DomainResource.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : true,
            "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them",
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "Composition.identifier",
            "path" : "Composition.identifier",
            "short" : "Version-independent identifier for the Composition",
            "definition" : "A version-independent identifier for the Composition. This identifier stays constant as the composition is changed over time.",
            "comment" : "Similar to ClinicalDocument/setId in CDA. See discussion in resource definition for how these relate.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.identifier",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Identifier"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "workflow",
                "map" : "Event.identifier"
              },
              {
                "identity" : "w5",
                "map" : "FiveWs.identifier"
              },
              {
                "identity" : "rim",
                "map" : "Document.id / Document.setId"
              },
              {
                "identity" : "cda",
                "map" : ".setId"
              },
              {
                "identity" : "fhirdocumentreference",
                "map" : "DocumentReference.masterIdentifier"
              }
            ]
          },
          {
            "id" : "Composition.status",
            "path" : "Composition.status",
            "short" : "preliminary | final | amended | entered-in-error",
            "definition" : "The workflow/clinical status of this composition. The status is a marker for the clinical standing of the document.",
            "comment" : "If a composition is marked as withdrawn, the compositions/documents in the series, or data from the composition or document series, should never be displayed to a user without being clearly marked as untrustworthy. The flag \"entered-in-error\" is why this element is labeled as a modifier of other elements.   \n\nSome reporting work flows require that the original narrative of a final document never be altered; instead, only new narrative can be added. The composition resource has no explicit status for explicitly noting whether this business rule is in effect. This would be handled by an extension if required.",
            "requirements" : "Need to be able to mark interim, amended, or withdrawn compositions or documents.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.status",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : true,
            "isModifierReason" : "This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid",
            "isSummary" : true,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "CompositionStatus"
                }
              ],
              "strength" : "required",
              "description" : "The workflow/clinical status of the composition.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/composition-status|4.0.1"
            },
            "mapping" : [
              {
                "identity" : "workflow",
                "map" : "Event.status"
              },
              {
                "identity" : "w5",
                "map" : "FiveWs.status"
              },
              {
                "identity" : "rim",
                "map" : "interim: .completionCode=\"IN\" & ./statusCode[isNormalDatatype()]=\"active\";  final: .completionCode=\"AU\" &&  ./statusCode[isNormalDatatype()]=\"complete\" and not(./inboundRelationship[typeCode=\"SUBJ\" and isNormalActRelationship()]/source[subsumesCode(\"ActClass#CACT\") and moodCode=\"EVN\" and domainMember(\"ReviseComposition\", code) and isNormalAct()]);  amended: .completionCode=\"AU\" &&  ./statusCode[isNormalDatatype()]=\"complete\" and ./inboundRelationship[typeCode=\"SUBJ\" and isNormalActRelationship()]/source[subsumesCode(\"ActClass#CACT\") and moodCode=\"EVN\" and domainMember(\"ReviseComposition\", code) and isNormalAct() and statusCode=\"completed\"];  withdrawn : .completionCode=NI &&  ./statusCode[isNormalDatatype()]=\"obsolete\""
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              },
              {
                "identity" : "fhirdocumentreference",
                "map" : "DocumentReference.status"
              }
            ]
          },
          {
            "id" : "Composition.type",
            "path" : "Composition.type",
            "short" : "Kind of composition (\"Patient Summary\")",
            "definition" : "Specifies that this composition refers to a Patient Summary (Loinc \"60591-5\")\r\n",
            "comment" : "Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.",
            "requirements" : "Key metadata element describing the composition, used in searching/filtering.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.type",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept",
                "profile" : [
                  "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
                ]
              }
            ],
            "patternCodeableConcept" : {
              "coding" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "60591-5"
                }
              ]
            },
            "condition" : [
              "ele-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "DocumentType"
                }
              ],
              "strength" : "preferred",
              "description" : "Type of a composition.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/doc-typecodes"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              },
              {
                "identity" : "v2",
                "map" : "CE/CNE/CWE"
              },
              {
                "identity" : "rim",
                "map" : "CD"
              },
              {
                "identity" : "orim",
                "map" : "fhir:CodeableConcept rdfs:subClassOf dt:CD"
              }
            ]
          },
          {
            "id" : "Composition.category",
            "path" : "Composition.category",
            "short" : "Categorization of Composition",
            "definition" : "A categorization for the type of the composition - helps for indexing and searching. This may be implied by or derived from the code specified in the Composition Type.",
            "comment" : "This is a metadata field from [XDS/MHD](http://wiki.ihe.net/index.php?title=Mobile_access_to_Health_Documents_(MHD)).",
            "requirements" : "Helps humans to assess whether the composition is of interest when viewing an index of compositions or documents.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.category",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : true,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "DocumentCategory"
                }
              ],
              "strength" : "example",
              "description" : "High-level kind of a clinical document at a macro level.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/document-classcodes"
            },
            "mapping" : [
              {
                "identity" : "workflow",
                "map" : "Event.subject"
              },
              {
                "identity" : "w5",
                "map" : "FiveWs.class"
              },
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              },
              {
                "identity" : "fhirdocumentreference",
                "map" : "DocumenttReference.category"
              }
            ]
          },
          {
            "id" : "Composition.subject",
            "path" : "Composition.subject",
            "short" : "Who and/or what the composition is about",
            "definition" : "Who or what the composition is about. \r\nIn general a composition can be about a person, (patient or healthcare practitioner), a device (e.g. a machine) or even a group of subjects (such as a document about a herd of livestock, or a set of patients that share a common exposure).\r\nFor the IPS the subject is always the patient.",
            "comment" : "For clinical documents, this is usually the patient.",
            "requirements" : "Essential metadata for searching for the composition. Identifies who and/or what the composition/document is about.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.subject",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/uv/ips/StructureDefinition/Patient-uv-ips"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "FiveWs.subject[x]"
              },
              {
                "identity" : "rim",
                "map" : ".participation[typeCode=\"SBJ\"].role[typeCode=\"PAT\"]"
              },
              {
                "identity" : "cda",
                "map" : ".recordTarget"
              },
              {
                "identity" : "fhirdocumentreference",
                "map" : "DocumentReference.subject"
              },
              {
                "identity" : "w5",
                "map" : "FiveWs.subject"
              }
            ]
          },
          {
            "id" : "Composition.subject.id",
            "path" : "Composition.subject.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "Unique id for inter-element referencing",
            "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                    "valueUrl" : "string"
                  }
                ],
                "code" : "http://hl7.org/fhirpath/System.String"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.subject.extension",
            "path" : "Composition.subject.extension",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "value",
                  "path" : "url"
                }
              ],
              "description" : "Extensions are always sliced by (at least) url",
              "rules" : "open"
            },
            "short" : "Additional content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "alias" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.subject.reference",
            "path" : "Composition.subject.reference",
            "short" : "Literal reference, Relative, internal or absolute URL",
            "definition" : "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.",
            "comment" : "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries.   Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Reference.reference",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "condition" : [
              "ref-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "Composition.subject.type",
            "path" : "Composition.subject.type",
            "short" : "Type the reference refers to (e.g. \"Patient\")",
            "definition" : "The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).",
            "comment" : "This element is used to indicate the type of  the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Reference.type",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "uri"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : true,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "FHIRResourceTypeExt"
                }
              ],
              "strength" : "extensible",
              "description" : "Aa resource (or, for logical models, the URI of the logical model).",
              "valueSet" : "http://hl7.org/fhir/ValueSet/resource-types"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "Composition.subject.identifier",
            "path" : "Composition.subject.identifier",
            "short" : "Logical reference, when literal reference is not known",
            "definition" : "An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.",
            "comment" : "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.\n\nReference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference.  For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport).  One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Reference.identifier",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Identifier"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".identifier"
              }
            ]
          },
          {
            "id" : "Composition.subject.display",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
                "valueBoolean" : true
              }
            ],
            "path" : "Composition.subject.display",
            "short" : "Text alternative for the resource",
            "definition" : "Plain text narrative that identifies the resource in addition to the resource reference.",
            "comment" : "This is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Reference.display",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "Composition.encounter",
            "path" : "Composition.encounter",
            "short" : "Context of the Composition",
            "definition" : "Describes the clinical encounter or type of care this documentation is associated with.",
            "requirements" : "Provides context for the composition and supports searching.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.encounter",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Encounter"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "workflow",
                "map" : "Event.context"
              },
              {
                "identity" : "w5",
                "map" : "FiveWs.context"
              },
              {
                "identity" : "rim",
                "map" : "unique(highest(./outboundRelationship[typeCode=\"SUBJ\" and isNormalActRelationship()], priorityNumber)/target[moodCode=\"EVN\" and classCode=(\"ENC\", \"PCPR\") and isNormalAct])"
              },
              {
                "identity" : "cda",
                "map" : ".componentOf.encompassingEncounter"
              },
              {
                "identity" : "fhirdocumentreference",
                "map" : "DocumentReference.context.encounter"
              }
            ]
          },
          {
            "id" : "Composition.date",
            "path" : "Composition.date",
            "short" : "Composition editing time",
            "definition" : "The composition editing time, when the composition was last logically changed by the author.",
            "comment" : "The Last Modified Date on the composition may be after the date of the document was attested without being changed.",
            "requirements" : "dateTime is used for tracking, organizing versions and searching. Note that this is the time of *authoring*. When packaged in a document, [Bundle.timestamp](http://hl7.org/fhir/bundle-definitions.html#Bundle.timestamp) is the date of packaging.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.date",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "dateTime"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "workflow",
                "map" : "Event.occurrence[x]"
              },
              {
                "identity" : "w5",
                "map" : "FiveWs.done[x]"
              },
              {
                "identity" : "rim",
                "map" : ".effectiveTime[type=\"TS\"]"
              },
              {
                "identity" : "cda",
                "map" : ".effectiveTime"
              },
              {
                "identity" : "fhirdocumentreference",
                "map" : "DocumentReference.content.attachment.date, DocumentReference.created"
              }
            ]
          },
          {
            "id" : "Composition.author",
            "path" : "Composition.author",
            "short" : "Who and/or what authored the IPS",
            "definition" : "Identifies who is responsible for the information in the IPS, not necessarily who typed it in.\r\n\r\nThe type of author(s) contribute to determine the \"nature\"of the Patient Summary: e.g. a \"human-curated\" IPS Vs. an \"automatically generated\" IPS.",
            "requirements" : "Identifies who is responsible for the content.",
            "min" : 1,
            "max" : "*",
            "base" : {
              "path" : "Composition.author",
              "min" : 1,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner",
                  "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
                  "http://hl7.org/fhir/StructureDefinition/Device",
                  "http://hl7.org/fhir/StructureDefinition/Patient",
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "workflow",
                "map" : "Event.performer"
              },
              {
                "identity" : "w5",
                "map" : "FiveWs.author"
              },
              {
                "identity" : "rim",
                "map" : ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]"
              },
              {
                "identity" : "cda",
                "map" : ".author.assignedAuthor"
              },
              {
                "identity" : "fhirdocumentreference",
                "map" : "DocumentReference.agent"
              }
            ]
          },
          {
            "id" : "Composition.title",
            "path" : "Composition.title",
            "short" : "International Patient Summary",
            "definition" : "Official human-readable label for the composition.\r\n\r\nFor this document should be \"International Patient Summary\" or any equivalent translation",
            "comment" : "For many compositions, the title is the same as the text or a display name of Composition.type (e.g. a \"consultation\" or \"progress note\"). Note that CDA does not make title mandatory, but there are no known cases where it is useful for title to be omitted, so it is mandatory here. Feedback on this requirement is welcome during the trial use period.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.title",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./title"
              },
              {
                "identity" : "cda",
                "map" : ".title"
              },
              {
                "identity" : "fhirdocumentreference",
                "map" : "DocumentReference.description, DocumentReference.content.attachment.title"
              }
            ]
          },
          {
            "id" : "Composition.confidentiality",
            "path" : "Composition.confidentiality",
            "short" : "As defined by affinity domain",
            "definition" : "The code specifying the level of confidentiality of the Composition.",
            "comment" : "The exact use of this element, and enforcement and issues related to highly sensitive documents are out of scope for the base specification, and delegated to implementation profiles (see security section).  This element is labeled as a modifier because highly confidential documents must not be treated as if they are not.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.confidentiality",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : true,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "DocumentConfidentiality"
                }
              ],
              "strength" : "required",
              "description" : "Codes specifying the level of confidentiality of the composition.",
              "valueSet" : "http://terminology.hl7.org/ValueSet/v3-ConfidentialityClassification|2014-03-26"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".confidentialityCode"
              },
              {
                "identity" : "cda",
                "map" : ".confidentialityCode"
              },
              {
                "identity" : "fhirdocumentreference",
                "map" : "DocumentReference.securityLabel"
              }
            ]
          },
          {
            "id" : "Composition.attester",
            "path" : "Composition.attester",
            "short" : "Attests to accuracy of composition",
            "definition" : "A participant who has attested to the accuracy of the composition/document.",
            "comment" : "Only list each attester once.",
            "requirements" : "Identifies responsibility for the accuracy of the composition content.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.attester",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".participation[typeCode=\"AUTHEN\"].role[classCode=\"ASSIGNED\"]"
              },
              {
                "identity" : "cda",
                "map" : ".authenticator/.legalAuthenticator"
              },
              {
                "identity" : "fhirdocumentreference",
                "map" : "DocumentReference.authenticator"
              }
            ]
          },
          {
            "id" : "Composition.attester.id",
            "path" : "Composition.attester.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "Unique id for inter-element referencing",
            "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                    "valueUrl" : "string"
                  }
                ],
                "code" : "http://hl7.org/fhirpath/System.String"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.attester.extension",
            "path" : "Composition.attester.extension",
            "short" : "Additional content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "alias" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.attester.modifierExtension",
            "path" : "Composition.attester.modifierExtension",
            "short" : "Extensions that cannot be ignored even if unrecognized",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).",
            "alias" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : true,
            "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "Composition.attester.mode",
            "path" : "Composition.attester.mode",
            "short" : "personal | professional | legal | official",
            "definition" : "The type of attestation the authenticator offers.",
            "requirements" : "Indicates the level of authority of the attestation.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.attester.mode",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "CompositionAttestationMode"
                }
              ],
              "strength" : "required",
              "description" : "The way in which a person authenticated a composition.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/composition-attestation-mode|4.0.1"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "unique(./modeCode)"
              },
              {
                "identity" : "cda",
                "map" : "implied by .authenticator/.legalAuthenticator"
              }
            ]
          },
          {
            "id" : "Composition.attester.time",
            "path" : "Composition.attester.time",
            "short" : "When the composition was attested",
            "definition" : "When the composition was attested by the party.",
            "requirements" : "Identifies when the information in the composition was deemed accurate.  (Things may have changed since then.).",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.attester.time",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "dateTime"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./time[type=\"TS\" and isNormalDatatype()]"
              },
              {
                "identity" : "cda",
                "map" : ".authenticator.time"
              }
            ]
          },
          {
            "id" : "Composition.attester.party",
            "path" : "Composition.attester.party",
            "short" : "Who attested the composition",
            "definition" : "Who attested the composition in the specified way.",
            "requirements" : "Identifies who has taken on the responsibility for accuracy of the composition content.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.attester.party",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Patient",
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
                  "http://hl7.org/fhir/StructureDefinition/Practitioner",
                  "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "FiveWs.witness"
              },
              {
                "identity" : "rim",
                "map" : "./role[classCode=\"ASSIGNED\" and isNormalRole]/player[determinerCode=\"INST\" and classCode=(\"DEV\", \"PSN\") and isNormalEntity()] or ./role[classCode=\"ASSIGNED\" and isNormalRole and not(player)]/scoper[determinerCode=\"INST\" and classCode=\"ORG\" and isNormalEntity()]"
              },
              {
                "identity" : "cda",
                "map" : ".authenticator.assignedEnttty"
              }
            ]
          },
          {
            "id" : "Composition.custodian",
            "path" : "Composition.custodian",
            "short" : "Organization which maintains the composition",
            "definition" : "Identifies the organization or group who is responsible for ongoing maintenance of and access to the composition/document information.",
            "comment" : "This is useful when documents are derived from a composition - provides guidance for how to get the latest version of the document. This is optional because this is sometimes not known by the authoring system, and can be inferred by context. However, it is important that this information be known when working with a derived document, so providing a custodian is encouraged.",
            "requirements" : "Identifies where to go to find the current version, where to report issues, etc.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.custodian",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".participation[typeCode=\"RCV\"].role[classCode=\"CUST\"].scoper[classCode=\"ORG\" and determinerCode=\"INST\"]"
              },
              {
                "identity" : "cda",
                "map" : ".custodian.assignedCustodian"
              },
              {
                "identity" : "fhirdocumentreference",
                "map" : "DocumentReference.custodian"
              }
            ]
          },
          {
            "id" : "Composition.relatesTo",
            "path" : "Composition.relatesTo",
            "short" : "Relationships to other compositions/documents",
            "definition" : "Relationships that this composition has with other compositions or documents that already exist.",
            "comment" : "A document is a version specific composition.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.relatesTo",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship"
              },
              {
                "identity" : "cda",
                "map" : ".relatedDocument"
              },
              {
                "identity" : "fhirdocumentreference",
                "map" : "DocumentReference.relatesTo"
              }
            ]
          },
          {
            "id" : "Composition.relatesTo.id",
            "path" : "Composition.relatesTo.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "Unique id for inter-element referencing",
            "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                    "valueUrl" : "string"
                  }
                ],
                "code" : "http://hl7.org/fhirpath/System.String"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.relatesTo.extension",
            "path" : "Composition.relatesTo.extension",
            "short" : "Additional content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "alias" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.relatesTo.modifierExtension",
            "path" : "Composition.relatesTo.modifierExtension",
            "short" : "Extensions that cannot be ignored even if unrecognized",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).",
            "alias" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : true,
            "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "Composition.relatesTo.code",
            "path" : "Composition.relatesTo.code",
            "short" : "replaces | transforms | signs | appends",
            "definition" : "The type of relationship that this composition has with anther composition or document.",
            "comment" : "If this document appends another document, then the document cannot be fully understood without also accessing the referenced document.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.relatesTo.code",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "DocumentRelationshipType"
                }
              ],
              "strength" : "required",
              "description" : "The type of relationship between documents.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/document-relationship-type|4.0.1"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship.typeCode"
              },
              {
                "identity" : "cda",
                "map" : ".relatedDocument.typeCode"
              },
              {
                "identity" : "fhirdocumentreference",
                "map" : "DocumentReference.relatesTo.code"
              }
            ]
          },
          {
            "id" : "Composition.relatesTo.target[x]",
            "path" : "Composition.relatesTo.target[x]",
            "short" : "Target of the relationship",
            "definition" : "The target composition/document of this relationship.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.relatesTo.target[x]",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Identifier"
              },
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Composition",
                  "http://hl7.org/fhir/uv/ips/StructureDefinition/Composition-uv-ips"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".target[classCode=\"DOC\", moodCode=\"EVN\"].id"
              },
              {
                "identity" : "cda",
                "map" : ".relatedDocument.id"
              },
              {
                "identity" : "fhirdocumentreference",
                "map" : "DocumentReference.relatesTo.target"
              }
            ]
          },
          {
            "id" : "Composition.event",
            "path" : "Composition.event",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "pattern",
                  "path" : "code"
                }
              ],
              "rules" : "open"
            },
            "short" : "The clinical service(s) being documented",
            "definition" : "The main activity being described by a IPS is the provision of healthcare over a period of time. \r\nIn the CDA representation of the IPS this is shown by setting the value of serviceEvent/@classCode to “PCPR” (care provision) and indicating the duration over which care was provided in serviceEvent/effectiveTime. \r\nIn the FHIR representation at lest one event should be used to record this information.\r\nAdditional data from outside this duration may also be included if it is relevant to care provided during that time range (e.g., reviewed during the stated time range). For example if the IPS is generated by a GP based on information recorded in his/her EHR-S, then the start value should represent the date when the treatment relationship between the patient and the GP started; and the end value the date of the latest care event.",
            "comment" : "The event needs to be consistent with the type element, though can provide further information if desired.",
            "requirements" : "Provides context for the composition and creates a linkage between a resource describing an event and the composition created describing the event.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.event",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "outboundRelationship[typeCode=\"SUBJ\"].target[classCode<'ACT']"
              },
              {
                "identity" : "cda",
                "map" : ".documentationOf.serviceEvent"
              },
              {
                "identity" : "fhirdocumentreference",
                "map" : "DocumentReference.event"
              }
            ]
          },
          {
            "id" : "Composition.event.id",
            "path" : "Composition.event.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "Unique id for inter-element referencing",
            "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                    "valueUrl" : "string"
                  }
                ],
                "code" : "http://hl7.org/fhirpath/System.String"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.event.extension",
            "path" : "Composition.event.extension",
            "short" : "Additional content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "alias" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.event.modifierExtension",
            "path" : "Composition.event.modifierExtension",
            "short" : "Extensions that cannot be ignored even if unrecognized",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).",
            "alias" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : true,
            "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "Composition.event.code",
            "path" : "Composition.event.code",
            "short" : "Code(s) that apply to the event being documented",
            "definition" : "This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the typeCode, such as a \"History and Physical Report\" in which the procedure being documented is necessarily a \"History and Physical\" act.",
            "comment" : "An event can further specialize the act inherent in the typeCode, such as where it is simply \"Procedure Report\" and the procedure was a \"colonoscopy\". If one or more eventCodes are included, they SHALL NOT conflict with the values inherent in the classCode, practiceSettingCode or typeCode, as such a conflict would create an ambiguous situation. This short list of codes is provided to be used as key words for certain types of queries.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.event.code",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : true,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "DocumentEventType"
                }
              ],
              "strength" : "example",
              "description" : "This list of codes represents the main clinical acts being documented.",
              "valueSet" : "http://terminology.hl7.org/ValueSet/v3-ActCode"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".code"
              },
              {
                "identity" : "cda",
                "map" : ".code"
              },
              {
                "identity" : "fhirdocumentreference",
                "map" : "DocumentReference.event.code"
              }
            ]
          },
          {
            "id" : "Composition.event.period",
            "path" : "Composition.event.period",
            "short" : "The period covered by the documentation",
            "definition" : "The period of time covered by the documentation. There is no assertion that the documentation is a complete representation for this period, only that it documents events during this time.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.event.period",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Period"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".effectiveTime"
              },
              {
                "identity" : "cda",
                "map" : ".effectiveTime"
              },
              {
                "identity" : "fhirdocumentreference",
                "map" : "DocumentReference.event.period"
              }
            ]
          },
          {
            "id" : "Composition.event.detail",
            "path" : "Composition.event.detail",
            "short" : "The event(s) being documented",
            "definition" : "The description and/or reference of the event(s) being documented. For example, this could be used to document such a colonoscopy or an appendectomy.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.event.detail",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=\"SUBJ\"].target"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.event:careProvisioningEvent",
            "path" : "Composition.event",
            "sliceName" : "careProvisioningEvent",
            "short" : "The care provisioning being documented",
            "definition" : "The provision of healthcare over a period of time this IPS is documenting.",
            "comment" : "The event needs to be consistent with the type element, though can provide further information if desired.",
            "requirements" : "Provides context for the composition and creates a linkage between a resource describing an event and the composition created describing the event.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.event",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "outboundRelationship[typeCode=\"SUBJ\"].target[classCode<'ACT']"
              },
              {
                "identity" : "cda",
                "map" : ".documentationOf.serviceEvent"
              },
              {
                "identity" : "fhirdocumentreference",
                "map" : "DocumentReference.event"
              }
            ]
          },
          {
            "id" : "Composition.event:careProvisioningEvent.id",
            "path" : "Composition.event.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "Unique id for inter-element referencing",
            "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                    "valueUrl" : "string"
                  }
                ],
                "code" : "http://hl7.org/fhirpath/System.String"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.event:careProvisioningEvent.extension",
            "path" : "Composition.event.extension",
            "short" : "Additional content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "alias" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.event:careProvisioningEvent.modifierExtension",
            "path" : "Composition.event.modifierExtension",
            "short" : "Extensions that cannot be ignored even if unrecognized",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).",
            "alias" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : true,
            "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "Composition.event:careProvisioningEvent.code",
            "path" : "Composition.event.code",
            "short" : "Code(s) that apply to the event being documented",
            "definition" : "This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the typeCode, such as a \"History and Physical Report\" in which the procedure being documented is necessarily a \"History and Physical\" act.",
            "comment" : "An event can further specialize the act inherent in the typeCode, such as where it is simply \"Procedure Report\" and the procedure was a \"colonoscopy\". If one or more eventCodes are included, they SHALL NOT conflict with the values inherent in the classCode, practiceSettingCode or typeCode, as such a conflict would create an ambiguous situation. This short list of codes is provided to be used as key words for certain types of queries.",
            "min" : 1,
            "max" : "*",
            "base" : {
              "path" : "Composition.event.code",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "patternCodeableConcept" : {
              "coding" : [
                {
                  "system" : "http://terminology.hl7.org/CodeSystem/v3-ActClass",
                  "code" : "PCPR"
                }
              ]
            },
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : true,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "DocumentEventType"
                }
              ],
              "strength" : "example",
              "description" : "This list of codes represents the main clinical acts being documented.",
              "valueSet" : "http://terminology.hl7.org/ValueSet/v3-ActCode"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".code"
              },
              {
                "identity" : "cda",
                "map" : ".code"
              },
              {
                "identity" : "fhirdocumentreference",
                "map" : "DocumentReference.event.code"
              }
            ]
          },
          {
            "id" : "Composition.event:careProvisioningEvent.period",
            "path" : "Composition.event.period",
            "short" : "The period covered by the documentation",
            "definition" : "The period of time covered by the documentation. There is no assertion that the documentation is a complete representation for this period, only that it documents events during this time.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.event.period",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Period"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".effectiveTime"
              },
              {
                "identity" : "cda",
                "map" : ".effectiveTime"
              },
              {
                "identity" : "fhirdocumentreference",
                "map" : "DocumentReference.event.period"
              }
            ]
          },
          {
            "id" : "Composition.event:careProvisioningEvent.detail",
            "path" : "Composition.event.detail",
            "short" : "The event(s) being documented",
            "definition" : "The description and/or reference of the event(s) being documented. For example, this could be used to document such a colonoscopy or an appendectomy.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.event.detail",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=\"SUBJ\"].target"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString" : "Section"
              }
            ],
            "path" : "Composition.section",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "pattern",
                  "path" : "code"
                }
              ],
              "ordered" : false,
              "rules" : "open"
            },
            "short" : "Sections composing the IPS",
            "definition" : "The root of the sections that make up the IPS composition.",
            "min" : 3,
            "max" : "*",
            "base" : {
              "path" : "Composition.section",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "cmp-1",
                "severity" : "error",
                "human" : "A section must contain at least one of text, entries, or sub-sections",
                "expression" : "text.exists() or entry.exists() or section.exists()",
                "xpath" : "exists(f:text) or exists(f:entry) or exists(f:section)",
                "source" : "http://hl7.org/fhir/StructureDefinition/clinicaldocument"
              },
              {
                "key" : "cmp-2",
                "severity" : "error",
                "human" : "A section can only have an emptyReason if it is empty",
                "expression" : "emptyReason.empty() or entry.empty()",
                "xpath" : "not(exists(f:emptyReason) and exists(f:entry))",
                "source" : "http://hl7.org/fhir/StructureDefinition/clinicaldocument"
              },
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]"
              },
              {
                "identity" : "cda",
                "map" : ".component.structuredBody.component.section"
              }
            ]
          },
          {
            "id" : "Composition.section.id",
            "path" : "Composition.section.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "Unique id for inter-element referencing",
            "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                    "valueUrl" : "string"
                  }
                ],
                "code" : "http://hl7.org/fhirpath/System.String"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section.extension",
            "path" : "Composition.section.extension",
            "short" : "Additional content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "alias" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section.modifierExtension",
            "path" : "Composition.section.modifierExtension",
            "short" : "Extensions that cannot be ignored even if unrecognized",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).",
            "alias" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : true,
            "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "Composition.section.title",
            "path" : "Composition.section.title",
            "short" : "Label for section (e.g. for ToC)",
            "definition" : "The label for this particular section.  This will be part of the rendered content for the document, and is often used to build a table of contents.",
            "comment" : "The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title,  or documents that only have a single section. Most Implementation Guides will make section title to be a required element.",
            "requirements" : "Section headings are often standardized for different types of documents.  They give guidance to humans on how the document is organized.",
            "alias" : [
              "header",
              "label",
              "caption"
            ],
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.title",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./title"
              },
              {
                "identity" : "cda",
                "map" : ".title"
              }
            ]
          },
          {
            "id" : "Composition.section.code",
            "path" : "Composition.section.code",
            "short" : "Classification of section (recommended)",
            "definition" : "A code identifying the kind of content contained within the section. This must be consistent with the section title.",
            "comment" : "The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document.   \n\nIf the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code.",
            "requirements" : "Provides computable standardized labels to topics within the document.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.code",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "CompositionSectionType"
                }
              ],
              "strength" : "example",
              "description" : "Classification of a section of a composition/document.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/doc-section-codes"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./code"
              },
              {
                "identity" : "cda",
                "map" : ".code"
              }
            ]
          },
          {
            "id" : "Composition.section.author",
            "path" : "Composition.section.author",
            "short" : "Who and/or what authored the section",
            "definition" : "Identifies who is responsible for the information in this section, not necessarily who typed it in.",
            "requirements" : "Identifies who is responsible for the content.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.author",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner",
                  "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
                  "http://hl7.org/fhir/StructureDefinition/Device",
                  "http://hl7.org/fhir/StructureDefinition/Patient",
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "FiveWs.author"
              },
              {
                "identity" : "rim",
                "map" : ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]"
              },
              {
                "identity" : "cda",
                "map" : ".author.assignedAuthor"
              }
            ]
          },
          {
            "id" : "Composition.section.focus",
            "path" : "Composition.section.focus",
            "short" : "Who/what the section is about, when it is not about the subject of composition",
            "definition" : "The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).",
            "comment" : "Typically, sections in a doument are about the subject of the document, whether that is a  patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are  a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.focus",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "cda",
                "map" : ".subject? (CDA did not differentiate between subject and focus)"
              }
            ]
          },
          {
            "id" : "Composition.section.text",
            "path" : "Composition.section.text",
            "short" : "Text summary of the section, for human interpretation",
            "definition" : "A human-readable narrative that contains the attested content of the section, used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative.",
            "comment" : "Document profiles may define what content should be represented in the narrative to ensure clinical safety.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.text",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Narrative"
              }
            ],
            "condition" : [
              "cmp-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".text"
              },
              {
                "identity" : "cda",
                "map" : ".text"
              }
            ]
          },
          {
            "id" : "Composition.section.mode",
            "path" : "Composition.section.mode",
            "short" : "working | snapshot | changes",
            "definition" : "How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.",
            "comment" : "This element is labeled as a modifier because a change list must not be misunderstood as a complete list.",
            "requirements" : "Sections are used in various ways, and it must be known in what way it is safe to use the entries in them.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.mode",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionMode"
                }
              ],
              "strength" : "required",
              "description" : "The processing mode that applies to this section.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-mode|4.0.1"
            },
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "FiveWs.class"
              },
              {
                "identity" : "rim",
                "map" : ".outBoundRelationship[typeCode=COMP].target[classCode=OBS\"].value"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section.orderedBy",
            "path" : "Composition.section.orderedBy",
            "short" : "Order of section entries",
            "definition" : "Specifies the order applied to the items in the section entries.",
            "comment" : "Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.",
            "requirements" : "Important for presentation and rendering.  Lists may be sorted to place more important information first or to group related entries.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.orderedBy",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionEntryOrder"
                }
              ],
              "strength" : "preferred",
              "description" : "What order applies to the items in the entry.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-order"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP].sequenceNumber > 1"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section.entry",
            "path" : "Composition.section.entry",
            "short" : "A reference to data that supports this section",
            "definition" : "A reference to the actual resource from which the narrative in the section is derived.",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section.emptyReason",
            "path" : "Composition.section.emptyReason",
            "short" : "Why the section is empty",
            "definition" : "If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.",
            "comment" : "The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.",
            "requirements" : "Allows capturing things like \"none exist\" or \"not asked\" which can be important for most lists.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.emptyReason",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionEmptyReason"
                }
              ],
              "strength" : "preferred",
              "description" : "If a section is empty, why it is empty.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-empty-reason"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".inboundRelationship[typeCode=SUBJ,code<ListEmptyReason].value[type=CD]"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section.section",
            "path" : "Composition.section.section",
            "short" : "Nested Section",
            "definition" : "A nested sub-section within this section.",
            "comment" : "Nested sections are primarily used to help human readers navigate to particular portions of the document.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.section",
              "min" : 0,
              "max" : "*"
            },
            "contentReference" : "http://hl7.org/fhir/StructureDefinition/Composition#Composition.section",
            "condition" : [
              "cmp-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]"
              },
              {
                "identity" : "cda",
                "map" : ".component.section"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionMedications",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString" : "Section"
              }
            ],
            "path" : "Composition.section",
            "sliceName" : "sectionMedications",
            "short" : "IPS Medication Summary Section",
            "definition" : "The medication summary section contains a description of the patient's medications relevant for the scope of the patient summary.\r\nThe actual content could depend on the jurisdiction, it could report:\r\n- the currently active medications; \r\n- the current and past medications considered relevant by the authoring GP; \r\n- the patient prescriptions or dispensations automatically extracted by a regional or a national EHR.\r\n\r\nIn all those cases however medications are documented in the Patient Summary as medication statements.\r\nThis section requires either an entry indicating the subject is known not to be on any relevant medication; either an entry indicating that no information is available about medications; or entries summarizing the subject's relevant medications.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "cmp-1",
                "severity" : "error",
                "human" : "A section must contain at least one of text, entries, or sub-sections",
                "expression" : "text.exists() or entry.exists() or section.exists()",
                "xpath" : "exists(f:text) or exists(f:entry) or exists(f:section)",
                "source" : "http://hl7.org/fhir/StructureDefinition/clinicaldocument"
              },
              {
                "key" : "cmp-2",
                "severity" : "error",
                "human" : "A section can only have an emptyReason if it is empty",
                "expression" : "emptyReason.empty() or entry.empty()",
                "xpath" : "not(exists(f:emptyReason) and exists(f:entry))",
                "source" : "http://hl7.org/fhir/StructureDefinition/clinicaldocument"
              },
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]"
              },
              {
                "identity" : "cda",
                "map" : ".component.structuredBody.component.section"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionMedications.id",
            "path" : "Composition.section.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "Unique id for inter-element referencing",
            "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                    "valueUrl" : "string"
                  }
                ],
                "code" : "http://hl7.org/fhirpath/System.String"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionMedications.extension",
            "path" : "Composition.section.extension",
            "short" : "Additional content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "alias" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionMedications.modifierExtension",
            "path" : "Composition.section.modifierExtension",
            "short" : "Extensions that cannot be ignored even if unrecognized",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).",
            "alias" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : true,
            "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionMedications.title",
            "path" : "Composition.section.title",
            "short" : "Medication Summary section",
            "definition" : "The label for this particular section.  This will be part of the rendered content for the document, and is often used to build a table of contents.\r\n\r\nMedication Summary ",
            "comment" : "The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title,  or documents that only have a single section. Most Implementation Guides will make section title to be a required element.",
            "requirements" : "Section headings are often standardized for different types of documents.  They give guidance to humans on how the document is organized.",
            "alias" : [
              "header",
              "label",
              "caption"
            ],
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.title",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./title"
              },
              {
                "identity" : "cda",
                "map" : ".title"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionMedications.code",
            "path" : "Composition.section.code",
            "short" : "Concept - reference to a terminology or just  text",
            "definition" : "A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.",
            "comment" : "Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.",
            "requirements" : "Provides computable standardized labels to topics within the document.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.code",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept",
                "profile" : [
                  "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
                ]
              }
            ],
            "patternCodeableConcept" : {
              "coding" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "10160-0"
                }
              ]
            },
            "condition" : [
              "ele-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "CompositionSectionType"
                }
              ],
              "strength" : "example",
              "description" : "Classification of a section of a composition/document.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/doc-section-codes"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              },
              {
                "identity" : "v2",
                "map" : "CE/CNE/CWE"
              },
              {
                "identity" : "rim",
                "map" : "CD"
              },
              {
                "identity" : "orim",
                "map" : "fhir:CodeableConcept rdfs:subClassOf dt:CD"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionMedications.author",
            "path" : "Composition.section.author",
            "short" : "Who and/or what authored the section",
            "definition" : "Identifies who is responsible for the information in this section, not necessarily who typed it in.",
            "requirements" : "Identifies who is responsible for the content.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.author",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner",
                  "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
                  "http://hl7.org/fhir/StructureDefinition/Device",
                  "http://hl7.org/fhir/StructureDefinition/Patient",
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "FiveWs.author"
              },
              {
                "identity" : "rim",
                "map" : ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]"
              },
              {
                "identity" : "cda",
                "map" : ".author.assignedAuthor"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionMedications.focus",
            "path" : "Composition.section.focus",
            "short" : "Who/what the section is about, when it is not about the subject of composition",
            "definition" : "The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).",
            "comment" : "Typically, sections in a doument are about the subject of the document, whether that is a  patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are  a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.focus",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "cda",
                "map" : ".subject? (CDA did not differentiate between subject and focus)"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionMedications.text",
            "path" : "Composition.section.text",
            "short" : "Text summary of the section, for human interpretation",
            "definition" : "A human-readable narrative that contains the attested content of the section, used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative.",
            "comment" : "Document profiles may define what content should be represented in the narrative to ensure clinical safety.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.text",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Narrative"
              }
            ],
            "condition" : [
              "cmp-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".text"
              },
              {
                "identity" : "cda",
                "map" : ".text"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionMedications.mode",
            "path" : "Composition.section.mode",
            "short" : "working | snapshot | changes",
            "definition" : "How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.",
            "comment" : "This element is labeled as a modifier because a change list must not be misunderstood as a complete list.",
            "requirements" : "Sections are used in various ways, and it must be known in what way it is safe to use the entries in them.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.mode",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionMode"
                }
              ],
              "strength" : "required",
              "description" : "The processing mode that applies to this section.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-mode|4.0.1"
            },
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "FiveWs.class"
              },
              {
                "identity" : "rim",
                "map" : ".outBoundRelationship[typeCode=COMP].target[classCode=OBS\"].value"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionMedications.orderedBy",
            "path" : "Composition.section.orderedBy",
            "short" : "Order of section entries",
            "definition" : "Specifies the order applied to the items in the section entries.",
            "comment" : "Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.",
            "requirements" : "Important for presentation and rendering.  Lists may be sorted to place more important information first or to group related entries.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.orderedBy",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionEntryOrder"
                }
              ],
              "strength" : "preferred",
              "description" : "What order applies to the items in the entry.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-order"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP].sequenceNumber > 1"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionMedications.entry",
            "path" : "Composition.section.entry",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "profile",
                  "path" : "$this.resolve()"
                }
              ],
              "rules" : "open"
            },
            "short" : "Medications relevant for the scope of the patient summary",
            "definition" : "This list the medications relevant for the scope of the patient summary or it is used to indicate that the subject is known not to be on any relevant medication; either that no information is available about medications.",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 1,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionMedications.entry:medicationStatement",
            "path" : "Composition.section.entry",
            "sliceName" : "medicationStatement",
            "short" : "A reference to data that supports this section",
            "definition" : "A reference to the actual resource from which the narrative in the section is derived.",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 1,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/uv/ips/StructureDefinition/MedicationStatement-uv-ips"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionMedications.emptyReason",
            "path" : "Composition.section.emptyReason",
            "short" : "Why the section is empty",
            "definition" : "If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.",
            "comment" : "The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.",
            "requirements" : "Allows capturing things like \"none exist\" or \"not asked\" which can be important for most lists.",
            "min" : 0,
            "max" : "0",
            "base" : {
              "path" : "Composition.section.emptyReason",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : false,
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionEmptyReason"
                }
              ],
              "strength" : "preferred",
              "description" : "If a section is empty, why it is empty.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-empty-reason"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".inboundRelationship[typeCode=SUBJ,code<ListEmptyReason].value[type=CD]"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionMedications.section",
            "path" : "Composition.section.section",
            "short" : "Nested Section",
            "definition" : "A nested sub-section within this section.",
            "comment" : "Nested sections are primarily used to help human readers navigate to particular portions of the document.",
            "min" : 0,
            "max" : "0",
            "base" : {
              "path" : "Composition.section.section",
              "min" : 0,
              "max" : "*"
            },
            "contentReference" : "http://hl7.org/fhir/StructureDefinition/Composition#Composition.section",
            "condition" : [
              "cmp-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : false,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]"
              },
              {
                "identity" : "cda",
                "map" : ".component.section"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionAllergies",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString" : "Section"
              }
            ],
            "path" : "Composition.section",
            "sliceName" : "sectionAllergies",
            "short" : "IPS Allergies and Intolerances Section",
            "definition" : "This section documents the relevant allergies or intolerances (conditions) for that patient, describing the kind of reaction (e.g. rash, anaphylaxis,..); preferably the agents that cause it; and optionally the criticality and the certainty of the allergy.\r\nAt a minimum, it should list currently active and any relevant historical allergies and adverse reactions.\r\nIf no information about allergies is available, or if no allergies are known this should be clearly documented in the section.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "cmp-1",
                "severity" : "error",
                "human" : "A section must contain at least one of text, entries, or sub-sections",
                "expression" : "text.exists() or entry.exists() or section.exists()",
                "xpath" : "exists(f:text) or exists(f:entry) or exists(f:section)",
                "source" : "http://hl7.org/fhir/StructureDefinition/clinicaldocument"
              },
              {
                "key" : "cmp-2",
                "severity" : "error",
                "human" : "A section can only have an emptyReason if it is empty",
                "expression" : "emptyReason.empty() or entry.empty()",
                "xpath" : "not(exists(f:emptyReason) and exists(f:entry))",
                "source" : "http://hl7.org/fhir/StructureDefinition/clinicaldocument"
              },
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]"
              },
              {
                "identity" : "cda",
                "map" : ".component.structuredBody.component.section"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionAllergies.id",
            "path" : "Composition.section.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "Unique id for inter-element referencing",
            "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                    "valueUrl" : "string"
                  }
                ],
                "code" : "http://hl7.org/fhirpath/System.String"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionAllergies.extension",
            "path" : "Composition.section.extension",
            "short" : "Additional content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "alias" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionAllergies.modifierExtension",
            "path" : "Composition.section.modifierExtension",
            "short" : "Extensions that cannot be ignored even if unrecognized",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).",
            "alias" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : true,
            "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionAllergies.title",
            "path" : "Composition.section.title",
            "short" : "Label for section (e.g. for ToC)",
            "definition" : "The label for this particular section.  This will be part of the rendered content for the document, and is often used to build a table of contents.",
            "comment" : "The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title,  or documents that only have a single section. Most Implementation Guides will make section title to be a required element.",
            "requirements" : "Section headings are often standardized for different types of documents.  They give guidance to humans on how the document is organized.",
            "alias" : [
              "header",
              "label",
              "caption"
            ],
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.title",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./title"
              },
              {
                "identity" : "cda",
                "map" : ".title"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionAllergies.code",
            "path" : "Composition.section.code",
            "short" : "Concept - reference to a terminology or just  text",
            "definition" : "A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.",
            "comment" : "Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.",
            "requirements" : "Provides computable standardized labels to topics within the document.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.code",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept",
                "profile" : [
                  "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
                ]
              }
            ],
            "patternCodeableConcept" : {
              "coding" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "48765-2"
                }
              ]
            },
            "condition" : [
              "ele-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "CompositionSectionType"
                }
              ],
              "strength" : "example",
              "description" : "Classification of a section of a composition/document.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/doc-section-codes"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              },
              {
                "identity" : "v2",
                "map" : "CE/CNE/CWE"
              },
              {
                "identity" : "rim",
                "map" : "CD"
              },
              {
                "identity" : "orim",
                "map" : "fhir:CodeableConcept rdfs:subClassOf dt:CD"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionAllergies.author",
            "path" : "Composition.section.author",
            "short" : "Who and/or what authored the section",
            "definition" : "Identifies who is responsible for the information in this section, not necessarily who typed it in.",
            "requirements" : "Identifies who is responsible for the content.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.author",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner",
                  "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
                  "http://hl7.org/fhir/StructureDefinition/Device",
                  "http://hl7.org/fhir/StructureDefinition/Patient",
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "FiveWs.author"
              },
              {
                "identity" : "rim",
                "map" : ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]"
              },
              {
                "identity" : "cda",
                "map" : ".author.assignedAuthor"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionAllergies.focus",
            "path" : "Composition.section.focus",
            "short" : "Who/what the section is about, when it is not about the subject of composition",
            "definition" : "The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).",
            "comment" : "Typically, sections in a doument are about the subject of the document, whether that is a  patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are  a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.focus",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "cda",
                "map" : ".subject? (CDA did not differentiate between subject and focus)"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionAllergies.text",
            "path" : "Composition.section.text",
            "short" : "Text summary of the section, for human interpretation",
            "definition" : "A human-readable narrative that contains the attested content of the section, used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative.",
            "comment" : "Document profiles may define what content should be represented in the narrative to ensure clinical safety.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.text",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Narrative"
              }
            ],
            "condition" : [
              "cmp-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".text"
              },
              {
                "identity" : "cda",
                "map" : ".text"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionAllergies.mode",
            "path" : "Composition.section.mode",
            "short" : "working | snapshot | changes",
            "definition" : "How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.",
            "comment" : "This element is labeled as a modifier because a change list must not be misunderstood as a complete list.",
            "requirements" : "Sections are used in various ways, and it must be known in what way it is safe to use the entries in them.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.mode",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionMode"
                }
              ],
              "strength" : "required",
              "description" : "The processing mode that applies to this section.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-mode|4.0.1"
            },
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "FiveWs.class"
              },
              {
                "identity" : "rim",
                "map" : ".outBoundRelationship[typeCode=COMP].target[classCode=OBS\"].value"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionAllergies.orderedBy",
            "path" : "Composition.section.orderedBy",
            "short" : "Order of section entries",
            "definition" : "Specifies the order applied to the items in the section entries.",
            "comment" : "Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.",
            "requirements" : "Important for presentation and rendering.  Lists may be sorted to place more important information first or to group related entries.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.orderedBy",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionEntryOrder"
                }
              ],
              "strength" : "preferred",
              "description" : "What order applies to the items in the entry.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-order"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP].sequenceNumber > 1"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionAllergies.entry",
            "path" : "Composition.section.entry",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "profile",
                  "path" : "$this.resolve()"
                }
              ],
              "rules" : "open"
            },
            "short" : "Relevant allergies or intolerances (conditions) for that patient.",
            "definition" : "It lists the relevant allergies or intolerances (conditions) for that patient, describing the kind of reaction (e.g. rash, anaphylaxis,..); preferably the agents that cause it; and optionally the criticality and the certainty of the allergy.\r\nAt a minimum, it should list currently active and any relevant historical allergies and adverse reactions.\r\n This entry shall be used to document that no information about allergies is available, or that no allergies are known .",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 1,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionAllergies.entry:allergyOrIntolerance",
            "path" : "Composition.section.entry",
            "sliceName" : "allergyOrIntolerance",
            "short" : "A reference to data that supports this section",
            "definition" : "A reference to the actual resource from which the narrative in the section is derived.",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 1,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/uv/ips/StructureDefinition/AllergyIntolerance-uv-ips"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionAllergies.emptyReason",
            "path" : "Composition.section.emptyReason",
            "short" : "Why the section is empty",
            "definition" : "If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.",
            "comment" : "The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.",
            "requirements" : "Allows capturing things like \"none exist\" or \"not asked\" which can be important for most lists.",
            "min" : 0,
            "max" : "0",
            "base" : {
              "path" : "Composition.section.emptyReason",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : false,
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionEmptyReason"
                }
              ],
              "strength" : "preferred",
              "description" : "If a section is empty, why it is empty.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-empty-reason"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".inboundRelationship[typeCode=SUBJ,code<ListEmptyReason].value[type=CD]"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionAllergies.section",
            "path" : "Composition.section.section",
            "short" : "Nested Section",
            "definition" : "A nested sub-section within this section.",
            "comment" : "Nested sections are primarily used to help human readers navigate to particular portions of the document.",
            "min" : 0,
            "max" : "0",
            "base" : {
              "path" : "Composition.section.section",
              "min" : 0,
              "max" : "*"
            },
            "contentReference" : "http://hl7.org/fhir/StructureDefinition/Composition#Composition.section",
            "condition" : [
              "cmp-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : false,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]"
              },
              {
                "identity" : "cda",
                "map" : ".component.section"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionProblems",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString" : "Section"
              }
            ],
            "path" : "Composition.section",
            "sliceName" : "sectionProblems",
            "short" : "IPS Problems Section",
            "definition" : "The IPS problem section lists and describes clinical problems or conditions currently being monitored for the patient.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "cmp-1",
                "severity" : "error",
                "human" : "A section must contain at least one of text, entries, or sub-sections",
                "expression" : "text.exists() or entry.exists() or section.exists()",
                "xpath" : "exists(f:text) or exists(f:entry) or exists(f:section)",
                "source" : "http://hl7.org/fhir/StructureDefinition/clinicaldocument"
              },
              {
                "key" : "cmp-2",
                "severity" : "error",
                "human" : "A section can only have an emptyReason if it is empty",
                "expression" : "emptyReason.empty() or entry.empty()",
                "xpath" : "not(exists(f:emptyReason) and exists(f:entry))",
                "source" : "http://hl7.org/fhir/StructureDefinition/clinicaldocument"
              },
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]"
              },
              {
                "identity" : "cda",
                "map" : ".component.structuredBody.component.section"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionProblems.id",
            "path" : "Composition.section.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "Unique id for inter-element referencing",
            "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                    "valueUrl" : "string"
                  }
                ],
                "code" : "http://hl7.org/fhirpath/System.String"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionProblems.extension",
            "path" : "Composition.section.extension",
            "short" : "Additional content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "alias" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionProblems.modifierExtension",
            "path" : "Composition.section.modifierExtension",
            "short" : "Extensions that cannot be ignored even if unrecognized",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).",
            "alias" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : true,
            "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionProblems.title",
            "path" : "Composition.section.title",
            "short" : "Label for section (e.g. for ToC)",
            "definition" : "The label for this particular section.  This will be part of the rendered content for the document, and is often used to build a table of contents.",
            "comment" : "The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title,  or documents that only have a single section. Most Implementation Guides will make section title to be a required element.",
            "requirements" : "Section headings are often standardized for different types of documents.  They give guidance to humans on how the document is organized.",
            "alias" : [
              "header",
              "label",
              "caption"
            ],
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.title",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./title"
              },
              {
                "identity" : "cda",
                "map" : ".title"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionProblems.code",
            "path" : "Composition.section.code",
            "short" : "Concept - reference to a terminology or just  text",
            "definition" : "A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.",
            "comment" : "Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.",
            "requirements" : "Provides computable standardized labels to topics within the document.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.code",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept",
                "profile" : [
                  "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
                ]
              }
            ],
            "patternCodeableConcept" : {
              "coding" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "11450-4"
                }
              ]
            },
            "condition" : [
              "ele-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "CompositionSectionType"
                }
              ],
              "strength" : "example",
              "description" : "Classification of a section of a composition/document.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/doc-section-codes"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              },
              {
                "identity" : "v2",
                "map" : "CE/CNE/CWE"
              },
              {
                "identity" : "rim",
                "map" : "CD"
              },
              {
                "identity" : "orim",
                "map" : "fhir:CodeableConcept rdfs:subClassOf dt:CD"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionProblems.author",
            "path" : "Composition.section.author",
            "short" : "Who and/or what authored the section",
            "definition" : "Identifies who is responsible for the information in this section, not necessarily who typed it in.",
            "requirements" : "Identifies who is responsible for the content.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.author",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner",
                  "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
                  "http://hl7.org/fhir/StructureDefinition/Device",
                  "http://hl7.org/fhir/StructureDefinition/Patient",
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "FiveWs.author"
              },
              {
                "identity" : "rim",
                "map" : ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]"
              },
              {
                "identity" : "cda",
                "map" : ".author.assignedAuthor"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionProblems.focus",
            "path" : "Composition.section.focus",
            "short" : "Who/what the section is about, when it is not about the subject of composition",
            "definition" : "The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).",
            "comment" : "Typically, sections in a doument are about the subject of the document, whether that is a  patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are  a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.focus",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "cda",
                "map" : ".subject? (CDA did not differentiate between subject and focus)"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionProblems.text",
            "path" : "Composition.section.text",
            "short" : "Text summary of the section, for human interpretation",
            "definition" : "A human-readable narrative that contains the attested content of the section, used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative.",
            "comment" : "Document profiles may define what content should be represented in the narrative to ensure clinical safety.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.text",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Narrative"
              }
            ],
            "condition" : [
              "cmp-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".text"
              },
              {
                "identity" : "cda",
                "map" : ".text"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionProblems.mode",
            "path" : "Composition.section.mode",
            "short" : "working | snapshot | changes",
            "definition" : "How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.",
            "comment" : "This element is labeled as a modifier because a change list must not be misunderstood as a complete list.",
            "requirements" : "Sections are used in various ways, and it must be known in what way it is safe to use the entries in them.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.mode",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionMode"
                }
              ],
              "strength" : "required",
              "description" : "The processing mode that applies to this section.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-mode|4.0.1"
            },
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "FiveWs.class"
              },
              {
                "identity" : "rim",
                "map" : ".outBoundRelationship[typeCode=COMP].target[classCode=OBS\"].value"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionProblems.orderedBy",
            "path" : "Composition.section.orderedBy",
            "short" : "Order of section entries",
            "definition" : "Specifies the order applied to the items in the section entries.",
            "comment" : "Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.",
            "requirements" : "Important for presentation and rendering.  Lists may be sorted to place more important information first or to group related entries.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.orderedBy",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionEntryOrder"
                }
              ],
              "strength" : "preferred",
              "description" : "What order applies to the items in the entry.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-order"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP].sequenceNumber > 1"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionProblems.entry",
            "path" : "Composition.section.entry",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "profile",
                  "path" : "$this.resolve()"
                }
              ],
              "rules" : "open"
            },
            "short" : "Clinical problems or conditions currently being monitored for the patient.",
            "definition" : "It lists and describes clinical problems or conditions currently being monitored for the patient.  This entry shall be used to document that no information about problems is available, or that no relevant problems are known.",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 1,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionProblems.entry:problem",
            "path" : "Composition.section.entry",
            "sliceName" : "problem",
            "short" : "A reference to data that supports this section",
            "definition" : "A reference to the actual resource from which the narrative in the section is derived.",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 1,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/uv/ips/StructureDefinition/Condition-uv-ips"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionProblems.emptyReason",
            "path" : "Composition.section.emptyReason",
            "short" : "Why the section is empty",
            "definition" : "If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.",
            "comment" : "The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.",
            "requirements" : "Allows capturing things like \"none exist\" or \"not asked\" which can be important for most lists.",
            "min" : 0,
            "max" : "0",
            "base" : {
              "path" : "Composition.section.emptyReason",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : false,
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionEmptyReason"
                }
              ],
              "strength" : "preferred",
              "description" : "If a section is empty, why it is empty.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-empty-reason"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".inboundRelationship[typeCode=SUBJ,code<ListEmptyReason].value[type=CD]"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionProblems.section",
            "path" : "Composition.section.section",
            "short" : "Nested Section",
            "definition" : "A nested sub-section within this section.",
            "comment" : "Nested sections are primarily used to help human readers navigate to particular portions of the document.",
            "min" : 0,
            "max" : "0",
            "base" : {
              "path" : "Composition.section.section",
              "min" : 0,
              "max" : "*"
            },
            "contentReference" : "http://hl7.org/fhir/StructureDefinition/Composition#Composition.section",
            "condition" : [
              "cmp-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : false,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]"
              },
              {
                "identity" : "cda",
                "map" : ".component.section"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionProceduresHx",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString" : "Section"
              }
            ],
            "path" : "Composition.section",
            "sliceName" : "sectionProceduresHx",
            "short" : "IPS History of Procedures Section",
            "definition" : "The History of Procedures Section contains a description of the patient past procedures that are pertinent to the scope of this document.\r\nProcedures may refer for example to:\r\n1. Invasive Diagnostic procedure:e.g. Cardiac catheterization; (the results of these procedure are documented in the results section)\r\n2. Therapeutic procedure: e.g. dialysis;\r\n3. Surgical procedure: e.g. appendectomy",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "cmp-1",
                "severity" : "error",
                "human" : "A section must contain at least one of text, entries, or sub-sections",
                "expression" : "text.exists() or entry.exists() or section.exists()",
                "xpath" : "exists(f:text) or exists(f:entry) or exists(f:section)",
                "source" : "http://hl7.org/fhir/StructureDefinition/clinicaldocument"
              },
              {
                "key" : "cmp-2",
                "severity" : "error",
                "human" : "A section can only have an emptyReason if it is empty",
                "expression" : "emptyReason.empty() or entry.empty()",
                "xpath" : "not(exists(f:emptyReason) and exists(f:entry))",
                "source" : "http://hl7.org/fhir/StructureDefinition/clinicaldocument"
              },
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]"
              },
              {
                "identity" : "cda",
                "map" : ".component.structuredBody.component.section"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionProceduresHx.id",
            "path" : "Composition.section.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "Unique id for inter-element referencing",
            "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                    "valueUrl" : "string"
                  }
                ],
                "code" : "http://hl7.org/fhirpath/System.String"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionProceduresHx.extension",
            "path" : "Composition.section.extension",
            "short" : "Additional content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "alias" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionProceduresHx.modifierExtension",
            "path" : "Composition.section.modifierExtension",
            "short" : "Extensions that cannot be ignored even if unrecognized",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).",
            "alias" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : true,
            "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionProceduresHx.title",
            "path" : "Composition.section.title",
            "short" : "Label for section (e.g. for ToC)",
            "definition" : "The label for this particular section.  This will be part of the rendered content for the document, and is often used to build a table of contents.",
            "comment" : "The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title,  or documents that only have a single section. Most Implementation Guides will make section title to be a required element.",
            "requirements" : "Section headings are often standardized for different types of documents.  They give guidance to humans on how the document is organized.",
            "alias" : [
              "header",
              "label",
              "caption"
            ],
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.title",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./title"
              },
              {
                "identity" : "cda",
                "map" : ".title"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionProceduresHx.code",
            "path" : "Composition.section.code",
            "short" : "Concept - reference to a terminology or just  text",
            "definition" : "A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.",
            "comment" : "Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.",
            "requirements" : "Provides computable standardized labels to topics within the document.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.code",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept",
                "profile" : [
                  "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
                ]
              }
            ],
            "patternCodeableConcept" : {
              "coding" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "47519-4"
                }
              ]
            },
            "condition" : [
              "ele-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "CompositionSectionType"
                }
              ],
              "strength" : "example",
              "description" : "Classification of a section of a composition/document.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/doc-section-codes"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              },
              {
                "identity" : "v2",
                "map" : "CE/CNE/CWE"
              },
              {
                "identity" : "rim",
                "map" : "CD"
              },
              {
                "identity" : "orim",
                "map" : "fhir:CodeableConcept rdfs:subClassOf dt:CD"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionProceduresHx.author",
            "path" : "Composition.section.author",
            "short" : "Who and/or what authored the section",
            "definition" : "Identifies who is responsible for the information in this section, not necessarily who typed it in.",
            "requirements" : "Identifies who is responsible for the content.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.author",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner",
                  "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
                  "http://hl7.org/fhir/StructureDefinition/Device",
                  "http://hl7.org/fhir/StructureDefinition/Patient",
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "FiveWs.author"
              },
              {
                "identity" : "rim",
                "map" : ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]"
              },
              {
                "identity" : "cda",
                "map" : ".author.assignedAuthor"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionProceduresHx.focus",
            "path" : "Composition.section.focus",
            "short" : "Who/what the section is about, when it is not about the subject of composition",
            "definition" : "The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).",
            "comment" : "Typically, sections in a doument are about the subject of the document, whether that is a  patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are  a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.focus",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "cda",
                "map" : ".subject? (CDA did not differentiate between subject and focus)"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionProceduresHx.text",
            "path" : "Composition.section.text",
            "short" : "Text summary of the section, for human interpretation",
            "definition" : "A human-readable narrative that contains the attested content of the section, used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative.",
            "comment" : "Document profiles may define what content should be represented in the narrative to ensure clinical safety.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.text",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Narrative"
              }
            ],
            "condition" : [
              "cmp-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".text"
              },
              {
                "identity" : "cda",
                "map" : ".text"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionProceduresHx.mode",
            "path" : "Composition.section.mode",
            "short" : "working | snapshot | changes",
            "definition" : "How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.",
            "comment" : "This element is labeled as a modifier because a change list must not be misunderstood as a complete list.",
            "requirements" : "Sections are used in various ways, and it must be known in what way it is safe to use the entries in them.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.mode",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionMode"
                }
              ],
              "strength" : "required",
              "description" : "The processing mode that applies to this section.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-mode|4.0.1"
            },
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "FiveWs.class"
              },
              {
                "identity" : "rim",
                "map" : ".outBoundRelationship[typeCode=COMP].target[classCode=OBS\"].value"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionProceduresHx.orderedBy",
            "path" : "Composition.section.orderedBy",
            "short" : "Order of section entries",
            "definition" : "Specifies the order applied to the items in the section entries.",
            "comment" : "Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.",
            "requirements" : "Important for presentation and rendering.  Lists may be sorted to place more important information first or to group related entries.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.orderedBy",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionEntryOrder"
                }
              ],
              "strength" : "preferred",
              "description" : "What order applies to the items in the entry.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-order"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP].sequenceNumber > 1"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionProceduresHx.entry",
            "path" : "Composition.section.entry",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "profile",
                  "path" : "$this.resolve()"
                }
              ],
              "rules" : "open"
            },
            "short" : "Patient past procedures pertinent to the scope of this document.",
            "definition" : "It lists the patient past procedures that are pertinent to the scope of this document.\r\nProcedures may refer for example to:\r\n1. Invasive Diagnostic procedure:e.g. Cardiac catheterization; (the results of these procedure are documented in the results section)\r\n2. Therapeutic procedure: e.g. dialysis;\r\n3. Surgical procedure: e.g. appendectomy. This entry shall be used to document that no information about past procedures is available, or that no relevant past procedures are known.",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 1,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionProceduresHx.entry:procedure",
            "path" : "Composition.section.entry",
            "sliceName" : "procedure",
            "short" : "A reference to data that supports this section",
            "definition" : "A reference to the actual resource from which the narrative in the section is derived.",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 1,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/uv/ips/StructureDefinition/Procedure-uv-ips"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionProceduresHx.emptyReason",
            "path" : "Composition.section.emptyReason",
            "short" : "Why the section is empty",
            "definition" : "If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.",
            "comment" : "The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.",
            "requirements" : "Allows capturing things like \"none exist\" or \"not asked\" which can be important for most lists.",
            "min" : 0,
            "max" : "0",
            "base" : {
              "path" : "Composition.section.emptyReason",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : false,
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionEmptyReason"
                }
              ],
              "strength" : "preferred",
              "description" : "If a section is empty, why it is empty.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-empty-reason"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".inboundRelationship[typeCode=SUBJ,code<ListEmptyReason].value[type=CD]"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionProceduresHx.section",
            "path" : "Composition.section.section",
            "short" : "Nested Section",
            "definition" : "A nested sub-section within this section.",
            "comment" : "Nested sections are primarily used to help human readers navigate to particular portions of the document.",
            "min" : 0,
            "max" : "0",
            "base" : {
              "path" : "Composition.section.section",
              "min" : 0,
              "max" : "*"
            },
            "contentReference" : "http://hl7.org/fhir/StructureDefinition/Composition#Composition.section",
            "condition" : [
              "cmp-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : false,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]"
              },
              {
                "identity" : "cda",
                "map" : ".component.section"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionImmunizations",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString" : "Section"
              }
            ],
            "path" : "Composition.section",
            "sliceName" : "sectionImmunizations",
            "short" : "IPS Immunizations Section",
            "definition" : "The Immunizations Section defines a patient's current immunization status and pertinent immunization history.\r\nThe primary use case for the Immunization Section is to enable communication of a patient's immunization status.\r\nThe section includes the current immunization status, and may contain the entire immunization history that is relevant to the period of time being summarized.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "cmp-1",
                "severity" : "error",
                "human" : "A section must contain at least one of text, entries, or sub-sections",
                "expression" : "text.exists() or entry.exists() or section.exists()",
                "xpath" : "exists(f:text) or exists(f:entry) or exists(f:section)",
                "source" : "http://hl7.org/fhir/StructureDefinition/clinicaldocument"
              },
              {
                "key" : "cmp-2",
                "severity" : "error",
                "human" : "A section can only have an emptyReason if it is empty",
                "expression" : "emptyReason.empty() or entry.empty()",
                "xpath" : "not(exists(f:emptyReason) and exists(f:entry))",
                "source" : "http://hl7.org/fhir/StructureDefinition/clinicaldocument"
              },
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]"
              },
              {
                "identity" : "cda",
                "map" : ".component.structuredBody.component.section"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionImmunizations.id",
            "path" : "Composition.section.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "Unique id for inter-element referencing",
            "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                    "valueUrl" : "string"
                  }
                ],
                "code" : "http://hl7.org/fhirpath/System.String"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionImmunizations.extension",
            "path" : "Composition.section.extension",
            "short" : "Additional content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "alias" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionImmunizations.modifierExtension",
            "path" : "Composition.section.modifierExtension",
            "short" : "Extensions that cannot be ignored even if unrecognized",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).",
            "alias" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : true,
            "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionImmunizations.title",
            "path" : "Composition.section.title",
            "short" : "Label for section (e.g. for ToC)",
            "definition" : "The label for this particular section.  This will be part of the rendered content for the document, and is often used to build a table of contents.",
            "comment" : "The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title,  or documents that only have a single section. Most Implementation Guides will make section title to be a required element.",
            "requirements" : "Section headings are often standardized for different types of documents.  They give guidance to humans on how the document is organized.",
            "alias" : [
              "header",
              "label",
              "caption"
            ],
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.title",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./title"
              },
              {
                "identity" : "cda",
                "map" : ".title"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionImmunizations.code",
            "path" : "Composition.section.code",
            "short" : "Concept - reference to a terminology or just  text",
            "definition" : "A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.",
            "comment" : "Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.",
            "requirements" : "Provides computable standardized labels to topics within the document.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.code",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept",
                "profile" : [
                  "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
                ]
              }
            ],
            "patternCodeableConcept" : {
              "coding" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "11369-6"
                }
              ]
            },
            "condition" : [
              "ele-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "CompositionSectionType"
                }
              ],
              "strength" : "example",
              "description" : "Classification of a section of a composition/document.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/doc-section-codes"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              },
              {
                "identity" : "v2",
                "map" : "CE/CNE/CWE"
              },
              {
                "identity" : "rim",
                "map" : "CD"
              },
              {
                "identity" : "orim",
                "map" : "fhir:CodeableConcept rdfs:subClassOf dt:CD"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionImmunizations.author",
            "path" : "Composition.section.author",
            "short" : "Who and/or what authored the section",
            "definition" : "Identifies who is responsible for the information in this section, not necessarily who typed it in.",
            "requirements" : "Identifies who is responsible for the content.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.author",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner",
                  "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
                  "http://hl7.org/fhir/StructureDefinition/Device",
                  "http://hl7.org/fhir/StructureDefinition/Patient",
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "FiveWs.author"
              },
              {
                "identity" : "rim",
                "map" : ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]"
              },
              {
                "identity" : "cda",
                "map" : ".author.assignedAuthor"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionImmunizations.focus",
            "path" : "Composition.section.focus",
            "short" : "Who/what the section is about, when it is not about the subject of composition",
            "definition" : "The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).",
            "comment" : "Typically, sections in a doument are about the subject of the document, whether that is a  patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are  a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.focus",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "cda",
                "map" : ".subject? (CDA did not differentiate between subject and focus)"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionImmunizations.text",
            "path" : "Composition.section.text",
            "short" : "Text summary of the section, for human interpretation",
            "definition" : "A human-readable narrative that contains the attested content of the section, used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative.",
            "comment" : "Document profiles may define what content should be represented in the narrative to ensure clinical safety.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.text",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Narrative"
              }
            ],
            "condition" : [
              "cmp-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".text"
              },
              {
                "identity" : "cda",
                "map" : ".text"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionImmunizations.mode",
            "path" : "Composition.section.mode",
            "short" : "working | snapshot | changes",
            "definition" : "How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.",
            "comment" : "This element is labeled as a modifier because a change list must not be misunderstood as a complete list.",
            "requirements" : "Sections are used in various ways, and it must be known in what way it is safe to use the entries in them.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.mode",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionMode"
                }
              ],
              "strength" : "required",
              "description" : "The processing mode that applies to this section.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-mode|4.0.1"
            },
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "FiveWs.class"
              },
              {
                "identity" : "rim",
                "map" : ".outBoundRelationship[typeCode=COMP].target[classCode=OBS\"].value"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionImmunizations.orderedBy",
            "path" : "Composition.section.orderedBy",
            "short" : "Order of section entries",
            "definition" : "Specifies the order applied to the items in the section entries.",
            "comment" : "Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.",
            "requirements" : "Important for presentation and rendering.  Lists may be sorted to place more important information first or to group related entries.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.orderedBy",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionEntryOrder"
                }
              ],
              "strength" : "preferred",
              "description" : "What order applies to the items in the entry.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-order"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP].sequenceNumber > 1"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionImmunizations.entry",
            "path" : "Composition.section.entry",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "profile",
                  "path" : "$this.resolve()"
                }
              ],
              "rules" : "open"
            },
            "short" : "Patient's immunization status and pertinent history.",
            "definition" : "It defines the patient's current immunization status and pertinent immunization history.\r\nThe primary use case for the Immunization Section is to enable communication of a patient's immunization status.\r\nIt may contain the entire immunization history that is relevant to the period of time being summarized. This entry shall be used to document that no information about immunizations is available, or that no immunizations are known.",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 1,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionImmunizations.entry:immunization",
            "path" : "Composition.section.entry",
            "sliceName" : "immunization",
            "short" : "A reference to data that supports this section",
            "definition" : "A reference to the actual resource from which the narrative in the section is derived.",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 1,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/uv/ips/StructureDefinition/Immunization-uv-ips"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionImmunizations.emptyReason",
            "path" : "Composition.section.emptyReason",
            "short" : "Why the section is empty",
            "definition" : "If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.",
            "comment" : "The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.",
            "requirements" : "Allows capturing things like \"none exist\" or \"not asked\" which can be important for most lists.",
            "min" : 0,
            "max" : "0",
            "base" : {
              "path" : "Composition.section.emptyReason",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : false,
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionEmptyReason"
                }
              ],
              "strength" : "preferred",
              "description" : "If a section is empty, why it is empty.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-empty-reason"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".inboundRelationship[typeCode=SUBJ,code<ListEmptyReason].value[type=CD]"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionImmunizations.section",
            "path" : "Composition.section.section",
            "short" : "Nested Section",
            "definition" : "A nested sub-section within this section.",
            "comment" : "Nested sections are primarily used to help human readers navigate to particular portions of the document.",
            "min" : 0,
            "max" : "0",
            "base" : {
              "path" : "Composition.section.section",
              "min" : 0,
              "max" : "*"
            },
            "contentReference" : "http://hl7.org/fhir/StructureDefinition/Composition#Composition.section",
            "condition" : [
              "cmp-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : false,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]"
              },
              {
                "identity" : "cda",
                "map" : ".component.section"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionMedicalDevices",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString" : "Section"
              }
            ],
            "path" : "Composition.section",
            "sliceName" : "sectionMedicalDevices",
            "short" : "IPS Medical Devices Section",
            "definition" : "The medical devices section contains narrative text and coded entries describing the patient history of medical device use.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "cmp-1",
                "severity" : "error",
                "human" : "A section must contain at least one of text, entries, or sub-sections",
                "expression" : "text.exists() or entry.exists() or section.exists()",
                "xpath" : "exists(f:text) or exists(f:entry) or exists(f:section)",
                "source" : "http://hl7.org/fhir/StructureDefinition/clinicaldocument"
              },
              {
                "key" : "cmp-2",
                "severity" : "error",
                "human" : "A section can only have an emptyReason if it is empty",
                "expression" : "emptyReason.empty() or entry.empty()",
                "xpath" : "not(exists(f:emptyReason) and exists(f:entry))",
                "source" : "http://hl7.org/fhir/StructureDefinition/clinicaldocument"
              },
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]"
              },
              {
                "identity" : "cda",
                "map" : ".component.structuredBody.component.section"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionMedicalDevices.id",
            "path" : "Composition.section.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "Unique id for inter-element referencing",
            "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                    "valueUrl" : "string"
                  }
                ],
                "code" : "http://hl7.org/fhirpath/System.String"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionMedicalDevices.extension",
            "path" : "Composition.section.extension",
            "short" : "Additional content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "alias" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionMedicalDevices.modifierExtension",
            "path" : "Composition.section.modifierExtension",
            "short" : "Extensions that cannot be ignored even if unrecognized",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).",
            "alias" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : true,
            "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionMedicalDevices.title",
            "path" : "Composition.section.title",
            "short" : "Label for section (e.g. for ToC)",
            "definition" : "The label for this particular section.  This will be part of the rendered content for the document, and is often used to build a table of contents.",
            "comment" : "The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title,  or documents that only have a single section. Most Implementation Guides will make section title to be a required element.",
            "requirements" : "Section headings are often standardized for different types of documents.  They give guidance to humans on how the document is organized.",
            "alias" : [
              "header",
              "label",
              "caption"
            ],
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.title",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./title"
              },
              {
                "identity" : "cda",
                "map" : ".title"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionMedicalDevices.code",
            "path" : "Composition.section.code",
            "short" : "Concept - reference to a terminology or just  text",
            "definition" : "A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.",
            "comment" : "Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.",
            "requirements" : "Provides computable standardized labels to topics within the document.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.code",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept",
                "profile" : [
                  "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
                ]
              }
            ],
            "patternCodeableConcept" : {
              "coding" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "46264-8"
                }
              ]
            },
            "condition" : [
              "ele-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "CompositionSectionType"
                }
              ],
              "strength" : "example",
              "description" : "Classification of a section of a composition/document.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/doc-section-codes"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              },
              {
                "identity" : "v2",
                "map" : "CE/CNE/CWE"
              },
              {
                "identity" : "rim",
                "map" : "CD"
              },
              {
                "identity" : "orim",
                "map" : "fhir:CodeableConcept rdfs:subClassOf dt:CD"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionMedicalDevices.author",
            "path" : "Composition.section.author",
            "short" : "Who and/or what authored the section",
            "definition" : "Identifies who is responsible for the information in this section, not necessarily who typed it in.",
            "requirements" : "Identifies who is responsible for the content.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.author",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner",
                  "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
                  "http://hl7.org/fhir/StructureDefinition/Device",
                  "http://hl7.org/fhir/StructureDefinition/Patient",
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "FiveWs.author"
              },
              {
                "identity" : "rim",
                "map" : ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]"
              },
              {
                "identity" : "cda",
                "map" : ".author.assignedAuthor"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionMedicalDevices.focus",
            "path" : "Composition.section.focus",
            "short" : "Who/what the section is about, when it is not about the subject of composition",
            "definition" : "The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).",
            "comment" : "Typically, sections in a doument are about the subject of the document, whether that is a  patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are  a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.focus",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "cda",
                "map" : ".subject? (CDA did not differentiate between subject and focus)"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionMedicalDevices.text",
            "path" : "Composition.section.text",
            "short" : "Text summary of the section, for human interpretation",
            "definition" : "A human-readable narrative that contains the attested content of the section, used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative.",
            "comment" : "Document profiles may define what content should be represented in the narrative to ensure clinical safety.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.text",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Narrative"
              }
            ],
            "condition" : [
              "cmp-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".text"
              },
              {
                "identity" : "cda",
                "map" : ".text"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionMedicalDevices.mode",
            "path" : "Composition.section.mode",
            "short" : "working | snapshot | changes",
            "definition" : "How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.",
            "comment" : "This element is labeled as a modifier because a change list must not be misunderstood as a complete list.",
            "requirements" : "Sections are used in various ways, and it must be known in what way it is safe to use the entries in them.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.mode",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionMode"
                }
              ],
              "strength" : "required",
              "description" : "The processing mode that applies to this section.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-mode|4.0.1"
            },
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "FiveWs.class"
              },
              {
                "identity" : "rim",
                "map" : ".outBoundRelationship[typeCode=COMP].target[classCode=OBS\"].value"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionMedicalDevices.orderedBy",
            "path" : "Composition.section.orderedBy",
            "short" : "Order of section entries",
            "definition" : "Specifies the order applied to the items in the section entries.",
            "comment" : "Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.",
            "requirements" : "Important for presentation and rendering.  Lists may be sorted to place more important information first or to group related entries.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.orderedBy",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionEntryOrder"
                }
              ],
              "strength" : "preferred",
              "description" : "What order applies to the items in the entry.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-order"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP].sequenceNumber > 1"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionMedicalDevices.entry",
            "path" : "Composition.section.entry",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "profile",
                  "path" : "$this.resolve()"
                }
              ],
              "rules" : "open"
            },
            "short" : "Patient history of medical device use.",
            "definition" : "It describes the patient history of medical device use. This entry shall be used to document that no information about medical device use is available, or that no relevant medical device use is known.",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 1,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionMedicalDevices.entry:deviceStatement",
            "path" : "Composition.section.entry",
            "sliceName" : "deviceStatement",
            "short" : "A reference to data that supports this section",
            "definition" : "A reference to the actual resource from which the narrative in the section is derived.",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 1,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/uv/ips/StructureDefinition/DeviceUseStatement-uv-ips"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionMedicalDevices.emptyReason",
            "path" : "Composition.section.emptyReason",
            "short" : "Why the section is empty",
            "definition" : "If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.",
            "comment" : "The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.",
            "requirements" : "Allows capturing things like \"none exist\" or \"not asked\" which can be important for most lists.",
            "min" : 0,
            "max" : "0",
            "base" : {
              "path" : "Composition.section.emptyReason",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : false,
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionEmptyReason"
                }
              ],
              "strength" : "preferred",
              "description" : "If a section is empty, why it is empty.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-empty-reason"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".inboundRelationship[typeCode=SUBJ,code<ListEmptyReason].value[type=CD]"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionMedicalDevices.section",
            "path" : "Composition.section.section",
            "short" : "Nested Section",
            "definition" : "A nested sub-section within this section.",
            "comment" : "Nested sections are primarily used to help human readers navigate to particular portions of the document.",
            "min" : 0,
            "max" : "0",
            "base" : {
              "path" : "Composition.section.section",
              "min" : 0,
              "max" : "*"
            },
            "contentReference" : "http://hl7.org/fhir/StructureDefinition/Composition#Composition.section",
            "condition" : [
              "cmp-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : false,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]"
              },
              {
                "identity" : "cda",
                "map" : ".component.section"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionResults",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString" : "Results Section"
              }
            ],
            "path" : "Composition.section",
            "sliceName" : "sectionResults",
            "short" : "IPS Results Section",
            "definition" : "This section assembles relevant observation results collected on the patient or produced on in-vitro biologic specimens collected from the patient. Some of these results may be laboratory results, others may be anatomic pathology results, others, radiology results, and others, clinical results.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "cmp-1",
                "severity" : "error",
                "human" : "A section must contain at least one of text, entries, or sub-sections",
                "expression" : "text.exists() or entry.exists() or section.exists()",
                "xpath" : "exists(f:text) or exists(f:entry) or exists(f:section)",
                "source" : "http://hl7.org/fhir/StructureDefinition/clinicaldocument"
              },
              {
                "key" : "cmp-2",
                "severity" : "error",
                "human" : "A section can only have an emptyReason if it is empty",
                "expression" : "emptyReason.empty() or entry.empty()",
                "xpath" : "not(exists(f:emptyReason) and exists(f:entry))",
                "source" : "http://hl7.org/fhir/StructureDefinition/clinicaldocument"
              },
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]"
              },
              {
                "identity" : "cda",
                "map" : ".component.structuredBody.component.section"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionResults.id",
            "path" : "Composition.section.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "Unique id for inter-element referencing",
            "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                    "valueUrl" : "string"
                  }
                ],
                "code" : "http://hl7.org/fhirpath/System.String"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionResults.extension",
            "path" : "Composition.section.extension",
            "short" : "Additional content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "alias" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionResults.modifierExtension",
            "path" : "Composition.section.modifierExtension",
            "short" : "Extensions that cannot be ignored even if unrecognized",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).",
            "alias" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : true,
            "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionResults.title",
            "path" : "Composition.section.title",
            "short" : "Label for section (e.g. for ToC)",
            "definition" : "The label for this particular section.  This will be part of the rendered content for the document, and is often used to build a table of contents.",
            "comment" : "The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title,  or documents that only have a single section. Most Implementation Guides will make section title to be a required element.",
            "requirements" : "Section headings are often standardized for different types of documents.  They give guidance to humans on how the document is organized.",
            "alias" : [
              "header",
              "label",
              "caption"
            ],
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.title",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./title"
              },
              {
                "identity" : "cda",
                "map" : ".title"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionResults.code",
            "path" : "Composition.section.code",
            "short" : "Concept - reference to a terminology or just  text",
            "definition" : "A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.",
            "comment" : "Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.",
            "requirements" : "Provides computable standardized labels to topics within the document.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.code",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept",
                "profile" : [
                  "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
                ]
              }
            ],
            "patternCodeableConcept" : {
              "coding" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "30954-2"
                }
              ]
            },
            "condition" : [
              "ele-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "CompositionSectionType"
                }
              ],
              "strength" : "example",
              "description" : "Classification of a section of a composition/document.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/doc-section-codes"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              },
              {
                "identity" : "v2",
                "map" : "CE/CNE/CWE"
              },
              {
                "identity" : "rim",
                "map" : "CD"
              },
              {
                "identity" : "orim",
                "map" : "fhir:CodeableConcept rdfs:subClassOf dt:CD"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionResults.author",
            "path" : "Composition.section.author",
            "short" : "Who and/or what authored the section",
            "definition" : "Identifies who is responsible for the information in this section, not necessarily who typed it in.",
            "requirements" : "Identifies who is responsible for the content.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.author",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner",
                  "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
                  "http://hl7.org/fhir/StructureDefinition/Device",
                  "http://hl7.org/fhir/StructureDefinition/Patient",
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "FiveWs.author"
              },
              {
                "identity" : "rim",
                "map" : ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]"
              },
              {
                "identity" : "cda",
                "map" : ".author.assignedAuthor"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionResults.focus",
            "path" : "Composition.section.focus",
            "short" : "Who/what the section is about, when it is not about the subject of composition",
            "definition" : "The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).",
            "comment" : "Typically, sections in a doument are about the subject of the document, whether that is a  patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are  a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.focus",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "cda",
                "map" : ".subject? (CDA did not differentiate between subject and focus)"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionResults.text",
            "path" : "Composition.section.text",
            "short" : "Text summary of the section, for human interpretation",
            "definition" : "A human-readable narrative that contains the attested content of the section, used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative.",
            "comment" : "Document profiles may define what content should be represented in the narrative to ensure clinical safety.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.text",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Narrative"
              }
            ],
            "condition" : [
              "cmp-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".text"
              },
              {
                "identity" : "cda",
                "map" : ".text"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionResults.mode",
            "path" : "Composition.section.mode",
            "short" : "working | snapshot | changes",
            "definition" : "How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.",
            "comment" : "This element is labeled as a modifier because a change list must not be misunderstood as a complete list.",
            "requirements" : "Sections are used in various ways, and it must be known in what way it is safe to use the entries in them.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.mode",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionMode"
                }
              ],
              "strength" : "required",
              "description" : "The processing mode that applies to this section.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-mode|4.0.1"
            },
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "FiveWs.class"
              },
              {
                "identity" : "rim",
                "map" : ".outBoundRelationship[typeCode=COMP].target[classCode=OBS\"].value"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionResults.orderedBy",
            "path" : "Composition.section.orderedBy",
            "short" : "Order of section entries",
            "definition" : "Specifies the order applied to the items in the section entries.",
            "comment" : "Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.",
            "requirements" : "Important for presentation and rendering.  Lists may be sorted to place more important information first or to group related entries.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.orderedBy",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionEntryOrder"
                }
              ],
              "strength" : "preferred",
              "description" : "What order applies to the items in the entry.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-order"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP].sequenceNumber > 1"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionResults.entry",
            "path" : "Composition.section.entry",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "type",
                  "path" : "$this.resolve()"
                },
                {
                  "type" : "profile",
                  "path" : "$this.resolve()"
                }
              ],
              "rules" : "open"
            },
            "short" : "Relevant observation results collected on the patient or produced on in-vitro biologic specimens collected from the patient.",
            "definition" : "Relevant observation results collected on the patient or produced on in-vitro biologic specimens collected from the patient. Some of these results may be laboratory results, others may be anatomic pathology results, others, radiology results, and others, clinical results.",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 1,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionResults.entry:results-observation",
            "path" : "Composition.section.entry",
            "sliceName" : "results-observation",
            "short" : "A reference to data that supports this section",
            "definition" : "A reference to the actual resource from which the narrative in the section is derived.",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-results-laboratory-uv-ips",
                  "http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-results-pathology-uv-ips",
                  "http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-results-radiology-uv-ips",
                  "http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-results-uv-ips"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionResults.entry:results-diagnosticReport",
            "path" : "Composition.section.entry",
            "sliceName" : "results-diagnosticReport",
            "short" : "A reference to data that supports this section",
            "definition" : "A reference to the actual resource from which the narrative in the section is derived.",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/uv/ips/StructureDefinition/DiagnosticReport-uv-ips"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionResults.emptyReason",
            "path" : "Composition.section.emptyReason",
            "short" : "Why the section is empty",
            "definition" : "If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.",
            "comment" : "The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.",
            "requirements" : "Allows capturing things like \"none exist\" or \"not asked\" which can be important for most lists.",
            "min" : 0,
            "max" : "0",
            "base" : {
              "path" : "Composition.section.emptyReason",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : false,
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionEmptyReason"
                }
              ],
              "strength" : "preferred",
              "description" : "If a section is empty, why it is empty.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-empty-reason"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".inboundRelationship[typeCode=SUBJ,code<ListEmptyReason].value[type=CD]"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionResults.section",
            "path" : "Composition.section.section",
            "short" : "Nested Section",
            "definition" : "A nested sub-section within this section.",
            "comment" : "Nested sections are primarily used to help human readers navigate to particular portions of the document.",
            "min" : 0,
            "max" : "0",
            "base" : {
              "path" : "Composition.section.section",
              "min" : 0,
              "max" : "*"
            },
            "contentReference" : "http://hl7.org/fhir/StructureDefinition/Composition#Composition.section",
            "condition" : [
              "cmp-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : false,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]"
              },
              {
                "identity" : "cda",
                "map" : ".component.section"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionVitalSigns",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString" : "Vital Signs Section"
              }
            ],
            "path" : "Composition.section",
            "sliceName" : "sectionVitalSigns",
            "label" : "Vital signs",
            "short" : "IPS Vital Signs Section",
            "definition" : "The Vital signs section includes blood pressure, body temperature, heart rate, and respiratory rate. It may also include other clinical findings, such as height, weight, body mass index, head circumference, and pulse oximetry. In particular, notable vital signs or physical findings such as the most recent, maximum and/or minimum, baseline, or relevant trends may be included",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "cmp-1",
                "severity" : "error",
                "human" : "A section must contain at least one of text, entries, or sub-sections",
                "expression" : "text.exists() or entry.exists() or section.exists()",
                "xpath" : "exists(f:text) or exists(f:entry) or exists(f:section)",
                "source" : "http://hl7.org/fhir/StructureDefinition/clinicaldocument"
              },
              {
                "key" : "cmp-2",
                "severity" : "error",
                "human" : "A section can only have an emptyReason if it is empty",
                "expression" : "emptyReason.empty() or entry.empty()",
                "xpath" : "not(exists(f:emptyReason) and exists(f:entry))",
                "source" : "http://hl7.org/fhir/StructureDefinition/clinicaldocument"
              },
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]"
              },
              {
                "identity" : "cda",
                "map" : ".component.structuredBody.component.section"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionVitalSigns.id",
            "path" : "Composition.section.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "Unique id for inter-element referencing",
            "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                    "valueUrl" : "string"
                  }
                ],
                "code" : "http://hl7.org/fhirpath/System.String"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionVitalSigns.extension",
            "path" : "Composition.section.extension",
            "short" : "Additional content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "alias" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionVitalSigns.modifierExtension",
            "path" : "Composition.section.modifierExtension",
            "short" : "Extensions that cannot be ignored even if unrecognized",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).",
            "alias" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : true,
            "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionVitalSigns.title",
            "path" : "Composition.section.title",
            "short" : "Label for section (e.g. for ToC)",
            "definition" : "The label for this particular section.  This will be part of the rendered content for the document, and is often used to build a table of contents.",
            "comment" : "The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title,  or documents that only have a single section. Most Implementation Guides will make section title to be a required element.",
            "requirements" : "Section headings are often standardized for different types of documents.  They give guidance to humans on how the document is organized.",
            "alias" : [
              "header",
              "label",
              "caption"
            ],
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.title",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./title"
              },
              {
                "identity" : "cda",
                "map" : ".title"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionVitalSigns.code",
            "path" : "Composition.section.code",
            "short" : "Concept - reference to a terminology or just  text",
            "definition" : "A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.",
            "comment" : "Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.",
            "requirements" : "Provides computable standardized labels to topics within the document.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.code",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept",
                "profile" : [
                  "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
                ]
              }
            ],
            "patternCodeableConcept" : {
              "coding" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "8716-3"
                }
              ]
            },
            "condition" : [
              "ele-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "CompositionSectionType"
                }
              ],
              "strength" : "example",
              "description" : "Classification of a section of a composition/document.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/doc-section-codes"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              },
              {
                "identity" : "v2",
                "map" : "CE/CNE/CWE"
              },
              {
                "identity" : "rim",
                "map" : "CD"
              },
              {
                "identity" : "orim",
                "map" : "fhir:CodeableConcept rdfs:subClassOf dt:CD"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionVitalSigns.author",
            "path" : "Composition.section.author",
            "short" : "Who and/or what authored the section",
            "definition" : "Identifies who is responsible for the information in this section, not necessarily who typed it in.",
            "requirements" : "Identifies who is responsible for the content.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.author",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner",
                  "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
                  "http://hl7.org/fhir/StructureDefinition/Device",
                  "http://hl7.org/fhir/StructureDefinition/Patient",
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "FiveWs.author"
              },
              {
                "identity" : "rim",
                "map" : ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]"
              },
              {
                "identity" : "cda",
                "map" : ".author.assignedAuthor"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionVitalSigns.focus",
            "path" : "Composition.section.focus",
            "short" : "Who/what the section is about, when it is not about the subject of composition",
            "definition" : "The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).",
            "comment" : "Typically, sections in a doument are about the subject of the document, whether that is a  patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are  a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.focus",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "cda",
                "map" : ".subject? (CDA did not differentiate between subject and focus)"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionVitalSigns.text",
            "path" : "Composition.section.text",
            "short" : "Text summary of the section, for human interpretation",
            "definition" : "A human-readable narrative that contains the attested content of the section, used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative.",
            "comment" : "Document profiles may define what content should be represented in the narrative to ensure clinical safety.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.text",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Narrative"
              }
            ],
            "condition" : [
              "cmp-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".text"
              },
              {
                "identity" : "cda",
                "map" : ".text"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionVitalSigns.mode",
            "path" : "Composition.section.mode",
            "short" : "working | snapshot | changes",
            "definition" : "How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.",
            "comment" : "This element is labeled as a modifier because a change list must not be misunderstood as a complete list.",
            "requirements" : "Sections are used in various ways, and it must be known in what way it is safe to use the entries in them.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.mode",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionMode"
                }
              ],
              "strength" : "required",
              "description" : "The processing mode that applies to this section.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-mode|4.0.1"
            },
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "FiveWs.class"
              },
              {
                "identity" : "rim",
                "map" : ".outBoundRelationship[typeCode=COMP].target[classCode=OBS\"].value"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionVitalSigns.orderedBy",
            "path" : "Composition.section.orderedBy",
            "short" : "Order of section entries",
            "definition" : "Specifies the order applied to the items in the section entries.",
            "comment" : "Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.",
            "requirements" : "Important for presentation and rendering.  Lists may be sorted to place more important information first or to group related entries.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.orderedBy",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionEntryOrder"
                }
              ],
              "strength" : "preferred",
              "description" : "What order applies to the items in the entry.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-order"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP].sequenceNumber > 1"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionVitalSigns.entry",
            "path" : "Composition.section.entry",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "profile",
                  "path" : "$this.resolve()"
                }
              ],
              "rules" : "open"
            },
            "short" : "Notable vital signs or physical findings.",
            "definition" : "Notable vital signs or physical findings as: blood pressure, body temperature, heart rate, and respiratory rate. It may also include other clinical findings, such as height, weight, body mass index, head circumference, and pulse oximetry. In particular, notable vital signs or physical findings such as the most recent, maximum and/or minimum, baseline, or relevant trends may be included",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionVitalSigns.entry:vitalSign",
            "path" : "Composition.section.entry",
            "sliceName" : "vitalSign",
            "short" : "A reference to data that supports this section",
            "definition" : "A reference to the actual resource from which the narrative in the section is derived.",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/vitalsigns"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionVitalSigns.emptyReason",
            "path" : "Composition.section.emptyReason",
            "short" : "Why the section is empty",
            "definition" : "If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.",
            "comment" : "The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.",
            "requirements" : "Allows capturing things like \"none exist\" or \"not asked\" which can be important for most lists.",
            "min" : 0,
            "max" : "0",
            "base" : {
              "path" : "Composition.section.emptyReason",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : false,
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionEmptyReason"
                }
              ],
              "strength" : "preferred",
              "description" : "If a section is empty, why it is empty.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-empty-reason"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".inboundRelationship[typeCode=SUBJ,code<ListEmptyReason].value[type=CD]"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionVitalSigns.section",
            "path" : "Composition.section.section",
            "short" : "Nested Section",
            "definition" : "A nested sub-section within this section.",
            "comment" : "Nested sections are primarily used to help human readers navigate to particular portions of the document.",
            "min" : 0,
            "max" : "0",
            "base" : {
              "path" : "Composition.section.section",
              "min" : 0,
              "max" : "*"
            },
            "contentReference" : "http://hl7.org/fhir/StructureDefinition/Composition#Composition.section",
            "condition" : [
              "cmp-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : false,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]"
              },
              {
                "identity" : "cda",
                "map" : ".component.section"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionPastIllnessHx",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString" : "Section"
              }
            ],
            "path" : "Composition.section",
            "sliceName" : "sectionPastIllnessHx",
            "short" : "IPS History of Past Illness Section",
            "definition" : "The History of Past Illness section contains a description of the conditions the patient suffered in the past.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "cmp-1",
                "severity" : "error",
                "human" : "A section must contain at least one of text, entries, or sub-sections",
                "expression" : "text.exists() or entry.exists() or section.exists()",
                "xpath" : "exists(f:text) or exists(f:entry) or exists(f:section)",
                "source" : "http://hl7.org/fhir/StructureDefinition/clinicaldocument"
              },
              {
                "key" : "cmp-2",
                "severity" : "error",
                "human" : "A section can only have an emptyReason if it is empty",
                "expression" : "emptyReason.empty() or entry.empty()",
                "xpath" : "not(exists(f:emptyReason) and exists(f:entry))",
                "source" : "http://hl7.org/fhir/StructureDefinition/clinicaldocument"
              },
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]"
              },
              {
                "identity" : "cda",
                "map" : ".component.structuredBody.component.section"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionPastIllnessHx.id",
            "path" : "Composition.section.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "Unique id for inter-element referencing",
            "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                    "valueUrl" : "string"
                  }
                ],
                "code" : "http://hl7.org/fhirpath/System.String"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionPastIllnessHx.extension",
            "path" : "Composition.section.extension",
            "short" : "Additional content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "alias" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionPastIllnessHx.modifierExtension",
            "path" : "Composition.section.modifierExtension",
            "short" : "Extensions that cannot be ignored even if unrecognized",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).",
            "alias" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : true,
            "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionPastIllnessHx.title",
            "path" : "Composition.section.title",
            "short" : "Label for section (e.g. for ToC)",
            "definition" : "The label for this particular section.  This will be part of the rendered content for the document, and is often used to build a table of contents.",
            "comment" : "The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title,  or documents that only have a single section. Most Implementation Guides will make section title to be a required element.",
            "requirements" : "Section headings are often standardized for different types of documents.  They give guidance to humans on how the document is organized.",
            "alias" : [
              "header",
              "label",
              "caption"
            ],
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.title",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./title"
              },
              {
                "identity" : "cda",
                "map" : ".title"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionPastIllnessHx.code",
            "path" : "Composition.section.code",
            "short" : "Concept - reference to a terminology or just  text",
            "definition" : "A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.",
            "comment" : "Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.",
            "requirements" : "Provides computable standardized labels to topics within the document.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.code",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept",
                "profile" : [
                  "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
                ]
              }
            ],
            "patternCodeableConcept" : {
              "coding" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "11348-0"
                }
              ]
            },
            "condition" : [
              "ele-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "CompositionSectionType"
                }
              ],
              "strength" : "example",
              "description" : "Classification of a section of a composition/document.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/doc-section-codes"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              },
              {
                "identity" : "v2",
                "map" : "CE/CNE/CWE"
              },
              {
                "identity" : "rim",
                "map" : "CD"
              },
              {
                "identity" : "orim",
                "map" : "fhir:CodeableConcept rdfs:subClassOf dt:CD"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionPastIllnessHx.author",
            "path" : "Composition.section.author",
            "short" : "Who and/or what authored the section",
            "definition" : "Identifies who is responsible for the information in this section, not necessarily who typed it in.",
            "requirements" : "Identifies who is responsible for the content.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.author",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner",
                  "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
                  "http://hl7.org/fhir/StructureDefinition/Device",
                  "http://hl7.org/fhir/StructureDefinition/Patient",
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "FiveWs.author"
              },
              {
                "identity" : "rim",
                "map" : ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]"
              },
              {
                "identity" : "cda",
                "map" : ".author.assignedAuthor"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionPastIllnessHx.focus",
            "path" : "Composition.section.focus",
            "short" : "Who/what the section is about, when it is not about the subject of composition",
            "definition" : "The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).",
            "comment" : "Typically, sections in a doument are about the subject of the document, whether that is a  patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are  a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.focus",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "cda",
                "map" : ".subject? (CDA did not differentiate between subject and focus)"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionPastIllnessHx.text",
            "path" : "Composition.section.text",
            "short" : "Text summary of the section, for human interpretation",
            "definition" : "A human-readable narrative that contains the attested content of the section, used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative.",
            "comment" : "Document profiles may define what content should be represented in the narrative to ensure clinical safety.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.text",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Narrative"
              }
            ],
            "condition" : [
              "cmp-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".text"
              },
              {
                "identity" : "cda",
                "map" : ".text"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionPastIllnessHx.mode",
            "path" : "Composition.section.mode",
            "short" : "working | snapshot | changes",
            "definition" : "How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.",
            "comment" : "This element is labeled as a modifier because a change list must not be misunderstood as a complete list.",
            "requirements" : "Sections are used in various ways, and it must be known in what way it is safe to use the entries in them.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.mode",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionMode"
                }
              ],
              "strength" : "required",
              "description" : "The processing mode that applies to this section.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-mode|4.0.1"
            },
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "FiveWs.class"
              },
              {
                "identity" : "rim",
                "map" : ".outBoundRelationship[typeCode=COMP].target[classCode=OBS\"].value"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionPastIllnessHx.orderedBy",
            "path" : "Composition.section.orderedBy",
            "short" : "Order of section entries",
            "definition" : "Specifies the order applied to the items in the section entries.",
            "comment" : "Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.",
            "requirements" : "Important for presentation and rendering.  Lists may be sorted to place more important information first or to group related entries.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.orderedBy",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionEntryOrder"
                }
              ],
              "strength" : "preferred",
              "description" : "What order applies to the items in the entry.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-order"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP].sequenceNumber > 1"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionPastIllnessHx.entry",
            "path" : "Composition.section.entry",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "profile",
                  "path" : "$this.resolve()"
                }
              ],
              "rules" : "open"
            },
            "short" : "Conditions the patient suffered in the past.",
            "definition" : "It contains a description of the conditions the patient suffered in the past.",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 1,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionPastIllnessHx.entry:pastProblem",
            "path" : "Composition.section.entry",
            "sliceName" : "pastProblem",
            "short" : "A reference to data that supports this section",
            "definition" : "A reference to the actual resource from which the narrative in the section is derived.",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 1,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/uv/ips/StructureDefinition/Condition-uv-ips"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionPastIllnessHx.emptyReason",
            "path" : "Composition.section.emptyReason",
            "short" : "Why the section is empty",
            "definition" : "If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.",
            "comment" : "The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.",
            "requirements" : "Allows capturing things like \"none exist\" or \"not asked\" which can be important for most lists.",
            "min" : 0,
            "max" : "0",
            "base" : {
              "path" : "Composition.section.emptyReason",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : false,
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionEmptyReason"
                }
              ],
              "strength" : "preferred",
              "description" : "If a section is empty, why it is empty.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-empty-reason"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".inboundRelationship[typeCode=SUBJ,code<ListEmptyReason].value[type=CD]"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionPastIllnessHx.section",
            "path" : "Composition.section.section",
            "short" : "Nested Section",
            "definition" : "A nested sub-section within this section.",
            "comment" : "Nested sections are primarily used to help human readers navigate to particular portions of the document.",
            "min" : 0,
            "max" : "0",
            "base" : {
              "path" : "Composition.section.section",
              "min" : 0,
              "max" : "*"
            },
            "contentReference" : "http://hl7.org/fhir/StructureDefinition/Composition#Composition.section",
            "condition" : [
              "cmp-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : false,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]"
              },
              {
                "identity" : "cda",
                "map" : ".component.section"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionFunctionalStatus",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString" : "Section"
              }
            ],
            "path" : "Composition.section",
            "sliceName" : "sectionFunctionalStatus",
            "short" : "IPS Functional Status",
            "definition" : "The functional status section shall contain a narrative description of capability of the patient to perform acts of daily living, including possible needs of the patient to be continuously assessed by third parties. The invalidity status may in fact influence decisions about how to administer treatments.\r\nProfiles to express disabilities and functional assessments will be specified by future versions of this guide.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "cmp-1",
                "severity" : "error",
                "human" : "A section must contain at least one of text, entries, or sub-sections",
                "expression" : "text.exists() or entry.exists() or section.exists()",
                "xpath" : "exists(f:text) or exists(f:entry) or exists(f:section)",
                "source" : "http://hl7.org/fhir/StructureDefinition/clinicaldocument"
              },
              {
                "key" : "cmp-2",
                "severity" : "error",
                "human" : "A section can only have an emptyReason if it is empty",
                "expression" : "emptyReason.empty() or entry.empty()",
                "xpath" : "not(exists(f:emptyReason) and exists(f:entry))",
                "source" : "http://hl7.org/fhir/StructureDefinition/clinicaldocument"
              },
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]"
              },
              {
                "identity" : "cda",
                "map" : ".component.structuredBody.component.section"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionFunctionalStatus.id",
            "path" : "Composition.section.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "Unique id for inter-element referencing",
            "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                    "valueUrl" : "string"
                  }
                ],
                "code" : "http://hl7.org/fhirpath/System.String"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionFunctionalStatus.extension",
            "path" : "Composition.section.extension",
            "short" : "Additional content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "alias" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionFunctionalStatus.modifierExtension",
            "path" : "Composition.section.modifierExtension",
            "short" : "Extensions that cannot be ignored even if unrecognized",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).",
            "alias" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : true,
            "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionFunctionalStatus.title",
            "path" : "Composition.section.title",
            "short" : "Label for section (e.g. for ToC)",
            "definition" : "The label for this particular section.  This will be part of the rendered content for the document, and is often used to build a table of contents.",
            "comment" : "The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title,  or documents that only have a single section. Most Implementation Guides will make section title to be a required element.",
            "requirements" : "Section headings are often standardized for different types of documents.  They give guidance to humans on how the document is organized.",
            "alias" : [
              "header",
              "label",
              "caption"
            ],
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.title",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./title"
              },
              {
                "identity" : "cda",
                "map" : ".title"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionFunctionalStatus.code",
            "path" : "Composition.section.code",
            "short" : "Concept - reference to a terminology or just  text",
            "definition" : "A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.",
            "comment" : "Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.",
            "requirements" : "Provides computable standardized labels to topics within the document.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.code",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept",
                "profile" : [
                  "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
                ]
              }
            ],
            "patternCodeableConcept" : {
              "coding" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "47420-5"
                }
              ]
            },
            "condition" : [
              "ele-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "CompositionSectionType"
                }
              ],
              "strength" : "example",
              "description" : "Classification of a section of a composition/document.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/doc-section-codes"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              },
              {
                "identity" : "v2",
                "map" : "CE/CNE/CWE"
              },
              {
                "identity" : "rim",
                "map" : "CD"
              },
              {
                "identity" : "orim",
                "map" : "fhir:CodeableConcept rdfs:subClassOf dt:CD"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionFunctionalStatus.author",
            "path" : "Composition.section.author",
            "short" : "Who and/or what authored the section",
            "definition" : "Identifies who is responsible for the information in this section, not necessarily who typed it in.",
            "requirements" : "Identifies who is responsible for the content.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.author",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner",
                  "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
                  "http://hl7.org/fhir/StructureDefinition/Device",
                  "http://hl7.org/fhir/StructureDefinition/Patient",
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "FiveWs.author"
              },
              {
                "identity" : "rim",
                "map" : ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]"
              },
              {
                "identity" : "cda",
                "map" : ".author.assignedAuthor"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionFunctionalStatus.focus",
            "path" : "Composition.section.focus",
            "short" : "Who/what the section is about, when it is not about the subject of composition",
            "definition" : "The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).",
            "comment" : "Typically, sections in a doument are about the subject of the document, whether that is a  patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are  a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.focus",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "cda",
                "map" : ".subject? (CDA did not differentiate between subject and focus)"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionFunctionalStatus.text",
            "path" : "Composition.section.text",
            "short" : "Text summary of the section, for human interpretation",
            "definition" : "A human-readable narrative that contains the attested content of the section, used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative.",
            "comment" : "Document profiles may define what content should be represented in the narrative to ensure clinical safety.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.text",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Narrative"
              }
            ],
            "condition" : [
              "cmp-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".text"
              },
              {
                "identity" : "cda",
                "map" : ".text"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionFunctionalStatus.mode",
            "path" : "Composition.section.mode",
            "short" : "working | snapshot | changes",
            "definition" : "How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.",
            "comment" : "This element is labeled as a modifier because a change list must not be misunderstood as a complete list.",
            "requirements" : "Sections are used in various ways, and it must be known in what way it is safe to use the entries in them.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.mode",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionMode"
                }
              ],
              "strength" : "required",
              "description" : "The processing mode that applies to this section.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-mode|4.0.1"
            },
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "FiveWs.class"
              },
              {
                "identity" : "rim",
                "map" : ".outBoundRelationship[typeCode=COMP].target[classCode=OBS\"].value"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionFunctionalStatus.orderedBy",
            "path" : "Composition.section.orderedBy",
            "short" : "Order of section entries",
            "definition" : "Specifies the order applied to the items in the section entries.",
            "comment" : "Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.",
            "requirements" : "Important for presentation and rendering.  Lists may be sorted to place more important information first or to group related entries.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.orderedBy",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionEntryOrder"
                }
              ],
              "strength" : "preferred",
              "description" : "What order applies to the items in the entry.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-order"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP].sequenceNumber > 1"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionFunctionalStatus.entry",
            "path" : "Composition.section.entry",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "profile",
                  "path" : "$this.resolve()"
                }
              ],
              "rules" : "open"
            },
            "short" : "Optional entry used to represent disabilities and functional assessments",
            "definition" : "It describes capabilities of the patient to perform acts of daily living, including possible needs of the patient to be continuously assessed by third parties. The invalidity status may in fact influence decisions about how to administer treatments.\r\nProfiles to express disabilities and functional assessments will be specified by future versions of this guide.",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionFunctionalStatus.entry:disability",
            "path" : "Composition.section.entry",
            "sliceName" : "disability",
            "short" : "A reference to data that supports this section",
            "definition" : "A reference to the actual resource from which the narrative in the section is derived.",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/uv/ips/StructureDefinition/Condition-uv-ips"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionFunctionalStatus.entry:functionalAssessment",
            "path" : "Composition.section.entry",
            "sliceName" : "functionalAssessment",
            "short" : "A reference to data that supports this section",
            "definition" : "A reference to the actual resource from which the narrative in the section is derived.",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/ClinicalImpression"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionFunctionalStatus.emptyReason",
            "path" : "Composition.section.emptyReason",
            "short" : "Why the section is empty",
            "definition" : "If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.",
            "comment" : "The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.",
            "requirements" : "Allows capturing things like \"none exist\" or \"not asked\" which can be important for most lists.",
            "min" : 0,
            "max" : "0",
            "base" : {
              "path" : "Composition.section.emptyReason",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : false,
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionEmptyReason"
                }
              ],
              "strength" : "preferred",
              "description" : "If a section is empty, why it is empty.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-empty-reason"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".inboundRelationship[typeCode=SUBJ,code<ListEmptyReason].value[type=CD]"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionFunctionalStatus.section",
            "path" : "Composition.section.section",
            "short" : "Nested Section",
            "definition" : "A nested sub-section within this section.",
            "comment" : "Nested sections are primarily used to help human readers navigate to particular portions of the document.",
            "min" : 0,
            "max" : "0",
            "base" : {
              "path" : "Composition.section.section",
              "min" : 0,
              "max" : "*"
            },
            "contentReference" : "http://hl7.org/fhir/StructureDefinition/Composition#Composition.section",
            "condition" : [
              "cmp-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : false,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]"
              },
              {
                "identity" : "cda",
                "map" : ".component.section"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionPlanOfCare",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString" : "Section"
              }
            ],
            "path" : "Composition.section",
            "sliceName" : "sectionPlanOfCare",
            "short" : "IPS Plan of Care Section",
            "definition" : "The plan of care section contains a narrative description of the expectations for care including proposals, goals, and order requests for monitoring, tracking, or improving the condition of the patient.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "cmp-1",
                "severity" : "error",
                "human" : "A section must contain at least one of text, entries, or sub-sections",
                "expression" : "text.exists() or entry.exists() or section.exists()",
                "xpath" : "exists(f:text) or exists(f:entry) or exists(f:section)",
                "source" : "http://hl7.org/fhir/StructureDefinition/clinicaldocument"
              },
              {
                "key" : "cmp-2",
                "severity" : "error",
                "human" : "A section can only have an emptyReason if it is empty",
                "expression" : "emptyReason.empty() or entry.empty()",
                "xpath" : "not(exists(f:emptyReason) and exists(f:entry))",
                "source" : "http://hl7.org/fhir/StructureDefinition/clinicaldocument"
              },
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]"
              },
              {
                "identity" : "cda",
                "map" : ".component.structuredBody.component.section"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionPlanOfCare.id",
            "path" : "Composition.section.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "Unique id for inter-element referencing",
            "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                    "valueUrl" : "string"
                  }
                ],
                "code" : "http://hl7.org/fhirpath/System.String"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionPlanOfCare.extension",
            "path" : "Composition.section.extension",
            "short" : "Additional content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "alias" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionPlanOfCare.modifierExtension",
            "path" : "Composition.section.modifierExtension",
            "short" : "Extensions that cannot be ignored even if unrecognized",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).",
            "alias" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : true,
            "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionPlanOfCare.title",
            "path" : "Composition.section.title",
            "short" : "Label for section (e.g. for ToC)",
            "definition" : "The label for this particular section.  This will be part of the rendered content for the document, and is often used to build a table of contents.",
            "comment" : "The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title,  or documents that only have a single section. Most Implementation Guides will make section title to be a required element.",
            "requirements" : "Section headings are often standardized for different types of documents.  They give guidance to humans on how the document is organized.",
            "alias" : [
              "header",
              "label",
              "caption"
            ],
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.title",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./title"
              },
              {
                "identity" : "cda",
                "map" : ".title"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionPlanOfCare.code",
            "path" : "Composition.section.code",
            "short" : "Concept - reference to a terminology or just  text",
            "definition" : "A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.",
            "comment" : "Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.",
            "requirements" : "Provides computable standardized labels to topics within the document.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.code",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept",
                "profile" : [
                  "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
                ]
              }
            ],
            "patternCodeableConcept" : {
              "coding" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "18776-5"
                }
              ]
            },
            "condition" : [
              "ele-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "CompositionSectionType"
                }
              ],
              "strength" : "example",
              "description" : "Classification of a section of a composition/document.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/doc-section-codes"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              },
              {
                "identity" : "v2",
                "map" : "CE/CNE/CWE"
              },
              {
                "identity" : "rim",
                "map" : "CD"
              },
              {
                "identity" : "orim",
                "map" : "fhir:CodeableConcept rdfs:subClassOf dt:CD"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionPlanOfCare.author",
            "path" : "Composition.section.author",
            "short" : "Who and/or what authored the section",
            "definition" : "Identifies who is responsible for the information in this section, not necessarily who typed it in.",
            "requirements" : "Identifies who is responsible for the content.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.author",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner",
                  "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
                  "http://hl7.org/fhir/StructureDefinition/Device",
                  "http://hl7.org/fhir/StructureDefinition/Patient",
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "FiveWs.author"
              },
              {
                "identity" : "rim",
                "map" : ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]"
              },
              {
                "identity" : "cda",
                "map" : ".author.assignedAuthor"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionPlanOfCare.focus",
            "path" : "Composition.section.focus",
            "short" : "Who/what the section is about, when it is not about the subject of composition",
            "definition" : "The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).",
            "comment" : "Typically, sections in a doument are about the subject of the document, whether that is a  patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are  a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.focus",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "cda",
                "map" : ".subject? (CDA did not differentiate between subject and focus)"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionPlanOfCare.text",
            "path" : "Composition.section.text",
            "short" : "Text summary of the section, for human interpretation",
            "definition" : "A human-readable narrative that contains the attested content of the section, used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative.",
            "comment" : "Document profiles may define what content should be represented in the narrative to ensure clinical safety.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.text",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Narrative"
              }
            ],
            "condition" : [
              "cmp-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".text"
              },
              {
                "identity" : "cda",
                "map" : ".text"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionPlanOfCare.mode",
            "path" : "Composition.section.mode",
            "short" : "working | snapshot | changes",
            "definition" : "How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.",
            "comment" : "This element is labeled as a modifier because a change list must not be misunderstood as a complete list.",
            "requirements" : "Sections are used in various ways, and it must be known in what way it is safe to use the entries in them.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.mode",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionMode"
                }
              ],
              "strength" : "required",
              "description" : "The processing mode that applies to this section.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-mode|4.0.1"
            },
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "FiveWs.class"
              },
              {
                "identity" : "rim",
                "map" : ".outBoundRelationship[typeCode=COMP].target[classCode=OBS\"].value"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionPlanOfCare.orderedBy",
            "path" : "Composition.section.orderedBy",
            "short" : "Order of section entries",
            "definition" : "Specifies the order applied to the items in the section entries.",
            "comment" : "Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.",
            "requirements" : "Important for presentation and rendering.  Lists may be sorted to place more important information first or to group related entries.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.orderedBy",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionEntryOrder"
                }
              ],
              "strength" : "preferred",
              "description" : "What order applies to the items in the entry.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-order"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP].sequenceNumber > 1"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionPlanOfCare.entry",
            "path" : "Composition.section.entry",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "profile",
                  "path" : "$this.resolve()"
                }
              ],
              "rules" : "open"
            },
            "short" : "Optional entry used to represent structured care plans",
            "definition" : "Dynamic, personalized plan including identified needed healthcare activity, health objectives and healthcare goals, relating to one or more specified health issues in a healthcare process [Source EN ISO 13940]",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : false,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionPlanOfCare.entry:carePlan",
            "path" : "Composition.section.entry",
            "sliceName" : "carePlan",
            "short" : "A reference to data that supports this section",
            "definition" : "A reference to the actual resource from which the narrative in the section is derived.",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/CarePlan"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : false,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionPlanOfCare.emptyReason",
            "path" : "Composition.section.emptyReason",
            "short" : "Why the section is empty",
            "definition" : "If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.",
            "comment" : "The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.",
            "requirements" : "Allows capturing things like \"none exist\" or \"not asked\" which can be important for most lists.",
            "min" : 0,
            "max" : "0",
            "base" : {
              "path" : "Composition.section.emptyReason",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : false,
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionEmptyReason"
                }
              ],
              "strength" : "preferred",
              "description" : "If a section is empty, why it is empty.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-empty-reason"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".inboundRelationship[typeCode=SUBJ,code<ListEmptyReason].value[type=CD]"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionPlanOfCare.section",
            "path" : "Composition.section.section",
            "short" : "Nested Section",
            "definition" : "A nested sub-section within this section.",
            "comment" : "Nested sections are primarily used to help human readers navigate to particular portions of the document.",
            "min" : 0,
            "max" : "0",
            "base" : {
              "path" : "Composition.section.section",
              "min" : 0,
              "max" : "*"
            },
            "contentReference" : "http://hl7.org/fhir/StructureDefinition/Composition#Composition.section",
            "condition" : [
              "cmp-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : false,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]"
              },
              {
                "identity" : "cda",
                "map" : ".component.section"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionSocialHistory",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString" : "Section"
              }
            ],
            "path" : "Composition.section",
            "sliceName" : "sectionSocialHistory",
            "short" : "IPS Social History Section",
            "definition" : "The social history section contains a description of the person’s Health related \"lifestyle factors\" or \"lifestyle observations\" (e.g. smoke habits; alcohol consumption; diets, risky habits.)",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "cmp-1",
                "severity" : "error",
                "human" : "A section must contain at least one of text, entries, or sub-sections",
                "expression" : "text.exists() or entry.exists() or section.exists()",
                "xpath" : "exists(f:text) or exists(f:entry) or exists(f:section)",
                "source" : "http://hl7.org/fhir/StructureDefinition/clinicaldocument"
              },
              {
                "key" : "cmp-2",
                "severity" : "error",
                "human" : "A section can only have an emptyReason if it is empty",
                "expression" : "emptyReason.empty() or entry.empty()",
                "xpath" : "not(exists(f:emptyReason) and exists(f:entry))",
                "source" : "http://hl7.org/fhir/StructureDefinition/clinicaldocument"
              },
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]"
              },
              {
                "identity" : "cda",
                "map" : ".component.structuredBody.component.section"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionSocialHistory.id",
            "path" : "Composition.section.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "Unique id for inter-element referencing",
            "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                    "valueUrl" : "string"
                  }
                ],
                "code" : "http://hl7.org/fhirpath/System.String"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionSocialHistory.extension",
            "path" : "Composition.section.extension",
            "short" : "Additional content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "alias" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionSocialHistory.modifierExtension",
            "path" : "Composition.section.modifierExtension",
            "short" : "Extensions that cannot be ignored even if unrecognized",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).",
            "alias" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : true,
            "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionSocialHistory.title",
            "path" : "Composition.section.title",
            "short" : "Label for section (e.g. for ToC)",
            "definition" : "The label for this particular section.  This will be part of the rendered content for the document, and is often used to build a table of contents.",
            "comment" : "The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title,  or documents that only have a single section. Most Implementation Guides will make section title to be a required element.",
            "requirements" : "Section headings are often standardized for different types of documents.  They give guidance to humans on how the document is organized.",
            "alias" : [
              "header",
              "label",
              "caption"
            ],
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.title",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./title"
              },
              {
                "identity" : "cda",
                "map" : ".title"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionSocialHistory.code",
            "path" : "Composition.section.code",
            "short" : "Concept - reference to a terminology or just  text",
            "definition" : "A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.",
            "comment" : "Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.",
            "requirements" : "Provides computable standardized labels to topics within the document.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.code",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept",
                "profile" : [
                  "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
                ]
              }
            ],
            "patternCodeableConcept" : {
              "coding" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "29762-2"
                }
              ]
            },
            "condition" : [
              "ele-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "CompositionSectionType"
                }
              ],
              "strength" : "example",
              "description" : "Classification of a section of a composition/document.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/doc-section-codes"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              },
              {
                "identity" : "v2",
                "map" : "CE/CNE/CWE"
              },
              {
                "identity" : "rim",
                "map" : "CD"
              },
              {
                "identity" : "orim",
                "map" : "fhir:CodeableConcept rdfs:subClassOf dt:CD"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionSocialHistory.author",
            "path" : "Composition.section.author",
            "short" : "Who and/or what authored the section",
            "definition" : "Identifies who is responsible for the information in this section, not necessarily who typed it in.",
            "requirements" : "Identifies who is responsible for the content.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.author",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner",
                  "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
                  "http://hl7.org/fhir/StructureDefinition/Device",
                  "http://hl7.org/fhir/StructureDefinition/Patient",
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "FiveWs.author"
              },
              {
                "identity" : "rim",
                "map" : ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]"
              },
              {
                "identity" : "cda",
                "map" : ".author.assignedAuthor"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionSocialHistory.focus",
            "path" : "Composition.section.focus",
            "short" : "Who/what the section is about, when it is not about the subject of composition",
            "definition" : "The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).",
            "comment" : "Typically, sections in a doument are about the subject of the document, whether that is a  patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are  a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.focus",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "cda",
                "map" : ".subject? (CDA did not differentiate between subject and focus)"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionSocialHistory.text",
            "path" : "Composition.section.text",
            "short" : "Text summary of the section, for human interpretation",
            "definition" : "A human-readable narrative that contains the attested content of the section, used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative.",
            "comment" : "Document profiles may define what content should be represented in the narrative to ensure clinical safety.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.text",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Narrative"
              }
            ],
            "condition" : [
              "cmp-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".text"
              },
              {
                "identity" : "cda",
                "map" : ".text"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionSocialHistory.mode",
            "path" : "Composition.section.mode",
            "short" : "working | snapshot | changes",
            "definition" : "How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.",
            "comment" : "This element is labeled as a modifier because a change list must not be misunderstood as a complete list.",
            "requirements" : "Sections are used in various ways, and it must be known in what way it is safe to use the entries in them.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.mode",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionMode"
                }
              ],
              "strength" : "required",
              "description" : "The processing mode that applies to this section.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-mode|4.0.1"
            },
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "FiveWs.class"
              },
              {
                "identity" : "rim",
                "map" : ".outBoundRelationship[typeCode=COMP].target[classCode=OBS\"].value"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionSocialHistory.orderedBy",
            "path" : "Composition.section.orderedBy",
            "short" : "Order of section entries",
            "definition" : "Specifies the order applied to the items in the section entries.",
            "comment" : "Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.",
            "requirements" : "Important for presentation and rendering.  Lists may be sorted to place more important information first or to group related entries.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.orderedBy",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionEntryOrder"
                }
              ],
              "strength" : "preferred",
              "description" : "What order applies to the items in the entry.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-order"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP].sequenceNumber > 1"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionSocialHistory.entry",
            "path" : "Composition.section.entry",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "profile",
                  "path" : "$this.resolve()"
                }
              ],
              "rules" : "open"
            },
            "short" : "Health related \"lifestyle factors\" or \"lifestyle observations\" (e.g. smoke habits; alcohol consumption; diets, risky habits.)",
            "definition" : "Description of the person’s Health related “lifestyle factors\" or \"lifestyle observations\" (e.g. smoke habits; alcohol consumption; diets, risky habits.)",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionSocialHistory.entry:smokingTobaccoUse",
            "path" : "Composition.section.entry",
            "sliceName" : "smokingTobaccoUse",
            "short" : "A reference to data that supports this section",
            "definition" : "A reference to the actual resource from which the narrative in the section is derived.",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-tobaccouse-uv-ips"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionSocialHistory.entry:alcoholUse",
            "path" : "Composition.section.entry",
            "sliceName" : "alcoholUse",
            "short" : "A reference to data that supports this section",
            "definition" : "A reference to the actual resource from which the narrative in the section is derived.",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-alcoholuse-uv-ips"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionSocialHistory.emptyReason",
            "path" : "Composition.section.emptyReason",
            "short" : "Why the section is empty",
            "definition" : "If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.",
            "comment" : "The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.",
            "requirements" : "Allows capturing things like \"none exist\" or \"not asked\" which can be important for most lists.",
            "min" : 0,
            "max" : "0",
            "base" : {
              "path" : "Composition.section.emptyReason",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : false,
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionEmptyReason"
                }
              ],
              "strength" : "preferred",
              "description" : "If a section is empty, why it is empty.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-empty-reason"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".inboundRelationship[typeCode=SUBJ,code<ListEmptyReason].value[type=CD]"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionSocialHistory.section",
            "path" : "Composition.section.section",
            "short" : "Nested Section",
            "definition" : "A nested sub-section within this section.",
            "comment" : "Nested sections are primarily used to help human readers navigate to particular portions of the document.",
            "min" : 0,
            "max" : "0",
            "base" : {
              "path" : "Composition.section.section",
              "min" : 0,
              "max" : "*"
            },
            "contentReference" : "http://hl7.org/fhir/StructureDefinition/Composition#Composition.section",
            "condition" : [
              "cmp-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : false,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]"
              },
              {
                "identity" : "cda",
                "map" : ".component.section"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionPregnancyHx",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString" : "Section"
              }
            ],
            "path" : "Composition.section",
            "sliceName" : "sectionPregnancyHx",
            "short" : "IPS History of Pregnancy Section",
            "definition" : "The history of pregnancy section shall contain information about whether the patient is currently pregnant or not.\r\nIt may contain addition summarizing information about the outcome of earlier pregnancies.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "cmp-1",
                "severity" : "error",
                "human" : "A section must contain at least one of text, entries, or sub-sections",
                "expression" : "text.exists() or entry.exists() or section.exists()",
                "xpath" : "exists(f:text) or exists(f:entry) or exists(f:section)",
                "source" : "http://hl7.org/fhir/StructureDefinition/clinicaldocument"
              },
              {
                "key" : "cmp-2",
                "severity" : "error",
                "human" : "A section can only have an emptyReason if it is empty",
                "expression" : "emptyReason.empty() or entry.empty()",
                "xpath" : "not(exists(f:emptyReason) and exists(f:entry))",
                "source" : "http://hl7.org/fhir/StructureDefinition/clinicaldocument"
              },
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]"
              },
              {
                "identity" : "cda",
                "map" : ".component.structuredBody.component.section"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionPregnancyHx.id",
            "path" : "Composition.section.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "Unique id for inter-element referencing",
            "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                    "valueUrl" : "string"
                  }
                ],
                "code" : "http://hl7.org/fhirpath/System.String"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionPregnancyHx.extension",
            "path" : "Composition.section.extension",
            "short" : "Additional content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "alias" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionPregnancyHx.modifierExtension",
            "path" : "Composition.section.modifierExtension",
            "short" : "Extensions that cannot be ignored even if unrecognized",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).",
            "alias" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : true,
            "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionPregnancyHx.title",
            "path" : "Composition.section.title",
            "short" : "Label for section (e.g. for ToC)",
            "definition" : "The label for this particular section.  This will be part of the rendered content for the document, and is often used to build a table of contents.",
            "comment" : "The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title,  or documents that only have a single section. Most Implementation Guides will make section title to be a required element.",
            "requirements" : "Section headings are often standardized for different types of documents.  They give guidance to humans on how the document is organized.",
            "alias" : [
              "header",
              "label",
              "caption"
            ],
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.title",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./title"
              },
              {
                "identity" : "cda",
                "map" : ".title"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionPregnancyHx.code",
            "path" : "Composition.section.code",
            "short" : "Concept - reference to a terminology or just  text",
            "definition" : "A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.",
            "comment" : "Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.",
            "requirements" : "Provides computable standardized labels to topics within the document.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.code",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept",
                "profile" : [
                  "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
                ]
              }
            ],
            "patternCodeableConcept" : {
              "coding" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "10162-6"
                }
              ]
            },
            "condition" : [
              "ele-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "CompositionSectionType"
                }
              ],
              "strength" : "example",
              "description" : "Classification of a section of a composition/document.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/doc-section-codes"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              },
              {
                "identity" : "v2",
                "map" : "CE/CNE/CWE"
              },
              {
                "identity" : "rim",
                "map" : "CD"
              },
              {
                "identity" : "orim",
                "map" : "fhir:CodeableConcept rdfs:subClassOf dt:CD"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionPregnancyHx.author",
            "path" : "Composition.section.author",
            "short" : "Who and/or what authored the section",
            "definition" : "Identifies who is responsible for the information in this section, not necessarily who typed it in.",
            "requirements" : "Identifies who is responsible for the content.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.author",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner",
                  "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
                  "http://hl7.org/fhir/StructureDefinition/Device",
                  "http://hl7.org/fhir/StructureDefinition/Patient",
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "FiveWs.author"
              },
              {
                "identity" : "rim",
                "map" : ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]"
              },
              {
                "identity" : "cda",
                "map" : ".author.assignedAuthor"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionPregnancyHx.focus",
            "path" : "Composition.section.focus",
            "short" : "Who/what the section is about, when it is not about the subject of composition",
            "definition" : "The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).",
            "comment" : "Typically, sections in a doument are about the subject of the document, whether that is a  patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are  a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.focus",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "cda",
                "map" : ".subject? (CDA did not differentiate between subject and focus)"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionPregnancyHx.text",
            "path" : "Composition.section.text",
            "short" : "Text summary of the section, for human interpretation",
            "definition" : "A human-readable narrative that contains the attested content of the section, used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative.",
            "comment" : "Document profiles may define what content should be represented in the narrative to ensure clinical safety.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.text",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Narrative"
              }
            ],
            "condition" : [
              "cmp-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".text"
              },
              {
                "identity" : "cda",
                "map" : ".text"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionPregnancyHx.mode",
            "path" : "Composition.section.mode",
            "short" : "working | snapshot | changes",
            "definition" : "How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.",
            "comment" : "This element is labeled as a modifier because a change list must not be misunderstood as a complete list.",
            "requirements" : "Sections are used in various ways, and it must be known in what way it is safe to use the entries in them.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.mode",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionMode"
                }
              ],
              "strength" : "required",
              "description" : "The processing mode that applies to this section.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-mode|4.0.1"
            },
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "FiveWs.class"
              },
              {
                "identity" : "rim",
                "map" : ".outBoundRelationship[typeCode=COMP].target[classCode=OBS\"].value"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionPregnancyHx.orderedBy",
            "path" : "Composition.section.orderedBy",
            "short" : "Order of section entries",
            "definition" : "Specifies the order applied to the items in the section entries.",
            "comment" : "Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.",
            "requirements" : "Important for presentation and rendering.  Lists may be sorted to place more important information first or to group related entries.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.orderedBy",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionEntryOrder"
                }
              ],
              "strength" : "preferred",
              "description" : "What order applies to the items in the entry.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-order"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP].sequenceNumber > 1"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionPregnancyHx.entry",
            "path" : "Composition.section.entry",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "profile",
                  "path" : "$this.resolve()"
                }
              ],
              "rules" : "open"
            },
            "short" : "Current pregnancy status and, optionally, information about the outcome of earlier pregnancies.",
            "definition" : "It contains information about whether the patient is currently pregnant or not.\r\nIt may contain addition summarizing information about the outcome of earlier pregnancies.",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionPregnancyHx.entry:pregnancyStatus",
            "path" : "Composition.section.entry",
            "sliceName" : "pregnancyStatus",
            "short" : "A reference to data that supports this section",
            "definition" : "A reference to the actual resource from which the narrative in the section is derived.",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-pregnancy-status-uv-ips"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionPregnancyHx.entry:pregnancyOutcomeSummary",
            "path" : "Composition.section.entry",
            "sliceName" : "pregnancyOutcomeSummary",
            "short" : "A reference to data that supports this section",
            "definition" : "A reference to the actual resource from which the narrative in the section is derived.",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-pregnancy-outcome-uv-ips"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionPregnancyHx.emptyReason",
            "path" : "Composition.section.emptyReason",
            "short" : "Why the section is empty",
            "definition" : "If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.",
            "comment" : "The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.",
            "requirements" : "Allows capturing things like \"none exist\" or \"not asked\" which can be important for most lists.",
            "min" : 0,
            "max" : "0",
            "base" : {
              "path" : "Composition.section.emptyReason",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : false,
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionEmptyReason"
                }
              ],
              "strength" : "preferred",
              "description" : "If a section is empty, why it is empty.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-empty-reason"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".inboundRelationship[typeCode=SUBJ,code<ListEmptyReason].value[type=CD]"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionPregnancyHx.section",
            "path" : "Composition.section.section",
            "short" : "Nested Section",
            "definition" : "A nested sub-section within this section.",
            "comment" : "Nested sections are primarily used to help human readers navigate to particular portions of the document.",
            "min" : 0,
            "max" : "0",
            "base" : {
              "path" : "Composition.section.section",
              "min" : 0,
              "max" : "*"
            },
            "contentReference" : "http://hl7.org/fhir/StructureDefinition/Composition#Composition.section",
            "condition" : [
              "cmp-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : false,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]"
              },
              {
                "identity" : "cda",
                "map" : ".component.section"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionAdvanceDirectives",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString" : "Section"
              }
            ],
            "path" : "Composition.section",
            "sliceName" : "sectionAdvanceDirectives",
            "short" : "IPS Advance Directives Section",
            "definition" : "The advance directives section contains a narrative description of patient's advance directive.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "cmp-1",
                "severity" : "error",
                "human" : "A section must contain at least one of text, entries, or sub-sections",
                "expression" : "text.exists() or entry.exists() or section.exists()",
                "xpath" : "exists(f:text) or exists(f:entry) or exists(f:section)",
                "source" : "http://hl7.org/fhir/StructureDefinition/clinicaldocument"
              },
              {
                "key" : "cmp-2",
                "severity" : "error",
                "human" : "A section can only have an emptyReason if it is empty",
                "expression" : "emptyReason.empty() or entry.empty()",
                "xpath" : "not(exists(f:emptyReason) and exists(f:entry))",
                "source" : "http://hl7.org/fhir/StructureDefinition/clinicaldocument"
              },
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]"
              },
              {
                "identity" : "cda",
                "map" : ".component.structuredBody.component.section"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionAdvanceDirectives.id",
            "path" : "Composition.section.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "Unique id for inter-element referencing",
            "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                    "valueUrl" : "string"
                  }
                ],
                "code" : "http://hl7.org/fhirpath/System.String"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionAdvanceDirectives.extension",
            "path" : "Composition.section.extension",
            "short" : "Additional content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "alias" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionAdvanceDirectives.modifierExtension",
            "path" : "Composition.section.modifierExtension",
            "short" : "Extensions that cannot be ignored even if unrecognized",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).",
            "alias" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : true,
            "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionAdvanceDirectives.title",
            "path" : "Composition.section.title",
            "short" : "Label for section (e.g. for ToC)",
            "definition" : "The label for this particular section.  This will be part of the rendered content for the document, and is often used to build a table of contents.",
            "comment" : "The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title,  or documents that only have a single section. Most Implementation Guides will make section title to be a required element.",
            "requirements" : "Section headings are often standardized for different types of documents.  They give guidance to humans on how the document is organized.",
            "alias" : [
              "header",
              "label",
              "caption"
            ],
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.title",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./title"
              },
              {
                "identity" : "cda",
                "map" : ".title"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionAdvanceDirectives.code",
            "path" : "Composition.section.code",
            "short" : "Concept - reference to a terminology or just  text",
            "definition" : "A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.",
            "comment" : "Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.",
            "requirements" : "Provides computable standardized labels to topics within the document.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.code",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept",
                "profile" : [
                  "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
                ]
              }
            ],
            "patternCodeableConcept" : {
              "coding" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "42348-3"
                }
              ]
            },
            "condition" : [
              "ele-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "CompositionSectionType"
                }
              ],
              "strength" : "example",
              "description" : "Classification of a section of a composition/document.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/doc-section-codes"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              },
              {
                "identity" : "v2",
                "map" : "CE/CNE/CWE"
              },
              {
                "identity" : "rim",
                "map" : "CD"
              },
              {
                "identity" : "orim",
                "map" : "fhir:CodeableConcept rdfs:subClassOf dt:CD"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionAdvanceDirectives.author",
            "path" : "Composition.section.author",
            "short" : "Who and/or what authored the section",
            "definition" : "Identifies who is responsible for the information in this section, not necessarily who typed it in.",
            "requirements" : "Identifies who is responsible for the content.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.author",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner",
                  "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
                  "http://hl7.org/fhir/StructureDefinition/Device",
                  "http://hl7.org/fhir/StructureDefinition/Patient",
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "FiveWs.author"
              },
              {
                "identity" : "rim",
                "map" : ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]"
              },
              {
                "identity" : "cda",
                "map" : ".author.assignedAuthor"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionAdvanceDirectives.focus",
            "path" : "Composition.section.focus",
            "short" : "Who/what the section is about, when it is not about the subject of composition",
            "definition" : "The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).",
            "comment" : "Typically, sections in a doument are about the subject of the document, whether that is a  patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are  a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.focus",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "cda",
                "map" : ".subject? (CDA did not differentiate between subject and focus)"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionAdvanceDirectives.text",
            "path" : "Composition.section.text",
            "short" : "Text summary of the section, for human interpretation",
            "definition" : "A human-readable narrative that contains the attested content of the section, used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative.",
            "comment" : "Document profiles may define what content should be represented in the narrative to ensure clinical safety.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.text",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Narrative"
              }
            ],
            "condition" : [
              "cmp-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".text"
              },
              {
                "identity" : "cda",
                "map" : ".text"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionAdvanceDirectives.mode",
            "path" : "Composition.section.mode",
            "short" : "working | snapshot | changes",
            "definition" : "How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.",
            "comment" : "This element is labeled as a modifier because a change list must not be misunderstood as a complete list.",
            "requirements" : "Sections are used in various ways, and it must be known in what way it is safe to use the entries in them.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.mode",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionMode"
                }
              ],
              "strength" : "required",
              "description" : "The processing mode that applies to this section.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-mode|4.0.1"
            },
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "FiveWs.class"
              },
              {
                "identity" : "rim",
                "map" : ".outBoundRelationship[typeCode=COMP].target[classCode=OBS\"].value"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionAdvanceDirectives.orderedBy",
            "path" : "Composition.section.orderedBy",
            "short" : "Order of section entries",
            "definition" : "Specifies the order applied to the items in the section entries.",
            "comment" : "Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.",
            "requirements" : "Important for presentation and rendering.  Lists may be sorted to place more important information first or to group related entries.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.orderedBy",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionEntryOrder"
                }
              ],
              "strength" : "preferred",
              "description" : "What order applies to the items in the entry.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-order"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP].sequenceNumber > 1"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionAdvanceDirectives.entry",
            "path" : "Composition.section.entry",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "profile",
                  "path" : "$this.resolve()"
                }
              ],
              "rules" : "open"
            },
            "short" : "Narrative description of the patient's advance directive.",
            "definition" : "Contains a narrative description or a Consent entry with information about the patient's advance directive.",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionAdvanceDirectives.entry:advanceDirectivesConsent",
            "path" : "Composition.section.entry",
            "sliceName" : "advanceDirectivesConsent",
            "short" : "A reference to data that supports this section",
            "definition" : "A reference to the actual resource from which the narrative in the section is derived.",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Consent"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionAdvanceDirectives.emptyReason",
            "path" : "Composition.section.emptyReason",
            "short" : "Why the section is empty",
            "definition" : "If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.",
            "comment" : "The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.",
            "requirements" : "Allows capturing things like \"none exist\" or \"not asked\" which can be important for most lists.",
            "min" : 0,
            "max" : "0",
            "base" : {
              "path" : "Composition.section.emptyReason",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : false,
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionEmptyReason"
                }
              ],
              "strength" : "preferred",
              "description" : "If a section is empty, why it is empty.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-empty-reason"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".inboundRelationship[typeCode=SUBJ,code<ListEmptyReason].value[type=CD]"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionAdvanceDirectives.section",
            "path" : "Composition.section.section",
            "short" : "Nested Section",
            "definition" : "A nested sub-section within this section.",
            "comment" : "Nested sections are primarily used to help human readers navigate to particular portions of the document.",
            "min" : 0,
            "max" : "0",
            "base" : {
              "path" : "Composition.section.section",
              "min" : 0,
              "max" : "*"
            },
            "contentReference" : "http://hl7.org/fhir/StructureDefinition/Composition#Composition.section",
            "condition" : [
              "cmp-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : false,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]"
              },
              {
                "identity" : "cda",
                "map" : ".component.section"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionCertificationOfMedicalNecessity",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString" : "Section"
              }
            ],
            "path" : "Composition.section",
            "sliceName" : "sectionCertificationOfMedicalNecessity",
            "short" : "Certification of Medical Necessity",
            "definition" : "The Certification of Medical Necessity section includes the information necessary to document the justification for the medical transport, including the name and role of the person authorizing the medical transport. This information can be used to generate a Certificate of Medical Necessity (CMN) document for signature.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "cmp-1",
                "severity" : "error",
                "human" : "A section must contain at least one of text, entries, or sub-sections",
                "expression" : "text.exists() or entry.exists() or section.exists()",
                "xpath" : "exists(f:text) or exists(f:entry) or exists(f:section)",
                "source" : "http://hl7.org/fhir/StructureDefinition/clinicaldocument"
              },
              {
                "key" : "cmp-2",
                "severity" : "error",
                "human" : "A section can only have an emptyReason if it is empty",
                "expression" : "emptyReason.empty() or entry.empty()",
                "xpath" : "not(exists(f:emptyReason) and exists(f:entry))",
                "source" : "http://hl7.org/fhir/StructureDefinition/clinicaldocument"
              },
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]"
              },
              {
                "identity" : "cda",
                "map" : ".component.structuredBody.component.section"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionCertificationOfMedicalNecessity.id",
            "path" : "Composition.section.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "Unique id for inter-element referencing",
            "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                    "valueUrl" : "string"
                  }
                ],
                "code" : "http://hl7.org/fhirpath/System.String"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionCertificationOfMedicalNecessity.extension",
            "path" : "Composition.section.extension",
            "short" : "Additional content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "alias" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionCertificationOfMedicalNecessity.modifierExtension",
            "path" : "Composition.section.modifierExtension",
            "short" : "Extensions that cannot be ignored even if unrecognized",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).",
            "alias" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : true,
            "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionCertificationOfMedicalNecessity.title",
            "path" : "Composition.section.title",
            "short" : "Label for section (e.g. for ToC)",
            "definition" : "The label for this particular section.  This will be part of the rendered content for the document, and is often used to build a table of contents.",
            "comment" : "The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title,  or documents that only have a single section. Most Implementation Guides will make section title to be a required element.",
            "requirements" : "Section headings are often standardized for different types of documents.  They give guidance to humans on how the document is organized.",
            "alias" : [
              "header",
              "label",
              "caption"
            ],
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.title",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./title"
              },
              {
                "identity" : "cda",
                "map" : ".title"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionCertificationOfMedicalNecessity.code",
            "path" : "Composition.section.code",
            "short" : "Classification of section (recommended)",
            "definition" : "A code identifying the kind of content contained within the section. This must be consistent with the section title.",
            "comment" : "The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document.   \n\nIf the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code.",
            "requirements" : "Provides computable standardized labels to topics within the document.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.code",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "patternCodeableConcept" : {
              "coding" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "52016-3"
                }
              ]
            },
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "CompositionSectionType"
                }
              ],
              "strength" : "example",
              "description" : "Classification of a section of a composition/document.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/doc-section-codes"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./code"
              },
              {
                "identity" : "cda",
                "map" : ".code"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionCertificationOfMedicalNecessity.author",
            "path" : "Composition.section.author",
            "short" : "Who and/or what authored the section",
            "definition" : "Identifies who is responsible for the information in this section, not necessarily who typed it in.",
            "requirements" : "Identifies who is responsible for the content.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.author",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner",
                  "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
                  "http://hl7.org/fhir/StructureDefinition/Device",
                  "http://hl7.org/fhir/StructureDefinition/Patient",
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "FiveWs.author"
              },
              {
                "identity" : "rim",
                "map" : ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]"
              },
              {
                "identity" : "cda",
                "map" : ".author.assignedAuthor"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionCertificationOfMedicalNecessity.focus",
            "path" : "Composition.section.focus",
            "short" : "Who/what the section is about, when it is not about the subject of composition",
            "definition" : "The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).",
            "comment" : "Typically, sections in a doument are about the subject of the document, whether that is a  patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are  a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.focus",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "cda",
                "map" : ".subject? (CDA did not differentiate between subject and focus)"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionCertificationOfMedicalNecessity.text",
            "path" : "Composition.section.text",
            "short" : "Text summary of the section, for human interpretation",
            "definition" : "A human-readable narrative that contains the attested content of the section, used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative.",
            "comment" : "Document profiles may define what content should be represented in the narrative to ensure clinical safety.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.text",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Narrative"
              }
            ],
            "condition" : [
              "cmp-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".text"
              },
              {
                "identity" : "cda",
                "map" : ".text"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionCertificationOfMedicalNecessity.mode",
            "path" : "Composition.section.mode",
            "short" : "working | snapshot | changes",
            "definition" : "How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.",
            "comment" : "This element is labeled as a modifier because a change list must not be misunderstood as a complete list.",
            "requirements" : "Sections are used in various ways, and it must be known in what way it is safe to use the entries in them.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.mode",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionMode"
                }
              ],
              "strength" : "required",
              "description" : "The processing mode that applies to this section.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-mode|4.0.1"
            },
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "FiveWs.class"
              },
              {
                "identity" : "rim",
                "map" : ".outBoundRelationship[typeCode=COMP].target[classCode=OBS\"].value"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionCertificationOfMedicalNecessity.orderedBy",
            "path" : "Composition.section.orderedBy",
            "short" : "Order of section entries",
            "definition" : "Specifies the order applied to the items in the section entries.",
            "comment" : "Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.",
            "requirements" : "Important for presentation and rendering.  Lists may be sorted to place more important information first or to group related entries.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.orderedBy",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionEntryOrder"
                }
              ],
              "strength" : "preferred",
              "description" : "What order applies to the items in the entry.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-order"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP].sequenceNumber > 1"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionCertificationOfMedicalNecessity.entry",
            "path" : "Composition.section.entry",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "profile",
                  "path" : "resolve()"
                }
              ],
              "rules" : "open"
            },
            "short" : "Medical Necessity Entry",
            "definition" : "Indication of whether a physician certification statement (PCS) is available documenting the medical necessity for the EMS encounter. The Certification of Medical Necessity section includes the information necessary to document the justification for the medical transport, including the name and role of the person authorizing the medical transport. This information can be used to generate a Certificate of Medical Necessity (CMN) document for signature.",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionCertificationOfMedicalNecessity.entry:MedicalNecessityEntry",
            "path" : "Composition.section.entry",
            "sliceName" : "MedicalNecessityEntry",
            "short" : "A reference to data that supports this section",
            "definition" : "A reference to the actual resource from which the narrative in the section is derived.",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Observation"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionCertificationOfMedicalNecessity.entry:Signature",
            "path" : "Composition.section.entry",
            "sliceName" : "Signature",
            "short" : "A reference to data that supports this section",
            "definition" : "A reference to the actual resource from which the narrative in the section is derived.",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Observation"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionCertificationOfMedicalNecessity.entry:SignatureDate",
            "path" : "Composition.section.entry",
            "sliceName" : "SignatureDate",
            "short" : "A reference to data that supports this section",
            "definition" : "A reference to the actual resource from which the narrative in the section is derived.",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Observation"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionCertificationOfMedicalNecessity.entry:SignerProviderType",
            "path" : "Composition.section.entry",
            "sliceName" : "SignerProviderType",
            "short" : "A reference to data that supports this section",
            "definition" : "A reference to the actual resource from which the narrative in the section is derived.",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/PractitionerRole"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionCertificationOfMedicalNecessity.entry:SignerName",
            "path" : "Composition.section.entry",
            "sliceName" : "SignerName",
            "short" : "A reference to data that supports this section",
            "definition" : "A reference to the actual resource from which the narrative in the section is derived.",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionCertificationOfMedicalNecessity.entry:Justification",
            "path" : "Composition.section.entry",
            "sliceName" : "Justification",
            "short" : "A reference to data that supports this section",
            "definition" : "A reference to the actual resource from which the narrative in the section is derived.",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Observation"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionCertificationOfMedicalNecessity.entry:ReasonForTransport",
            "path" : "Composition.section.entry",
            "sliceName" : "ReasonForTransport",
            "short" : "A reference to data that supports this section",
            "definition" : "A reference to the actual resource from which the narrative in the section is derived.",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Observation"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionCertificationOfMedicalNecessity.entry:PriorAuthorizationCode",
            "path" : "Composition.section.entry",
            "sliceName" : "PriorAuthorizationCode",
            "short" : "A reference to data that supports this section",
            "definition" : "A reference to the actual resource from which the narrative in the section is derived.",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Observation"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionCertificationOfMedicalNecessity.entry:PriorAuthorizationCodePayer",
            "path" : "Composition.section.entry",
            "sliceName" : "PriorAuthorizationCodePayer",
            "short" : "A reference to data that supports this section",
            "definition" : "A reference to the actual resource from which the narrative in the section is derived.",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Observation"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionCertificationOfMedicalNecessity.emptyReason",
            "path" : "Composition.section.emptyReason",
            "short" : "Why the section is empty",
            "definition" : "If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.",
            "comment" : "The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.",
            "requirements" : "Allows capturing things like \"none exist\" or \"not asked\" which can be important for most lists.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.emptyReason",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionEmptyReason"
                }
              ],
              "strength" : "preferred",
              "description" : "If a section is empty, why it is empty.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-empty-reason"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".inboundRelationship[typeCode=SUBJ,code<ListEmptyReason].value[type=CD]"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionCertificationOfMedicalNecessity.section",
            "path" : "Composition.section.section",
            "short" : "Nested Section",
            "definition" : "A nested sub-section within this section.",
            "comment" : "Nested sections are primarily used to help human readers navigate to particular portions of the document.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.section",
              "min" : 0,
              "max" : "*"
            },
            "contentReference" : "http://hl7.org/fhir/StructureDefinition/Composition#Composition.section",
            "condition" : [
              "cmp-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]"
              },
              {
                "identity" : "cda",
                "map" : ".component.section"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionCoverage",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString" : "Section"
              }
            ],
            "path" : "Composition.section",
            "sliceName" : "sectionCoverage",
            "short" : "Insurance Section",
            "definition" : "The insurance information for the patient to cover the encounter event.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "cmp-1",
                "severity" : "error",
                "human" : "A section must contain at least one of text, entries, or sub-sections",
                "expression" : "text.exists() or entry.exists() or section.exists()",
                "xpath" : "exists(f:text) or exists(f:entry) or exists(f:section)",
                "source" : "http://hl7.org/fhir/StructureDefinition/clinicaldocument"
              },
              {
                "key" : "cmp-2",
                "severity" : "error",
                "human" : "A section can only have an emptyReason if it is empty",
                "expression" : "emptyReason.empty() or entry.empty()",
                "xpath" : "not(exists(f:emptyReason) and exists(f:entry))",
                "source" : "http://hl7.org/fhir/StructureDefinition/clinicaldocument"
              },
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]"
              },
              {
                "identity" : "cda",
                "map" : ".component.structuredBody.component.section"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionCoverage.id",
            "path" : "Composition.section.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "Unique id for inter-element referencing",
            "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                    "valueUrl" : "string"
                  }
                ],
                "code" : "http://hl7.org/fhirpath/System.String"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionCoverage.extension",
            "path" : "Composition.section.extension",
            "short" : "Additional content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "alias" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionCoverage.modifierExtension",
            "path" : "Composition.section.modifierExtension",
            "short" : "Extensions that cannot be ignored even if unrecognized",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).",
            "alias" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : true,
            "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionCoverage.title",
            "path" : "Composition.section.title",
            "short" : "Label for section (e.g. for ToC)",
            "definition" : "The label for this particular section.  This will be part of the rendered content for the document, and is often used to build a table of contents.",
            "comment" : "The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title,  or documents that only have a single section. Most Implementation Guides will make section title to be a required element.",
            "requirements" : "Section headings are often standardized for different types of documents.  They give guidance to humans on how the document is organized.",
            "alias" : [
              "header",
              "label",
              "caption"
            ],
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.title",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./title"
              },
              {
                "identity" : "cda",
                "map" : ".title"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionCoverage.code",
            "path" : "Composition.section.code",
            "short" : "Classification of section (recommended)",
            "definition" : "A code identifying the kind of content contained within the section. This must be consistent with the section title.",
            "comment" : "The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document.   \n\nIf the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code.",
            "requirements" : "Provides computable standardized labels to topics within the document.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.code",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "patternCodeableConcept" : {
              "coding" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "48768-6"
                }
              ]
            },
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "CompositionSectionType"
                }
              ],
              "strength" : "example",
              "description" : "Classification of a section of a composition/document.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/doc-section-codes"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./code"
              },
              {
                "identity" : "cda",
                "map" : ".code"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionCoverage.author",
            "path" : "Composition.section.author",
            "short" : "Who and/or what authored the section",
            "definition" : "Identifies who is responsible for the information in this section, not necessarily who typed it in.",
            "requirements" : "Identifies who is responsible for the content.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.author",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner",
                  "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
                  "http://hl7.org/fhir/StructureDefinition/Device",
                  "http://hl7.org/fhir/StructureDefinition/Patient",
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "FiveWs.author"
              },
              {
                "identity" : "rim",
                "map" : ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]"
              },
              {
                "identity" : "cda",
                "map" : ".author.assignedAuthor"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionCoverage.focus",
            "path" : "Composition.section.focus",
            "short" : "Who/what the section is about, when it is not about the subject of composition",
            "definition" : "The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).",
            "comment" : "Typically, sections in a doument are about the subject of the document, whether that is a  patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are  a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.focus",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "cda",
                "map" : ".subject? (CDA did not differentiate between subject and focus)"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionCoverage.text",
            "path" : "Composition.section.text",
            "short" : "Text summary of the section, for human interpretation",
            "definition" : "A human-readable narrative that contains the attested content of the section, used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative.",
            "comment" : "Document profiles may define what content should be represented in the narrative to ensure clinical safety.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.text",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Narrative"
              }
            ],
            "condition" : [
              "cmp-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".text"
              },
              {
                "identity" : "cda",
                "map" : ".text"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionCoverage.mode",
            "path" : "Composition.section.mode",
            "short" : "working | snapshot | changes",
            "definition" : "How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.",
            "comment" : "This element is labeled as a modifier because a change list must not be misunderstood as a complete list.",
            "requirements" : "Sections are used in various ways, and it must be known in what way it is safe to use the entries in them.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.mode",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionMode"
                }
              ],
              "strength" : "required",
              "description" : "The processing mode that applies to this section.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-mode|4.0.1"
            },
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "FiveWs.class"
              },
              {
                "identity" : "rim",
                "map" : ".outBoundRelationship[typeCode=COMP].target[classCode=OBS\"].value"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionCoverage.orderedBy",
            "path" : "Composition.section.orderedBy",
            "short" : "Order of section entries",
            "definition" : "Specifies the order applied to the items in the section entries.",
            "comment" : "Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.",
            "requirements" : "Important for presentation and rendering.  Lists may be sorted to place more important information first or to group related entries.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.orderedBy",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionEntryOrder"
                }
              ],
              "strength" : "preferred",
              "description" : "What order applies to the items in the entry.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-order"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP].sequenceNumber > 1"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionCoverage.entry",
            "path" : "Composition.section.entry",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "profile",
                  "path" : "resolve()"
                }
              ],
              "rules" : "open"
            },
            "short" : "the Patient's insurance information",
            "definition" : "Contains data on the patient's payers, whether a 'third party' insurance, self-pay, other payer or guarantor, or some combination of payers, and is used to define which entity is the responsible fiduciary for the financial aspects of a patient's care",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Coverage"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionCoverage.entry:Coverage",
            "path" : "Composition.section.entry",
            "sliceName" : "Coverage",
            "short" : "A reference to data that supports this section",
            "definition" : "A reference to the actual resource from which the narrative in the section is derived.",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionCoverage.emptyReason",
            "path" : "Composition.section.emptyReason",
            "short" : "Why the section is empty",
            "definition" : "If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.",
            "comment" : "The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.",
            "requirements" : "Allows capturing things like \"none exist\" or \"not asked\" which can be important for most lists.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.emptyReason",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionEmptyReason"
                }
              ],
              "strength" : "preferred",
              "description" : "If a section is empty, why it is empty.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-empty-reason"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".inboundRelationship[typeCode=SUBJ,code<ListEmptyReason].value[type=CD]"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionCoverage.section",
            "path" : "Composition.section.section",
            "short" : "Nested Section",
            "definition" : "A nested sub-section within this section.",
            "comment" : "Nested sections are primarily used to help human readers navigate to particular portions of the document.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.section",
              "min" : 0,
              "max" : "*"
            },
            "contentReference" : "http://hl7.org/fhir/StructureDefinition/Composition#Composition.section",
            "condition" : [
              "cmp-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]"
              },
              {
                "identity" : "cda",
                "map" : ".component.section"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionReasonForReferral",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString" : "Section"
              }
            ],
            "path" : "Composition.section",
            "sliceName" : "sectionReasonForReferral",
            "short" : "Reason for Referral",
            "definition" : "This section shall include at least one entry describing the reason for referral as described in the Entry Content Module. ",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "cmp-1",
                "severity" : "error",
                "human" : "A section must contain at least one of text, entries, or sub-sections",
                "expression" : "text.exists() or entry.exists() or section.exists()",
                "xpath" : "exists(f:text) or exists(f:entry) or exists(f:section)",
                "source" : "http://hl7.org/fhir/StructureDefinition/clinicaldocument"
              },
              {
                "key" : "cmp-2",
                "severity" : "error",
                "human" : "A section can only have an emptyReason if it is empty",
                "expression" : "emptyReason.empty() or entry.empty()",
                "xpath" : "not(exists(f:emptyReason) and exists(f:entry))",
                "source" : "http://hl7.org/fhir/StructureDefinition/clinicaldocument"
              },
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]"
              },
              {
                "identity" : "cda",
                "map" : ".component.structuredBody.component.section"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionReasonForReferral.id",
            "path" : "Composition.section.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "Unique id for inter-element referencing",
            "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                    "valueUrl" : "string"
                  }
                ],
                "code" : "http://hl7.org/fhirpath/System.String"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionReasonForReferral.extension",
            "path" : "Composition.section.extension",
            "short" : "Additional content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "alias" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionReasonForReferral.modifierExtension",
            "path" : "Composition.section.modifierExtension",
            "short" : "Extensions that cannot be ignored even if unrecognized",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).",
            "alias" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : true,
            "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionReasonForReferral.title",
            "path" : "Composition.section.title",
            "short" : "Label for section (e.g. for ToC)",
            "definition" : "The label for this particular section.  This will be part of the rendered content for the document, and is often used to build a table of contents.",
            "comment" : "The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title,  or documents that only have a single section. Most Implementation Guides will make section title to be a required element.",
            "requirements" : "Section headings are often standardized for different types of documents.  They give guidance to humans on how the document is organized.",
            "alias" : [
              "header",
              "label",
              "caption"
            ],
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.title",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./title"
              },
              {
                "identity" : "cda",
                "map" : ".title"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionReasonForReferral.code",
            "path" : "Composition.section.code",
            "short" : "Classification of section (recommended)",
            "definition" : "A code identifying the kind of content contained within the section. This must be consistent with the section title.",
            "comment" : "The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document.   \n\nIf the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code.",
            "requirements" : "Provides computable standardized labels to topics within the document.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.code",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "patternCodeableConcept" : {
              "coding" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "42349-1"
                }
              ]
            },
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "CompositionSectionType"
                }
              ],
              "strength" : "example",
              "description" : "Classification of a section of a composition/document.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/doc-section-codes"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./code"
              },
              {
                "identity" : "cda",
                "map" : ".code"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionReasonForReferral.author",
            "path" : "Composition.section.author",
            "short" : "Who and/or what authored the section",
            "definition" : "Identifies who is responsible for the information in this section, not necessarily who typed it in.",
            "requirements" : "Identifies who is responsible for the content.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.author",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner",
                  "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
                  "http://hl7.org/fhir/StructureDefinition/Device",
                  "http://hl7.org/fhir/StructureDefinition/Patient",
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "FiveWs.author"
              },
              {
                "identity" : "rim",
                "map" : ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]"
              },
              {
                "identity" : "cda",
                "map" : ".author.assignedAuthor"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionReasonForReferral.focus",
            "path" : "Composition.section.focus",
            "short" : "Who/what the section is about, when it is not about the subject of composition",
            "definition" : "The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).",
            "comment" : "Typically, sections in a doument are about the subject of the document, whether that is a  patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are  a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.focus",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "cda",
                "map" : ".subject? (CDA did not differentiate between subject and focus)"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionReasonForReferral.text",
            "path" : "Composition.section.text",
            "short" : "Text summary of the section, for human interpretation",
            "definition" : "A human-readable narrative that contains the attested content of the section, used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative.",
            "comment" : "Document profiles may define what content should be represented in the narrative to ensure clinical safety.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.text",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Narrative"
              }
            ],
            "condition" : [
              "cmp-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".text"
              },
              {
                "identity" : "cda",
                "map" : ".text"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionReasonForReferral.mode",
            "path" : "Composition.section.mode",
            "short" : "working | snapshot | changes",
            "definition" : "How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.",
            "comment" : "This element is labeled as a modifier because a change list must not be misunderstood as a complete list.",
            "requirements" : "Sections are used in various ways, and it must be known in what way it is safe to use the entries in them.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.mode",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionMode"
                }
              ],
              "strength" : "required",
              "description" : "The processing mode that applies to this section.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-mode|4.0.1"
            },
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "FiveWs.class"
              },
              {
                "identity" : "rim",
                "map" : ".outBoundRelationship[typeCode=COMP].target[classCode=OBS\"].value"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionReasonForReferral.orderedBy",
            "path" : "Composition.section.orderedBy",
            "short" : "Order of section entries",
            "definition" : "Specifies the order applied to the items in the section entries.",
            "comment" : "Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.",
            "requirements" : "Important for presentation and rendering.  Lists may be sorted to place more important information first or to group related entries.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.orderedBy",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionEntryOrder"
                }
              ],
              "strength" : "preferred",
              "description" : "What order applies to the items in the entry.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-order"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP].sequenceNumber > 1"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionReasonForReferral.entry",
            "path" : "Composition.section.entry",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "profile",
                  "path" : "resolve()"
                }
              ],
              "rules" : "open"
            },
            "short" : "Certification of Medical Necessity",
            "definition" : "Indication of whether a physician certification statement (PCS) is available documenting the medical necessity for the EMS encounter. The Certification of Medical Necessity section includes the information necessary to document the justification for the medical transport, including the name and role of the person authorizing the medical transport. This information can be used to generate a Certificate of Medical Necessity (CMN) document for signature.",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 2,
            "max" : "2",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionReasonForReferral.entry:SimpleObservations",
            "path" : "Composition.section.entry",
            "sliceName" : "SimpleObservations",
            "short" : "A reference to data that supports this section",
            "definition" : "A reference to the actual resource from which the narrative in the section is derived.",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Observation"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionReasonForReferral.entry:ConditionsEntry",
            "path" : "Composition.section.entry",
            "sliceName" : "ConditionsEntry",
            "short" : "A reference to data that supports this section",
            "definition" : "A reference to the actual resource from which the narrative in the section is derived.",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/uv/ips/StructureDefinition/Condition-uv-ips"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionReasonForReferral.emptyReason",
            "path" : "Composition.section.emptyReason",
            "short" : "Why the section is empty",
            "definition" : "If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.",
            "comment" : "The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.",
            "requirements" : "Allows capturing things like \"none exist\" or \"not asked\" which can be important for most lists.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.emptyReason",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionEmptyReason"
                }
              ],
              "strength" : "preferred",
              "description" : "If a section is empty, why it is empty.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-empty-reason"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".inboundRelationship[typeCode=SUBJ,code<ListEmptyReason].value[type=CD]"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionReasonForReferral.section",
            "path" : "Composition.section.section",
            "short" : "Nested Section",
            "definition" : "A nested sub-section within this section.",
            "comment" : "Nested sections are primarily used to help human readers navigate to particular portions of the document.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.section",
              "min" : 0,
              "max" : "*"
            },
            "contentReference" : "http://hl7.org/fhir/StructureDefinition/Composition#Composition.section",
            "condition" : [
              "cmp-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]"
              },
              {
                "identity" : "cda",
                "map" : ".component.section"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionTransportInstructions",
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
                "valueString" : "Section"
              }
            ],
            "path" : "Composition.section",
            "sliceName" : "sectionTransportInstructions",
            "short" : "Transport Instructions",
            "definition" : "This section contains narrative information provided by the patient’s care provider(s) to indicate any care that should be rendered during the transport.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "BackboneElement"
              }
            ],
            "constraint" : [
              {
                "key" : "cmp-1",
                "severity" : "error",
                "human" : "A section must contain at least one of text, entries, or sub-sections",
                "expression" : "text.exists() or entry.exists() or section.exists()",
                "xpath" : "exists(f:text) or exists(f:entry) or exists(f:section)",
                "source" : "http://hl7.org/fhir/StructureDefinition/clinicaldocument"
              },
              {
                "key" : "cmp-2",
                "severity" : "error",
                "human" : "A section can only have an emptyReason if it is empty",
                "expression" : "emptyReason.empty() or entry.empty()",
                "xpath" : "not(exists(f:emptyReason) and exists(f:entry))",
                "source" : "http://hl7.org/fhir/StructureDefinition/clinicaldocument"
              },
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]"
              },
              {
                "identity" : "cda",
                "map" : ".component.structuredBody.component.section"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionTransportInstructions.id",
            "path" : "Composition.section.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "Unique id for inter-element referencing",
            "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                    "valueUrl" : "string"
                  }
                ],
                "code" : "http://hl7.org/fhirpath/System.String"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionTransportInstructions.extension",
            "path" : "Composition.section.extension",
            "short" : "Additional content defined by implementations",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "alias" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionTransportInstructions.modifierExtension",
            "path" : "Composition.section.modifierExtension",
            "short" : "Extensions that cannot be ignored even if unrecognized",
            "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
            "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
            "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/extensibility.html#modifierExtension).",
            "alias" : [
              "extensions",
              "user content",
              "modifiers"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "BackboneElement.modifierExtension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : true,
            "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
            "isSummary" : true,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionTransportInstructions.title",
            "path" : "Composition.section.title",
            "short" : "Label for section (e.g. for ToC)",
            "definition" : "The label for this particular section.  This will be part of the rendered content for the document, and is often used to build a table of contents.",
            "comment" : "The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title,  or documents that only have a single section. Most Implementation Guides will make section title to be a required element.",
            "requirements" : "Section headings are often standardized for different types of documents.  They give guidance to humans on how the document is organized.",
            "alias" : [
              "header",
              "label",
              "caption"
            ],
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.title",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./title"
              },
              {
                "identity" : "cda",
                "map" : ".title"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionTransportInstructions.code",
            "path" : "Composition.section.code",
            "short" : "Classification of section (recommended)",
            "definition" : "A code identifying the kind of content contained within the section. This must be consistent with the section title.",
            "comment" : "The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document.   \n\nIf the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code.",
            "requirements" : "Provides computable standardized labels to topics within the document.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.code",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "patternCodeableConcept" : {
              "coding" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "74213-0"
                }
              ]
            },
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "CompositionSectionType"
                }
              ],
              "strength" : "example",
              "description" : "Classification of a section of a composition/document.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/doc-section-codes"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./code"
              },
              {
                "identity" : "cda",
                "map" : ".code"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionTransportInstructions.author",
            "path" : "Composition.section.author",
            "short" : "Who and/or what authored the section",
            "definition" : "Identifies who is responsible for the information in this section, not necessarily who typed it in.",
            "requirements" : "Identifies who is responsible for the content.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.author",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner",
                  "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
                  "http://hl7.org/fhir/StructureDefinition/Device",
                  "http://hl7.org/fhir/StructureDefinition/Patient",
                  "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
                  "http://hl7.org/fhir/StructureDefinition/Organization"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "FiveWs.author"
              },
              {
                "identity" : "rim",
                "map" : ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]"
              },
              {
                "identity" : "cda",
                "map" : ".author.assignedAuthor"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionTransportInstructions.focus",
            "path" : "Composition.section.focus",
            "short" : "Who/what the section is about, when it is not about the subject of composition",
            "definition" : "The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).",
            "comment" : "Typically, sections in a doument are about the subject of the document, whether that is a  patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are  a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.focus",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "cda",
                "map" : ".subject? (CDA did not differentiate between subject and focus)"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionTransportInstructions.text",
            "path" : "Composition.section.text",
            "short" : "Text summary of the section, for human interpretation",
            "definition" : "A human-readable narrative that contains the attested content of the section, used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative.",
            "comment" : "Document profiles may define what content should be represented in the narrative to ensure clinical safety.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.text",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Narrative"
              }
            ],
            "condition" : [
              "cmp-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".text"
              },
              {
                "identity" : "cda",
                "map" : ".text"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionTransportInstructions.mode",
            "path" : "Composition.section.mode",
            "short" : "working | snapshot | changes",
            "definition" : "How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.",
            "comment" : "This element is labeled as a modifier because a change list must not be misunderstood as a complete list.",
            "requirements" : "Sections are used in various ways, and it must be known in what way it is safe to use the entries in them.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.mode",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionMode"
                }
              ],
              "strength" : "required",
              "description" : "The processing mode that applies to this section.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-mode|4.0.1"
            },
            "mapping" : [
              {
                "identity" : "w5",
                "map" : "FiveWs.class"
              },
              {
                "identity" : "rim",
                "map" : ".outBoundRelationship[typeCode=COMP].target[classCode=OBS\"].value"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionTransportInstructions.orderedBy",
            "path" : "Composition.section.orderedBy",
            "short" : "Order of section entries",
            "definition" : "Specifies the order applied to the items in the section entries.",
            "comment" : "Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.",
            "requirements" : "Important for presentation and rendering.  Lists may be sorted to place more important information first or to group related entries.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.orderedBy",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionEntryOrder"
                }
              ],
              "strength" : "preferred",
              "description" : "What order applies to the items in the entry.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-order"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP].sequenceNumber > 1"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionTransportInstructions.entry",
            "path" : "Composition.section.entry",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "profile",
                  "path" : "resolve()"
                }
              ],
              "rules" : "open"
            },
            "short" : "Transport Instructions Section Entries",
            "definition" : "This section contains information provided by the patient’s care provider(s) to indicate any care that should be rendered during the transport and the Destination information.",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionTransportInstructions.entry:TrasnportInstructions",
            "path" : "Composition.section.entry",
            "sliceName" : "TrasnportInstructions",
            "short" : "A reference to data that supports this section",
            "definition" : "A reference to the actual resource from which the narrative in the section is derived.",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Resource"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionTransportInstructions.entry:DestinationInformation",
            "path" : "Composition.section.entry",
            "sliceName" : "DestinationInformation",
            "short" : "A reference to data that supports this section",
            "definition" : "A reference to the actual resource from which the narrative in the section is derived.",
            "comment" : "If there are no entries in the list, an emptyReason SHOULD be provided.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.entry",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Location"
                ]
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]"
              },
              {
                "identity" : "cda",
                "map" : ".entry"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionTransportInstructions.emptyReason",
            "path" : "Composition.section.emptyReason",
            "short" : "Why the section is empty",
            "definition" : "If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.",
            "comment" : "The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.",
            "requirements" : "Allows capturing things like \"none exist\" or \"not asked\" which can be important for most lists.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Composition.section.emptyReason",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ],
            "condition" : [
              "cmp-2"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SectionEmptyReason"
                }
              ],
              "strength" : "preferred",
              "description" : "If a section is empty, why it is empty.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/list-empty-reason"
            },
            "mapping" : [
              {
                "identity" : "rim",
                "map" : ".inboundRelationship[typeCode=SUBJ,code<ListEmptyReason].value[type=CD]"
              },
              {
                "identity" : "cda",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Composition.section:sectionTransportInstructions.section",
            "path" : "Composition.section.section",
            "short" : "Nested Section",
            "definition" : "A nested sub-section within this section.",
            "comment" : "Nested sections are primarily used to help human readers navigate to particular portions of the document.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Composition.section.section",
              "min" : 0,
              "max" : "*"
            },
            "contentReference" : "http://hl7.org/fhir/StructureDefinition/Composition#Composition.section",
            "condition" : [
              "cmp-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]"
              },
              {
                "identity" : "cda",
                "map" : ".component.section"
              }
            ]
          }
        ]
      },
      "differential" : {
        "element" : [
          {
            "id" : "Composition",
            "path" : "Composition"
          },
          {
            "id" : "Composition.subject",
            "path" : "Composition.subject",
            "min" : 1
          },
          {
            "id" : "Composition.section",
            "path" : "Composition.section",
            "min" : 3
          },
          {
            "id" : "Composition.section:sectionCertificationOfMedicalNecessity",
            "path" : "Composition.section",
            "sliceName" : "sectionCertificationOfMedicalNecessity",
            "short" : "Certification of Medical Necessity",
            "definition" : "The Certification of Medical Necessity section includes the information necessary to document the justification for the medical transport, including the name and role of the person authorizing the medical transport. This information can be used to generate a Certificate of Medical Necessity (CMN) document for signature.",
            "min" : 0,
            "max" : "1"
          },
          {
            "id" : "Composition.section:sectionCertificationOfMedicalNecessity.code",
            "path" : "Composition.section.code",
            "min" : 1,
            "patternCodeableConcept" : {
              "coding" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "52016-3"
                }
              ]
            },
            "mustSupport" : true
          },
          {
            "id" : "Composition.section:sectionCertificationOfMedicalNecessity.entry",
            "path" : "Composition.section.entry",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "profile",
                  "path" : "resolve()"
                }
              ],
              "rules" : "open"
            },
            "short" : "Medical Necessity Entry",
            "definition" : "Indication of whether a physician certification statement (PCS) is available documenting the medical necessity for the EMS encounter. The Certification of Medical Necessity section includes the information necessary to document the justification for the medical transport, including the name and role of the person authorizing the medical transport. This information can be used to generate a Certificate of Medical Necessity (CMN) document for signature.",
            "mustSupport" : true
          },
          {
            "id" : "Composition.section:sectionCertificationOfMedicalNecessity.entry:MedicalNecessityEntry",
            "path" : "Composition.section.entry",
            "sliceName" : "MedicalNecessityEntry",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Observation"
                ]
              }
            ],
            "mustSupport" : true
          },
          {
            "id" : "Composition.section:sectionCertificationOfMedicalNecessity.entry:Signature",
            "path" : "Composition.section.entry",
            "sliceName" : "Signature",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Observation"
                ]
              }
            ],
            "mustSupport" : true
          },
          {
            "id" : "Composition.section:sectionCertificationOfMedicalNecessity.entry:SignatureDate",
            "path" : "Composition.section.entry",
            "sliceName" : "SignatureDate",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Observation"
                ]
              }
            ],
            "mustSupport" : true
          },
          {
            "id" : "Composition.section:sectionCertificationOfMedicalNecessity.entry:SignerProviderType",
            "path" : "Composition.section.entry",
            "sliceName" : "SignerProviderType",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/PractitionerRole"
                ]
              }
            ],
            "mustSupport" : true
          },
          {
            "id" : "Composition.section:sectionCertificationOfMedicalNecessity.entry:SignerName",
            "path" : "Composition.section.entry",
            "sliceName" : "SignerName",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Practitioner"
                ]
              }
            ],
            "mustSupport" : true
          },
          {
            "id" : "Composition.section:sectionCertificationOfMedicalNecessity.entry:Justification",
            "path" : "Composition.section.entry",
            "sliceName" : "Justification",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Observation"
                ]
              }
            ],
            "mustSupport" : true
          },
          {
            "id" : "Composition.section:sectionCertificationOfMedicalNecessity.entry:ReasonForTransport",
            "path" : "Composition.section.entry",
            "sliceName" : "ReasonForTransport",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Observation"
                ]
              }
            ],
            "mustSupport" : true
          },
          {
            "id" : "Composition.section:sectionCertificationOfMedicalNecessity.entry:PriorAuthorizationCode",
            "path" : "Composition.section.entry",
            "sliceName" : "PriorAuthorizationCode",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Observation"
                ]
              }
            ]
          },
          {
            "id" : "Composition.section:sectionCertificationOfMedicalNecessity.entry:PriorAuthorizationCodePayer",
            "path" : "Composition.section.entry",
            "sliceName" : "PriorAuthorizationCodePayer",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Observation"
                ]
              }
            ]
          },
          {
            "id" : "Composition.section:sectionCoverage",
            "path" : "Composition.section",
            "sliceName" : "sectionCoverage",
            "short" : "Insurance Section",
            "definition" : "The insurance information for the patient to cover the encounter event.",
            "min" : 0,
            "max" : "1"
          },
          {
            "id" : "Composition.section:sectionCoverage.code",
            "path" : "Composition.section.code",
            "min" : 1,
            "patternCodeableConcept" : {
              "coding" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "48768-6"
                }
              ]
            },
            "mustSupport" : true
          },
          {
            "id" : "Composition.section:sectionCoverage.entry",
            "path" : "Composition.section.entry",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "profile",
                  "path" : "resolve()"
                }
              ],
              "rules" : "open"
            },
            "short" : "the Patient's insurance information",
            "definition" : "Contains data on the patient's payers, whether a 'third party' insurance, self-pay, other payer or guarantor, or some combination of payers, and is used to define which entity is the responsible fiduciary for the financial aspects of a patient's care",
            "max" : "1",
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Coverage"
                ]
              }
            ],
            "mustSupport" : true
          },
          {
            "id" : "Composition.section:sectionCoverage.entry:Coverage",
            "path" : "Composition.section.entry",
            "sliceName" : "Coverage",
            "min" : 0,
            "max" : "1",
            "mustSupport" : true
          },
          {
            "id" : "Composition.section:sectionReasonForReferral",
            "path" : "Composition.section",
            "sliceName" : "sectionReasonForReferral",
            "short" : "Reason for Referral",
            "definition" : "This section shall include at least one entry describing the reason for referral as described in the Entry Content Module. ",
            "min" : 0,
            "max" : "1"
          },
          {
            "id" : "Composition.section:sectionReasonForReferral.code",
            "path" : "Composition.section.code",
            "min" : 1,
            "patternCodeableConcept" : {
              "coding" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "42349-1"
                }
              ]
            },
            "mustSupport" : true
          },
          {
            "id" : "Composition.section:sectionReasonForReferral.entry",
            "path" : "Composition.section.entry",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "profile",
                  "path" : "resolve()"
                }
              ],
              "rules" : "open"
            },
            "short" : "Certification of Medical Necessity",
            "definition" : "Indication of whether a physician certification statement (PCS) is available documenting the medical necessity for the EMS encounter. The Certification of Medical Necessity section includes the information necessary to document the justification for the medical transport, including the name and role of the person authorizing the medical transport. This information can be used to generate a Certificate of Medical Necessity (CMN) document for signature.",
            "min" : 2,
            "max" : "2",
            "mustSupport" : true
          },
          {
            "id" : "Composition.section:sectionReasonForReferral.entry:SimpleObservations",
            "path" : "Composition.section.entry",
            "sliceName" : "SimpleObservations",
            "min" : 1,
            "max" : "1",
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Observation"
                ]
              }
            ],
            "mustSupport" : true
          },
          {
            "id" : "Composition.section:sectionReasonForReferral.entry:ConditionsEntry",
            "path" : "Composition.section.entry",
            "sliceName" : "ConditionsEntry",
            "min" : 1,
            "max" : "1",
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/uv/ips/StructureDefinition/Condition-uv-ips"
                ]
              }
            ],
            "mustSupport" : true
          },
          {
            "id" : "Composition.section:sectionTransportInstructions",
            "path" : "Composition.section",
            "sliceName" : "sectionTransportInstructions",
            "short" : "Transport Instructions",
            "definition" : "This section contains narrative information provided by the patient’s care provider(s) to indicate any care that should be rendered during the transport.",
            "min" : 0,
            "max" : "1"
          },
          {
            "id" : "Composition.section:sectionTransportInstructions.code",
            "path" : "Composition.section.code",
            "min" : 1,
            "patternCodeableConcept" : {
              "coding" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "74213-0"
                }
              ]
            },
            "mustSupport" : true
          },
          {
            "id" : "Composition.section:sectionTransportInstructions.entry",
            "path" : "Composition.section.entry",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "profile",
                  "path" : "resolve()"
                }
              ],
              "rules" : "open"
            },
            "short" : "Transport Instructions Section Entries",
            "definition" : "This section contains information provided by the patient’s care provider(s) to indicate any care that should be rendered during the transport and the Destination information.",
            "mustSupport" : true
          },
          {
            "id" : "Composition.section:sectionTransportInstructions.entry:TrasnportInstructions",
            "path" : "Composition.section.entry",
            "sliceName" : "TrasnportInstructions",
            "min" : 0,
            "max" : "1",
            "mustSupport" : true
          },
          {
            "id" : "Composition.section:sectionTransportInstructions.entry:DestinationInformation",
            "path" : "Composition.section.entry",
            "sliceName" : "DestinationInformation",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  "http://hl7.org/fhir/StructureDefinition/Location"
                ]
              }
            ],
            "mustSupport" : true
          }
        ]
      }
    }