Spenser - a developer's companion
1.0.0 - STU1 International flag

Spenser - a developer's companion, published by Zeora. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/costateixeira/spenser/ and changes regularly. See the Directory of published versions

: Example - Dispense that did not happen - JSON Representation

Raw json | Download

{
  "resourceType" : "MedicationDispense",
  "id" : "DeclinedDispenseOutOfStock",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: MedicationDispense DeclinedDispenseOutOfStock</b></p><a name=\"DeclinedDispenseOutOfStock\"> </a><a name=\"hcDeclinedDispenseOutOfStock\"> </a><p><b>status</b>: Declined</p><h3>NotPerformedReasons</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://hl7.org/fhir/CodeSystem/medicationdispense-status-reason outofstock}\">Drug not available - out of stock</span></td></tr></table><h3>Medications</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://costateixeira.github.io/spenser/CodeSystem/SpenserMeds chocolate-dark}\">Dark Chocolate</span></td></tr></table><p><b>subject</b>: <a href=\"Patient/123\">Patient/123</a></p><p><b>authorizingPrescription</b>: <a href=\"MedicationRequest-ActionableDarkOrder.html\">MedicationRequest: status = active; intent = instance-order</a></p></div>"
  },
  "status" : "declined",
  "notPerformedReason" : {
    "concept" : {
      "coding" : [
        {
          "system" : "http://hl7.org/fhir/CodeSystem/medicationdispense-status-reason",
          "code" : "outofstock",
          "display" : "Drug not available - out of stock"
        }
      ]
    }
  },
  "medication" : {
    "concept" : {
      "coding" : [
        {
          "system" : "http://costateixeira.github.io/spenser/CodeSystem/SpenserMeds",
          "code" : "chocolate-dark",
          "display" : "Dark Chocolate"
        }
      ]
    }
  },
  "subject" : {
    "reference" : "Patient/123"
  },
  "authorizingPrescription" : [
    {
      🔗 "reference" : "MedicationRequest/ActionableDarkOrder"
    }
  ]
}