<?xml version="1.0" encoding="UTF-8"?>

<Bundle xmlns="http://hl7.org/fhir">
  <id value="74bb232e-093f-5cbc-ae14-83a6bc1c73e5"/>
  <meta>
    <profile value="https://fhir.senaite.org/StructureDefinition/SenaiteBundleResponse"/>
  </meta>
  <type value="transaction-response"/>
  <entry>
    <fullUrl value="Patient/7f3c1e02-9a4b-4d18-b6e1-0f5a2c9d4471"/>
    <response>
      <status value="201 Created"/>
      <lastModified value="2026-04-08T08:31:00+10:00"/>
    </response>
  </entry>
  <entry>
    <fullUrl value="Organization/3b91d7ac-5e28-4c63-8f92-a1d40e7b6c35"/>
    <response>
      <status value="201 Created"/>
      <lastModified value="2026-04-08T08:31:00+10:00"/>
    </response>
  </entry>
  <entry>
    <fullUrl value="Practitioner/e04a8f16-2c7d-4b95-9a83-5f61c2e08d47"/>
    <response>
      <status value="201 Created"/>
      <lastModified value="2026-04-08T08:31:00+10:00"/>
    </response>
  </entry>
  <entry>
    <fullUrl value="Specimen/5c72b943-8d16-4e2a-b0f7-93a4e15c6802"/>
    <resource>
      <Specimen>
        <id value="5c72b943-8d16-4e2a-b0f7-93a4e15c6802"/>
        <meta>
          <profile value="https://fhir.senaite.org/StructureDefinition/SenaiteSpecimen"/>
        </meta>
        <text>
          <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><a name="Specimen_5c72b943-8d16-4e2a-b0f7-93a4e15c6802"> </a><p class="res-header-id"><b>Generated Narrative: Specimen 5c72b943-8d16-4e2a-b0f7-93a4e15c6802</b></p><a name="5c72b943-8d16-4e2a-b0f7-93a4e15c6802"> </a><a name="hc5c72b943-8d16-4e2a-b0f7-93a4e15c6802"> </a><div style="display: inline-block; background-color: #fbffeb; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px"/><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-SenaiteSpecimen.html">SenaiteSpecimen</a></p></div><p><b>identifier</b>: <a href="NamingSystem-sample-naming-system.html" title="Defines the identifier namespace for the Sample ID — the internal SENAITE Object ID generated when a Sample is created, whether that creation was triggered by a POSTed SenaiteRequestBundle or performed directly within the SENAITE web application. It must not be supplied by a client on POST. Used as the system value for the senaiteId identifier slice on SenaiteSpecimen and SenaiteDiagnosticReport, where it holds the same value, allowing the two to be correlated without traversing references. Fixed by this IG and not deployment-configurable, precisely because that correlation depends on both resources using the same system.">SENAITE Sample Identifier Namespace</a>/SAMP-2026-0408-001 (use: usual), <a href="NamingSystem-client-sample-naming-system.html" title="Defines the identifier namespace for the Client Sample ID — the external, consumer-owned business identifier for a SENAITE Sample. It is assigned outside SENAITE, either supplied on POST on the Specimen entry of a SenaiteRequestBundle or entered against the Sample by laboratory staff in the web application, and is preserved as-is by SENAITE. Where the deployment is configured to do so, the value is encoded in the specimen container barcode in place of the default Sample ID. Carried as identifier[clientSampleId] on both SenaiteSpecimen and SenaiteDiagnosticReport — named for the SENAITE field rather than the generic pattern — where it holds the same value. Fixed by this IG rather than deployment-configurable, unlike the Patient, Practitioner and Organization external ID namespaces.">SENAITE Client Sample Identifier Namespace</a>/EXT-LIVER-001 (use: secondary)</p><p><b>status</b>: Available</p><p><b>type</b>: <span title="Codes:{http://snomed.info/sct 119364003}">Serum specimen</span></p><blockquote><p><b>collection</b></p><p><b>collector</b>: <a href="Practitioner/e04a8f16-2c7d-4b95-9a83-5f61c2e08d47">Practitioner/e04a8f16-2c7d-4b95-9a83-5f61c2e08d47</a></p><p><b>collected</b>: 2026-04-08 08:30:00+1000</p><h3>BodySites</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Concept</b></td></tr><tr><td style="display: none">*</td><td><span title="Codes:{http://snomed.info/sct 49220004}">Antecubital fossa</span></td></tr></table></blockquote><p><b>note</b>: </p><blockquote><div><p>Fasting specimen. No visible haemolysis.</p>
</div></blockquote></div>
        </text>
        <identifier>
          <use value="usual"/>
          <system value="https://fhir.senaite.org/NamingSystem/sample-id"/>
          <value value="SAMP-2026-0408-001"/>
        </identifier>
        <identifier>
          <use value="secondary"/>
          <system value="https://fhir.senaite.org/NamingSystem/client-sample-id"/>
          <value value="EXT-LIVER-001"/>
        </identifier>
        <status value="available"/>
        <type>
          <coding>
            <system value="http://snomed.info/sct"/>
            <code value="119364003"/>
            <display value="Serum specimen"/>
          </coding>
          <text value="Serum specimen"/>
        </type>
        <collection>
          <collector>
            <reference value="Practitioner/e04a8f16-2c7d-4b95-9a83-5f61c2e08d47"/>
          </collector>
          <collectedDateTime value="2026-04-08T08:30:00+10:00"/>
          <bodySite>
            <concept>
              <coding>
                <system value="http://snomed.info/sct"/>
                <code value="49220004"/>
                <display value="Antecubital fossa"/>
              </coding>
              <text value="Antecubital fossa"/>
            </concept>
          </bodySite>
        </collection>
        <note>
          <text value="Fasting specimen. No visible haemolysis."/>
        </note>
      </Specimen>
    </resource>
    <response>
      <status value="201 Created"/>
      <lastModified value="2026-04-08T08:31:00+10:00"/>
    </response>
  </entry>
  <entry>
    <fullUrl value="ServiceRequest/9e1f45d8-6b03-4a72-8c95-2d78f0b3e614"/>
    <response>
      <status value="201 Created"/>
      <lastModified value="2026-04-08T08:31:00+10:00"/>
    </response>
  </entry>
</Bundle>