{
  "resourceType" : "MedicationRequest",
  "id" : "example-medicationrequest-invalid",
  "meta" : {
    "profile" : ["https://nshr-uat.sha.go.ke/StructureDefinition/ke-medication-request"]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: MedicationRequest example-medicationrequest-invalid</b></p><a name=\"example-medicationrequest-invalid\"> </a><a name=\"hcexample-medicationrequest-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-request.html\">Kenya eRx MedicationRequest</a></p></div><p><b>identifier</b>: <a href=\"NamingSystem-ns-prescription-identifier.html\" title=\"System-generated prescription number that uniquely identifies a MedicationRequest across all dispensing points. Format: RX-{YYYY}-{SITE}-{SEQ}.\">KenyaPrescriptionIdentifier</a>/RX-INVALID-001</p><p><b>status</b>: Active</p><p><b>intent</b>: Order</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/medicationrequest-category outpatient}\">Outpatient</span></p><p><b>medication</b>: <span title=\"Codes:{http://hl7.org/fhir/sid/icd-10 J06.9}\">Acute upper respiratory infection</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><p><b>authoredOn</b>: 2025-06-15</p><p><b>requester</b>: <a href=\"Practitioner-example-practitioner-njoroge.html\">Practitioner Sarah Njoroge (official)</a></p><blockquote><p><b>dosageInstruction</b></p><p><b>timing</b>: Once per 1 day</p><p><b>route</b>: <span title=\"Codes:{http://example.org/wrong-routes by-mouth}\">By Mouth</span></p><h3>DoseAndRates</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Dose[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>500 mg<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codemg = 'mg')</span></td></tr></table></blockquote></div>"
  },
  "identifier" : [{
    "system" : "https://ilm-hie.dha.go.ke/fhir/NamingSystem/prescription-identifier",
    "value" : "RX-INVALID-001"
  }],
  "status" : "active",
  "intent" : "order",
  "category" : [{
    "coding" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/medicationrequest-category",
      "code" : "outpatient",
      "display" : "Outpatient"
    }]
  }],
  "medicationCodeableConcept" : {
    "coding" : [{
      "system" : "http://hl7.org/fhir/sid/icd-10",
      "code" : "J06.9",
      "display" : "Acute upper respiratory infection"
    }]
  },
  "subject" : {
    "reference" : "Patient/example-patient-amina"
  },
  "authoredOn" : "2025-06-15",
  "requester" : {
    "reference" : "Practitioner/example-practitioner-njoroge"
  },
  "dosageInstruction" : [{
    "timing" : {
      "repeat" : {
        "frequency" : 1,
        "period" : 1,
        "periodUnit" : "d"
      }
    },
    "route" : {
      "coding" : [{
        "system" : "http://example.org/wrong-routes",
        "code" : "by-mouth",
        "display" : "By Mouth"
      }]
    },
    "doseAndRate" : [{
      "doseQuantity" : {
        "value" : 500,
        "unit" : "mg",
        "system" : "http://unitsofmeasure.org",
        "code" : "mg"
      }
    }]
  }]
}