{
  "resourceType" : "Bundle",
  "id" : "b83f2d51-9c04-4e76-a1b8-6d27f0e5c934",
  "meta" : {
    "profile" : ["https://fhir.senaite.org/StructureDefinition/SenaiteRequestBundle"]
  },
  "type" : "transaction",
  "entry" : [{
    "fullUrl" : "urn:uuid:1e6d3c94-7a25-4b81-9f30-c58a2d7e4106",
    "resource" : {
      "resourceType" : "Specimen",
      "id" : "1e6d3c94-7a25-4b81-9f30-c58a2d7e4106",
      "meta" : {
        "profile" : ["https://fhir.senaite.org/StructureDefinition/SenaiteSpecimen"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Specimen_1e6d3c94-7a25-4b81-9f30-c58a2d7e4106\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Specimen 1e6d3c94-7a25-4b81-9f30-c58a2d7e4106</b></p><a name=\"1e6d3c94-7a25-4b81-9f30-c58a2d7e4106\"> </a><a name=\"hc1e6d3c94-7a25-4b81-9f30-c58a2d7e4106\"> </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-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-002\u00a0(use:\u00a0secondary)</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-22 08:15: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>Two-week follow-up draw. Fasting.</p>\n</div></blockquote></div>"
      },
      "identifier" : [{
        "use" : "secondary",
        "system" : "https://fhir.senaite.org/NamingSystem/client-sample-id",
        "value" : "EXT-LIVER-002"
      }],
      "type" : {
        "coding" : [{
          "system" : "http://snomed.info/sct",
          "code" : "119364003",
          "display" : "Serum specimen"
        }],
        "text" : "Serum specimen"
      },
      "collection" : {
        "collector" : {
          "reference" : "Practitioner/e04a8f16-2c7d-4b95-9a83-5f61c2e08d47"
        },
        "collectedDateTime" : "2026-04-22T08:15:00+10:00",
        "bodySite" : {
          "concept" : {
            "coding" : [{
              "system" : "http://snomed.info/sct",
              "code" : "49220004",
              "display" : "Antecubital fossa"
            }],
            "text" : "Antecubital fossa"
          }
        }
      },
      "note" : [{
        "text" : "Two-week follow-up draw. Fasting."
      }]
    },
    "request" : {
      "method" : "POST",
      "url" : "Specimen"
    }
  },
  {
    "fullUrl" : "urn:uuid:4a7b90e2-3d16-4c58-8b27-e0f91a5c6d38",
    "resource" : {
      "resourceType" : "ServiceRequest",
      "id" : "4a7b90e2-3d16-4c58-8b27-e0f91a5c6d38",
      "meta" : {
        "profile" : ["https://fhir.senaite.org/StructureDefinition/SenaiteServiceRequest"]
      },
      "text" : {
        "status" : "extensions",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"ServiceRequest_4a7b90e2-3d16-4c58-8b27-e0f91a5c6d38\"> </a><p class=\"res-header-id\"><b>Generated Narrative: ServiceRequest 4a7b90e2-3d16-4c58-8b27-e0f91a5c6d38</b></p><a name=\"4a7b90e2-3d16-4c58-8b27-e0f91a5c6d38\"> </a><a name=\"hc4a7b90e2-3d16-4c58-8b27-e0f91a5c6d38\"> </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-SenaiteServiceRequest.html\">SENAITE Service Request</a></p></div><p><b>SENAITE Client</b>: <a href=\"Organization/3b91d7ac-5e28-4c63-8f92-a1d40e7b6c35\">Organization/3b91d7ac-5e28-4c63-8f92-a1d40e7b6c35</a></p><p><b>status</b>: Active</p><p><b>intent</b>: Order</p><p><b>category</b>: <span title=\"Codes:{http://snomed.info/sct 108252007}\">Laboratory procedure</span></p><p><b>priority</b>: Routine</p><h3>Codes</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://loinc.org 24325-3}\">Hepatic Function Panel</span></td></tr></table><blockquote><p><b>orderDetail</b></p><h3>Parameters</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Code</b></td><td><b>Value[x]</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ObservationValue LOINC}\">Test Code</span></td><td><span title=\"Codes:{http://loinc.org 1742-6}\">ALT [Enzymatic activity/volume] in Serum or Plasma</span></td></tr></table></blockquote><blockquote><p><b>orderDetail</b></p><h3>Parameters</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Code</b></td><td><b>Value[x]</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ObservationValue LOINC}\">Test Code</span></td><td><span title=\"Codes:{http://loinc.org 1920-8}\">AST [Enzymatic activity/volume] in Serum or Plasma</span></td></tr></table></blockquote><blockquote><p><b>orderDetail</b></p><h3>Parameters</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Code</b></td><td><b>Value[x]</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ObservationValue LOINC}\">Test Code</span></td><td><span title=\"Codes:{http://loinc.org 6768-6}\">Alkaline phosphatase [Enzymatic activity/volume] in Serum or Plasma</span></td></tr></table></blockquote><blockquote><p><b>orderDetail</b></p><h3>Parameters</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Code</b></td><td><b>Value[x]</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ObservationValue LOINC}\">Test Code</span></td><td><span title=\"Codes:{http://loinc.org 1975-2}\">Bilirubin.total [Mass/volume] in Serum or Plasma</span></td></tr></table></blockquote><blockquote><p><b>orderDetail</b></p><h3>Parameters</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Code</b></td><td><b>Value[x]</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ObservationValue LOINC}\">Test Code</span></td><td><span title=\"Codes:{http://loinc.org 1968-7}\">Bilirubin.direct [Mass/volume] in Serum or Plasma</span></td></tr></table></blockquote><blockquote><p><b>orderDetail</b></p><h3>Parameters</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Code</b></td><td><b>Value[x]</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ObservationValue LOINC}\">Test Code</span></td><td><span title=\"Codes:{http://loinc.org 2885-2}\">Protein [Mass/volume] in Serum or Plasma</span></td></tr></table></blockquote><blockquote><p><b>orderDetail</b></p><h3>Parameters</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Code</b></td><td><b>Value[x]</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ObservationValue LOINC}\">Test Code</span></td><td><span title=\"Codes:{http://loinc.org 1751-7}\">Albumin [Mass/volume] in Serum or Plasma</span></td></tr></table></blockquote><blockquote><p><b>orderDetail</b></p><h3>Parameters</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Code</b></td><td><b>Value[x]</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ObservationValue LOINC}\">Test Code</span></td><td><span title=\"Codes:{http://loinc.org 5902-2}\">Prothrombin time (PT)</span></td></tr></table></blockquote><p><b>subject</b>: <a href=\"Patient/7f3c1e02-9a4b-4d18-b6e1-0f5a2c9d4471\">Patient/7f3c1e02-9a4b-4d18-b6e1-0f5a2c9d4471</a></p><p><b>requester</b>: <a href=\"Practitioner/e04a8f16-2c7d-4b95-9a83-5f61c2e08d47\">Practitioner/e04a8f16-2c7d-4b95-9a83-5f61c2e08d47</a></p><p><b>specimen</b>: <a href=\"Bundle-b83f2d51-9c04-4e76-a1b8-6d27f0e5c934.html#urn-uuid-1e6d3c94-7a25-4b81-9f30-c58a2d7e4106\">Specimen: identifier = https://fhir.senaite.org/NamingSystem/client-sample-id#SENAITE Client Sample Identifier Namespace#EXT-LIVER-002\u00a0(use:\u00a0secondary); type = Serum specimen; note = Two-week follow-up draw. Fasting.</a></p><p><b>note</b>: </p><blockquote><div><p>Repeat panel to track ALT trend. Compare with EXT-LIVER-001.</p>\n</div></blockquote></div>"
      },
      "extension" : [{
        "url" : "https://fhir.senaite.org/StructureDefinition/SenaiteClient",
        "valueReference" : {
          "reference" : "Organization/3b91d7ac-5e28-4c63-8f92-a1d40e7b6c35"
        }
      }],
      "status" : "active",
      "intent" : "order",
      "category" : [{
        "coding" : [{
          "system" : "http://snomed.info/sct",
          "code" : "108252007",
          "display" : "Laboratory procedure"
        }],
        "text" : "Laboratory procedure"
      }],
      "priority" : "routine",
      "code" : {
        "concept" : {
          "coding" : [{
            "system" : "http://loinc.org",
            "code" : "24325-3",
            "display" : "Hepatic function 2000 panel - Serum or Plasma"
          }],
          "text" : "Hepatic Function Panel"
        }
      },
      "orderDetail" : [{
        "parameter" : [{
          "code" : {
            "coding" : [{
              "system" : "http://terminology.hl7.org/CodeSystem/v3-ObservationValue",
              "code" : "LOINC",
              "display" : "Test Code"
            }]
          },
          "valueCodeableConcept" : {
            "coding" : [{
              "system" : "http://loinc.org",
              "code" : "1742-6",
              "display" : "ALT [Enzymatic activity/volume] in Serum or Plasma"
            }]
          }
        }]
      },
      {
        "parameter" : [{
          "code" : {
            "coding" : [{
              "system" : "http://terminology.hl7.org/CodeSystem/v3-ObservationValue",
              "code" : "LOINC",
              "display" : "Test Code"
            }]
          },
          "valueCodeableConcept" : {
            "coding" : [{
              "system" : "http://loinc.org",
              "code" : "1920-8",
              "display" : "AST [Enzymatic activity/volume] in Serum or Plasma"
            }]
          }
        }]
      },
      {
        "parameter" : [{
          "code" : {
            "coding" : [{
              "system" : "http://terminology.hl7.org/CodeSystem/v3-ObservationValue",
              "code" : "LOINC",
              "display" : "Test Code"
            }]
          },
          "valueCodeableConcept" : {
            "coding" : [{
              "system" : "http://loinc.org",
              "code" : "6768-6",
              "display" : "Alkaline phosphatase [Enzymatic activity/volume] in Serum or Plasma"
            }]
          }
        }]
      },
      {
        "parameter" : [{
          "code" : {
            "coding" : [{
              "system" : "http://terminology.hl7.org/CodeSystem/v3-ObservationValue",
              "code" : "LOINC",
              "display" : "Test Code"
            }]
          },
          "valueCodeableConcept" : {
            "coding" : [{
              "system" : "http://loinc.org",
              "code" : "1975-2",
              "display" : "Bilirubin.total [Mass/volume] in Serum or Plasma"
            }]
          }
        }]
      },
      {
        "parameter" : [{
          "code" : {
            "coding" : [{
              "system" : "http://terminology.hl7.org/CodeSystem/v3-ObservationValue",
              "code" : "LOINC",
              "display" : "Test Code"
            }]
          },
          "valueCodeableConcept" : {
            "coding" : [{
              "system" : "http://loinc.org",
              "code" : "1968-7",
              "display" : "Bilirubin.direct [Mass/volume] in Serum or Plasma"
            }]
          }
        }]
      },
      {
        "parameter" : [{
          "code" : {
            "coding" : [{
              "system" : "http://terminology.hl7.org/CodeSystem/v3-ObservationValue",
              "code" : "LOINC",
              "display" : "Test Code"
            }]
          },
          "valueCodeableConcept" : {
            "coding" : [{
              "system" : "http://loinc.org",
              "code" : "2885-2",
              "display" : "Protein [Mass/volume] in Serum or Plasma"
            }]
          }
        }]
      },
      {
        "parameter" : [{
          "code" : {
            "coding" : [{
              "system" : "http://terminology.hl7.org/CodeSystem/v3-ObservationValue",
              "code" : "LOINC",
              "display" : "Test Code"
            }]
          },
          "valueCodeableConcept" : {
            "coding" : [{
              "system" : "http://loinc.org",
              "code" : "1751-7",
              "display" : "Albumin [Mass/volume] in Serum or Plasma"
            }]
          }
        }]
      },
      {
        "parameter" : [{
          "code" : {
            "coding" : [{
              "system" : "http://terminology.hl7.org/CodeSystem/v3-ObservationValue",
              "code" : "LOINC",
              "display" : "Test Code"
            }]
          },
          "valueCodeableConcept" : {
            "coding" : [{
              "system" : "http://loinc.org",
              "code" : "5902-2",
              "display" : "Prothrombin time (PT)"
            }]
          }
        }]
      }],
      "subject" : {
        "reference" : "Patient/7f3c1e02-9a4b-4d18-b6e1-0f5a2c9d4471"
      },
      "requester" : {
        "reference" : "Practitioner/e04a8f16-2c7d-4b95-9a83-5f61c2e08d47",
        "type" : "Practitioner"
      },
      "specimen" : [{
        "reference" : "urn:uuid:1e6d3c94-7a25-4b81-9f30-c58a2d7e4106"
      }],
      "note" : [{
        "text" : "Repeat panel to track ALT trend. Compare with EXT-LIVER-001."
      }]
    },
    "request" : {
      "method" : "POST",
      "url" : "ServiceRequest"
    }
  }]
}