example-medicationrequest-with-extensions
type: MedicationRequest
node role: treeRoot
id:
  v: example-medicationrequest-with-extensions
meta:
  profile:
    v: https://nshr-uat.sha.go.ke/fhir/StructureDefinition/ke-medication-request
    l: ke-medication-request
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: MedicationRequest example-medicationrequest-with-extensions Profile: Kenya eRx MedicationRequest Prescription Digital Signature signatureType: Signature Type Codes: 1.2.840.10065.1.12.1.1 (Author's Signature) signatureValue: U0lHTkFUVVJFX1BMQUNFSE9MREVS signedBy: Practitioner Sarah Njoroge (official) signedOn: 2025-06-15 09:30:00+0300 Refill Authorization authorizedRefills: 3 remainingRefills: 3 earliestRefillDate: 2025-07-15 Controlled Substance Schedule isControlled: false Insurance Pre-Authorization authorizationNumber: SHA-2025-AUTH-001234 insurerName: Social Health Authority (SHA) validFrom: 2025-06-15 validTo: 2025-09-15 identifier: KenyaPrescriptionIdentifier/RX-2025-EXT-00001 status: Active intent: Order category: Outpatient medication: Metformin 500 mg Oral Tablet subject: James Otieno (official) Male, DoB: 1968-09-20 ( https://ilm-hie.dha.go.ke/fhir/NamingSystem/national-id#KenyaNationalId#10293847) authoredOn: 2025-06-15 requester: Practitioner Sarah Njoroge (official) dosageInstruction text: Take 1 tablet (500 mg) by mouth twice daily with meals timing: 2 per 1 day route: Oral DoseAndRates - Dose[x] * 500 mg (Details: UCUM codemg = 'mg') DispenseRequests - NumberOfRepeatsAllowed Quantity * 3 60 tablet (Details: UCUM code1 = '1') Substitutions - Allowed[x] * true
extension:
  extension:
    url:
      v: signatureType
      l: signatureType
    value: Coding
      system:
        v: urn:iso-astm:E1762-95:2013
        l: 2013
      code:
        v: 1.2.840.10065.1.12.1.1
      display:
        v: Author's Signature
  extension:
    url:
      v: signatureValue
      l: signatureValue
    value: Base64Binary
  extension:
    url:
      v: signedBy
      l: signedBy
    value: Reference
      l: example-practitioner-njoroge
      reference:
        v: Practitioner/example-practitioner-njoroge
  extension:
    url:
      v: signedOn
      l: signedOn
    value: Instant
      v: 2025-06-15T09:30:00+03:00
  url:
    v: https://nshr-uat.sha.go.ke/fhir/StructureDefinition/prescription-digital-signature
    l: prescription-digital-signature
extension:
  extension:
    url:
      v: authorizedRefills
      l: authorizedRefills
    value: UnsignedInt
      v: 3
  extension:
    url:
      v: remainingRefills
      l: remainingRefills
    value: UnsignedInt
      v: 3
  extension:
    url:
      v: earliestRefillDate
      l: earliestRefillDate
    value: Date
      v: 2025-07-15
  url:
    v: https://nshr-uat.sha.go.ke/fhir/StructureDefinition/refill-authorization
    l: refill-authorization
extension:
  extension:
    url:
      v: isControlled
      l: isControlled
    value: Boolean
      v: false
  url:
    v: https://nshr-uat.sha.go.ke/fhir/StructureDefinition/controlled-substance-schedule
    l: controlled-substance-schedule
extension:
  extension:
    url:
      v: authorizationNumber
      l: authorizationNumber
    value: String
      v: SHA-2025-AUTH-001234
  extension:
    url:
      v: insurerName
      l: insurerName
    value: String
      v: Social Health Authority (SHA)
  extension:
    url:
      v: validFrom
      l: validFrom
    value: Date
      v: 2025-06-15
  extension:
    url:
      v: validTo
      l: validTo
    value: Date
      v: 2025-09-15
  url:
    v: https://nshr-uat.sha.go.ke/fhir/StructureDefinition/insurance-pre-authorization
    l: insurance-pre-authorization
identifier:
  system:
    v: https://ilm-hie.dha.go.ke/fhir/NamingSystem/prescription-identifier
    l: prescription-identifier
  value:
    v: RX-2025-EXT-00001
status:
  v: active
intent:
  v: order
category:
  coding:
    system:
      v: http://terminology.hl7.org/CodeSystem/medicationrequest-category
      l: medicationrequest-category
    code:
      v: outpatient
    display:
      v: Outpatient
medication: CodeableConcept
  coding:
    system:
      v: https://nshr-uat.sha.go.ke/fhir/CodeSystem/generic-products-cs
      l: generic-products-cs
    code:
      v: GE10002
    display:
      v: Metformin 500 mg Oral Tablet
subject:
  l: example-patient-otieno
  reference:
    v: Patient/example-patient-otieno
authored on:
  v: 2025-06-15
requester:
  l: example-practitioner-njoroge
  reference:
    v: Practitioner/example-practitioner-njoroge
dosage instruction:
  text:
    v: Take 1 tablet (500 mg) by mouth twice daily with meals
  timing:
    repeat:
      frequency:
        v: 2
      period:
        v: 1
      period unit:
        v: d
  route:
    coding:
      system:
        v: https://nshr-uat.sha.go.ke/fhir/CodeSystem/route-of-administration-cs
        l: route-of-administration-cs
      code:
        v: RT10025
      display:
        v: Oral
  dose and rate:
    dose: Quantity
      value:
        v: 500
      unit:
        v: mg
      system:
        v: http://unitsofmeasure.org
        l: unitsofmeasure.org
      code:
        v: mg
dispense request:
  number of repeats allowed:
    v: 3
  quantity:
    value:
      v: 60
    unit:
      v: tablet
    system:
      v: http://unitsofmeasure.org
      l: unitsofmeasure.org
    code:
      v: 1
substitution:
  allowed: Boolean
    v: true