{

"resourceType": "MedicationRequest",
"id": "medrx0311",
"contained": [
  {
    "resourceType": "Medication",
    "id": "med0316",
    "code": {
      "coding": [
        {
          "system": "http://snomed.info/sct",
          "code": "317935006",
          "display": "Chlorthalidone 50mg tablet (product)"
        }
      ]
    },
    "form": {
      "coding": [
        {
          "system": "http://snomed.info/sct",
          "code": "385055001",
          "display": "Tablet dose form (qualifier value)"
        }
      ]
    }
  }
],
"identifier": [
  {
    "use": "official",
    "system": "http://www.bmc.nl/portal/prescriptions",
    "value": "12345689"
  }
],
"status": "active",
"intent": "order",
"medicationReference": {
  "reference": "#med0316"
},
"subject": {
  "reference": "Patient/pat1",
  "display": "Donald Duck"
},
"encounter": {
  "reference": "Encounter/f001",
  "display": "encounter who leads to this prescription"
},
"authoredOn": "2015-01-15",
"requester": {
  "reference": "Practitioner/f007",
  "display": "Patrick Pump"
},
"reasonReference": [
  {
    "reference": "Condition/f201",
    "display": "condition for prescribing this medication"
  }
],
"note": [
  {
    "text": "Chlorthalidone increases urniation so take it in the morning"
  }
],
"dosageInstruction": [
  {
    "sequence": 1,
    "text": "One tablet daily",
    "additionalInstruction": [
      {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "311504000",
            "display": "With or after food"
          }
        ]
      }
    ],
    "timing": {
      "code": {
        "coding": [
          {
            "system": "http://terminology.hl7.org/CodeSystem/v3-GTSAbbreviation",
            "code": "QD",
            "display": "QD"
          }
        ]
      }
    },
    "route": {
      "coding": [
        {
          "system": "http://snomed.info/sct",
          "code": "26643006",
          "display": "Oral Route"
        }
      ]
    },
    "method": {
      "coding": [
        {
          "system": "http://snomed.info/sct",
          "code": "421521009",
          "display": "Swallow - dosing instruction imperative (qualifier value)"
        }
      ]
    },
    "doseAndRate": [
      {
        "type": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type",
              "code": "ordered",
              "display": "Ordered"
            }
          ]
        },
        "doseQuantity": {
          "value": 1,
          "unit": "TAB",
          "system": "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm",
          "code": "TAB"
        }
      }
    ]
  }
],
"dispenseRequest": {
  "validityPeriod": {
    "start": "2015-01-15",
    "end": "2016-01-15"
  },
  "numberOfRepeatsAllowed": 1,
  "quantity": {
    "value": 30,
    "unit": "TAB",
    "system": "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm",
    "code": "TAB"
  },
  "expectedSupplyDuration": {
    "value": 30,
    "unit": "days",
    "system": "http://unitsofmeasure.org",
    "code": "d"
  }
},
"substitution": {
  "allowedBoolean": true,
  "reason": {
    "coding": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
        "code": "CT",
        "display": "continuing therapy"
      }
    ]
  }
},
"meta": {
  "tag": [
    {
      "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
      "code": "HTEST",
      "display": "test health data"
    }
  ]
}

}