{
  "resourceType" : "MedicationDispense",
  "id" : "example-medicationdispense-invalid",
  "meta" : {
    "profile" : ["https://nshr-uat.sha.go.ke/fhir/StructureDefinition/ke-medication-dispense"]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: MedicationDispense example-medicationdispense-invalid</b></p><a name=\"example-medicationdispense-invalid\"> </a><a name=\"hcexample-medicationdispense-invalid\"> </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-medication-dispense.html\">Kenya eRx MedicationDispense</a></p></div><p><b>status</b>: Completed</p><p><b>medication</b>: <span title=\"Codes:{http://snomed.info/sct 372687004}\">Amoxicillin</span></p><p><b>subject</b>: <a href=\"Patient-example-patient-amina.html\">Amina Hassan (official) Female, DoB: 1988-04-15 ( https://ilm-hie.dha.go.ke/fhir/NamingSystem/national-id#KenyaNationalId#29834765)</a></p><h3>Performers</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Actor</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"Patient-example-patient-amina.html\">Amina Hassan (official) Female, DoB: 1988-04-15 ( https://ilm-hie.dha.go.ke/fhir/NamingSystem/national-id#KenyaNationalId#29834765)</a></td></tr></table><p><b>location</b>: <a href=\"Location-example-location-knh-pharmacy.html\">Location KNH Outpatient Pharmacy</a></p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ActCode FF}\">First Fill</span></p><p><b>quantity</b>: 3 tablet<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  code1 = '1')</span></p><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>"
  },
  "status" : "completed",
  "medicationCodeableConcept" : {
    "coding" : [{
      "system" : "http://snomed.info/sct",
      "code" : "372687004",
      "display" : "Amoxicillin"
    }]
  },
  "subject" : {
    "reference" : "Patient/example-patient-amina"
  },
  "performer" : [{
    "actor" : {
      "reference" : "Patient/example-patient-amina"
    }
  }],
  "location" : {
    "reference" : "Location/example-location-knh-pharmacy"
  },
  "type" : {
    "coding" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
      "code" : "FF",
      "display" : "First Fill"
    }]
  },
  "quantity" : {
    "value" : 3,
    "unit" : "tablet",
    "system" : "http://unitsofmeasure.org",
    "code" : "1"
  },
  "substitution" : {
    "wasSubstituted" : false
  }
}