{

"resourceType": "MedicationRequest",
"id": "medrx002",
"text": {
  "status": "generated",
  "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: medrx002</p><p><b>identifier</b>: 12345 (OFFICIAL)</p><p><b>status</b>: active</p><p><b>intent</b>: order</p><p><b>medication</b>: <a>prescribed medication</a></p><p><b>subject</b>: <a>Donald Duck</a></p><p><b>context</b>: <a>encounter that leads to this prescription</a></p><p><b>authoredOn</b>: Mar 1, 2015</p><h3>Requesters</h3><table><tr><td>-</td><td><b>Agent</b></td><td><b>OnBehalfOf</b></td></tr><tr><td>*</td><td><a>Patrick Pump</a></td><td><a>Organization/f002</a></td></tr></table><p><b>reasonCode</b>: Essential hypertension (disorder) <span>(Details : {SNOMED CT code '59621000' = 'Essential hypertension', given as 'Essential hypertension (disorder)'})</span></p><p><b>dosageInstruction</b>: </p></div>"
},
"identifier": [
  {
    "use": "official",
    "system": "http://www.bmc.nl/portal/prescriptions",
    "value": "12345"
  }
],
"status": "active",
"intent": "order",
"medicationReference": {
  "reference": "Medication/med0316",
  "display": "prescribed medication"
},
"subject": {
  "reference": "Patient/pat1",
  "display": "Donald Duck"
},
"context": {
  "reference": "Encounter/f001",
  "display": "encounter that leads to this prescription"
},
"authoredOn": "2015-03-01",
"requester": {
  "agent": {
    "reference": "Practitioner/f007",
    "display": "Patrick Pump"
  },
  "onBehalfOf": {
    "reference": "Organization/f002"
  }
},
"reasonCode": [
  {
    "coding": [
      {
        "system": "http://snomed.info/sct",
        "code": "59621000",
        "display": "Essential hypertension (disorder)"
      }
    ]
  }
],
"dosageInstruction": [
  {
    "sequence": 1,
    "text": "Take one tablet daily as directed"
  }
]

}