{
  "resourceType" : "MedicationDispense",
  "id" : "TRxHubMedicationDispenseExampleCompleted",
  "meta" : {
    "profile" : ["https://trxhub.mediservice.ch/fhir/StructureDefinition/trxhub-medication-dispense"]
  },
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: MedicationDispense TRxHubMedicationDispenseExampleCompleted</b></p><a name=\"TRxHubMedicationDispenseExampleCompleted\"> </a><a name=\"hcTRxHubMedicationDispenseExampleCompleted\"> </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-medication-dispense.html\">TRxHub MedicationDispense</a></p></div><p><b>Shipment Tracking URL</b>: <a href=\"https://service.post/ekp-web/ui/entry/search/99.00.123456.12345678\">https://service.post/ekp-web/ui/entry/search/99.00.123456.12345678</a></p><p><b>status</b>: Completed</p><p><b>medication</b>: <span title=\"Codes:{urn:oid:2.51.1.3 3818951}\">3818951</span></p><p><b>subject</b>: <a href=\"Patient-TRxHubPatientExample.html\">Max Muster (official) Male, DoB: 1985-06-15</a></p><p><b>supportingInformation</b>: <a href=\"ServiceRequest-TRxHubServiceRequestExampleOrderMedication.html\">ServiceRequest Order Medication from prescription</a></p><p><b>authorizingPrescription</b>: <a href=\"MedicationRequest-TRxHubMedicationRequestExample.html\">MedicationRequest: extension = 12345.01; status = active; intent = order; medication[x] = 3818951</a></p><p><b>type</b>: <span title=\"Codes:{https://trxhub.mediservice.ch/fhir/CodeSystem/trxhub-medication-dispense-type fully-dispensed}\">Fully dispensed</span></p><p><b>quantity</b>: 1</p><p><b>whenHandedOver</b>: 2026-05-02 10:15:00+0200</p><p><b>note</b>: </p><blockquote><div><p>Shipped by post</p>\n</div></blockquote><h3>Substitutions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>WasSubstituted</b></td></tr><tr><td style=\"display: none\">*</td><td>false</td></tr></table></div>"
  },
  "extension" : [{
    "url" : "https://trxhub.mediservice.ch/fhir/StructureDefinition/trxhub-shipment-tracking-url",
    "valueUrl" : "https://service.post/ekp-web/ui/entry/search/99.00.123456.12345678"
  }],
  "status" : "completed",
  "medicationCodeableConcept" : {
    "coding" : [{
      "system" : "urn:oid:2.51.1.3",
      "code" : "3818951"
    }]
  },
  "subject" : {
    "reference" : "Patient/TRxHubPatientExample"
  },
  "supportingInformation" : [{
    "reference" : "ServiceRequest/TRxHubServiceRequestExampleOrderMedication"
  }],
  "authorizingPrescription" : [{
    "reference" : "MedicationRequest/TRxHubMedicationRequestExample"
  }],
  "type" : {
    "coding" : [{
      "system" : "https://trxhub.mediservice.ch/fhir/CodeSystem/trxhub-medication-dispense-type",
      "code" : "fully-dispensed"
    }]
  },
  "quantity" : {
    "value" : 1
  },
  "whenHandedOver" : "2026-05-02T10:15:00+02:00",
  "note" : [{
    "text" : "Shipped by post"
  }],
  "substitution" : {
    "wasSubstituted" : false
  }
}