<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="Bundle" />
  <meta>
    <lastUpdated value="2018-08-17T12:13:52.493+01:00" />
  </meta>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fhir" />
  </extension>
  <url value="https://fhir.nhs.uk/STU3/StructureDefinition/ITK-Payload-Bundle-1" />
  <version value="1.1.0" />
  <name value="ITK-Payload-Bundle-1" />
  <status value="active" />
  <date value="2024-01-22T11:39:06.3872207+00:00" />
  <publisher value="NHS Digital" />
  <contact>
    <name value="Interoperability Team" />
    <telecom>
      <system value="email" />
      <value value="interoperabilityteam@nhs.net" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="This constrained Bundle resource represents the ITK payload bundle which contains a collection of profiled resources where the first resource is a MessageHeader." />
  <purpose value="There is a requirement to gather together a collection of resources into a single instance with containing context." />
  <copyright value="Copyright © 2018 NHS Digital" />
  <fhirVersion value="1.0.0" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Bundle" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Bundle" />
  <derivation value="constraint" />
  <differential>
    <element id="Bundle.identifier">
      <path value="Bundle.identifier" />
      <min value="1" />
    </element>
    <element id="Bundle.identifier.type.coding.system">
      <path value="Bundle.identifier.type.coding.system" />
      <min value="1" />
    </element>
    <element id="Bundle.identifier.type.coding.code">
      <path value="Bundle.identifier.type.coding.code" />
      <min value="1" />
    </element>
    <element id="Bundle.identifier.type.coding.display">
      <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
        <valueBoolean value="true" />
      </extension>
      <path value="Bundle.identifier.type.coding.display" />
      <min value="1" />
    </element>
    <element id="Bundle.identifier.system">
      <path value="Bundle.identifier.system" />
      <example>
        <label value="General" />
        <valueUri value="https://tools.ietf.org/html/rfc4122, if the identifier.value is a UUID" />
      </example>
    </element>
    <element id="Bundle.identifier.value">
      <path value="Bundle.identifier.value" />
      <min value="1" />
      <example>
        <label value="General" />
        <valueString value="d1f294eb-72ee-44cf-9765-624c0854040d" />
      </example>
    </element>
    <element id="Bundle.identifier.assigner">
      <path value="Bundle.identifier.assigner" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1" />
      </type>
    </element>
    <element id="Bundle.identifier.assigner.reference">
      <path value="Bundle.identifier.assigner.reference" />
      <min value="1" />
    </element>
    <element id="Bundle.type">
      <path value="Bundle.type" />
      <short value="message | transaction | transaction-response | batch | batch-response | history | searchset | collection" />
    </element>
    <element id="Bundle.total">
      <path value="Bundle.total" />
      <max value="0" />
    </element>
    <element id="Bundle.link">
      <path value="Bundle.link" />
      <max value="0" />
    </element>
    <element id="Bundle.entry">
      <path value="Bundle.entry" />
      <min value="1" />
    </element>
    <element id="Bundle.entry.link">
      <path value="Bundle.entry.link" />
      <max value="0" />
    </element>
    <element id="Bundle.entry.resource">
      <path value="Bundle.entry.resource" />
      <min value="1" />
    </element>
    <element id="Bundle.entry.search">
      <path value="Bundle.entry.search" />
      <max value="0" />
    </element>
    <element id="Bundle.entry.request">
      <path value="Bundle.entry.request" />
      <max value="0" />
    </element>
    <element id="Bundle.entry.response">
      <path value="Bundle.entry.response" />
      <max value="0" />
    </element>
    <element id="Bundle.signature">
      <path value="Bundle.signature" />
      <max value="0" />
    </element>
  </differential>
</StructureDefinition>