{
  "resourceType" : "ServiceRequest",
  "id" : "ServiceRequestKPS",
  "meta" : {
    "profile" : ["http://localhost:8085/fhir/StructureDefinition/ke-kps-service-request"]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: ServiceRequest ServiceRequestKPS</b></p><a name=\"ServiceRequestKPS\"> </a><a name=\"hcServiceRequestKPS\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; 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-ke-kps-service-request.html\">Service Request Profile - KPS (Referral)</a></p></div><p><b>status</b>: Active</p><p><b>intent</b>: Order</p><p><b>subject</b>: <a href=\"Patient-PatientKPS.html\">Amina Mohamed  Female, DoB: 1992-03-25 ( http://moh.kenya/identifier/nationalID-no#12345678)</a></p><p><b>occurrence</b>: 2026-05-20 10:30:00+0300</p><p><b>requester</b>: <a href=\"Practitioner-PractitionerKPS.html\">Practitioner Anne Njoroge </a></p><p><b>locationReference</b>: <a href=\"Location-LocationKPS.html\">Location Nairobi Referral Clinic</a></p><p><b>reasonCode</b>: <span title=\"Codes:{https://nshr-uat.sha.go.ke/fhir/CodeSystem/kpsg-referral-codes emergency-referral}\">Emergency Referral</span></p><p><b>note</b>: </p><blockquote><div><p>Refer urgently for specialist review</p>\n</div></blockquote></div>"
  },
  "status" : "active",
  "intent" : "order",
  "subject" : {
    "reference" : "Patient/PatientKPS"
  },
  "occurrenceDateTime" : "2026-05-20T10:30:00+03:00",
  "requester" : {
    "reference" : "Practitioner/PractitionerKPS"
  },
  "locationReference" : [{
    "reference" : "Location/LocationKPS"
  }],
  "reasonCode" : [{
    "coding" : [{
      "system" : "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kpsg-referral-codes",
      "code" : "emergency-referral",
      "display" : "Emergency Referral"
    }]
  }],
  "note" : [{
    "text" : "Refer urgently for specialist review"
  }]
}