{
  "resourceType" : "ServiceRequest",
  "id" : "TRxHubServiceRequestExampleOrderMedication",
  "meta" : {
    "profile" : ["https://trxhub.mediservice.ch/fhir/StructureDefinition/trxhub-service-request"]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: ServiceRequest TRxHubServiceRequestExampleOrderMedication</b></p><a name=\"TRxHubServiceRequestExampleOrderMedication\"> </a><a name=\"hcTRxHubServiceRequestExampleOrderMedication\"> </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-trxhub-service-request.html\">TRxHub ServiceRequest</a></p></div><p><b>identifier</b>: <code>https://example.external-system.ch/service-request-id</code>/SR-002</p><p><b>basedOn</b>: </p><ul><li><a href=\"ServiceRequest-TRxHubServiceRequestExampleRegisterNormal.html\">ServiceRequest Register Prescription via normal flow</a></li><li><a href=\"MedicationRequest-TRxHubMedicationRequestExample.html\">MedicationRequest: status = active; intent = order; medication[x] = 3818951</a></li></ul><p><b>status</b>: Active</p><p><b>intent</b>: Order</p><p><b>category</b>: <span title=\"Codes:{https://trxhub.mediservice.ch/fhir/CodeSystem/trxhub-service-request-category order-medication}\">Order Medication from Prescription</span></p><p><b>code</b>: <span title=\"Codes:{https://trxhub.mediservice.ch/fhir/CodeSystem/trxhub-service-request-code order-medication}\">Order Medication from prescription</span></p><p><b>subject</b>: <a href=\"Patient-TRxHubPatientExample.html\">Max Muster (official) Male, DoB: 1985-06-15 ( https://example.external-system.ch/patient-id#123456789)</a></p><p><b>authoredOn</b>: 2026-05-01</p></div>"
  },
  "identifier" : [{
    "system" : "https://example.external-system.ch/service-request-id",
    "value" : "SR-002"
  }],
  "basedOn" : [{
    "reference" : "ServiceRequest/TRxHubServiceRequestExampleRegisterNormal"
  },
  {
    "reference" : "MedicationRequest/TRxHubMedicationRequestExample"
  }],
  "status" : "active",
  "intent" : "order",
  "category" : [{
    "coding" : [{
      "system" : "https://trxhub.mediservice.ch/fhir/CodeSystem/trxhub-service-request-category",
      "code" : "order-medication"
    }]
  }],
  "code" : {
    "coding" : [{
      "system" : "https://trxhub.mediservice.ch/fhir/CodeSystem/trxhub-service-request-code",
      "code" : "order-medication"
    }]
  },
  "subject" : {
    "reference" : "Patient/TRxHubPatientExample"
  },
  "authoredOn" : "2026-05-01"
}