<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="https://fhir.synapxe.sg/StructureDefinition/profile-bundle-radiologyreport" />
  <name value="BundleRadiologyReport" />
  <status value="active" />
  <fhirVersion value="5.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.type">
      <path value="Bundle.type" />
      <patternCode value="transaction" />
    </element>
    <element id="Bundle.entry">
      <path value="Bundle.entry" />
      <slicing>
        <discriminator>
          <type value="profile" />
          <path value="resource" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <min value="1" />
    </element>
    <element id="Bundle.entry:radiologyreport">
      <path value="Bundle.entry" />
      <sliceName value="radiologyreport" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Bundle.entry:radiologyreport.resource">
      <path value="Bundle.entry.resource" />
      <min value="1" />
      <type>
        <code value="Resource" />
        <profile value="https://fhir.synapxe.sg/StructureDefinition/profile-radiologyreport" />
      </type>
    </element>
    <element id="Bundle.entry:radiologyreport.request">
      <path value="Bundle.entry.request" />
      <min value="1" />
    </element>
    <element id="Bundle.entry:servicerequest">
      <path value="Bundle.entry" />
      <sliceName value="servicerequest" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Bundle.entry:servicerequest.resource">
      <path value="Bundle.entry.resource" />
      <min value="1" />
      <type>
        <code value="Resource" />
        <profile value="https://fhir.synapxe.sg/StructureDefinition/profile-servicerequest" />
      </type>
    </element>
    <element id="Bundle.entry:servicerequest.request">
      <path value="Bundle.entry.request" />
      <min value="1" />
    </element>
    <element id="Bundle.entry:performer">
      <path value="Bundle.entry" />
      <sliceName value="performer" />
      <max value="1" />
    </element>
    <element id="Bundle.entry:performer.resource">
      <path value="Bundle.entry.resource" />
      <min value="1" />
      <type>
        <code value="Resource" />
        <profile value="https://fhir.synapxe.sg/StructureDefinition/profile-practitionerrole" />
        <profile value="https://fhir.synapxe.sg/StructureDefinition/profile-location" />
      </type>
    </element>
    <element id="Bundle.entry:performer.request">
      <path value="Bundle.entry.request" />
      <min value="1" />
    </element>
    <element id="Bundle.entry:investigation">
      <path value="Bundle.entry" />
      <sliceName value="investigation" />
      <min value="1" />
    </element>
    <element id="Bundle.entry:investigation.resource">
      <path value="Bundle.entry.resource" />
      <min value="1" />
      <type>
        <code value="Resource" />
        <profile value="https://fhir.synapxe.sg/StructureDefinition/profile-investigation" />
      </type>
    </element>
    <element id="Bundle.entry:investigation.request">
      <path value="Bundle.entry.request" />
      <min value="1" />
    </element>
  </differential>
</StructureDefinition>