<Bundle xmlns="http://hl7.org/fhir">
  <id value="rdc-Bundle-response-AGP-report-internal-server-error" />
  <type value="batch-response" />
  <entry>
    <response>
      <status value="500 INTERNAL_SERVER_ERROR" />
      <outcome>
        <OperationOutcome>
          <issue>
            <severity value="error" />
            <code value="processing" />
            <diagnostics value="Report could not be generated." />
          </issue>
        </OperationOutcome>
      </outcome>
    </response>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:550e8400-e29b-41d4-a716-446655430000" />
    <resource>
      <DiagnosticReport>
        <id value="550e8400-e29b-41d4-a716-446655430000" />
        <status value="final" />
        <code>
          <coding>
            <system value="https://roche.com/fhir/CodeSystem/general" />
            <code value="R7786-7" />
            <display value="CGM Ambulatory Glucose Profile (AGP) During Reporting Period" />
          </coding>
        </code>
        <subject>
          <reference value="Patient/123" />
        </subject>
        <effectivePeriod>
          <start value="2024-01-01T00:00:00+00:00" />
          <end value="2024-02-28T00:00:00+00:00" />
        </effectivePeriod>
        <performer>
          <reference value="Organization/org1234" />
        </performer>
      </DiagnosticReport>
    </resource>
    <response>
      <status value="200 OK" />
      <location value="DiagnosticReport/550e8400-e29b-41d4-a716-446655430000" />
    </response>
  </entry>
</Bundle>