{
  "resourceType" : "MedicationRequest",
  "id" : "f6a7b8c9-d0e1-2345-fabc-456789012345",
  "meta" : {
    "profile" : ["http://fhir.ehdsi.eu/core/StructureDefinition/medicationRequest-myhealtheu-core"]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">Metformin 500mg prescription - John Doe</div>"
  },
  "status" : "active",
  "intent" : "order",
  "medicationReference" : {
    "reference" : "Medication/d4e5f6a7-b8c9-0123-defa-234567890123"
  },
  "subject" : {
    "reference" : "Patient/1d4bbc93-63b7-4f2b-8f0f-8380aa138f49"
  },
  "authoredOn" : "2024-01-15",
  "requester" : {
    "reference" : "PractitionerRole/b975ec26-4ecf-4588-9fa2-afbb0d9fc530"
  },
  "dosageInstruction" : [{
    "text" : "500mg twice daily with meals",
    "timing" : {
      "repeat" : {
        "frequency" : 2,
        "period" : 1,
        "periodUnit" : "d"
      }
    },
    "route" : {
      "coding" : [{
        "system" : "http://snomed.info/sct",
        "code" : "26643006",
        "display" : "Oral route"
      }]
    },
    "doseAndRate" : [{
      "doseQuantity" : {
        "value" : 500,
        "unit" : "mg",
        "system" : "http://unitsofmeasure.org",
        "code" : "mg"
      }
    }]
  }]
}