Argo-Scheduling Implementation Guide CI Build

XML Format: StructureDefinition-avail-bundle

Raw xml


<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="avail-bundle"/>
  <text>
    <status value="generated"/>
    <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/STU3/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/STU3/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/STU3/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/STU3/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/STU3/formats.html#table" title="Additional information about the element">Description &amp; Constraints</a><span style="float: right"><a href="http://hl7.org/fhir/STU3/formats.html#table" title="Legend for this format"><img src="http://hl7.org/fhir/STU3/help16.png" alt="doco" style="background-color: inherit"/></a></span></th></tr><tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-avail-bundle-definitions.html#Bundle" title="This is the output Appointment Bundle profile which is returned as a result of the *Operation$find* operation.">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.4">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.4">*</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>
<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_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-avail-bundle-definitions.html#Bundle.type" title="null">type</a><a name="Bundle.type"> </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"><span style="opacity: 0.4">1</span><span style="opacity: 0.5">..</span><span style="opacity: 0.4">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.4" href="http://hl7.org/fhir/STU3/datatypes.html#code">code</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Fixed Value: </span><span style="color: darkgreen">searchset</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-avail-bundle-definitions.html#Bundle.total" title="null">total</a><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"><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.4" href="http://hl7.org/fhir/STU3/datatypes.html#unsignedInt">unsignedInt</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: 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_bck12.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_slice.png" alt="." style="background-color: white; background-color: inherit" title="Slice Definition" class="hierarchy"/> <a style="font-style: italic" href="StructureDefinition-avail-bundle-definitions.html#Bundle.entry" title="null">entry</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; font-style: italic" title="This element must be supported">S</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><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.4; font-style: italic" href="http://hl7.org/fhir/STU3/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="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>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck15.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-avail-bundle-definitions.html#Bundle.entry:entry-appt" title="Slice entry-appt: null">entry</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"><span style="opacity: 0.4">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.4">*</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.4" href="http://hl7.org/fhir/STU3/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"/></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_bck150.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_slice.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="." style="background-color: white; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-avail-bundle-definitions.html#Bundle.entry:entry-appt.resource" title="null">resource</a><a name="Bundle.entry.resource"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="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"><span style="opacity: 0.4">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.4">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-argo-appt.html" title="Appointment">Argonaut_Appointment_Profile</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: 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_bck141.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end_slice.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-avail-bundle-definitions.html#Bundle.entry:entry-appt.search" title="null">search</a><a name="Bundle.entry.search"> </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"><span style="opacity: 0.4">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.4">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.4" href="http://hl7.org/fhir/STU3/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"/></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_bck1400.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-avail-bundle-definitions.html#Bundle.entry:entry-appt.search.mode" title="null">mode</a><a name="Bundle.entry.search.mode"> </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.4" href="http://hl7.org/fhir/STU3/datatypes.html#code">code</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Fixed Value: </span><span style="color: darkgreen">match</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck05.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-avail-bundle-definitions.html#Bundle.entry:entry-oo" title="Slice entry-oo: null">entry</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"><span style="opacity: 0.4">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.4">*</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.4" href="http://hl7.org/fhir/STU3/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"/></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_bck050.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_slice.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="." style="background-color: white; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-avail-bundle-definitions.html#Bundle.entry:entry-oo.resource" title="null">resource</a><a name="Bundle.entry.resource"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="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"><span style="opacity: 0.4">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.4">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/operationoutcome.html">OperationOutcome</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: 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_bck041.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end_slice.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-avail-bundle-definitions.html#Bundle.entry:entry-oo.search" title="null">search</a><a name="Bundle.entry.search"> </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"><span style="opacity: 0.4">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.4">1</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.4" href="http://hl7.org/fhir/STU3/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"/></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_bck0400.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.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-avail-bundle-definitions.html#Bundle.entry:entry-oo.search.mode" title="null">mode</a><a name="Bundle.entry.search.mode"> </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.4" href="http://hl7.org/fhir/STU3/datatypes.html#code">code</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold">Fixed Value: </span><span style="color: darkgreen">outcome</span></td></tr>
<tr><td colspan="5" class="hierarchy"><br/><a href="http://hl7.org/fhir/STU3/formats.html#table" title="Legend for this format"><img src="http://hl7.org/fhir/STU3/help16.png" alt="doco" style="background-color: inherit"/> Documentation for this format</a></td></tr></table></div>
  </text>
  <url
       value="http://fhir.org/guides/argonaut-scheduling/StructureDefinition/avail-bundle"/>
  <version value="1.0.1"/>
  <name value="Argonaut_Appointment_Bundle_Profile"/>
  <title value="Argonaut Appointment Bundle Profile"/>
  <status value="active"/>
  <date value="2018-01-11T00:00:00-08:00"/>
  <publisher value="Argonaut Project"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://argonautwiki.hl7.org"/>
    </telecom>
  </contact>
  <description
               value="The Argonaut Appointment Bundle Profile is returned as a result of the &#39;$find&#39; operation and Appointment search."/>
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166"/>
      <code value="US"/>
      <display value="United States of America"/>
    </coding>
  </jurisdiction>
  <fhirVersion value="3.0.1"/>
  <mapping>
    <identity value="v2"/>
    <uri value="http://hl7.org/v2"/>
    <name value="HL7 v2 Mapping"/>
  </mapping>
  <mapping>
    <identity value="rim"/>
    <uri value="http://hl7.org/v3"/>
    <name value="RIM Mapping"/>
  </mapping>
  <mapping>
    <identity value="w5"/>
    <uri value="http://hl7.org/fhir/w5"/>
    <name value="W5 Mapping"/>
  </mapping>
  <kind value="resource"/>
  <abstract value="false"/>
  <type value="Bundle"/>
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
  <derivation value="constraint"/>
  <snapshot>
    <element id="Bundle">
      <path value="Bundle"/>
      <short value="Contains a collection of resources"/>
      <definition
                  value="This is the output Appointment Bundle profile which is returned as a result of the *Operation$find* operation."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Bundle"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <constraint>
        <key value="bdl-7"/>
        <severity value="error"/>
        <human
               value="FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId"/>
        <expression
                    value="entry.where(fullUrl).select(fullUrl&amp;resource.meta.versionId).isDistinct()"/>
        <xpath
               value="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"/>
        <source value="Bundle"/>
      </constraint>
      <constraint>
        <key value="bdl-9"/>
        <severity value="error"/>
        <human
               value="A document must have an identifier with a system and a value"/>
        <expression
                    value="type = &#39;document&#39; implies (identifier.system.exists() and identifier.value.exists())"/>
        <xpath
               value="not(f:type/@value = &#39;document&#39;) or exists(f:identifier/f:system) or exists(f:identifier/f:value)"/>
        <source value="Bundle"/>
      </constraint>
      <constraint>
        <key value="bdl-3"/>
        <severity value="error"/>
        <human value="entry.request only for some types of bundles"/>
        <expression
                    value="entry.request.empty() or type = &#39;batch&#39; or type = &#39;transaction&#39; or type = &#39;history&#39;"/>
        <xpath
               value="not(f:entry/f:request) or (f:type/@value = &#39;batch&#39;) or (f:type/@value = &#39;transaction&#39;) or (f:type/@value = &#39;history&#39;)"/>
        <source value="Bundle"/>
      </constraint>
      <constraint>
        <key value="bdl-4"/>
        <severity value="error"/>
        <human value="entry.response only for some types of bundles"/>
        <expression
                    value="entry.response.empty() or type = &#39;batch-response&#39; or type = &#39;transaction-response&#39;"/>
        <xpath
               value="not(f:entry/f:response) or (f:type/@value = &#39;batch-response&#39;) or (f:type/@value = &#39;transaction-response&#39;)"/>
        <source value="Bundle"/>
      </constraint>
      <constraint>
        <key value="bdl-1"/>
        <severity value="error"/>
        <human value="total only when a search or history"/>
        <expression
                    value="total.empty() or (type = &#39;searchset&#39;) or (type = &#39;history&#39;)"/>
        <xpath
               value="not(f:total) or (f:type/@value = &#39;searchset&#39;) or (f:type/@value = &#39;history&#39;)"/>
        <source value="Bundle"/>
      </constraint>
      <constraint>
        <key value="bdl-2"/>
        <severity value="error"/>
        <human value="entry.search only when a search"/>
        <expression value="entry.search.empty() or (type = &#39;searchset&#39;)"/>
        <xpath
               value="not(f:entry/f:search) or (f:type/@value = &#39;searchset&#39;)"/>
        <source value="Bundle"/>
      </constraint>
      <mustSupport value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="Entity. Role, or Act"/>
      </mapping>
      <mapping>
        <identity value="v2"/>
        <map value="N/A"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="infrastructure.structure"/>
      </mapping>
    </element>
    <element id="Bundle.id">
      <path value="Bundle.id"/>
      <short value="Logical id of this artifact"/>
      <definition
                  value="The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes."/>
      <comment
               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."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="id"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.meta">
      <path value="Bundle.meta"/>
      <short value="Metadata about the resource"/>
      <definition
                  value="The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.meta"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Meta"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.implicitRules">
      <path value="Bundle.implicitRules"/>
      <short value="A set of rules under which this content was created"/>
      <definition
                  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."/>
      <comment
               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. 

This element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it&#39;s meaning or interpretation."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.implicitRules"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.language">
      <path value="Bundle.language"/>
      <short value="Language of the resource content"/>
      <definition value="The base language in which the resource is written."/>
      <comment
               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)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.language"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet">
          <valueReference>
            <reference value="http://hl7.org/fhir/ValueSet/all-languages"/>
          </valueReference>
        </extension>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="Language"/>
        </extension>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
          <valueBoolean value="true"/>
        </extension>
        <strength value="extensible"/>
        <description value="A human language."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/languages"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="Bundle.identifier">
      <path value="Bundle.identifier"/>
      <short value="Persistent identifier for the bundle"/>
      <definition
                  value="A persistent identifier for the batch that won&#39;t change as a batch is copied from server to server."/>
      <comment
               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."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Bundle.identifier"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="w5"/>
        <map value="id"/>
      </mapping>
    </element>
    <element id="Bundle.type">
      <path value="Bundle.type"/>
      <short
             value="document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection"/>
      <definition
                  value="Indicates the purpose of this bundle - how it was intended to be used."/>
      <comment
               value="It&#39;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."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Bundle.type"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <fixedCode value="searchset"/>
      <mustSupport value="true"/>
      <isSummary value="true"/>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="BundleType"/>
        </extension>
        <strength value="required"/>
        <description
                     value="Indicates the purpose of a bundle - how it was intended to be used."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/bundle-type"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="w5"/>
        <map value="class"/>
      </mapping>
    </element>
    <element id="Bundle.total">
      <path value="Bundle.total"/>
      <short value="If search, the total number of matches"/>
      <definition
                  value="If a set of search matches, this is the total number of matches for the search (as opposed to the number of results in this bundle)."/>
      <comment
               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."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Bundle.total"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="unsignedInt"/>
      </type>
      <condition value="bdl-1"/>
      <mustSupport value="true"/>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.link">
      <path value="Bundle.link"/>
      <short value="Links related to this Bundle"/>
      <definition value="A series of links that provide context to this bundle."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Bundle.link"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.link.id">
      <path value="Bundle.link.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Bundle.link.extension">
      <path value="Bundle.link.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               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."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Bundle.link.modifierExtension">
      <path value="Bundle.link.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition
                  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 that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comment
               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."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Bundle.link.relation">
      <path value="Bundle.link.relation"/>
      <short
             value="See http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1"/>
      <definition
                  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)."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Bundle.link.relation"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.link.url">
      <path value="Bundle.link.url"/>
      <short value="Reference details for the link"/>
      <definition value="The reference details for the link."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Bundle.link.url"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry">
      <path value="Bundle.entry"/>
      <slicing>
        <discriminator>
          <type value="type"/>
          <path value="resource"/>
        </discriminator>
        <rules value="open"/>
      </slicing>
      <short value="Entry in the bundle - will have a resource, or information"/>
      <definition
                  value="An entry in a bundle resource - will either contain a resource, or information about a resource (transactions and history only)."/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="Bundle.entry"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
      <constraint>
        <key value="bdl-8"/>
        <severity value="error"/>
        <human value="fullUrl cannot be a version specific reference"/>
        <expression value="fullUrl.contains(&#39;/_history/&#39;).not()"/>
        <xpath
               value="not(exists(f:fullUrl[contains(string(@value), &#39;/_history/&#39;)]))"/>
        <source value="Bundle.entry"/>
      </constraint>
      <constraint>
        <key value="bdl-5"/>
        <severity value="error"/>
        <human
               value="must be a resource unless there&#39;s a request or response"/>
        <expression
                    value="resource.exists() or request.exists() or response.exists()"/>
        <xpath
               value="exists(f:resource) or exists(f:request) or exists(f:response)"/>
        <source value="Bundle.entry"/>
      </constraint>
      <mustSupport value="true"/>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry.id">
      <path value="Bundle.entry.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Bundle.entry.extension">
      <path value="Bundle.entry.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               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."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Bundle.entry.modifierExtension">
      <path value="Bundle.entry.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition
                  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 that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comment
               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."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Bundle.entry.link">
      <path value="Bundle.entry.link"/>
      <short value="Links related to this entry"/>
      <definition value="A series of links that provide context to this entry."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Bundle.entry.link"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <contentReference value="#Bundle.link"/>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry.fullUrl">
      <path value="Bundle.entry.fullUrl"/>
      <short value="Absolute URL for resource (server address, or UUID/OID)"/>
      <definition
                  value="The Absolute URL for the resource.  The fullUrl SHALL not disagree with the id in the resource. The fullUrl is a version independent reference to the resource. The fullUrl element SHALL have a value except that: 
* fullUrl can be empty on a POST (although it does not need to when specifying a temporary id for reference in the bundle)
* Results from operations might involve resources that are not identified."/>
      <comment
               value="fullUrl may not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the absolute URL may not end with the logical id of the resource (Resource.id), but if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then it SHALL end with the Resource.id."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.fullUrl"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry.resource">
      <path value="Bundle.entry.resource"/>
      <short value="A resource in the bundle"/>
      <definition value="The Resources for the entry."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.resource"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Resource"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry.search">
      <path value="Bundle.entry.search"/>
      <short value="Search related information"/>
      <definition
                  value="Information about the search process that lead to the creation of this entry."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.search"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <condition value="bdl-2"/>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry.search.id">
      <path value="Bundle.entry.search.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Bundle.entry.search.extension">
      <path value="Bundle.entry.search.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               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."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Bundle.entry.search.modifierExtension">
      <path value="Bundle.entry.search.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition
                  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 that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comment
               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."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Bundle.entry.search.mode">
      <path value="Bundle.entry.search.mode"/>
      <short value="match | include | outcome - why this is in the result set"/>
      <definition
                  value="Why this entry is in the result set - whether it&#39;s included as a match or because of an _include requirement."/>
      <comment
               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, &#39;match&#39; takes precedence."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.search.mode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="SearchEntryMode"/>
        </extension>
        <strength value="required"/>
        <description
                     value="Why an entry is in the result set - whether it&#39;s included as a match or because of an _include requirement."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/search-entry-mode"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="Bundle.entry.search.score">
      <path value="Bundle.entry.search.score"/>
      <short value="Search ranking (between 0 and 1)"/>
      <definition
                  value="When searching, the server&#39;s search ranking score for the entry."/>
      <comment
               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."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.search.score"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="decimal"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry.request">
      <path value="Bundle.entry.request"/>
      <short value="Transaction Related Information"/>
      <definition
                  value="Additional information about how this entry should be processed as part of a transaction."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.request"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <condition value="bdl-3"/>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry.request.id">
      <path value="Bundle.entry.request.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Bundle.entry.request.extension">
      <path value="Bundle.entry.request.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               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."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Bundle.entry.request.modifierExtension">
      <path value="Bundle.entry.request.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition
                  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 that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comment
               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."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Bundle.entry.request.method">
      <path value="Bundle.entry.request.method"/>
      <short value="GET | POST | PUT | DELETE"/>
      <definition
                  value="The HTTP verb for this entry in either a change history, or a transaction/ transaction response."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.request.method"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="HTTPVerb"/>
        </extension>
        <strength value="required"/>
        <description value="HTTP verbs (in the HTTP command line)."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/http-verb"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="Bundle.entry.request.url">
      <path value="Bundle.entry.request.url"/>
      <short value="URL for HTTP equivalent of this entry"/>
      <definition
                  value="The URL for this entry, relative to the root (the address to which the request is posted)."/>
      <comment
               value="E.g. for a Patient Create, the method would be &quot;POST&quot; and the URL would be &quot;Patient&quot;. For a Patient Update, the method would be PUT, and the URL would be &quot;Patient/[id]&quot;."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.request.url"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry.request.ifNoneMatch">
      <path value="Bundle.entry.request.ifNoneMatch"/>
      <short value="For managing cache currency"/>
      <definition
                  value="If the ETag values match, return a 304 Not Modified status. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.request.ifNoneMatch"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry.request.ifModifiedSince">
      <path value="Bundle.entry.request.ifModifiedSince"/>
      <short value="For managing update contention"/>
      <definition
                  value="Only perform the operation if the last updated date matches. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.request.ifModifiedSince"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="instant"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry.request.ifMatch">
      <path value="Bundle.entry.request.ifMatch"/>
      <short value="For managing update contention"/>
      <definition
                  value="Only perform the operation if the Etag value matches. For more information, see the API section [&quot;Managing Resource Contention&quot;](http.html#concurrency)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.request.ifMatch"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry.request.ifNoneExist">
      <path value="Bundle.entry.request.ifNoneExist"/>
      <short value="For conditional creates"/>
      <definition
                  value="Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [&quot;Conditional Create&quot;](http.html#ccreate). This is just the query portion of the URL - what follows the &quot;?&quot; (not including the &quot;?&quot;)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.request.ifNoneExist"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry.response">
      <path value="Bundle.entry.response"/>
      <short value="Transaction Related Information"/>
      <definition
                  value="Additional information about how this entry should be processed as part of a transaction."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.response"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <condition value="bdl-4"/>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry.response.id">
      <path value="Bundle.entry.response.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Bundle.entry.response.extension">
      <path value="Bundle.entry.response.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               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."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Bundle.entry.response.modifierExtension">
      <path value="Bundle.entry.response.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition
                  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 that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comment
               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."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Bundle.entry.response.status">
      <path value="Bundle.entry.response.status"/>
      <short value="Status response code (text optional)"/>
      <definition
                  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."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.response.status"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry.response.location">
      <path value="Bundle.entry.response.location"/>
      <short value="The location, if the operation returns a location"/>
      <definition
                  value="The location header created by processing this operation."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.response.location"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry.response.etag">
      <path value="Bundle.entry.response.etag"/>
      <short value="The etag for the resource (if relevant)"/>
      <definition
                  value="The etag for the resource, it the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency))."/>
      <comment
               value="Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.response.etag"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry.response.lastModified">
      <path value="Bundle.entry.response.lastModified"/>
      <short value="Server&#39;s date time modified"/>
      <definition
                  value="The date/time that the resource was modified on the server."/>
      <comment
               value="This has to match the same time in the meta header if a resource is included."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.response.lastModified"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="instant"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry.response.outcome">
      <path value="Bundle.entry.response.outcome"/>
      <short
             value="OperationOutcome with hints and warnings (for batch/transaction)"/>
      <definition
                  value="An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction."/>
      <comment
               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."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.response.outcome"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Resource"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry:entry-appt">
      <path value="Bundle.entry"/>
      <sliceName value="entry-appt"/>
      <short value="Entry in the bundle - will have a resource, or information"/>
      <definition
                  value="An entry in a bundle resource - will either contain a resource, or information about a resource (transactions and history only)."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Bundle.entry"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
      <constraint>
        <key value="bdl-8"/>
        <severity value="error"/>
        <human value="fullUrl cannot be a version specific reference"/>
        <expression value="fullUrl.contains(&#39;/_history/&#39;).not()"/>
        <xpath
               value="not(exists(f:fullUrl[contains(string(@value), &#39;/_history/&#39;)]))"/>
        <source value="Bundle.entry"/>
      </constraint>
      <constraint>
        <key value="bdl-5"/>
        <severity value="error"/>
        <human
               value="must be a resource unless there&#39;s a request or response"/>
        <expression
                    value="resource.exists() or request.exists() or response.exists()"/>
        <xpath
               value="exists(f:resource) or exists(f:request) or exists(f:response)"/>
        <source value="Bundle.entry"/>
      </constraint>
      <mustSupport value="true"/>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry:entry-appt.id">
      <path value="Bundle.entry.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Bundle.entry:entry-appt.extension">
      <path value="Bundle.entry.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               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."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Bundle.entry:entry-appt.modifierExtension">
      <path value="Bundle.entry.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition
                  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 that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comment
               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."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Bundle.entry:entry-appt.link">
      <path value="Bundle.entry.link"/>
      <short value="Links related to this entry"/>
      <definition value="A series of links that provide context to this entry."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Bundle.entry.link"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <contentReference value="#Bundle.link"/>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry:entry-appt.fullUrl">
      <path value="Bundle.entry.fullUrl"/>
      <short value="Absolute URL for resource (server address, or UUID/OID)"/>
      <definition
                  value="The Absolute URL for the resource.  The fullUrl SHALL not disagree with the id in the resource. The fullUrl is a version independent reference to the resource. The fullUrl element SHALL have a value except that: 
* fullUrl can be empty on a POST (although it does not need to when specifying a temporary id for reference in the bundle)
* Results from operations might involve resources that are not identified."/>
      <comment
               value="fullUrl may not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the absolute URL may not end with the logical id of the resource (Resource.id), but if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then it SHALL end with the Resource.id."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.fullUrl"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry:entry-appt.resource">
      <path value="Bundle.entry.resource"/>
      <short value="A resource in the bundle"/>
      <definition value="The Resources for the entry."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.resource"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Appointment"/>
        <profile
                 value="http://fhir.org/guides/argonaut-scheduling/StructureDefinition/argo-appt"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry:entry-appt.search">
      <path value="Bundle.entry.search"/>
      <short value="Search related information"/>
      <definition
                  value="Information about the search process that lead to the creation of this entry."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.search"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <condition value="bdl-2"/>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
      <mustSupport value="true"/>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry:entry-appt.search.id">
      <path value="Bundle.entry.search.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Bundle.entry:entry-appt.search.extension">
      <path value="Bundle.entry.search.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               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."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Bundle.entry:entry-appt.search.modifierExtension">
      <path value="Bundle.entry.search.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition
                  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 that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comment
               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."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Bundle.entry:entry-appt.search.mode">
      <path value="Bundle.entry.search.mode"/>
      <short value="match | include | outcome - why this is in the result set"/>
      <definition
                  value="Why this entry is in the result set - whether it&#39;s included as a match or because of an _include requirement."/>
      <comment
               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, &#39;match&#39; takes precedence."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.search.mode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <fixedCode value="match"/>
      <mustSupport value="true"/>
      <isSummary value="true"/>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="SearchEntryMode"/>
        </extension>
        <strength value="required"/>
        <description
                     value="Why an entry is in the result set - whether it&#39;s included as a match or because of an _include requirement."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/search-entry-mode"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="Bundle.entry:entry-appt.search.score">
      <path value="Bundle.entry.search.score"/>
      <short value="Search ranking (between 0 and 1)"/>
      <definition
                  value="When searching, the server&#39;s search ranking score for the entry."/>
      <comment
               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."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.search.score"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="decimal"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry:entry-appt.request">
      <path value="Bundle.entry.request"/>
      <short value="Transaction Related Information"/>
      <definition
                  value="Additional information about how this entry should be processed as part of a transaction."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.request"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <condition value="bdl-3"/>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry:entry-appt.request.id">
      <path value="Bundle.entry.request.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Bundle.entry:entry-appt.request.extension">
      <path value="Bundle.entry.request.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               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."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Bundle.entry:entry-appt.request.modifierExtension">
      <path value="Bundle.entry.request.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition
                  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 that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comment
               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."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Bundle.entry:entry-appt.request.method">
      <path value="Bundle.entry.request.method"/>
      <short value="GET | POST | PUT | DELETE"/>
      <definition
                  value="The HTTP verb for this entry in either a change history, or a transaction/ transaction response."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.request.method"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="HTTPVerb"/>
        </extension>
        <strength value="required"/>
        <description value="HTTP verbs (in the HTTP command line)."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/http-verb"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="Bundle.entry:entry-appt.request.url">
      <path value="Bundle.entry.request.url"/>
      <short value="URL for HTTP equivalent of this entry"/>
      <definition
                  value="The URL for this entry, relative to the root (the address to which the request is posted)."/>
      <comment
               value="E.g. for a Patient Create, the method would be &quot;POST&quot; and the URL would be &quot;Patient&quot;. For a Patient Update, the method would be PUT, and the URL would be &quot;Patient/[id]&quot;."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.request.url"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry:entry-appt.request.ifNoneMatch">
      <path value="Bundle.entry.request.ifNoneMatch"/>
      <short value="For managing cache currency"/>
      <definition
                  value="If the ETag values match, return a 304 Not Modified status. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.request.ifNoneMatch"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry:entry-appt.request.ifModifiedSince">
      <path value="Bundle.entry.request.ifModifiedSince"/>
      <short value="For managing update contention"/>
      <definition
                  value="Only perform the operation if the last updated date matches. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.request.ifModifiedSince"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="instant"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry:entry-appt.request.ifMatch">
      <path value="Bundle.entry.request.ifMatch"/>
      <short value="For managing update contention"/>
      <definition
                  value="Only perform the operation if the Etag value matches. For more information, see the API section [&quot;Managing Resource Contention&quot;](http.html#concurrency)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.request.ifMatch"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry:entry-appt.request.ifNoneExist">
      <path value="Bundle.entry.request.ifNoneExist"/>
      <short value="For conditional creates"/>
      <definition
                  value="Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [&quot;Conditional Create&quot;](http.html#ccreate). This is just the query portion of the URL - what follows the &quot;?&quot; (not including the &quot;?&quot;)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.request.ifNoneExist"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry:entry-appt.response">
      <path value="Bundle.entry.response"/>
      <short value="Transaction Related Information"/>
      <definition
                  value="Additional information about how this entry should be processed as part of a transaction."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.response"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <condition value="bdl-4"/>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry:entry-appt.response.id">
      <path value="Bundle.entry.response.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Bundle.entry:entry-appt.response.extension">
      <path value="Bundle.entry.response.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               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."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Bundle.entry:entry-appt.response.modifierExtension">
      <path value="Bundle.entry.response.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition
                  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 that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comment
               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."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Bundle.entry:entry-appt.response.status">
      <path value="Bundle.entry.response.status"/>
      <short value="Status response code (text optional)"/>
      <definition
                  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."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.response.status"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry:entry-appt.response.location">
      <path value="Bundle.entry.response.location"/>
      <short value="The location, if the operation returns a location"/>
      <definition
                  value="The location header created by processing this operation."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.response.location"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry:entry-appt.response.etag">
      <path value="Bundle.entry.response.etag"/>
      <short value="The etag for the resource (if relevant)"/>
      <definition
                  value="The etag for the resource, it the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency))."/>
      <comment
               value="Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.response.etag"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry:entry-appt.response.lastModified">
      <path value="Bundle.entry.response.lastModified"/>
      <short value="Server&#39;s date time modified"/>
      <definition
                  value="The date/time that the resource was modified on the server."/>
      <comment
               value="This has to match the same time in the meta header if a resource is included."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.response.lastModified"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="instant"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry:entry-appt.response.outcome">
      <path value="Bundle.entry.response.outcome"/>
      <short
             value="OperationOutcome with hints and warnings (for batch/transaction)"/>
      <definition
                  value="An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction."/>
      <comment
               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."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.response.outcome"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Resource"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry:entry-oo">
      <path value="Bundle.entry"/>
      <sliceName value="entry-oo"/>
      <short value="Entry in the bundle - will have a resource, or information"/>
      <definition
                  value="An entry in a bundle resource - will either contain a resource, or information about a resource (transactions and history only)."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Bundle.entry"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
      <constraint>
        <key value="bdl-8"/>
        <severity value="error"/>
        <human value="fullUrl cannot be a version specific reference"/>
        <expression value="fullUrl.contains(&#39;/_history/&#39;).not()"/>
        <xpath
               value="not(exists(f:fullUrl[contains(string(@value), &#39;/_history/&#39;)]))"/>
        <source value="Bundle.entry"/>
      </constraint>
      <constraint>
        <key value="bdl-5"/>
        <severity value="error"/>
        <human
               value="must be a resource unless there&#39;s a request or response"/>
        <expression
                    value="resource.exists() or request.exists() or response.exists()"/>
        <xpath
               value="exists(f:resource) or exists(f:request) or exists(f:response)"/>
        <source value="Bundle.entry"/>
      </constraint>
      <mustSupport value="true"/>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry:entry-oo.id">
      <path value="Bundle.entry.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Bundle.entry:entry-oo.extension">
      <path value="Bundle.entry.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               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."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Bundle.entry:entry-oo.modifierExtension">
      <path value="Bundle.entry.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition
                  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 that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comment
               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."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Bundle.entry:entry-oo.link">
      <path value="Bundle.entry.link"/>
      <short value="Links related to this entry"/>
      <definition value="A series of links that provide context to this entry."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Bundle.entry.link"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <contentReference value="#Bundle.link"/>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry:entry-oo.fullUrl">
      <path value="Bundle.entry.fullUrl"/>
      <short value="Absolute URL for resource (server address, or UUID/OID)"/>
      <definition
                  value="The Absolute URL for the resource.  The fullUrl SHALL not disagree with the id in the resource. The fullUrl is a version independent reference to the resource. The fullUrl element SHALL have a value except that: 
* fullUrl can be empty on a POST (although it does not need to when specifying a temporary id for reference in the bundle)
* Results from operations might involve resources that are not identified."/>
      <comment
               value="fullUrl may not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the absolute URL may not end with the logical id of the resource (Resource.id), but if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then it SHALL end with the Resource.id."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.fullUrl"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry:entry-oo.resource">
      <path value="Bundle.entry.resource"/>
      <short value="A resource in the bundle"/>
      <definition value="The Resources for the entry."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.resource"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="OperationOutcome"/>
      </type>
      <mustSupport value="true"/>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry:entry-oo.search">
      <path value="Bundle.entry.search"/>
      <short value="Search related information"/>
      <definition
                  value="Information about the search process that lead to the creation of this entry."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.search"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <condition value="bdl-2"/>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
      <mustSupport value="true"/>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry:entry-oo.search.id">
      <path value="Bundle.entry.search.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Bundle.entry:entry-oo.search.extension">
      <path value="Bundle.entry.search.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               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."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Bundle.entry:entry-oo.search.modifierExtension">
      <path value="Bundle.entry.search.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition
                  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 that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comment
               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."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Bundle.entry:entry-oo.search.mode">
      <path value="Bundle.entry.search.mode"/>
      <short value="match | include | outcome - why this is in the result set"/>
      <definition
                  value="Why this entry is in the result set - whether it&#39;s included as a match or because of an _include requirement."/>
      <comment
               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, &#39;match&#39; takes precedence."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.search.mode"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <fixedCode value="outcome"/>
      <mustSupport value="true"/>
      <isSummary value="true"/>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="SearchEntryMode"/>
        </extension>
        <strength value="required"/>
        <description
                     value="Why an entry is in the result set - whether it&#39;s included as a match or because of an _include requirement."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/search-entry-mode"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="Bundle.entry:entry-oo.search.score">
      <path value="Bundle.entry.search.score"/>
      <short value="Search ranking (between 0 and 1)"/>
      <definition
                  value="When searching, the server&#39;s search ranking score for the entry."/>
      <comment
               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."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.search.score"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="decimal"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry:entry-oo.request">
      <path value="Bundle.entry.request"/>
      <short value="Transaction Related Information"/>
      <definition
                  value="Additional information about how this entry should be processed as part of a transaction."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.request"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <condition value="bdl-3"/>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry:entry-oo.request.id">
      <path value="Bundle.entry.request.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Bundle.entry:entry-oo.request.extension">
      <path value="Bundle.entry.request.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               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."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Bundle.entry:entry-oo.request.modifierExtension">
      <path value="Bundle.entry.request.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition
                  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 that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comment
               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."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Bundle.entry:entry-oo.request.method">
      <path value="Bundle.entry.request.method"/>
      <short value="GET | POST | PUT | DELETE"/>
      <definition
                  value="The HTTP verb for this entry in either a change history, or a transaction/ transaction response."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.request.method"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="HTTPVerb"/>
        </extension>
        <strength value="required"/>
        <description value="HTTP verbs (in the HTTP command line)."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/http-verb"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="Bundle.entry:entry-oo.request.url">
      <path value="Bundle.entry.request.url"/>
      <short value="URL for HTTP equivalent of this entry"/>
      <definition
                  value="The URL for this entry, relative to the root (the address to which the request is posted)."/>
      <comment
               value="E.g. for a Patient Create, the method would be &quot;POST&quot; and the URL would be &quot;Patient&quot;. For a Patient Update, the method would be PUT, and the URL would be &quot;Patient/[id]&quot;."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.request.url"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry:entry-oo.request.ifNoneMatch">
      <path value="Bundle.entry.request.ifNoneMatch"/>
      <short value="For managing cache currency"/>
      <definition
                  value="If the ETag values match, return a 304 Not Modified status. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.request.ifNoneMatch"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry:entry-oo.request.ifModifiedSince">
      <path value="Bundle.entry.request.ifModifiedSince"/>
      <short value="For managing update contention"/>
      <definition
                  value="Only perform the operation if the last updated date matches. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.request.ifModifiedSince"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="instant"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry:entry-oo.request.ifMatch">
      <path value="Bundle.entry.request.ifMatch"/>
      <short value="For managing update contention"/>
      <definition
                  value="Only perform the operation if the Etag value matches. For more information, see the API section [&quot;Managing Resource Contention&quot;](http.html#concurrency)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.request.ifMatch"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry:entry-oo.request.ifNoneExist">
      <path value="Bundle.entry.request.ifNoneExist"/>
      <short value="For conditional creates"/>
      <definition
                  value="Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [&quot;Conditional Create&quot;](http.html#ccreate). This is just the query portion of the URL - what follows the &quot;?&quot; (not including the &quot;?&quot;)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.request.ifNoneExist"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry:entry-oo.response">
      <path value="Bundle.entry.response"/>
      <short value="Transaction Related Information"/>
      <definition
                  value="Additional information about how this entry should be processed as part of a transaction."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.response"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <condition value="bdl-4"/>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry:entry-oo.response.id">
      <path value="Bundle.entry.response.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Bundle.entry:entry-oo.response.extension">
      <path value="Bundle.entry.response.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               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."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="Bundle.entry:entry-oo.response.modifierExtension">
      <path value="Bundle.entry.response.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition
                  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 that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/>
      <comment
               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."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="Bundle.entry:entry-oo.response.status">
      <path value="Bundle.entry.response.status"/>
      <short value="Status response code (text optional)"/>
      <definition
                  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."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.response.status"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry:entry-oo.response.location">
      <path value="Bundle.entry.response.location"/>
      <short value="The location, if the operation returns a location"/>
      <definition
                  value="The location header created by processing this operation."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.response.location"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry:entry-oo.response.etag">
      <path value="Bundle.entry.response.etag"/>
      <short value="The etag for the resource (if relevant)"/>
      <definition
                  value="The etag for the resource, it the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency))."/>
      <comment
               value="Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.response.etag"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry:entry-oo.response.lastModified">
      <path value="Bundle.entry.response.lastModified"/>
      <short value="Server&#39;s date time modified"/>
      <definition
                  value="The date/time that the resource was modified on the server."/>
      <comment
               value="This has to match the same time in the meta header if a resource is included."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.response.lastModified"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="instant"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.entry:entry-oo.response.outcome">
      <path value="Bundle.entry.response.outcome"/>
      <short
             value="OperationOutcome with hints and warnings (for batch/transaction)"/>
      <definition
                  value="An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction."/>
      <comment
               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."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Bundle.entry.response.outcome"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Resource"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="Bundle.signature">
      <path value="Bundle.signature"/>
      <short value="Digital Signature"/>
      <definition value="Digital Signature - base64 encoded. XML-DSIg or a JWT."/>
      <comment
               value="The signature could be created by the &quot;author&quot; 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."/>
      <requirements
                    value="This element allows capturing signatures on documents. It also allows signatures on messages, transactions or even query responses. It may 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."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Bundle.signature"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Signature"/>
      </type>
      <isSummary value="true"/>
    </element>
  </snapshot>
  <differential>
    <element id="Bundle">
      <path value="Bundle"/>
      <definition
                  value="This is the output Appointment Bundle profile which is returned as a result of the *Operation$find* operation."/>
      <mustSupport value="false"/>
    </element>
    <element id="Bundle.type">
      <path value="Bundle.type"/>
      <type>
        <code value="code"/>
      </type>
      <fixedCode value="searchset"/>
      <mustSupport value="true"/>
    </element>
    <element id="Bundle.total">
      <path value="Bundle.total"/>
      <min value="1"/>
      <max value="1"/>
      <mustSupport value="true"/>
    </element>
    <element id="Bundle.entry">
      <path value="Bundle.entry"/>
      <slicing>
        <discriminator>
          <type value="type"/>
          <path value="resource"/>
        </discriminator>
        <rules value="open"/>
      </slicing>
      <min value="1"/>
      <max value="*"/>
      <mustSupport value="true"/>
    </element>
    <element id="Bundle.entry:entry-appt">
      <path value="Bundle.entry"/>
      <sliceName value="entry-appt"/>
      <mustSupport value="true"/>
    </element>
    <element id="Bundle.entry:entry-appt.resource">
      <path value="Bundle.entry.resource"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="Appointment"/>
        <profile
                 value="http://fhir.org/guides/argonaut-scheduling/StructureDefinition/argo-appt"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element id="Bundle.entry:entry-appt.search">
      <path value="Bundle.entry.search"/>
      <min value="0"/>
      <max value="1"/>
      <mustSupport value="true"/>
    </element>
    <element id="Bundle.entry:entry-appt.search.mode">
      <path value="Bundle.entry.search.mode"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <fixedCode value="match"/>
      <mustSupport value="true"/>
    </element>
    <element id="Bundle.entry:entry-oo">
      <path value="Bundle.entry"/>
      <sliceName value="entry-oo"/>
      <mustSupport value="true"/>
    </element>
    <element id="Bundle.entry:entry-oo.resource">
      <path value="Bundle.entry.resource"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="OperationOutcome"/>
      </type>
      <mustSupport value="true"/>
    </element>
    <element id="Bundle.entry:entry-oo.search">
      <path value="Bundle.entry.search"/>
      <min value="0"/>
      <max value="1"/>
      <mustSupport value="true"/>
    </element>
    <element id="Bundle.entry:entry-oo.search.mode">
      <path value="Bundle.entry.search.mode"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <fixedCode value="outcome"/>
      <mustSupport value="true"/>
    </element>
  </differential>
</StructureDefinition>