<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="http://apiframework.dedalus.eu/fhir/StructureDefinition/Bundle-ForNotification" />
  <name value="Bundle-ForNotification" />
  <title value="API Framework Bundle-ForNotification" />
  <status value="active" />
  <experimental value="false" />
  <date value="2020-02-04" />
  <description value="Bundle used for notifications on resources" />
  <fhirVersion value="3.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Bundle" />
  <baseDefinition value="http://apiframework.dedalus.eu/fhir/StructureDefinition/Bundle" />
  <derivation value="constraint" />
  <differential>
    <element id="Bundle.type">
      <path value="Bundle.type" />
      <fixedCode value="batch" />
    </element>
    <element id="Bundle.entry">
      <path value="Bundle.entry" />
      <min value="1" />
    </element>
    <element id="Bundle.entry.id">
      <path value="Bundle.entry.id" />
      <max value="0" />
    </element>
    <element id="Bundle.entry.link">
      <path value="Bundle.entry.link" />
      <max value="0" />
    </element>
    <element id="Bundle.entry.fullUrl">
      <path value="Bundle.entry.fullUrl" />
      <requirements value="Absolute URL of the Resource instance being notified" />
      <min value="1" />
    </element>
    <element id="Bundle.entry.resource">
      <path value="Bundle.entry.resource" />
      <requirements value="Instance of the notified resource, when present" />
    </element>
    <element id="Bundle.entry.search">
      <path value="Bundle.entry.search" />
      <max value="0" />
    </element>
    <element id="Bundle.entry.request.id">
      <path value="Bundle.entry.request.id" />
      <max value="0" />
    </element>
    <element id="Bundle.entry.request.method">
      <path value="Bundle.entry.request.method" />
      <short value="POST | PUT | DELETE" />
    </element>
    <element id="Bundle.entry.request.url">
      <path value="Bundle.entry.request.url" />
      <requirements value="Contains the url used to perform the operation: in case of POST, that url is [base]/ResourceName, so it does NOT contain the resource id." />
    </element>
    <element id="Bundle.entry.request.ifNoneMatch">
      <path value="Bundle.entry.request.ifNoneMatch" />
      <max value="0" />
    </element>
    <element id="Bundle.entry.request.ifModifiedSince">
      <path value="Bundle.entry.request.ifModifiedSince" />
      <max value="0" />
    </element>
    <element id="Bundle.entry.request.ifMatch">
      <path value="Bundle.entry.request.ifMatch" />
      <max value="0" />
    </element>
    <element id="Bundle.entry.request.ifNoneExist">
      <path value="Bundle.entry.request.ifNoneExist" />
      <max value="0" />
    </element>
    <element id="Bundle.entry.response">
      <path value="Bundle.entry.response" />
      <max value="0" />
    </element>
  </differential>
</StructureDefinition>