{
  "resourceType" : "MedicationDispense",
  "id" : "TRxHubMedicationDispenseExampleDeclined",
  "meta" : {
    "profile" : ["https://trxhub.mediservice.ch/fhir/StructureDefinition/trxhub-medication-dispense"]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: MedicationDispense TRxHubMedicationDispenseExampleDeclined</b></p><a name=\"TRxHubMedicationDispenseExampleDeclined\"> </a><a name=\"hcTRxHubMedicationDispenseExampleDeclined\"> </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>status</b>: Declined</p><p><b>statusReason</b>: <span title=\"Codes:{https://trxhub.mediservice.ch/fhir/CodeSystem/trxhub-medication-dispense-status-reason not-in-stock}\">Medication not in stock</span></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>note</b>: </p><blockquote><div><p>Medication currently not in stock</p>\n</div></blockquote></div>"
  },
  "status" : "declined",
  "statusReasonCodeableConcept" : {
    "coding" : [{
      "system" : "https://trxhub.mediservice.ch/fhir/CodeSystem/trxhub-medication-dispense-status-reason",
      "code" : "not-in-stock"
    }]
  },
  "medicationCodeableConcept" : {
    "coding" : [{
      "system" : "urn:oid:2.51.1.3",
      "code" : "3818951"
    }]
  },
  "subject" : {
    "reference" : "Patient/TRxHubPatientExample"
  },
  "supportingInformation" : [{
    "reference" : "ServiceRequest/TRxHubServiceRequestExampleOrderMedication"
  }],
  "authorizingPrescription" : [{
    "reference" : "MedicationRequest/TRxHubMedicationRequestExample"
  }],
  "note" : [{
    "text" : "Medication currently not in stock"
  }]
}