<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="profile-bundle-batch-response" />
  <url value="http://ontariohealth.ca/fhir/pcr/StructureDefinition/profile-bundle-batch-response" />
  <name value="PCRBatchContributionResponse" />
  <title value="PCR Batch Contribution Response Profile" />
  <status value="active" />
  <description value="This profile is for the response to a batch of PCR Contribution requests." />
  <fhirVersion value="4.0.1" />
  <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" />
      <mustSupport value="true" />
    </element>
    <element id="Bundle.type">
      <path value="Bundle.type" />
      <patternCode value="batch-response" />
    </element>
    <element id="Bundle.entry">
      <path value="Bundle.entry" />
      <mustSupport value="true" />
    </element>
    <element id="Bundle.entry.resource">
      <path value="Bundle.entry.resource" />
      <type>
        <code value="Patient" />
        <profile value="http://ontariohealth.ca/fhir/pcr/StructureDefinition/profile-patient-contribution" />
      </type>
      <type>
        <code value="Parameters" />
        <profile value="http://ontariohealth.ca/fhir/pcr/StructureDefinition/profile-parameters-merge-output" />
      </type>
      <mustSupport value="true" />
    </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" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Bundle.entry.response.status">
      <path value="Bundle.entry.response.status" />
      <mustSupport value="true" />
    </element>
    <element id="Bundle.entry.response.outcome">
      <path value="Bundle.entry.response.outcome" />
      <mustSupport value="true" />
    </element>
  </differential>
</StructureDefinition>