<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="profile-batch-contribution-request" />
  <url value="http://ontariohealth.ca/fhir/pcr/StructureDefinition/profile-batch-contribution-request" />
  <name value="PCRBatchContributionRequest" />
  <title value="PCR Batch Contribution Request Profile" />
  <status value="active" />
  <description value="This profile is for sending a batch of PCR Contributions." />
  <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" />
    </element>
    <element id="Bundle.entry">
      <path value="Bundle.entry" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Bundle.entry.resource">
      <path value="Bundle.entry.resource" />
      <min value="1" />
      <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-input" />
      </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" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Bundle.entry.request.method">
      <path value="Bundle.entry.request.method" />
      <mustSupport value="true" />
    </element>
    <element id="Bundle.entry.request.url">
      <path value="Bundle.entry.request.url" />
      <mustSupport value="true" />
    </element>
    <element id="Bundle.entry.response">
      <path value="Bundle.entry.response" />
      <max value="0" />
    </element>
  </differential>
</StructureDefinition>