Specialty Medication Enrollment
0.1.0 - STU1 Ballot

Publication Build: This will be filled in by the publication tooling

## Resource Profile: SpecialtyRxBundleQueryResponse - TTL Profile

TTL representation of the specialty-rx-bundle-query-response resource profile.

Raw ttl | Download

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

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

     a fhir:StructureDefinition;
      fhir:nodeRole fhir:treeRoot;
      fhir:Resource.id [ fhir:value "specialty-rx-bundle-query-response"];
      fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "extensions" ];
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;\"><tr style=\"border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top\"><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"The logical name of the element\">Name</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"Information about the use of the element\">Flags</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"Minimum and Maximum # of times the the element can appear in the instance\">Card.</a></th><th style=\"width: 100px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"Reference to the type of the element\">Type</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"Additional information about the element\">Description &amp; Constraints</a><span style=\"float: right\"><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"Legend for this format\"><img src=\"http://hl7.org/fhir/R4/help16.png\" alt=\"doco\" style=\"background-color: inherit\"/></a></span></th></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-specialty-rx-bundle-query-response-definitions.html#Bundle\">Bundle</a><a name=\"Bundle\"> </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/R4/bundle.html\">Bundle</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\">Contains a collection of resources</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-specialty-rx-bundle-query-response-definitions.html#Bundle.type\">type</a><a name=\"Bundle.type\"> </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\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#code\">code</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection</span><br/><span style=\"font-weight:bold\">Fixed Value: </span><span style=\"color: darkgreen\">message</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\"/> <span style=\"text-decoration:line-through\">total</span><a name=\"Bundle.total\"> </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=\"text-decoration:line-through\"/><span style=\"text-decoration:line-through\">0</span><span style=\"text-decoration:line-through\">..</span><span style=\"text-decoration:line-through\">0</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck03.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Slice Definition\" class=\"hierarchy\"/> <a style=\"font-style: italic\" href=\"StructureDefinition-specialty-rx-bundle-query-response-definitions.html#Bundle.entry\">entry</a><a name=\"Bundle.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=\"font-style: italic\">3</span><span style=\"font-style: italic\">..</span><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\"><a style=\"font-style: italic\" href=\"http://hl7.org/fhir/R4/profiling.html#slicing\">(Slice Definition)</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; font-style: italic\">Entry in the bundle - will have a resource or 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 type:resource</span><br style=\"font-style: italic\"/></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_bck033.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_slicer.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\"/> entry:All Slices<a name=\"Bundle.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\"/><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\">Content/Rules for all slices</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_bck0330.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_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slicer.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\"/> <span style=\"text-decoration:line-through\">search</span><a name=\"Bundle.entry.search\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"text-decoration:line-through\"/><span style=\"text-decoration:line-through\">0</span><span style=\"text-decoration:line-through\">..</span><span style=\"text-decoration:line-through\">0</span></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\"/></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_bck0330.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_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slicer.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\"/> <span style=\"text-decoration:line-through\">request</span><a name=\"Bundle.entry.request\"> </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=\"text-decoration:line-through\"/><span style=\"text-decoration:line-through\">0</span><span style=\"text-decoration:line-through\">..</span><span style=\"text-decoration:line-through\">0</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0320.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_slicer.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_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <span style=\"text-decoration:line-through\">response</span><a name=\"Bundle.entry.response\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"text-decoration:line-through\"/><span style=\"text-decoration:line-through\">0</span><span style=\"text-decoration:line-through\">..</span><span style=\"text-decoration:line-through\">0</span></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\"/></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_bck035.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_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-specialty-rx-bundle-query-response-definitions.html#Bundle.entry:messageheader\" title=\"Slice messageheader\">entry:messageheader</a><a name=\"Bundle.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 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\">Entry in the bundle - will have a resource or information</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_bck0340.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_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-specialty-rx-bundle-query-response-definitions.html#Bundle.entry:messageheader.resource\">resource</a><a name=\"Bundle.entry.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=\"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=\"StructureDefinition-specialty-rx-messageheader-query-response.html\" title=\"MessageHeader\">SpecialtyRxMessageHeaderQueryResponse</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 resource that describes a message that is exchanged between systems</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_bck035.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_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-specialty-rx-bundle-query-response-definitions.html#Bundle.entry:parameters\" title=\"Slice parameters\">entry:parameters</a><a name=\"Bundle.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 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\">Entry in the bundle - will have a resource or information</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_bck0340.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_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-specialty-rx-bundle-query-response-definitions.html#Bundle.entry:parameters.resource\">resource</a><a name=\"Bundle.entry.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=\"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=\"StructureDefinition-specialty-rx-parameters-query-response.html\" title=\"Parameters\">SpecialtyRxParametersQueryResponse</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\">Operation Request or Response</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_bck035.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_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-specialty-rx-bundle-query-response-definitions.html#Bundle.entry:patient\" title=\"Slice patient: The patient resource captured in the requesting system. Optionally also the patient resource captured in the responding system.\">entry:patient</a><a name=\"Bundle.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\">2..2</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\">Patient</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_bck0340.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_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-specialty-rx-bundle-query-response-definitions.html#Bundle.entry:patient.resource\">resource</a><a name=\"Bundle.entry.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=\"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=\"StructureDefinition-specialty-rx-patient.html\" title=\"Patient\">SpecialtyRxPatient</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\">Information about an individual or animal receiving health care services</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_bck025.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice_item.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-specialty-rx-bundle-query-response-definitions.html#Bundle.entry:query-result\" title=\"Slice query-result: Bundle holding Lists that contain query results.\">entry:query-result</a><a name=\"Bundle.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..*</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\">Query result bundle<br/></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0240.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-specialty-rx-bundle-query-response-definitions.html#Bundle.entry:query-result.resource\">resource</a><a name=\"Bundle.entry.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=\"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=\"StructureDefinition-specialty-rx-bundle-search-result.html\" title=\"Bundle\">SpecialtyRxBundleSearchResult</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\">Contains a collection of resources</span></td></tr>\r\n<tr><td colspan=\"5\" class=\"hierarchy\"><br/><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"Legend for this format\"><img src=\"http://hl7.org/fhir/R4/help16.png\" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>"
      ];
      fhir:StructureDefinition.url [ fhir:value "http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-bundle-query-response"];
      fhir:StructureDefinition.version [ fhir:value "0.1.0"];
      fhir:StructureDefinition.name [ fhir:value "SpecialtyRxBundleQueryResponse"];
      fhir:StructureDefinition.title [ fhir:value "Specialty Rx Bundle - Query Response Message"];
      fhir:StructureDefinition.status [ fhir:value "active"];
      fhir:StructureDefinition.experimental [ fhir:value "false"^^xsd:boolean];
      fhir:StructureDefinition.date [ fhir:value "2020-07-02T00:00:00-05:00"^^xsd:dateTime];
      fhir:StructureDefinition.publisher [ fhir:value "HL7 International - Pharmacy"];
      fhir:StructureDefinition.contact [
         fhir:index 0;
         fhir:ContactDetail.name [ fhir:value "HL7 International - Pharmacy" ];
         fhir:ContactDetail.telecom [
           fhir:index 0;
           fhir:ContactPoint.system [ fhir:value "url" ];
           fhir:ContactPoint.value [ fhir:value "http://www.hl7.org/Special/committees/medication" ]     ]
      ], [
         fhir:index 1;
         fhir:ContactDetail.name [ fhir:value "Frank McKinney" ];
         fhir:ContactDetail.telecom [
           fhir:index 0;
           fhir:ContactPoint.system [ fhir:value "email" ];
           fhir:ContactPoint.value [ fhir:value "frank.mckinney@pocp.com" ]     ]
      ];
      fhir:StructureDefinition.description [ fhir:value "This profile constrains a Bundle resource for use as the response message in a Specialty Rx Query process--with a Parameters resource as the bundle's message focus."];
      fhir:StructureDefinition.jurisdiction [
         fhir:index 0;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ];
           fhir:Coding.code [ fhir:value "US" ];
           fhir:Coding.display [ fhir:value "United States of America" ]     ]
      ];
      fhir:StructureDefinition.fhirVersion [ fhir:value "4.0.1"];
      fhir:StructureDefinition.mapping [
         fhir:index 0;
         fhir:StructureDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/v2" ];
         fhir:StructureDefinition.mapping.name [ fhir:value "HL7 v2 Mapping" ]
      ], [
         fhir:index 1;
         fhir:StructureDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/v3" ];
         fhir:StructureDefinition.mapping.name [ fhir:value "RIM Mapping" ]
      ], [
         fhir:index 2;
         fhir:StructureDefinition.mapping.identity [ fhir:value "cda" ];
         fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/v3/cda" ];
         fhir:StructureDefinition.mapping.name [ fhir:value "CDA (R2)" ]
      ], [
         fhir:index 3;
         fhir:StructureDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/fhir/fivews" ];
         fhir:StructureDefinition.mapping.name [ fhir:value "FiveWs Pattern Mapping" ]
      ];
      fhir:StructureDefinition.kind [ fhir:value "resource"];
      fhir:StructureDefinition.abstract [ fhir:value "false"^^xsd:boolean];
      fhir:StructureDefinition.type [ fhir:value "Bundle"];
      fhir:StructureDefinition.baseDefinition [
         fhir:value "http://hl7.org/fhir/StructureDefinition/Bundle";
         fhir:link <http://hl7.org/fhir/StructureDefinition/Bundle>
      ];
      fhir:StructureDefinition.derivation [ fhir:value "constraint"];
      fhir:StructureDefinition.snapshot [
         fhir:StructureDefinition.snapshot.element [
           fhir:index 0;
           fhir:Element.id [ fhir:value "Bundle" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle" ];
           fhir:ElementDefinition.short [ fhir:value "Contains a collection of resources" ];
           fhir:ElementDefinition.definition [ fhir:value "A container for a collection of resources." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "bdl-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "total only when a search or history" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "total.empty() or (type = 'searchset') or (type = 'history')" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:total) or (f:type/@value = 'searchset') or (f:type/@value = 'history')" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Bundle";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Bundle>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "bdl-2" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "entry.search only when a search" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "entry.search.empty() or (type = 'searchset')" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:entry/f:search) or (f:type/@value = 'searchset')" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Bundle";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Bundle>         ]       ], [
             fhir:index 2;
             fhir:ElementDefinition.constraint.key [ fhir:value "bdl-3" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "entry.request mandatory for batch/transaction/history, otherwise prohibited" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "entry.all(request.exists() = (%resource.type = 'batch' or %resource.type = 'transaction' or %resource.type = 'history'))" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:entry/f:request) or (f:type/@value = 'batch') or (f:type/@value = 'transaction') or (f:type/@value = 'history')" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Bundle";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Bundle>         ]       ], [
             fhir:index 3;
             fhir:ElementDefinition.constraint.key [ fhir:value "bdl-4" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "entry.response mandatory for batch-response/transaction-response/history, otherwise prohibited" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "entry.all(response.exists() = (%resource.type = 'batch-response' or %resource.type = 'transaction-response' or %resource.type = 'history'))" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:entry/f:response) or (f:type/@value = 'batch-response') or (f:type/@value = 'transaction-response') or (f:type/@value = 'history')" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Bundle";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Bundle>         ]       ], [
             fhir:index 4;
             fhir:ElementDefinition.constraint.key [ fhir:value "bdl-7" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles)" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "(type = 'history') or entry.where(fullUrl.exists()).select(fullUrl&resource.meta.versionId).isDistinct()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "(f:type/@value = 'history') or (count(for $entry in f:entry[f:resource] return $entry[count(parent::f:Bundle/f:entry[f:fullUrl/@value=$entry/f:fullUrl/@value and ((not(f:resource/*/f:meta/f:versionId/@value) and not($entry/f:resource/*/f:meta/f:versionId/@value)) or f:resource/*/f:meta/f:versionId/@value=$entry/f:resource/*/f:meta/f:versionId/@value)])!=1])=0)" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Bundle";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Bundle>         ]       ], [
             fhir:index 5;
             fhir:ElementDefinition.constraint.key [ fhir:value "bdl-9" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "A document must have an identifier with a system and a value" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "type = 'document' implies (identifier.system.exists() and identifier.value.exists())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:type/@value = 'document') or exists(f:identifier/f:system) or exists(f:identifier/f:value)" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Bundle";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Bundle>         ]       ], [
             fhir:index 6;
             fhir:ElementDefinition.constraint.key [ fhir:value "bdl-10" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "A document must have a date" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "type = 'document' implies (timestamp.hasValue())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:type/@value = 'document') or exists(f:timestamp/@value)" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Bundle";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Bundle>         ]       ], [
             fhir:index 7;
             fhir:ElementDefinition.constraint.key [ fhir:value "bdl-11" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "A document must have a Composition as the first resource" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "type = 'document' implies entry.first().resource.is(Composition)" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:type/@value='document') or f:entry[1]/f:resource/f:Composition" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Bundle";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Bundle>         ]       ], [
             fhir:index 8;
             fhir:ElementDefinition.constraint.key [ fhir:value "bdl-12" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "A message must have a MessageHeader as the first resource" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "type = 'message' implies entry.first().resource.is(MessageHeader)" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:type/@value='message') or f:entry[1]/f:resource/f:MessageHeader" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Bundle";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Bundle>         ]       ];
           fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "Entity. Role, or Act" ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ], [
             fhir:index 2;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ], [
             fhir:index 3;
             fhir:ElementDefinition.mapping.identity [ fhir:value "cda" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "ClinicalDocument, if bundle.type = document" ]       ]     ], [
           fhir:index 1;
           fhir:Element.id [ fhir:value "Bundle.id" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.id" ];
           fhir:ElementDefinition.short [ fhir:value "Logical id of this artifact" ];
           fhir:ElementDefinition.definition [ fhir:value "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes." ];
           fhir:ElementDefinition.comment [ fhir:value "The only time that a resource does not have an id is when it is being submitted to the server using a create operation." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Resource.id" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
               fhir:Extension.valueUrl [ fhir:value "string" ]         ];
             fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 2;
           fhir:Element.id [ fhir:value "Bundle.meta" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.meta" ];
           fhir:ElementDefinition.short [ fhir:value "Metadata about the resource" ];
           fhir:ElementDefinition.definition [ fhir:value "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." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Resource.meta" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Meta" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 3;
           fhir:Element.id [ fhir:value "Bundle.implicitRules" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.implicitRules" ];
           fhir:ElementDefinition.short [ fhir:value "A set of rules under which this content was created" ];
           fhir:ElementDefinition.definition [ fhir:value "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." ];
           fhir:ElementDefinition.comment [ fhir:value "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." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Resource.implicitRules" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "uri" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isModifierReason [ fhir:value "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" ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 4;
           fhir:Element.id [ fhir:value "Bundle.language" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.language" ];
           fhir:ElementDefinition.short [ fhir:value "Language of the resource content" ];
           fhir:ElementDefinition.definition [ fhir:value "The base language in which the resource is written." ];
           fhir:ElementDefinition.comment [ fhir:value "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)." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Resource.language" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "code" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.binding [
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet" ];
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org/fhir/ValueSet/all-languages";
                 fhir:link <http://hl7.org/fhir/ValueSet/all-languages>           ]         ], [
               fhir:index 1;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
               fhir:Extension.valueString [ fhir:value "Language" ]         ], [
               fhir:index 2;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ];
               fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ]         ];
             fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ];
             fhir:ElementDefinition.binding.description [ fhir:value "A human language." ];
             fhir:ElementDefinition.binding.valueSet [
               fhir:value "http://hl7.org/fhir/ValueSet/languages";
               fhir:link <http://hl7.org/fhir/ValueSet/languages>         ]       ]     ], [
           fhir:index 5;
           fhir:Element.id [ fhir:value "Bundle.identifier" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.identifier" ];
           fhir:ElementDefinition.short [ fhir:value "Persistent identifier for the bundle" ];
           fhir:ElementDefinition.definition [ fhir:value "A persistent identifier for the bundle that won't change as a bundle is copied from server to server." ];
           fhir:ElementDefinition.comment [ fhir:value "Persistent identity generally only matters for batches of type Document, Message, and Collection. It would not normally be populated for search and history results and servers ignore Bundle.identifier when processing batches and transactions. For Documents  the .identifier SHALL be populated such that the .identifier is globally unique." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.identifier" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Identifier" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.identifier" ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.mapping.identity [ fhir:value "cda" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "ClinicalDocument.id" ]       ]     ], [
           fhir:index 6;
           fhir:Element.id [ fhir:value "Bundle.type" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.type" ];
           fhir:ElementDefinition.short [ fhir:value "document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection" ];
           fhir:ElementDefinition.definition [ fhir:value "Indicates the purpose of this bundle - how it is intended to be used." ];
           fhir:ElementDefinition.comment [ fhir:value "It's possible to use a bundle for other purposes (e.g. a document can be accepted as a transaction). This is primarily defined so that there can be specific rules for some of the bundle types." ];
           fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.type" ];
             fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "code" ]       ];
           fhir:ElementDefinition.fixedCode [ fhir:value "message" ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.binding [
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
               fhir:Extension.valueString [ fhir:value "BundleType" ]         ];
             fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
             fhir:ElementDefinition.binding.description [ fhir:value "Indicates the purpose of a bundle - how it is intended to be used." ];
             fhir:ElementDefinition.binding.valueSet [
               fhir:value "http://hl7.org/fhir/ValueSet/bundle-type|4.0.1";
               fhir:link <http://hl7.org/fhir/ValueSet/bundle-type|4.0.1>         ]       ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.class" ]       ]     ], [
           fhir:index 7;
           fhir:Element.id [ fhir:value "Bundle.timestamp" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.timestamp" ];
           fhir:ElementDefinition.short [ fhir:value "When the bundle was assembled" ];
           fhir:ElementDefinition.definition [ fhir:value "The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle." ];
           fhir:ElementDefinition.comment [ fhir:value "For many bundles, the timestamp is equal to .meta.lastUpdated, because they are not stored (e.g. search results). When a bundle is placed in a persistent store, .meta.lastUpdated will be usually be changed by the server. When the bundle is a message, a middleware agent altering the message (even if not stored) SHOULD update .meta.lastUpdated. .timestamp is used to track the original time of the Bundle, and SHOULD be populated.  \n\nUsage:\n\n* document : the date the document was created. Note: the composition may predate the document, or be associated with multiple documents. The date of the composition - the authoring time - may be earlier than the document assembly time\n* message : the date that the content of the message was assembled. This date is not changed by middleware engines unless they add additional data that changes the meaning of the time of the message\n* history : the date that the history was assembled. This time would be used as the _since time to ask for subsequent updates\n* searchset : the time that the search set was assembled. Note that different pages MAY have different timestamps but need not. Having different timestamps does not imply that subsequent pages will represent or include changes made since the initial query\n* transaction | transaction-response | batch | batch-response | collection : no particular assigned meaning\n\nThe timestamp value should be greater than the lastUpdated and other timestamps in the resources in the bundle, and it should be equal or earlier than the .meta.lastUpdated on the Bundle itself." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.timestamp" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "instant" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.init" ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.mapping.identity [ fhir:value "cda" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "ClinicalDocument.effectiveTime" ]       ]     ], [
           fhir:index 8;
           fhir:Element.id [ fhir:value "Bundle.total" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.total" ];
           fhir:ElementDefinition.short [ fhir:value "If search, the total number of matches" ];
           fhir:ElementDefinition.definition [ fhir:value "If a set of search matches, this is the total number of entries of type 'match' across all pages in the search.  It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle." ];
           fhir:ElementDefinition.comment [ fhir:value "Only used if the bundle is a search result set. The total does not include resources such as OperationOutcome and included resources, only the total number of matching resources." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "0" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.total" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "unsignedInt" ]       ];
           fhir:ElementDefinition.condition [
             fhir:value "bdl-1";
             fhir:index 0       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 9;
           fhir:Element.id [ fhir:value "Bundle.link" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.link" ];
           fhir:ElementDefinition.short [ fhir:value "Links related to this Bundle" ];
           fhir:ElementDefinition.definition [ fhir:value "A series of links that provide context to this bundle." ];
           fhir:ElementDefinition.comment [ fhir:value "Both Bundle.link and Bundle.entry.link are defined to support providing additional context when Bundles are used (e.g. [HATEOAS](http://en.wikipedia.org/wiki/HATEOAS)). \n\nBundle.entry.link corresponds to links found in the HTTP header if the resource in the entry was [read](http://hl7.org/fhir/R4/http.html#read) directly.\n\nThis specification defines some specific uses of Bundle.link for [searching](http://hl7.org/fhir/R4/search.html#conformance) and [paging](http://hl7.org/fhir/R4/http.html#paging), but no specific uses for Bundle.entry.link, and no defined function in a transaction - the meaning is implementation specific." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.link" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 10;
           fhir:Element.id [ fhir:value "Bundle.link.id" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.link.id" ];
           fhir:ElementDefinition.representation [
             fhir:value "xmlAttr";
             fhir:index 0       ];
           fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
           fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
               fhir:Extension.valueUrl [ fhir:value "string" ]         ];
             fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 11;
           fhir:Element.id [ fhir:value "Bundle.link.extension" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.link.extension" ];
           fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
           fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ];
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 12;
           fhir:Element.id [ fhir:value "Bundle.link.modifierExtension" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.link.modifierExtension" ];
           fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ];
           fhir:ElementDefinition.definition [ fhir:value "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)." ];
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
           fhir:ElementDefinition.requirements [ fhir:value "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/R4/extensibility.html#modifierExtension)." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ], [
             fhir:value "modifiers";
             fhir:index 2       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
           fhir:index 13;
           fhir:Element.id [ fhir:value "Bundle.link.relation" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.link.relation" ];
           fhir:ElementDefinition.short [ fhir:value "See http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1" ];
           fhir:ElementDefinition.definition [ fhir:value "A name which details the functional use for this link - see [http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1](http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1)." ];
           fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.link.relation" ];
             fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 14;
           fhir:Element.id [ fhir:value "Bundle.link.url" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.link.url" ];
           fhir:ElementDefinition.short [ fhir:value "Reference details for the link" ];
           fhir:ElementDefinition.definition [ fhir:value "The reference details for the link." ];
           fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.link.url" ];
             fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "uri" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 15;
           fhir:Element.id [ fhir:value "Bundle.entry" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry" ];
           fhir:ElementDefinition.slicing [
             fhir:ElementDefinition.slicing.discriminator [
               fhir:index 0;
               fhir:ElementDefinition.slicing.discriminator.type [ fhir:value "type" ];
               fhir:ElementDefinition.slicing.discriminator.path [ fhir:value "resource" ]         ];
             fhir:ElementDefinition.slicing.rules [ fhir:value "open" ]       ];
           fhir:ElementDefinition.short [ fhir:value "Entry in the bundle - will have a resource or information" ];
           fhir:ElementDefinition.definition [ fhir:value "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only)." ];
           fhir:ElementDefinition.min [ fhir:value "3"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
           fhir:ElementDefinition.orderMeaning [ fhir:value "For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type" ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "bdl-5" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "must be a resource unless there's a request or response" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "resource.exists() or request.exists() or response.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:resource) or exists(f:request) or exists(f:response)" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Bundle";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Bundle>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "bdl-8" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "fullUrl cannot be a version specific reference" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "fullUrl.contains('/_history/').not()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:fullUrl[contains(string(@value), '/_history/')]))" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Bundle";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Bundle>         ]       ], [
             fhir:index 2;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 16;
           fhir:Element.id [ fhir:value "Bundle.entry.id" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.id" ];
           fhir:ElementDefinition.representation [
             fhir:value "xmlAttr";
             fhir:index 0       ];
           fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
           fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
               fhir:Extension.valueUrl [ fhir:value "string" ]         ];
             fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 17;
           fhir:Element.id [ fhir:value "Bundle.entry.extension" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.extension" ];
           fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
           fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ];
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 18;
           fhir:Element.id [ fhir:value "Bundle.entry.modifierExtension" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.modifierExtension" ];
           fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ];
           fhir:ElementDefinition.definition [ fhir:value "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)." ];
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
           fhir:ElementDefinition.requirements [ fhir:value "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/R4/extensibility.html#modifierExtension)." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ], [
             fhir:value "modifiers";
             fhir:index 2       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
           fhir:index 19;
           fhir:Element.id [ fhir:value "Bundle.entry.link" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.link" ];
           fhir:ElementDefinition.short [ fhir:value "Links related to this entry" ];
           fhir:ElementDefinition.definition [ fhir:value "A series of links that provide context to this entry." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.link" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.contentReference [ fhir:value "http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link" ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 20;
           fhir:Element.id [ fhir:value "Bundle.entry.fullUrl" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.fullUrl" ];
           fhir:ElementDefinition.short [ fhir:value "URI for resource (Absolute URL server address or URI for UUID/OID)" ];
           fhir:ElementDefinition.definition [ fhir:value "The Absolute URL for the resource.  The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. The fullUrl element SHALL have a value except that: \n* fullUrl can be empty on a POST (although it does not need to when specifying a temporary id for reference in the bundle)\n* Results from operations might involve resources that are not identified." ];
           fhir:ElementDefinition.comment [ fhir:value "fullUrl might not be [unique in the context of a resource](http://hl7.org/fhir/R4/bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](http://hl7.org/fhir/R4/references.html), the fullURL might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, but if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](http://hl7.org/fhir/R4/references.html#regex), then the 'id' portion of the fullUrl SHALL end with the Resource.id.\n\nNote that the fullUrl is not the same as the canonical URL - it's an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL)." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.fullUrl" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "uri" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 21;
           fhir:Element.id [ fhir:value "Bundle.entry.resource" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.resource" ];
           fhir:ElementDefinition.short [ fhir:value "A resource in the bundle" ];
           fhir:ElementDefinition.definition [ fhir:value "The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.resource" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Resource" ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 22;
           fhir:Element.id [ fhir:value "Bundle.entry.search" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.search" ];
           fhir:ElementDefinition.short [ fhir:value "Search related information" ];
           fhir:ElementDefinition.definition [ fhir:value "Information about the search process that lead to the creation of this entry." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "0" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.search" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
           fhir:ElementDefinition.condition [
             fhir:value "bdl-2";
             fhir:index 0       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 23;
           fhir:Element.id [ fhir:value "Bundle.entry.search.id" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.search.id" ];
           fhir:ElementDefinition.representation [
             fhir:value "xmlAttr";
             fhir:index 0       ];
           fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
           fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
               fhir:Extension.valueUrl [ fhir:value "string" ]         ];
             fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 24;
           fhir:Element.id [ fhir:value "Bundle.entry.search.extension" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.search.extension" ];
           fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
           fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ];
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 25;
           fhir:Element.id [ fhir:value "Bundle.entry.search.modifierExtension" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.search.modifierExtension" ];
           fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ];
           fhir:ElementDefinition.definition [ fhir:value "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)." ];
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
           fhir:ElementDefinition.requirements [ fhir:value "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/R4/extensibility.html#modifierExtension)." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ], [
             fhir:value "modifiers";
             fhir:index 2       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
           fhir:index 26;
           fhir:Element.id [ fhir:value "Bundle.entry.search.mode" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.search.mode" ];
           fhir:ElementDefinition.short [ fhir:value "match | include | outcome - why this is in the result set" ];
           fhir:ElementDefinition.definition [ fhir:value "Why this entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process." ];
           fhir:ElementDefinition.comment [ fhir:value "There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, 'match' takes precedence." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.search.mode" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "code" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.binding [
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
               fhir:Extension.valueString [ fhir:value "SearchEntryMode" ]         ];
             fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
             fhir:ElementDefinition.binding.description [ fhir:value "Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process." ];
             fhir:ElementDefinition.binding.valueSet [
               fhir:value "http://hl7.org/fhir/ValueSet/search-entry-mode|4.0.1";
               fhir:link <http://hl7.org/fhir/ValueSet/search-entry-mode|4.0.1>         ]       ]     ], [
           fhir:index 27;
           fhir:Element.id [ fhir:value "Bundle.entry.search.score" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.search.score" ];
           fhir:ElementDefinition.short [ fhir:value "Search ranking (between 0 and 1)" ];
           fhir:ElementDefinition.definition [ fhir:value "When searching, the server's search ranking score for the entry." ];
           fhir:ElementDefinition.comment [ fhir:value "Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.\n\nSee [Patient Match](http://hl7.org/fhir/R4/patient-operation-match.html) for the EMPI search which relates to this element." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.search.score" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "decimal" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 28;
           fhir:Element.id [ fhir:value "Bundle.entry.request" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request" ];
           fhir:ElementDefinition.short [ fhir:value "Additional execution information (transaction/batch/history)" ];
           fhir:ElementDefinition.definition [ fhir:value "Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "0" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.request" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
           fhir:ElementDefinition.condition [
             fhir:value "bdl-3";
             fhir:index 0       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 29;
           fhir:Element.id [ fhir:value "Bundle.entry.request.id" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request.id" ];
           fhir:ElementDefinition.representation [
             fhir:value "xmlAttr";
             fhir:index 0       ];
           fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
           fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
               fhir:Extension.valueUrl [ fhir:value "string" ]         ];
             fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 30;
           fhir:Element.id [ fhir:value "Bundle.entry.request.extension" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request.extension" ];
           fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
           fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ];
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 31;
           fhir:Element.id [ fhir:value "Bundle.entry.request.modifierExtension" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request.modifierExtension" ];
           fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ];
           fhir:ElementDefinition.definition [ fhir:value "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)." ];
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
           fhir:ElementDefinition.requirements [ fhir:value "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/R4/extensibility.html#modifierExtension)." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ], [
             fhir:value "modifiers";
             fhir:index 2       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
           fhir:index 32;
           fhir:Element.id [ fhir:value "Bundle.entry.request.method" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request.method" ];
           fhir:ElementDefinition.short [ fhir:value "GET | HEAD | POST | PUT | DELETE | PATCH" ];
           fhir:ElementDefinition.definition [ fhir:value "In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred." ];
           fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.request.method" ];
             fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "code" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.binding [
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
               fhir:Extension.valueString [ fhir:value "HTTPVerb" ]         ];
             fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
             fhir:ElementDefinition.binding.description [ fhir:value "HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details." ];
             fhir:ElementDefinition.binding.valueSet [
               fhir:value "http://hl7.org/fhir/ValueSet/http-verb|4.0.1";
               fhir:link <http://hl7.org/fhir/ValueSet/http-verb|4.0.1>         ]       ]     ], [
           fhir:index 33;
           fhir:Element.id [ fhir:value "Bundle.entry.request.url" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request.url" ];
           fhir:ElementDefinition.short [ fhir:value "URL for HTTP equivalent of this entry" ];
           fhir:ElementDefinition.definition [ fhir:value "The URL for this entry, relative to the root (the address to which the request is posted)." ];
           fhir:ElementDefinition.comment [ fhir:value "E.g. for a Patient Create, the method would be \"POST\" and the URL would be \"Patient\". For a Patient Update, the method would be PUT and the URL would be \"Patient/[id]\"." ];
           fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.request.url" ];
             fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "uri" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 34;
           fhir:Element.id [ fhir:value "Bundle.entry.request.ifNoneMatch" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request.ifNoneMatch" ];
           fhir:ElementDefinition.short [ fhir:value "For managing cache currency" ];
           fhir:ElementDefinition.definition [ fhir:value "If the ETag values match, return a 304 Not Modified status. See the API documentation for [\"Conditional Read\"](http://hl7.org/fhir/R4/http.html#cread)." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.request.ifNoneMatch" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 35;
           fhir:Element.id [ fhir:value "Bundle.entry.request.ifModifiedSince" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request.ifModifiedSince" ];
           fhir:ElementDefinition.short [ fhir:value "For managing cache currency" ];
           fhir:ElementDefinition.definition [ fhir:value "Only perform the operation if the last updated date matches. See the API documentation for [\"Conditional Read\"](http://hl7.org/fhir/R4/http.html#cread)." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.request.ifModifiedSince" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "instant" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 36;
           fhir:Element.id [ fhir:value "Bundle.entry.request.ifMatch" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request.ifMatch" ];
           fhir:ElementDefinition.short [ fhir:value "For managing update contention" ];
           fhir:ElementDefinition.definition [ fhir:value "Only perform the operation if the Etag value matches. For more information, see the API section [\"Managing Resource Contention\"](http://hl7.org/fhir/R4/http.html#concurrency)." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.request.ifMatch" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 37;
           fhir:Element.id [ fhir:value "Bundle.entry.request.ifNoneExist" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request.ifNoneExist" ];
           fhir:ElementDefinition.short [ fhir:value "For conditional creates" ];
           fhir:ElementDefinition.definition [ fhir:value "Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [\"Conditional Create\"](http://hl7.org/fhir/R4/http.html#ccreate). This is just the query portion of the URL - what follows the \"?\" (not including the \"?\")." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.request.ifNoneExist" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 38;
           fhir:Element.id [ fhir:value "Bundle.entry.response" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.response" ];
           fhir:ElementDefinition.short [ fhir:value "Results of execution (transaction/batch/history)" ];
           fhir:ElementDefinition.definition [ fhir:value "Indicates the results of processing the corresponding 'request' entry in the batch or transaction being responded to or what the results of an operation where when returning history." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "0" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.response" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
           fhir:ElementDefinition.condition [
             fhir:value "bdl-4";
             fhir:index 0       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 39;
           fhir:Element.id [ fhir:value "Bundle.entry.response.id" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.response.id" ];
           fhir:ElementDefinition.representation [
             fhir:value "xmlAttr";
             fhir:index 0       ];
           fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
           fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
               fhir:Extension.valueUrl [ fhir:value "string" ]         ];
             fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 40;
           fhir:Element.id [ fhir:value "Bundle.entry.response.extension" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.response.extension" ];
           fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
           fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ];
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 41;
           fhir:Element.id [ fhir:value "Bundle.entry.response.modifierExtension" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.response.modifierExtension" ];
           fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ];
           fhir:ElementDefinition.definition [ fhir:value "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)." ];
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
           fhir:ElementDefinition.requirements [ fhir:value "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/R4/extensibility.html#modifierExtension)." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ], [
             fhir:value "modifiers";
             fhir:index 2       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
           fhir:index 42;
           fhir:Element.id [ fhir:value "Bundle.entry.response.status" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.response.status" ];
           fhir:ElementDefinition.short [ fhir:value "Status response code (text optional)" ];
           fhir:ElementDefinition.definition [ fhir:value "The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code." ];
           fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.response.status" ];
             fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 43;
           fhir:Element.id [ fhir:value "Bundle.entry.response.location" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.response.location" ];
           fhir:ElementDefinition.short [ fhir:value "The location (if the operation returns a location)" ];
           fhir:ElementDefinition.definition [ fhir:value "The location header created by processing this operation, populated if the operation returns a location." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.response.location" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "uri" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 44;
           fhir:Element.id [ fhir:value "Bundle.entry.response.etag" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.response.etag" ];
           fhir:ElementDefinition.short [ fhir:value "The Etag for the resource (if relevant)" ];
           fhir:ElementDefinition.definition [ fhir:value "The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http://hl7.org/fhir/R4/http.html#versioning) and [Managing Resource Contention](http://hl7.org/fhir/R4/http.html#concurrency))." ];
           fhir:ElementDefinition.comment [ fhir:value "Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.response.etag" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 45;
           fhir:Element.id [ fhir:value "Bundle.entry.response.lastModified" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.response.lastModified" ];
           fhir:ElementDefinition.short [ fhir:value "Server's date time modified" ];
           fhir:ElementDefinition.definition [ fhir:value "The date/time that the resource was modified on the server." ];
           fhir:ElementDefinition.comment [ fhir:value "This has to match the same time in the meta header (meta.lastUpdated) if a resource is included." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.response.lastModified" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "instant" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 46;
           fhir:Element.id [ fhir:value "Bundle.entry.response.outcome" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.response.outcome" ];
           fhir:ElementDefinition.short [ fhir:value "OperationOutcome with hints and warnings (for batch/transaction)" ];
           fhir:ElementDefinition.definition [ fhir:value "An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction." ];
           fhir:ElementDefinition.comment [ fhir:value "For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer = operationoutcome - except that the resource is always returned whether or not the outcome is returned.\n\nThis outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.response.outcome" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Resource" ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 47;
           fhir:Element.id [ fhir:value "Bundle.entry:messageheader" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry" ];
           fhir:ElementDefinition.sliceName [ fhir:value "messageheader" ];
           fhir:ElementDefinition.short [ fhir:value "Entry in the bundle - will have a resource or information" ];
           fhir:ElementDefinition.definition [ fhir:value "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only)." ];
           fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
           fhir:ElementDefinition.orderMeaning [ fhir:value "For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type" ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "bdl-5" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "must be a resource unless there's a request or response" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "resource.exists() or request.exists() or response.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:resource) or exists(f:request) or exists(f:response)" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Bundle";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Bundle>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "bdl-8" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "fullUrl cannot be a version specific reference" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "fullUrl.contains('/_history/').not()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:fullUrl[contains(string(@value), '/_history/')]))" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Bundle";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Bundle>         ]       ], [
             fhir:index 2;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 48;
           fhir:Element.id [ fhir:value "Bundle.entry:messageheader.id" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.id" ];
           fhir:ElementDefinition.representation [
             fhir:value "xmlAttr";
             fhir:index 0       ];
           fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
           fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
               fhir:Extension.valueUrl [ fhir:value "string" ]         ];
             fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 49;
           fhir:Element.id [ fhir:value "Bundle.entry:messageheader.extension" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.extension" ];
           fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
           fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ];
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 50;
           fhir:Element.id [ fhir:value "Bundle.entry:messageheader.modifierExtension" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.modifierExtension" ];
           fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ];
           fhir:ElementDefinition.definition [ fhir:value "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)." ];
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
           fhir:ElementDefinition.requirements [ fhir:value "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/R4/extensibility.html#modifierExtension)." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ], [
             fhir:value "modifiers";
             fhir:index 2       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
           fhir:index 51;
           fhir:Element.id [ fhir:value "Bundle.entry:messageheader.link" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.link" ];
           fhir:ElementDefinition.short [ fhir:value "Links related to this entry" ];
           fhir:ElementDefinition.definition [ fhir:value "A series of links that provide context to this entry." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.link" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.contentReference [ fhir:value "http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link" ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 52;
           fhir:Element.id [ fhir:value "Bundle.entry:messageheader.fullUrl" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.fullUrl" ];
           fhir:ElementDefinition.short [ fhir:value "URI for resource (Absolute URL server address or URI for UUID/OID)" ];
           fhir:ElementDefinition.definition [ fhir:value "The Absolute URL for the resource.  The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. The fullUrl element SHALL have a value except that: \n* fullUrl can be empty on a POST (although it does not need to when specifying a temporary id for reference in the bundle)\n* Results from operations might involve resources that are not identified." ];
           fhir:ElementDefinition.comment [ fhir:value "fullUrl might not be [unique in the context of a resource](http://hl7.org/fhir/R4/bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](http://hl7.org/fhir/R4/references.html), the fullURL might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, but if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](http://hl7.org/fhir/R4/references.html#regex), then the 'id' portion of the fullUrl SHALL end with the Resource.id.\n\nNote that the fullUrl is not the same as the canonical URL - it's an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL)." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.fullUrl" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "uri" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 53;
           fhir:Element.id [ fhir:value "Bundle.entry:messageheader.resource" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.resource" ];
           fhir:ElementDefinition.short [ fhir:value "A resource that describes a message that is exchanged between systems" ];
           fhir:ElementDefinition.definition [ fhir:value "The header for a message exchange that is either requesting or responding to an action.  The reference(s) that are the subject of the action as well as other information related to the action are typically transmitted in a bundle in which the MessageHeader resource instance is the first resource in the bundle." ];
           fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.resource" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "MessageHeader" ];
             fhir:ElementDefinition.type.profile [
               fhir:value "http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-messageheader-query-response";
               fhir:index 0;
               fhir:link <http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-messageheader-query-response>         ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "dom-2" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "If the resource is contained in another resource, it SHALL NOT contain nested Resources" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "contained.contained.empty()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "not(parent::f:contained and f:contained)" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource";
               fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "dom-3" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "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" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "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()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "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='#'])]))" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource";
               fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource>         ]       ], [
             fhir:index 2;
             fhir:ElementDefinition.constraint.key [ fhir:value "dom-4" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource";
               fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource>         ]       ], [
             fhir:index 3;
             fhir:ElementDefinition.constraint.key [ fhir:value "dom-5" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "If a resource is contained in another resource, it SHALL NOT have a security label" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "contained.meta.security.empty()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:contained/*/f:meta/f:security))" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource";
               fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource>         ]       ], [
             fhir:index 4;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice" ];
               fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ]         ], [
               fhir:index 1;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation" ];
               fhir:Extension.valueMarkdown [ fhir:value "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." ]         ];
             fhir:ElementDefinition.constraint.key [ fhir:value "dom-6" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "warning" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "A resource should have narrative for robust management" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "text.`div`.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:text/h:div)" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource";
               fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource>         ]       ];
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "Entity. Role, or Act" ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "MSH / MSA / ERR" ]       ], [
             fhir:index 2;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "Message" ]       ]     ], [
           fhir:index 54;
           fhir:Element.id [ fhir:value "Bundle.entry:messageheader.search" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.search" ];
           fhir:ElementDefinition.short [ fhir:value "Search related information" ];
           fhir:ElementDefinition.definition [ fhir:value "Information about the search process that lead to the creation of this entry." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.search" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
           fhir:ElementDefinition.condition [
             fhir:value "bdl-2";
             fhir:index 0       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 55;
           fhir:Element.id [ fhir:value "Bundle.entry:messageheader.search.id" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.search.id" ];
           fhir:ElementDefinition.representation [
             fhir:value "xmlAttr";
             fhir:index 0       ];
           fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
           fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
               fhir:Extension.valueUrl [ fhir:value "string" ]         ];
             fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 56;
           fhir:Element.id [ fhir:value "Bundle.entry:messageheader.search.extension" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.search.extension" ];
           fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
           fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ];
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 57;
           fhir:Element.id [ fhir:value "Bundle.entry:messageheader.search.modifierExtension" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.search.modifierExtension" ];
           fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ];
           fhir:ElementDefinition.definition [ fhir:value "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)." ];
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
           fhir:ElementDefinition.requirements [ fhir:value "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/R4/extensibility.html#modifierExtension)." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ], [
             fhir:value "modifiers";
             fhir:index 2       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
           fhir:index 58;
           fhir:Element.id [ fhir:value "Bundle.entry:messageheader.search.mode" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.search.mode" ];
           fhir:ElementDefinition.short [ fhir:value "match | include | outcome - why this is in the result set" ];
           fhir:ElementDefinition.definition [ fhir:value "Why this entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process." ];
           fhir:ElementDefinition.comment [ fhir:value "There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, 'match' takes precedence." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.search.mode" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "code" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.binding [
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
               fhir:Extension.valueString [ fhir:value "SearchEntryMode" ]         ];
             fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
             fhir:ElementDefinition.binding.description [ fhir:value "Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process." ];
             fhir:ElementDefinition.binding.valueSet [
               fhir:value "http://hl7.org/fhir/ValueSet/search-entry-mode|4.0.1";
               fhir:link <http://hl7.org/fhir/ValueSet/search-entry-mode|4.0.1>         ]       ]     ], [
           fhir:index 59;
           fhir:Element.id [ fhir:value "Bundle.entry:messageheader.search.score" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.search.score" ];
           fhir:ElementDefinition.short [ fhir:value "Search ranking (between 0 and 1)" ];
           fhir:ElementDefinition.definition [ fhir:value "When searching, the server's search ranking score for the entry." ];
           fhir:ElementDefinition.comment [ fhir:value "Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.\n\nSee [Patient Match](http://hl7.org/fhir/R4/patient-operation-match.html) for the EMPI search which relates to this element." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.search.score" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "decimal" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 60;
           fhir:Element.id [ fhir:value "Bundle.entry:messageheader.request" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request" ];
           fhir:ElementDefinition.short [ fhir:value "Additional execution information (transaction/batch/history)" ];
           fhir:ElementDefinition.definition [ fhir:value "Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.request" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
           fhir:ElementDefinition.condition [
             fhir:value "bdl-3";
             fhir:index 0       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 61;
           fhir:Element.id [ fhir:value "Bundle.entry:messageheader.request.id" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request.id" ];
           fhir:ElementDefinition.representation [
             fhir:value "xmlAttr";
             fhir:index 0       ];
           fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
           fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
               fhir:Extension.valueUrl [ fhir:value "string" ]         ];
             fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 62;
           fhir:Element.id [ fhir:value "Bundle.entry:messageheader.request.extension" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request.extension" ];
           fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
           fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ];
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 63;
           fhir:Element.id [ fhir:value "Bundle.entry:messageheader.request.modifierExtension" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request.modifierExtension" ];
           fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ];
           fhir:ElementDefinition.definition [ fhir:value "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)." ];
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
           fhir:ElementDefinition.requirements [ fhir:value "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/R4/extensibility.html#modifierExtension)." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ], [
             fhir:value "modifiers";
             fhir:index 2       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
           fhir:index 64;
           fhir:Element.id [ fhir:value "Bundle.entry:messageheader.request.method" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request.method" ];
           fhir:ElementDefinition.short [ fhir:value "GET | HEAD | POST | PUT | DELETE | PATCH" ];
           fhir:ElementDefinition.definition [ fhir:value "In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred." ];
           fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.request.method" ];
             fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "code" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.binding [
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
               fhir:Extension.valueString [ fhir:value "HTTPVerb" ]         ];
             fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
             fhir:ElementDefinition.binding.description [ fhir:value "HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details." ];
             fhir:ElementDefinition.binding.valueSet [
               fhir:value "http://hl7.org/fhir/ValueSet/http-verb|4.0.1";
               fhir:link <http://hl7.org/fhir/ValueSet/http-verb|4.0.1>         ]       ]     ], [
           fhir:index 65;
           fhir:Element.id [ fhir:value "Bundle.entry:messageheader.request.url" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request.url" ];
           fhir:ElementDefinition.short [ fhir:value "URL for HTTP equivalent of this entry" ];
           fhir:ElementDefinition.definition [ fhir:value "The URL for this entry, relative to the root (the address to which the request is posted)." ];
           fhir:ElementDefinition.comment [ fhir:value "E.g. for a Patient Create, the method would be \"POST\" and the URL would be \"Patient\". For a Patient Update, the method would be PUT and the URL would be \"Patient/[id]\"." ];
           fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.request.url" ];
             fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "uri" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 66;
           fhir:Element.id [ fhir:value "Bundle.entry:messageheader.request.ifNoneMatch" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request.ifNoneMatch" ];
           fhir:ElementDefinition.short [ fhir:value "For managing cache currency" ];
           fhir:ElementDefinition.definition [ fhir:value "If the ETag values match, return a 304 Not Modified status. See the API documentation for [\"Conditional Read\"](http://hl7.org/fhir/R4/http.html#cread)." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.request.ifNoneMatch" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 67;
           fhir:Element.id [ fhir:value "Bundle.entry:messageheader.request.ifModifiedSince" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request.ifModifiedSince" ];
           fhir:ElementDefinition.short [ fhir:value "For managing cache currency" ];
           fhir:ElementDefinition.definition [ fhir:value "Only perform the operation if the last updated date matches. See the API documentation for [\"Conditional Read\"](http://hl7.org/fhir/R4/http.html#cread)." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.request.ifModifiedSince" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "instant" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 68;
           fhir:Element.id [ fhir:value "Bundle.entry:messageheader.request.ifMatch" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request.ifMatch" ];
           fhir:ElementDefinition.short [ fhir:value "For managing update contention" ];
           fhir:ElementDefinition.definition [ fhir:value "Only perform the operation if the Etag value matches. For more information, see the API section [\"Managing Resource Contention\"](http://hl7.org/fhir/R4/http.html#concurrency)." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.request.ifMatch" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 69;
           fhir:Element.id [ fhir:value "Bundle.entry:messageheader.request.ifNoneExist" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request.ifNoneExist" ];
           fhir:ElementDefinition.short [ fhir:value "For conditional creates" ];
           fhir:ElementDefinition.definition [ fhir:value "Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [\"Conditional Create\"](http://hl7.org/fhir/R4/http.html#ccreate). This is just the query portion of the URL - what follows the \"?\" (not including the \"?\")." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.request.ifNoneExist" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 70;
           fhir:Element.id [ fhir:value "Bundle.entry:messageheader.response" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.response" ];
           fhir:ElementDefinition.short [ fhir:value "Results of execution (transaction/batch/history)" ];
           fhir:ElementDefinition.definition [ fhir:value "Indicates the results of processing the corresponding 'request' entry in the batch or transaction being responded to or what the results of an operation where when returning history." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.response" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
           fhir:ElementDefinition.condition [
             fhir:value "bdl-4";
             fhir:index 0       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 71;
           fhir:Element.id [ fhir:value "Bundle.entry:messageheader.response.id" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.response.id" ];
           fhir:ElementDefinition.representation [
             fhir:value "xmlAttr";
             fhir:index 0       ];
           fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
           fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
               fhir:Extension.valueUrl [ fhir:value "string" ]         ];
             fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 72;
           fhir:Element.id [ fhir:value "Bundle.entry:messageheader.response.extension" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.response.extension" ];
           fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
           fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ];
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 73;
           fhir:Element.id [ fhir:value "Bundle.entry:messageheader.response.modifierExtension" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.response.modifierExtension" ];
           fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ];
           fhir:ElementDefinition.definition [ fhir:value "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)." ];
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
           fhir:ElementDefinition.requirements [ fhir:value "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/R4/extensibility.html#modifierExtension)." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ], [
             fhir:value "modifiers";
             fhir:index 2       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
           fhir:index 74;
           fhir:Element.id [ fhir:value "Bundle.entry:messageheader.response.status" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.response.status" ];
           fhir:ElementDefinition.short [ fhir:value "Status response code (text optional)" ];
           fhir:ElementDefinition.definition [ fhir:value "The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code." ];
           fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.response.status" ];
             fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 75;
           fhir:Element.id [ fhir:value "Bundle.entry:messageheader.response.location" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.response.location" ];
           fhir:ElementDefinition.short [ fhir:value "The location (if the operation returns a location)" ];
           fhir:ElementDefinition.definition [ fhir:value "The location header created by processing this operation, populated if the operation returns a location." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.response.location" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "uri" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 76;
           fhir:Element.id [ fhir:value "Bundle.entry:messageheader.response.etag" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.response.etag" ];
           fhir:ElementDefinition.short [ fhir:value "The Etag for the resource (if relevant)" ];
           fhir:ElementDefinition.definition [ fhir:value "The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http://hl7.org/fhir/R4/http.html#versioning) and [Managing Resource Contention](http://hl7.org/fhir/R4/http.html#concurrency))." ];
           fhir:ElementDefinition.comment [ fhir:value "Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.response.etag" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 77;
           fhir:Element.id [ fhir:value "Bundle.entry:messageheader.response.lastModified" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.response.lastModified" ];
           fhir:ElementDefinition.short [ fhir:value "Server's date time modified" ];
           fhir:ElementDefinition.definition [ fhir:value "The date/time that the resource was modified on the server." ];
           fhir:ElementDefinition.comment [ fhir:value "This has to match the same time in the meta header (meta.lastUpdated) if a resource is included." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.response.lastModified" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "instant" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 78;
           fhir:Element.id [ fhir:value "Bundle.entry:messageheader.response.outcome" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.response.outcome" ];
           fhir:ElementDefinition.short [ fhir:value "OperationOutcome with hints and warnings (for batch/transaction)" ];
           fhir:ElementDefinition.definition [ fhir:value "An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction." ];
           fhir:ElementDefinition.comment [ fhir:value "For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer = operationoutcome - except that the resource is always returned whether or not the outcome is returned.\n\nThis outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.response.outcome" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Resource" ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 79;
           fhir:Element.id [ fhir:value "Bundle.entry:parameters" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry" ];
           fhir:ElementDefinition.sliceName [ fhir:value "parameters" ];
           fhir:ElementDefinition.short [ fhir:value "Entry in the bundle - will have a resource or information" ];
           fhir:ElementDefinition.definition [ fhir:value "An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only)." ];
           fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
           fhir:ElementDefinition.orderMeaning [ fhir:value "For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type" ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "bdl-5" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "must be a resource unless there's a request or response" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "resource.exists() or request.exists() or response.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:resource) or exists(f:request) or exists(f:response)" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Bundle";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Bundle>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "bdl-8" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "fullUrl cannot be a version specific reference" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "fullUrl.contains('/_history/').not()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:fullUrl[contains(string(@value), '/_history/')]))" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Bundle";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Bundle>         ]       ], [
             fhir:index 2;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 80;
           fhir:Element.id [ fhir:value "Bundle.entry:parameters.id" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.id" ];
           fhir:ElementDefinition.representation [
             fhir:value "xmlAttr";
             fhir:index 0       ];
           fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
           fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
               fhir:Extension.valueUrl [ fhir:value "string" ]         ];
             fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 81;
           fhir:Element.id [ fhir:value "Bundle.entry:parameters.extension" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.extension" ];
           fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
           fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ];
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 82;
           fhir:Element.id [ fhir:value "Bundle.entry:parameters.modifierExtension" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.modifierExtension" ];
           fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ];
           fhir:ElementDefinition.definition [ fhir:value "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)." ];
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
           fhir:ElementDefinition.requirements [ fhir:value "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/R4/extensibility.html#modifierExtension)." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ], [
             fhir:value "modifiers";
             fhir:index 2       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
           fhir:index 83;
           fhir:Element.id [ fhir:value "Bundle.entry:parameters.link" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.link" ];
           fhir:ElementDefinition.short [ fhir:value "Links related to this entry" ];
           fhir:ElementDefinition.definition [ fhir:value "A series of links that provide context to this entry." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.link" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.contentReference [ fhir:value "http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link" ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 84;
           fhir:Element.id [ fhir:value "Bundle.entry:parameters.fullUrl" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.fullUrl" ];
           fhir:ElementDefinition.short [ fhir:value "URI for resource (Absolute URL server address or URI for UUID/OID)" ];
           fhir:ElementDefinition.definition [ fhir:value "The Absolute URL for the resource.  The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. The fullUrl element SHALL have a value except that: \n* fullUrl can be empty on a POST (although it does not need to when specifying a temporary id for reference in the bundle)\n* Results from operations might involve resources that are not identified." ];
           fhir:ElementDefinition.comment [ fhir:value "fullUrl might not be [unique in the context of a resource](http://hl7.org/fhir/R4/bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](http://hl7.org/fhir/R4/references.html), the fullURL might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, but if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](http://hl7.org/fhir/R4/references.html#regex), then the 'id' portion of the fullUrl SHALL end with the Resource.id.\n\nNote that the fullUrl is not the same as the canonical URL - it's an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL)." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.fullUrl" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "uri" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 85;
           fhir:Element.id [ fhir:value "Bundle.entry:parameters.resource" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.resource" ];
           fhir:ElementDefinition.short [ fhir:value "Operation Request or Response" ];
           fhir:ElementDefinition.definition [ fhir:value "This resource is a non-persisted resource used to pass information into and back from an [operation](http://hl7.org/fhir/R4/operations.html). It has no other use, and there is no RESTful endpoint associated with it." ];
           fhir:ElementDefinition.comment [ fhir:value "The parameters that may be used are defined by the OperationDefinition resource." ];
           fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.resource" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Parameters" ];
             fhir:ElementDefinition.type.profile [
               fhir:value "http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-parameters-query-response";
               fhir:index 0;
               fhir:link <http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-parameters-query-response>         ]       ];
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "Entity. Role, or Act" ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ], [
             fhir:index 2;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 86;
           fhir:Element.id [ fhir:value "Bundle.entry:parameters.search" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.search" ];
           fhir:ElementDefinition.short [ fhir:value "Search related information" ];
           fhir:ElementDefinition.definition [ fhir:value "Information about the search process that lead to the creation of this entry." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.search" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
           fhir:ElementDefinition.condition [
             fhir:value "bdl-2";
             fhir:index 0       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 87;
           fhir:Element.id [ fhir:value "Bundle.entry:parameters.search.id" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.search.id" ];
           fhir:ElementDefinition.representation [
             fhir:value "xmlAttr";
             fhir:index 0       ];
           fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
           fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
               fhir:Extension.valueUrl [ fhir:value "string" ]         ];
             fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 88;
           fhir:Element.id [ fhir:value "Bundle.entry:parameters.search.extension" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.search.extension" ];
           fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
           fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ];
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 89;
           fhir:Element.id [ fhir:value "Bundle.entry:parameters.search.modifierExtension" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.search.modifierExtension" ];
           fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ];
           fhir:ElementDefinition.definition [ fhir:value "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)." ];
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
           fhir:ElementDefinition.requirements [ fhir:value "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/R4/extensibility.html#modifierExtension)." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ], [
             fhir:value "modifiers";
             fhir:index 2       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
           fhir:index 90;
           fhir:Element.id [ fhir:value "Bundle.entry:parameters.search.mode" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.search.mode" ];
           fhir:ElementDefinition.short [ fhir:value "match | include | outcome - why this is in the result set" ];
           fhir:ElementDefinition.definition [ fhir:value "Why this entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process." ];
           fhir:ElementDefinition.comment [ fhir:value "There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, 'match' takes precedence." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.search.mode" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "code" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.binding [
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
               fhir:Extension.valueString [ fhir:value "SearchEntryMode" ]         ];
             fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
             fhir:ElementDefinition.binding.description [ fhir:value "Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process." ];
             fhir:ElementDefinition.binding.valueSet [
               fhir:value "http://hl7.org/fhir/ValueSet/search-entry-mode|4.0.1";
               fhir:link <http://hl7.org/fhir/ValueSet/search-entry-mode|4.0.1>         ]       ]     ], [
           fhir:index 91;
           fhir:Element.id [ fhir:value "Bundle.entry:parameters.search.score" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.search.score" ];
           fhir:ElementDefinition.short [ fhir:value "Search ranking (between 0 and 1)" ];
           fhir:ElementDefinition.definition [ fhir:value "When searching, the server's search ranking score for the entry." ];
           fhir:ElementDefinition.comment [ fhir:value "Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.\n\nSee [Patient Match](http://hl7.org/fhir/R4/patient-operation-match.html) for the EMPI search which relates to this element." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.search.score" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "decimal" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 92;
           fhir:Element.id [ fhir:value "Bundle.entry:parameters.request" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request" ];
           fhir:ElementDefinition.short [ fhir:value "Additional execution information (transaction/batch/history)" ];
           fhir:ElementDefinition.definition [ fhir:value "Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.request" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
           fhir:ElementDefinition.condition [
             fhir:value "bdl-3";
             fhir:index 0       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 93;
           fhir:Element.id [ fhir:value "Bundle.entry:parameters.request.id" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request.id" ];
           fhir:ElementDefinition.representation [
             fhir:value "xmlAttr";
             fhir:index 0       ];
           fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
           fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
               fhir:Extension.valueUrl [ fhir:value "string" ]         ];
             fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 94;
           fhir:Element.id [ fhir:value "Bundle.entry:parameters.request.extension" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request.extension" ];
           fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
           fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ];
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 95;
           fhir:Element.id [ fhir:value "Bundle.entry:parameters.request.modifierExtension" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request.modifierExtension" ];
           fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ];
           fhir:ElementDefinition.definition [ fhir:value "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)." ];
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
           fhir:ElementDefinition.requirements [ fhir:value "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/R4/extensibility.html#modifierExtension)." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ], [
             fhir:value "modifiers";
             fhir:index 2       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
           fhir:index 96;
           fhir:Element.id [ fhir:value "Bundle.entry:parameters.request.method" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request.method" ];
           fhir:ElementDefinition.short [ fhir:value "GET | HEAD | POST | PUT | DELETE | PATCH" ];
           fhir:ElementDefinition.definition [ fhir:value "In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred." ];
           fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.request.method" ];
             fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "code" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.binding [
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
               fhir:Extension.valueString [ fhir:value "HTTPVerb" ]         ];
             fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
             fhir:ElementDefinition.binding.description [ fhir:value "HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details." ];
             fhir:ElementDefinition.binding.valueSet [
               fhir:value "http://hl7.org/fhir/ValueSet/http-verb|4.0.1";
               fhir:link <http://hl7.org/fhir/ValueSet/http-verb|4.0.1>         ]       ]     ], [
           fhir:index 97;
           fhir:Element.id [ fhir:value "Bundle.entry:parameters.request.url" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request.url" ];
           fhir:ElementDefinition.short [ fhir:value "URL for HTTP equivalent of this entry" ];
           fhir:ElementDefinition.definition [ fhir:value "The URL for this entry, relative to the root (the address to which the request is posted)." ];
           fhir:ElementDefinition.comment [ fhir:value "E.g. for a Patient Create, the method would be \"POST\" and the URL would be \"Patient\". For a Patient Update, the method would be PUT and the URL would be \"Patient/[id]\"." ];
           fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.request.url" ];
             fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "uri" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 98;
           fhir:Element.id [ fhir:value "Bundle.entry:parameters.request.ifNoneMatch" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request.ifNoneMatch" ];
           fhir:ElementDefinition.short [ fhir:value "For managing cache currency" ];
           fhir:ElementDefinition.definition [ fhir:value "If the ETag values match, return a 304 Not Modified status. See the API documentation for [\"Conditional Read\"](http://hl7.org/fhir/R4/http.html#cread)." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.request.ifNoneMatch" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 99;
           fhir:Element.id [ fhir:value "Bundle.entry:parameters.request.ifModifiedSince" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request.ifModifiedSince" ];
           fhir:ElementDefinition.short [ fhir:value "For managing cache currency" ];
           fhir:ElementDefinition.definition [ fhir:value "Only perform the operation if the last updated date matches. See the API documentation for [\"Conditional Read\"](http://hl7.org/fhir/R4/http.html#cread)." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.request.ifModifiedSince" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "instant" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 100;
           fhir:Element.id [ fhir:value "Bundle.entry:parameters.request.ifMatch" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request.ifMatch" ];
           fhir:ElementDefinition.short [ fhir:value "For managing update contention" ];
           fhir:ElementDefinition.definition [ fhir:value "Only perform the operation if the Etag value matches. For more information, see the API section [\"Managing Resource Contention\"](http://hl7.org/fhir/R4/http.html#concurrency)." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.request.ifMatch" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 101;
           fhir:Element.id [ fhir:value "Bundle.entry:parameters.request.ifNoneExist" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request.ifNoneExist" ];
           fhir:ElementDefinition.short [ fhir:value "For conditional creates" ];
           fhir:ElementDefinition.definition [ fhir:value "Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [\"Conditional Create\"](http://hl7.org/fhir/R4/http.html#ccreate). This is just the query portion of the URL - what follows the \"?\" (not including the \"?\")." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.request.ifNoneExist" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 102;
           fhir:Element.id [ fhir:value "Bundle.entry:parameters.response" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.response" ];
           fhir:ElementDefinition.short [ fhir:value "Results of execution (transaction/batch/history)" ];
           fhir:ElementDefinition.definition [ fhir:value "Indicates the results of processing the corresponding 'request' entry in the batch or transaction being responded to or what the results of an operation where when returning history." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.response" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
           fhir:ElementDefinition.condition [
             fhir:value "bdl-4";
             fhir:index 0       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 103;
           fhir:Element.id [ fhir:value "Bundle.entry:parameters.response.id" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.response.id" ];
           fhir:ElementDefinition.representation [
             fhir:value "xmlAttr";
             fhir:index 0       ];
           fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
           fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
               fhir:Extension.valueUrl [ fhir:value "string" ]         ];
             fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 104;
           fhir:Element.id [ fhir:value "Bundle.entry:parameters.response.extension" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.response.extension" ];
           fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
           fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ];
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 105;
           fhir:Element.id [ fhir:value "Bundle.entry:parameters.response.modifierExtension" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.response.modifierExtension" ];
           fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ];
           fhir:ElementDefinition.definition [ fhir:value "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)." ];
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
           fhir:ElementDefinition.requirements [ fhir:value "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/R4/extensibility.html#modifierExtension)." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ], [
             fhir:value "modifiers";
             fhir:index 2       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
           fhir:index 106;
           fhir:Element.id [ fhir:value "Bundle.entry:parameters.response.status" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.response.status" ];
           fhir:ElementDefinition.short [ fhir:value "Status response code (text optional)" ];
           fhir:ElementDefinition.definition [ fhir:value "The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code." ];
           fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.response.status" ];
             fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 107;
           fhir:Element.id [ fhir:value "Bundle.entry:parameters.response.location" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.response.location" ];
           fhir:ElementDefinition.short [ fhir:value "The location (if the operation returns a location)" ];
           fhir:ElementDefinition.definition [ fhir:value "The location header created by processing this operation, populated if the operation returns a location." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.response.location" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "uri" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 108;
           fhir:Element.id [ fhir:value "Bundle.entry:parameters.response.etag" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.response.etag" ];
           fhir:ElementDefinition.short [ fhir:value "The Etag for the resource (if relevant)" ];
           fhir:ElementDefinition.definition [ fhir:value "The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http://hl7.org/fhir/R4/http.html#versioning) and [Managing Resource Contention](http://hl7.org/fhir/R4/http.html#concurrency))." ];
           fhir:ElementDefinition.comment [ fhir:value "Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.response.etag" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 109;
           fhir:Element.id [ fhir:value "Bundle.entry:parameters.response.lastModified" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.response.lastModified" ];
           fhir:ElementDefinition.short [ fhir:value "Server's date time modified" ];
           fhir:ElementDefinition.definition [ fhir:value "The date/time that the resource was modified on the server." ];
           fhir:ElementDefinition.comment [ fhir:value "This has to match the same time in the meta header (meta.lastUpdated) if a resource is included." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.response.lastModified" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "instant" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 110;
           fhir:Element.id [ fhir:value "Bundle.entry:parameters.response.outcome" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.response.outcome" ];
           fhir:ElementDefinition.short [ fhir:value "OperationOutcome with hints and warnings (for batch/transaction)" ];
           fhir:ElementDefinition.definition [ fhir:value "An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction." ];
           fhir:ElementDefinition.comment [ fhir:value "For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer = operationoutcome - except that the resource is always returned whether or not the outcome is returned.\n\nThis outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.response.outcome" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Resource" ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 111;
           fhir:Element.id [ fhir:value "Bundle.entry:patient" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry" ];
           fhir:ElementDefinition.sliceName [ fhir:value "patient" ];
           fhir:ElementDefinition.label [ fhir:value "Patient (requester's and responder's)" ];
           fhir:ElementDefinition.short [ fhir:value "Patient" ];
           fhir:ElementDefinition.definition [ fhir:value "The patient resource captured in the requesting system. Optionally also the patient resource captured in the responding system." ];
           fhir:ElementDefinition.comment [ fhir:value "The patient resource in the requesting system and responding system." ];
           fhir:ElementDefinition.min [ fhir:value "2"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "2" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
           fhir:ElementDefinition.orderMeaning [ fhir:value "For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type" ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "bdl-5" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "must be a resource unless there's a request or response" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "resource.exists() or request.exists() or response.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:resource) or exists(f:request) or exists(f:response)" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Bundle";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Bundle>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "bdl-8" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "fullUrl cannot be a version specific reference" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "fullUrl.contains('/_history/').not()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:fullUrl[contains(string(@value), '/_history/')]))" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Bundle";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Bundle>         ]       ], [
             fhir:index 2;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 112;
           fhir:Element.id [ fhir:value "Bundle.entry:patient.id" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.id" ];
           fhir:ElementDefinition.representation [
             fhir:value "xmlAttr";
             fhir:index 0       ];
           fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
           fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
               fhir:Extension.valueUrl [ fhir:value "string" ]         ];
             fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 113;
           fhir:Element.id [ fhir:value "Bundle.entry:patient.extension" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.extension" ];
           fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
           fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ];
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 114;
           fhir:Element.id [ fhir:value "Bundle.entry:patient.modifierExtension" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.modifierExtension" ];
           fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ];
           fhir:ElementDefinition.definition [ fhir:value "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)." ];
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
           fhir:ElementDefinition.requirements [ fhir:value "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/R4/extensibility.html#modifierExtension)." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ], [
             fhir:value "modifiers";
             fhir:index 2       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
           fhir:index 115;
           fhir:Element.id [ fhir:value "Bundle.entry:patient.link" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.link" ];
           fhir:ElementDefinition.short [ fhir:value "Links related to this entry" ];
           fhir:ElementDefinition.definition [ fhir:value "A series of links that provide context to this entry." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.link" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.contentReference [ fhir:value "http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link" ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 116;
           fhir:Element.id [ fhir:value "Bundle.entry:patient.fullUrl" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.fullUrl" ];
           fhir:ElementDefinition.short [ fhir:value "URI for resource (Absolute URL server address or URI for UUID/OID)" ];
           fhir:ElementDefinition.definition [ fhir:value "The Absolute URL for the resource.  The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. The fullUrl element SHALL have a value except that: \n* fullUrl can be empty on a POST (although it does not need to when specifying a temporary id for reference in the bundle)\n* Results from operations might involve resources that are not identified." ];
           fhir:ElementDefinition.comment [ fhir:value "fullUrl might not be [unique in the context of a resource](http://hl7.org/fhir/R4/bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](http://hl7.org/fhir/R4/references.html), the fullURL might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, but if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](http://hl7.org/fhir/R4/references.html#regex), then the 'id' portion of the fullUrl SHALL end with the Resource.id.\n\nNote that the fullUrl is not the same as the canonical URL - it's an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL)." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.fullUrl" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "uri" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 117;
           fhir:Element.id [ fhir:value "Bundle.entry:patient.resource" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.resource" ];
           fhir:ElementDefinition.short [ fhir:value "Information about an individual or animal receiving health care services" ];
           fhir:ElementDefinition.definition [ fhir:value "The US Core Patient Profile is based upon the core FHIR Patient Resource and designed to meet the applicable patient demographic data elements from the 2015 Edition Common Clinical Data Set." ];
           fhir:ElementDefinition.alias [
             fhir:value "SubjectOfCare Client Resident";
             fhir:index 0       ];
           fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.resource" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Patient" ];
             fhir:ElementDefinition.type.profile [
               fhir:value "http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-patient";
               fhir:index 0;
               fhir:link <http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-patient>         ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "dom-2" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "If the resource is contained in another resource, it SHALL NOT contain nested Resources" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "contained.contained.empty()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "not(parent::f:contained and f:contained)" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource";
               fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "dom-3" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "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" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "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()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "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='#'])]))" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource";
               fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource>         ]       ], [
             fhir:index 2;
             fhir:ElementDefinition.constraint.key [ fhir:value "dom-4" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource";
               fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource>         ]       ], [
             fhir:index 3;
             fhir:ElementDefinition.constraint.key [ fhir:value "dom-5" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "If a resource is contained in another resource, it SHALL NOT have a security label" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "contained.meta.security.empty()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:contained/*/f:meta/f:security))" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource";
               fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource>         ]       ], [
             fhir:index 4;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice" ];
               fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ]         ], [
               fhir:index 1;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation" ];
               fhir:Extension.valueMarkdown [ fhir:value "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." ]         ];
             fhir:ElementDefinition.constraint.key [ fhir:value "dom-6" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "warning" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "A resource should have narrative for robust management" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "text.`div`.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:text/h:div)" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource";
               fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource>         ]       ];
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "Entity. Role, or Act" ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "Patient[classCode=PAT]" ]       ], [
             fhir:index 2;
             fhir:ElementDefinition.mapping.identity [ fhir:value "cda" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "ClinicalDocument.recordTarget.patientRole" ]       ], [
             fhir:index 3;
             fhir:ElementDefinition.mapping.identity [ fhir:value "argonaut-dq-dstu2" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "Patient" ]       ]     ], [
           fhir:index 118;
           fhir:Element.id [ fhir:value "Bundle.entry:patient.search" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.search" ];
           fhir:ElementDefinition.short [ fhir:value "Search related information" ];
           fhir:ElementDefinition.definition [ fhir:value "Information about the search process that lead to the creation of this entry." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.search" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
           fhir:ElementDefinition.condition [
             fhir:value "bdl-2";
             fhir:index 0       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 119;
           fhir:Element.id [ fhir:value "Bundle.entry:patient.search.id" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.search.id" ];
           fhir:ElementDefinition.representation [
             fhir:value "xmlAttr";
             fhir:index 0       ];
           fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
           fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
               fhir:Extension.valueUrl [ fhir:value "string" ]         ];
             fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 120;
           fhir:Element.id [ fhir:value "Bundle.entry:patient.search.extension" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.search.extension" ];
           fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
           fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ];
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 121;
           fhir:Element.id [ fhir:value "Bundle.entry:patient.search.modifierExtension" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.search.modifierExtension" ];
           fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ];
           fhir:ElementDefinition.definition [ fhir:value "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)." ];
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
           fhir:ElementDefinition.requirements [ fhir:value "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/R4/extensibility.html#modifierExtension)." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ], [
             fhir:value "modifiers";
             fhir:index 2       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
           fhir:index 122;
           fhir:Element.id [ fhir:value "Bundle.entry:patient.search.mode" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.search.mode" ];
           fhir:ElementDefinition.short [ fhir:value "match | include | outcome - why this is in the result set" ];
           fhir:ElementDefinition.definition [ fhir:value "Why this entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process." ];
           fhir:ElementDefinition.comment [ fhir:value "There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, 'match' takes precedence." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.search.mode" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "code" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.binding [
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
               fhir:Extension.valueString [ fhir:value "SearchEntryMode" ]         ];
             fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
             fhir:ElementDefinition.binding.description [ fhir:value "Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process." ];
             fhir:ElementDefinition.binding.valueSet [
               fhir:value "http://hl7.org/fhir/ValueSet/search-entry-mode|4.0.1";
               fhir:link <http://hl7.org/fhir/ValueSet/search-entry-mode|4.0.1>         ]       ]     ], [
           fhir:index 123;
           fhir:Element.id [ fhir:value "Bundle.entry:patient.search.score" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.search.score" ];
           fhir:ElementDefinition.short [ fhir:value "Search ranking (between 0 and 1)" ];
           fhir:ElementDefinition.definition [ fhir:value "When searching, the server's search ranking score for the entry." ];
           fhir:ElementDefinition.comment [ fhir:value "Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.\n\nSee [Patient Match](http://hl7.org/fhir/R4/patient-operation-match.html) for the EMPI search which relates to this element." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.search.score" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "decimal" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 124;
           fhir:Element.id [ fhir:value "Bundle.entry:patient.request" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request" ];
           fhir:ElementDefinition.short [ fhir:value "Additional execution information (transaction/batch/history)" ];
           fhir:ElementDefinition.definition [ fhir:value "Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.request" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
           fhir:ElementDefinition.condition [
             fhir:value "bdl-3";
             fhir:index 0       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 125;
           fhir:Element.id [ fhir:value "Bundle.entry:patient.request.id" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request.id" ];
           fhir:ElementDefinition.representation [
             fhir:value "xmlAttr";
             fhir:index 0       ];
           fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
           fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
               fhir:Extension.valueUrl [ fhir:value "string" ]         ];
             fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 126;
           fhir:Element.id [ fhir:value "Bundle.entry:patient.request.extension" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request.extension" ];
           fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
           fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ];
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 127;
           fhir:Element.id [ fhir:value "Bundle.entry:patient.request.modifierExtension" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request.modifierExtension" ];
           fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ];
           fhir:ElementDefinition.definition [ fhir:value "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)." ];
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
           fhir:ElementDefinition.requirements [ fhir:value "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/R4/extensibility.html#modifierExtension)." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ], [
             fhir:value "modifiers";
             fhir:index 2       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
           fhir:index 128;
           fhir:Element.id [ fhir:value "Bundle.entry:patient.request.method" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request.method" ];
           fhir:ElementDefinition.short [ fhir:value "GET | HEAD | POST | PUT | DELETE | PATCH" ];
           fhir:ElementDefinition.definition [ fhir:value "In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred." ];
           fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.request.method" ];
             fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "code" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.binding [
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
               fhir:Extension.valueString [ fhir:value "HTTPVerb" ]         ];
             fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
             fhir:ElementDefinition.binding.description [ fhir:value "HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details." ];
             fhir:ElementDefinition.binding.valueSet [
               fhir:value "http://hl7.org/fhir/ValueSet/http-verb|4.0.1";
               fhir:link <http://hl7.org/fhir/ValueSet/http-verb|4.0.1>         ]       ]     ], [
           fhir:index 129;
           fhir:Element.id [ fhir:value "Bundle.entry:patient.request.url" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request.url" ];
           fhir:ElementDefinition.short [ fhir:value "URL for HTTP equivalent of this entry" ];
           fhir:ElementDefinition.definition [ fhir:value "The URL for this entry, relative to the root (the address to which the request is posted)." ];
           fhir:ElementDefinition.comment [ fhir:value "E.g. for a Patient Create, the method would be \"POST\" and the URL would be \"Patient\". For a Patient Update, the method would be PUT and the URL would be \"Patient/[id]\"." ];
           fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.request.url" ];
             fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "uri" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 130;
           fhir:Element.id [ fhir:value "Bundle.entry:patient.request.ifNoneMatch" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request.ifNoneMatch" ];
           fhir:ElementDefinition.short [ fhir:value "For managing cache currency" ];
           fhir:ElementDefinition.definition [ fhir:value "If the ETag values match, return a 304 Not Modified status. See the API documentation for [\"Conditional Read\"](http://hl7.org/fhir/R4/http.html#cread)." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.request.ifNoneMatch" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 131;
           fhir:Element.id [ fhir:value "Bundle.entry:patient.request.ifModifiedSince" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request.ifModifiedSince" ];
           fhir:ElementDefinition.short [ fhir:value "For managing cache currency" ];
           fhir:ElementDefinition.definition [ fhir:value "Only perform the operation if the last updated date matches. See the API documentation for [\"Conditional Read\"](http://hl7.org/fhir/R4/http.html#cread)." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.request.ifModifiedSince" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "instant" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 132;
           fhir:Element.id [ fhir:value "Bundle.entry:patient.request.ifMatch" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request.ifMatch" ];
           fhir:ElementDefinition.short [ fhir:value "For managing update contention" ];
           fhir:ElementDefinition.definition [ fhir:value "Only perform the operation if the Etag value matches. For more information, see the API section [\"Managing Resource Contention\"](http://hl7.org/fhir/R4/http.html#concurrency)." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.request.ifMatch" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 133;
           fhir:Element.id [ fhir:value "Bundle.entry:patient.request.ifNoneExist" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request.ifNoneExist" ];
           fhir:ElementDefinition.short [ fhir:value "For conditional creates" ];
           fhir:ElementDefinition.definition [ fhir:value "Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [\"Conditional Create\"](http://hl7.org/fhir/R4/http.html#ccreate). This is just the query portion of the URL - what follows the \"?\" (not including the \"?\")." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.request.ifNoneExist" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 134;
           fhir:Element.id [ fhir:value "Bundle.entry:patient.response" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.response" ];
           fhir:ElementDefinition.short [ fhir:value "Results of execution (transaction/batch/history)" ];
           fhir:ElementDefinition.definition [ fhir:value "Indicates the results of processing the corresponding 'request' entry in the batch or transaction being responded to or what the results of an operation where when returning history." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.response" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
           fhir:ElementDefinition.condition [
             fhir:value "bdl-4";
             fhir:index 0       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 135;
           fhir:Element.id [ fhir:value "Bundle.entry:patient.response.id" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.response.id" ];
           fhir:ElementDefinition.representation [
             fhir:value "xmlAttr";
             fhir:index 0       ];
           fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
           fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
               fhir:Extension.valueUrl [ fhir:value "string" ]         ];
             fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 136;
           fhir:Element.id [ fhir:value "Bundle.entry:patient.response.extension" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.response.extension" ];
           fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
           fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ];
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 137;
           fhir:Element.id [ fhir:value "Bundle.entry:patient.response.modifierExtension" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.response.modifierExtension" ];
           fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ];
           fhir:ElementDefinition.definition [ fhir:value "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)." ];
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
           fhir:ElementDefinition.requirements [ fhir:value "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/R4/extensibility.html#modifierExtension)." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ], [
             fhir:value "modifiers";
             fhir:index 2       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
           fhir:index 138;
           fhir:Element.id [ fhir:value "Bundle.entry:patient.response.status" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.response.status" ];
           fhir:ElementDefinition.short [ fhir:value "Status response code (text optional)" ];
           fhir:ElementDefinition.definition [ fhir:value "The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code." ];
           fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.response.status" ];
             fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 139;
           fhir:Element.id [ fhir:value "Bundle.entry:patient.response.location" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.response.location" ];
           fhir:ElementDefinition.short [ fhir:value "The location (if the operation returns a location)" ];
           fhir:ElementDefinition.definition [ fhir:value "The location header created by processing this operation, populated if the operation returns a location." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.response.location" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "uri" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 140;
           fhir:Element.id [ fhir:value "Bundle.entry:patient.response.etag" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.response.etag" ];
           fhir:ElementDefinition.short [ fhir:value "The Etag for the resource (if relevant)" ];
           fhir:ElementDefinition.definition [ fhir:value "The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http://hl7.org/fhir/R4/http.html#versioning) and [Managing Resource Contention](http://hl7.org/fhir/R4/http.html#concurrency))." ];
           fhir:ElementDefinition.comment [ fhir:value "Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.response.etag" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 141;
           fhir:Element.id [ fhir:value "Bundle.entry:patient.response.lastModified" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.response.lastModified" ];
           fhir:ElementDefinition.short [ fhir:value "Server's date time modified" ];
           fhir:ElementDefinition.definition [ fhir:value "The date/time that the resource was modified on the server." ];
           fhir:ElementDefinition.comment [ fhir:value "This has to match the same time in the meta header (meta.lastUpdated) if a resource is included." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.response.lastModified" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "instant" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 142;
           fhir:Element.id [ fhir:value "Bundle.entry:patient.response.outcome" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.response.outcome" ];
           fhir:ElementDefinition.short [ fhir:value "OperationOutcome with hints and warnings (for batch/transaction)" ];
           fhir:ElementDefinition.definition [ fhir:value "An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction." ];
           fhir:ElementDefinition.comment [ fhir:value "For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer = operationoutcome - except that the resource is always returned whether or not the outcome is returned.\n\nThis outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.response.outcome" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Resource" ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 143;
           fhir:Element.id [ fhir:value "Bundle.entry:query-result" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry" ];
           fhir:ElementDefinition.sliceName [ fhir:value "query-result" ];
           fhir:ElementDefinition.label [ fhir:value "Query result bundle" ];
           fhir:ElementDefinition.short [ fhir:value "Query result bundle" ];
           fhir:ElementDefinition.definition [ fhir:value "Bundle holding Lists that contain query results." ];
           fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
           fhir:ElementDefinition.orderMeaning [ fhir:value "For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type" ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "bdl-5" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "must be a resource unless there's a request or response" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "resource.exists() or request.exists() or response.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:resource) or exists(f:request) or exists(f:response)" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Bundle";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Bundle>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "bdl-8" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "fullUrl cannot be a version specific reference" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "fullUrl.contains('/_history/').not()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:fullUrl[contains(string(@value), '/_history/')]))" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Bundle";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Bundle>         ]       ], [
             fhir:index 2;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 144;
           fhir:Element.id [ fhir:value "Bundle.entry:query-result.id" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.id" ];
           fhir:ElementDefinition.representation [
             fhir:value "xmlAttr";
             fhir:index 0       ];
           fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
           fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
               fhir:Extension.valueUrl [ fhir:value "string" ]         ];
             fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 145;
           fhir:Element.id [ fhir:value "Bundle.entry:query-result.extension" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.extension" ];
           fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
           fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ];
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 146;
           fhir:Element.id [ fhir:value "Bundle.entry:query-result.modifierExtension" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.modifierExtension" ];
           fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ];
           fhir:ElementDefinition.definition [ fhir:value "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)." ];
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
           fhir:ElementDefinition.requirements [ fhir:value "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/R4/extensibility.html#modifierExtension)." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ], [
             fhir:value "modifiers";
             fhir:index 2       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
           fhir:index 147;
           fhir:Element.id [ fhir:value "Bundle.entry:query-result.link" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.link" ];
           fhir:ElementDefinition.short [ fhir:value "Links related to this entry" ];
           fhir:ElementDefinition.definition [ fhir:value "A series of links that provide context to this entry." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.link" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.contentReference [ fhir:value "http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link" ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 148;
           fhir:Element.id [ fhir:value "Bundle.entry:query-result.fullUrl" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.fullUrl" ];
           fhir:ElementDefinition.short [ fhir:value "URI for resource (Absolute URL server address or URI for UUID/OID)" ];
           fhir:ElementDefinition.definition [ fhir:value "The Absolute URL for the resource.  The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. The fullUrl element SHALL have a value except that: \n* fullUrl can be empty on a POST (although it does not need to when specifying a temporary id for reference in the bundle)\n* Results from operations might involve resources that are not identified." ];
           fhir:ElementDefinition.comment [ fhir:value "fullUrl might not be [unique in the context of a resource](http://hl7.org/fhir/R4/bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](http://hl7.org/fhir/R4/references.html), the fullURL might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, but if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](http://hl7.org/fhir/R4/references.html#regex), then the 'id' portion of the fullUrl SHALL end with the Resource.id.\n\nNote that the fullUrl is not the same as the canonical URL - it's an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL)." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.fullUrl" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "uri" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 149;
           fhir:Element.id [ fhir:value "Bundle.entry:query-result.resource" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.resource" ];
           fhir:ElementDefinition.short [ fhir:value "Contains a collection of resources" ];
           fhir:ElementDefinition.definition [ fhir:value "A container for a collection of resources." ];
           fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.resource" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Bundle" ];
             fhir:ElementDefinition.type.profile [
               fhir:value "http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-bundle-search-result";
               fhir:index 0;
               fhir:link <http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-bundle-search-result>         ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "bdl-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "total only when a search or history" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "total.empty() or (type = 'searchset') or (type = 'history')" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:total) or (f:type/@value = 'searchset') or (f:type/@value = 'history')" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Bundle";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Bundle>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "bdl-2" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "entry.search only when a search" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "entry.search.empty() or (type = 'searchset')" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:entry/f:search) or (f:type/@value = 'searchset')" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Bundle";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Bundle>         ]       ], [
             fhir:index 2;
             fhir:ElementDefinition.constraint.key [ fhir:value "bdl-3" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "entry.request mandatory for batch/transaction/history, otherwise prohibited" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "entry.all(request.exists() = (%resource.type = 'batch' or %resource.type = 'transaction' or %resource.type = 'history'))" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:entry/f:request) or (f:type/@value = 'batch') or (f:type/@value = 'transaction') or (f:type/@value = 'history')" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Bundle";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Bundle>         ]       ], [
             fhir:index 3;
             fhir:ElementDefinition.constraint.key [ fhir:value "bdl-4" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "entry.response mandatory for batch-response/transaction-response/history, otherwise prohibited" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "entry.all(response.exists() = (%resource.type = 'batch-response' or %resource.type = 'transaction-response' or %resource.type = 'history'))" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:entry/f:response) or (f:type/@value = 'batch-response') or (f:type/@value = 'transaction-response') or (f:type/@value = 'history')" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Bundle";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Bundle>         ]       ], [
             fhir:index 4;
             fhir:ElementDefinition.constraint.key [ fhir:value "bdl-7" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles)" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "(type = 'history') or entry.where(fullUrl.exists()).select(fullUrl&resource.meta.versionId).isDistinct()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "(f:type/@value = 'history') or (count(for $entry in f:entry[f:resource] return $entry[count(parent::f:Bundle/f:entry[f:fullUrl/@value=$entry/f:fullUrl/@value and ((not(f:resource/*/f:meta/f:versionId/@value) and not($entry/f:resource/*/f:meta/f:versionId/@value)) or f:resource/*/f:meta/f:versionId/@value=$entry/f:resource/*/f:meta/f:versionId/@value)])!=1])=0)" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Bundle";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Bundle>         ]       ], [
             fhir:index 5;
             fhir:ElementDefinition.constraint.key [ fhir:value "bdl-9" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "A document must have an identifier with a system and a value" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "type = 'document' implies (identifier.system.exists() and identifier.value.exists())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:type/@value = 'document') or exists(f:identifier/f:system) or exists(f:identifier/f:value)" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Bundle";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Bundle>         ]       ], [
             fhir:index 6;
             fhir:ElementDefinition.constraint.key [ fhir:value "bdl-10" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "A document must have a date" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "type = 'document' implies (timestamp.hasValue())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:type/@value = 'document') or exists(f:timestamp/@value)" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Bundle";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Bundle>         ]       ], [
             fhir:index 7;
             fhir:ElementDefinition.constraint.key [ fhir:value "bdl-11" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "A document must have a Composition as the first resource" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "type = 'document' implies entry.first().resource.is(Composition)" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:type/@value='document') or f:entry[1]/f:resource/f:Composition" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Bundle";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Bundle>         ]       ], [
             fhir:index 8;
             fhir:ElementDefinition.constraint.key [ fhir:value "bdl-12" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "A message must have a MessageHeader as the first resource" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "type = 'message' implies entry.first().resource.is(MessageHeader)" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:type/@value='message') or f:entry[1]/f:resource/f:MessageHeader" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Bundle";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Bundle>         ]       ];
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "Entity. Role, or Act" ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ], [
             fhir:index 2;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ], [
             fhir:index 3;
             fhir:ElementDefinition.mapping.identity [ fhir:value "cda" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "ClinicalDocument, if bundle.type = document" ]       ]     ], [
           fhir:index 150;
           fhir:Element.id [ fhir:value "Bundle.entry:query-result.search" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.search" ];
           fhir:ElementDefinition.short [ fhir:value "Search related information" ];
           fhir:ElementDefinition.definition [ fhir:value "Information about the search process that lead to the creation of this entry." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.search" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
           fhir:ElementDefinition.condition [
             fhir:value "bdl-2";
             fhir:index 0       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 151;
           fhir:Element.id [ fhir:value "Bundle.entry:query-result.search.id" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.search.id" ];
           fhir:ElementDefinition.representation [
             fhir:value "xmlAttr";
             fhir:index 0       ];
           fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
           fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
               fhir:Extension.valueUrl [ fhir:value "string" ]         ];
             fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 152;
           fhir:Element.id [ fhir:value "Bundle.entry:query-result.search.extension" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.search.extension" ];
           fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
           fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ];
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 153;
           fhir:Element.id [ fhir:value "Bundle.entry:query-result.search.modifierExtension" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.search.modifierExtension" ];
           fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ];
           fhir:ElementDefinition.definition [ fhir:value "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)." ];
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
           fhir:ElementDefinition.requirements [ fhir:value "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/R4/extensibility.html#modifierExtension)." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ], [
             fhir:value "modifiers";
             fhir:index 2       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
           fhir:index 154;
           fhir:Element.id [ fhir:value "Bundle.entry:query-result.search.mode" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.search.mode" ];
           fhir:ElementDefinition.short [ fhir:value "match | include | outcome - why this is in the result set" ];
           fhir:ElementDefinition.definition [ fhir:value "Why this entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process." ];
           fhir:ElementDefinition.comment [ fhir:value "There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, 'match' takes precedence." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.search.mode" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "code" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.binding [
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
               fhir:Extension.valueString [ fhir:value "SearchEntryMode" ]         ];
             fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
             fhir:ElementDefinition.binding.description [ fhir:value "Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process." ];
             fhir:ElementDefinition.binding.valueSet [
               fhir:value "http://hl7.org/fhir/ValueSet/search-entry-mode|4.0.1";
               fhir:link <http://hl7.org/fhir/ValueSet/search-entry-mode|4.0.1>         ]       ]     ], [
           fhir:index 155;
           fhir:Element.id [ fhir:value "Bundle.entry:query-result.search.score" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.search.score" ];
           fhir:ElementDefinition.short [ fhir:value "Search ranking (between 0 and 1)" ];
           fhir:ElementDefinition.definition [ fhir:value "When searching, the server's search ranking score for the entry." ];
           fhir:ElementDefinition.comment [ fhir:value "Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.\n\nSee [Patient Match](http://hl7.org/fhir/R4/patient-operation-match.html) for the EMPI search which relates to this element." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.search.score" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "decimal" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 156;
           fhir:Element.id [ fhir:value "Bundle.entry:query-result.request" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request" ];
           fhir:ElementDefinition.short [ fhir:value "Additional execution information (transaction/batch/history)" ];
           fhir:ElementDefinition.definition [ fhir:value "Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.request" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
           fhir:ElementDefinition.condition [
             fhir:value "bdl-3";
             fhir:index 0       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 157;
           fhir:Element.id [ fhir:value "Bundle.entry:query-result.request.id" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request.id" ];
           fhir:ElementDefinition.representation [
             fhir:value "xmlAttr";
             fhir:index 0       ];
           fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
           fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
               fhir:Extension.valueUrl [ fhir:value "string" ]         ];
             fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 158;
           fhir:Element.id [ fhir:value "Bundle.entry:query-result.request.extension" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request.extension" ];
           fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
           fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ];
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 159;
           fhir:Element.id [ fhir:value "Bundle.entry:query-result.request.modifierExtension" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request.modifierExtension" ];
           fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ];
           fhir:ElementDefinition.definition [ fhir:value "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)." ];
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
           fhir:ElementDefinition.requirements [ fhir:value "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/R4/extensibility.html#modifierExtension)." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ], [
             fhir:value "modifiers";
             fhir:index 2       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
           fhir:index 160;
           fhir:Element.id [ fhir:value "Bundle.entry:query-result.request.method" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request.method" ];
           fhir:ElementDefinition.short [ fhir:value "GET | HEAD | POST | PUT | DELETE | PATCH" ];
           fhir:ElementDefinition.definition [ fhir:value "In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred." ];
           fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.request.method" ];
             fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "code" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.binding [
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
               fhir:Extension.valueString [ fhir:value "HTTPVerb" ]         ];
             fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
             fhir:ElementDefinition.binding.description [ fhir:value "HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details." ];
             fhir:ElementDefinition.binding.valueSet [
               fhir:value "http://hl7.org/fhir/ValueSet/http-verb|4.0.1";
               fhir:link <http://hl7.org/fhir/ValueSet/http-verb|4.0.1>         ]       ]     ], [
           fhir:index 161;
           fhir:Element.id [ fhir:value "Bundle.entry:query-result.request.url" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request.url" ];
           fhir:ElementDefinition.short [ fhir:value "URL for HTTP equivalent of this entry" ];
           fhir:ElementDefinition.definition [ fhir:value "The URL for this entry, relative to the root (the address to which the request is posted)." ];
           fhir:ElementDefinition.comment [ fhir:value "E.g. for a Patient Create, the method would be \"POST\" and the URL would be \"Patient\". For a Patient Update, the method would be PUT and the URL would be \"Patient/[id]\"." ];
           fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.request.url" ];
             fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "uri" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 162;
           fhir:Element.id [ fhir:value "Bundle.entry:query-result.request.ifNoneMatch" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request.ifNoneMatch" ];
           fhir:ElementDefinition.short [ fhir:value "For managing cache currency" ];
           fhir:ElementDefinition.definition [ fhir:value "If the ETag values match, return a 304 Not Modified status. See the API documentation for [\"Conditional Read\"](http://hl7.org/fhir/R4/http.html#cread)." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.request.ifNoneMatch" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 163;
           fhir:Element.id [ fhir:value "Bundle.entry:query-result.request.ifModifiedSince" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request.ifModifiedSince" ];
           fhir:ElementDefinition.short [ fhir:value "For managing cache currency" ];
           fhir:ElementDefinition.definition [ fhir:value "Only perform the operation if the last updated date matches. See the API documentation for [\"Conditional Read\"](http://hl7.org/fhir/R4/http.html#cread)." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.request.ifModifiedSince" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "instant" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 164;
           fhir:Element.id [ fhir:value "Bundle.entry:query-result.request.ifMatch" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request.ifMatch" ];
           fhir:ElementDefinition.short [ fhir:value "For managing update contention" ];
           fhir:ElementDefinition.definition [ fhir:value "Only perform the operation if the Etag value matches. For more information, see the API section [\"Managing Resource Contention\"](http://hl7.org/fhir/R4/http.html#concurrency)." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.request.ifMatch" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 165;
           fhir:Element.id [ fhir:value "Bundle.entry:query-result.request.ifNoneExist" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request.ifNoneExist" ];
           fhir:ElementDefinition.short [ fhir:value "For conditional creates" ];
           fhir:ElementDefinition.definition [ fhir:value "Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [\"Conditional Create\"](http://hl7.org/fhir/R4/http.html#ccreate). This is just the query portion of the URL - what follows the \"?\" (not including the \"?\")." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.request.ifNoneExist" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 166;
           fhir:Element.id [ fhir:value "Bundle.entry:query-result.response" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.response" ];
           fhir:ElementDefinition.short [ fhir:value "Results of execution (transaction/batch/history)" ];
           fhir:ElementDefinition.definition [ fhir:value "Indicates the results of processing the corresponding 'request' entry in the batch or transaction being responded to or what the results of an operation where when returning history." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.response" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
           fhir:ElementDefinition.condition [
             fhir:value "bdl-4";
             fhir:index 0       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 167;
           fhir:Element.id [ fhir:value "Bundle.entry:query-result.response.id" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.response.id" ];
           fhir:ElementDefinition.representation [
             fhir:value "xmlAttr";
             fhir:index 0       ];
           fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
           fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
               fhir:Extension.valueUrl [ fhir:value "string" ]         ];
             fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 168;
           fhir:Element.id [ fhir:value "Bundle.entry:query-result.response.extension" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.response.extension" ];
           fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
           fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ];
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 169;
           fhir:Element.id [ fhir:value "Bundle.entry:query-result.response.modifierExtension" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.response.modifierExtension" ];
           fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ];
           fhir:ElementDefinition.definition [ fhir:value "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)." ];
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
           fhir:ElementDefinition.requirements [ fhir:value "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/R4/extensibility.html#modifierExtension)." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ], [
             fhir:value "modifiers";
             fhir:index 2       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
           fhir:index 170;
           fhir:Element.id [ fhir:value "Bundle.entry:query-result.response.status" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.response.status" ];
           fhir:ElementDefinition.short [ fhir:value "Status response code (text optional)" ];
           fhir:ElementDefinition.definition [ fhir:value "The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code." ];
           fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.response.status" ];
             fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 171;
           fhir:Element.id [ fhir:value "Bundle.entry:query-result.response.location" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.response.location" ];
           fhir:ElementDefinition.short [ fhir:value "The location (if the operation returns a location)" ];
           fhir:ElementDefinition.definition [ fhir:value "The location header created by processing this operation, populated if the operation returns a location." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.response.location" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "uri" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 172;
           fhir:Element.id [ fhir:value "Bundle.entry:query-result.response.etag" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.response.etag" ];
           fhir:ElementDefinition.short [ fhir:value "The Etag for the resource (if relevant)" ];
           fhir:ElementDefinition.definition [ fhir:value "The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http://hl7.org/fhir/R4/http.html#versioning) and [Managing Resource Contention](http://hl7.org/fhir/R4/http.html#concurrency))." ];
           fhir:ElementDefinition.comment [ fhir:value "Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.response.etag" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 173;
           fhir:Element.id [ fhir:value "Bundle.entry:query-result.response.lastModified" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.response.lastModified" ];
           fhir:ElementDefinition.short [ fhir:value "Server's date time modified" ];
           fhir:ElementDefinition.definition [ fhir:value "The date/time that the resource was modified on the server." ];
           fhir:ElementDefinition.comment [ fhir:value "This has to match the same time in the meta header (meta.lastUpdated) if a resource is included." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.response.lastModified" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "instant" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 174;
           fhir:Element.id [ fhir:value "Bundle.entry:query-result.response.outcome" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.response.outcome" ];
           fhir:ElementDefinition.short [ fhir:value "OperationOutcome with hints and warnings (for batch/transaction)" ];
           fhir:ElementDefinition.definition [ fhir:value "An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction." ];
           fhir:ElementDefinition.comment [ fhir:value "For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer = operationoutcome - except that the resource is always returned whether or not the outcome is returned.\n\nThis outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.entry.response.outcome" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Resource" ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 175;
           fhir:Element.id [ fhir:value "Bundle.signature" ];
           fhir:Element.extension [
             fhir:index 0;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ];
             fhir:Extension.valueCode [ fhir:value "trial-use" ]       ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.signature" ];
           fhir:ElementDefinition.short [ fhir:value "Digital Signature" ];
           fhir:ElementDefinition.definition [ fhir:value "Digital Signature - base64 encoded. XML-DSig or a JWT." ];
           fhir:ElementDefinition.comment [ fhir:value "The signature could be created by the \"author\" of the bundle or by the originating device.   Requirements around inclusion of a signature, verification of signatures and treatment of signed/non-signed bundles is implementation-environment specific." ];
           fhir:ElementDefinition.requirements [ fhir:value "A Signature holds an electronic representation of a signature and its supporting context in a FHIR accessible form. The signature may either be a cryptographic type (XML DigSig or a JWS), which is able to provide non-repudiation proof, or it may be a graphical image that represents a signature or a signature process. This element allows capturing signatures on documents, messages, transactions or even search responses, to support content-authentication, non-repudiation or other business cases. This is primarily relevant where the bundle may travel through multiple hops or via other mechanisms where HTTPS non-repudiation is insufficient." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Bundle.signature" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Signature" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ]
      ];
      fhir:StructureDefinition.differential [
         fhir:StructureDefinition.differential.element [
           fhir:index 0;
           fhir:Element.id [ fhir:value "Bundle" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle" ];
           fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ]     ], [
           fhir:index 1;
           fhir:Element.id [ fhir:value "Bundle.type" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.type" ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "code" ]       ];
           fhir:ElementDefinition.fixedCode [ fhir:value "message" ];
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 2;
           fhir:Element.id [ fhir:value "Bundle.total" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.total" ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "0" ];
           fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ]     ], [
           fhir:index 3;
           fhir:Element.id [ fhir:value "Bundle.entry" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry" ];
           fhir:ElementDefinition.slicing [
             fhir:ElementDefinition.slicing.discriminator [
               fhir:index 0;
               fhir:ElementDefinition.slicing.discriminator.type [ fhir:value "type" ];
               fhir:ElementDefinition.slicing.discriminator.path [ fhir:value "resource" ]         ];
             fhir:ElementDefinition.slicing.rules [ fhir:value "open" ]       ];
           fhir:ElementDefinition.min [ fhir:value "3"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 4;
           fhir:Element.id [ fhir:value "Bundle.entry.search" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.search" ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "0" ];
           fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ]     ], [
           fhir:index 5;
           fhir:Element.id [ fhir:value "Bundle.entry.request" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.request" ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "0" ];
           fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ]     ], [
           fhir:index 6;
           fhir:Element.id [ fhir:value "Bundle.entry.response" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.response" ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "0" ];
           fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ]     ], [
           fhir:index 7;
           fhir:Element.id [ fhir:value "Bundle.entry:messageheader" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry" ];
           fhir:ElementDefinition.sliceName [ fhir:value "messageheader" ];
           fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 8;
           fhir:Element.id [ fhir:value "Bundle.entry:messageheader.resource" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.resource" ];
           fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "MessageHeader" ];
             fhir:ElementDefinition.type.profile [
               fhir:value "http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-messageheader-query-response";
               fhir:index 0;
               fhir:link <http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-messageheader-query-response>         ]       ];
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 9;
           fhir:Element.id [ fhir:value "Bundle.entry:parameters" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry" ];
           fhir:ElementDefinition.sliceName [ fhir:value "parameters" ];
           fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 10;
           fhir:Element.id [ fhir:value "Bundle.entry:parameters.resource" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.resource" ];
           fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Parameters" ];
             fhir:ElementDefinition.type.profile [
               fhir:value "http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-parameters-query-response";
               fhir:index 0;
               fhir:link <http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-parameters-query-response>         ]       ];
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 11;
           fhir:Element.id [ fhir:value "Bundle.entry:patient" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry" ];
           fhir:ElementDefinition.sliceName [ fhir:value "patient" ];
           fhir:ElementDefinition.label [ fhir:value "Patient (requester's and responder's)" ];
           fhir:ElementDefinition.short [ fhir:value "Patient" ];
           fhir:ElementDefinition.definition [ fhir:value "The patient resource captured in the requesting system. Optionally also the patient resource captured in the responding system." ];
           fhir:ElementDefinition.comment [ fhir:value "The patient resource in the requesting system and responding system." ];
           fhir:ElementDefinition.min [ fhir:value "2"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "2" ];
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 12;
           fhir:Element.id [ fhir:value "Bundle.entry:patient.resource" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.resource" ];
           fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Patient" ];
             fhir:ElementDefinition.type.profile [
               fhir:value "http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-patient";
               fhir:index 0;
               fhir:link <http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-patient>         ]       ];
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 13;
           fhir:Element.id [ fhir:value "Bundle.entry:query-result" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry" ];
           fhir:ElementDefinition.sliceName [ fhir:value "query-result" ];
           fhir:ElementDefinition.label [ fhir:value "Query result bundle" ];
           fhir:ElementDefinition.short [ fhir:value "Query result bundle" ];
           fhir:ElementDefinition.definition [ fhir:value "Bundle holding Lists that contain query results." ];
           fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 14;
           fhir:Element.id [ fhir:value "Bundle.entry:query-result.resource" ];
           fhir:ElementDefinition.path [ fhir:value "Bundle.entry.resource" ];
           fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Bundle" ];
             fhir:ElementDefinition.type.profile [
               fhir:value "http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-bundle-search-result";
               fhir:index 0;
               fhir:link <http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-bundle-search-result>         ]       ];
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]     ]
      ].

    # - ontology header ------------------------------------------------------------

     a owl:Ontology;
      owl:imports fhir:fhir.ttl.