This page is part of the FHIR Specification (v0.5.0: DSTU 2 Ballot 2). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions 
Example of a prn medication
{
"resourceType": "MedicationDispense",
"id": "meddisp006",
"text": {
"status": "generated",
"div": "<div>!-- Snipped for Brevity --></div>"
},
"status": "in-progress",
"patient": {
"reference": "Patient/example"
},
"dispenser": {
"reference": "Practitioner/example"
},
"authorizingPrescription": [
{
"reference": "MedicationPrescription/medicationprescriptionexample4"
}
],
"type": {
"coding": [
{
"system": "http:hl7.org/fhir",
"code": "FFP",
"display": "First Fill - Part Fill"
}
]
},
"quantity": {
"value": 15,
"units": "mL",
"system": "http://unitsofmeasure.org",
"code": "mL"
},
"daysSupply": {
"value": 30,
"units": "Day",
"system": "http://unitsofmeasure.org",
"code": "D"
},
"medication": {
"reference": "Medication/MedicationExample12",
"display": "prescribed medication"
},
"whenPrepared": "2015-03-01T10:48:00Z",
"whenHandedOver": "2015-03-01T10:59:00Z",
"dosageInstruction": [
{
"scheduleTiming": {
"event": [
"2015-03-01"
],
"repeat": {
"duration": 3,
"durationUnits": "d",
"frequency": 2,
"period": 1,
"periodUnits": "d"
}
},
"asNeededBoolean": true,
"route": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "422237004",
"display": "Inhalation"
}
]
},
"doseQuantity": {
"value": 2,
"system": "http://snomed.info/sct",
"code": "415215001"
}
}
]
}
Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.