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 
Fully populated example of a MedicationPrescription
{
"resourceType": "MedicationPrescription",
"id": "medrx001",
"text": {
"status": "generated",
"div": "<div>!-- Snipped for Brevity --></div>"
},
"identifier": [
{
"use": "official",
"system": "http://www.bmc.nl/portal/prescriptions",
"value": "12345"
}
],
"dateWritten": "2015-01-15",
"status": "active",
"patient": {
"reference": "Patient/f001",
"display": "Eve Everywoman"
},
"prescriber": {
"reference": "Practitioner/f007",
"display": "Patrick Pump"
},
"encounter": {
"reference": "Encounter/f002",
"display": "encounter who leads to this priscription"
},
"reasonCodeableConcept": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "65363002",
"display": "Otitis Media"
}
]
},
"medication": {
"reference": "Medication/MedicationExample2",
"display": "prescribed medication"
},
"dosageInstruction": [
{
"text": "Take 5ml three times daily",
"additionalInstructions": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "311504000",
"display": "With or after food"
}
]
},
"scheduledTiming": {
"repeat": {
"frequency": 3,
"period": 1,
"periodUnits": "d"
}
},
"site": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "181220002",
"display": "Entire oral cavity"
}
]
},
"route": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "26643006",
"display": "Oral Route"
}
]
},
"doseQuantity": {
"value": 5,
"units": "mL",
"system": "http://unitsofmeasure.org",
"code": "mL"
}
}
],
"dispense": {
"medication": {
"reference": "Medication/MedicationExample3"
},
"validityPeriod": {
"start": "2015-01-15",
"end": "2016-01-15"
},
"numberOfRepeatsAllowed": 2,
"quantity": {
"value": 100,
"units": "mL",
"system": "http://unitsofmeasure.org",
"code": "mL"
},
"expectedSupplyDuration": {
"value": 10,
"units": "days",
"system": "http://unitsofmeasure.org",
"code": "d"
}
},
"substitution": {
"type": {
"coding": [
{
"system": "http://hl7.org/fhir",
"code": "G",
"display": "Generic Composition"
}
]
},
"reason": {
"coding": [
{
"system": "http://hl7.org/fhir",
"code": "FP",
"display": "formulary policy"
}
]
}
}
}
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.