This page is part of the FHIR Specification (v0.0.82: DSTU 1). 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 Index:
XML
General Person Example (id = "example")
<MedicationPrescription xmlns="http://hl7.org/fhir"> <!-- insert contents here --> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"> <p>Penicillin VK 5ml suspension to be administered by oral route</p> <p>ONE 5ml spoonful to be taken THREE times a day</p> <p>100ml bottle</p> <p>to patient ref: a23</p> <p>by doctor X</p> </div> </text> <status value="active"/> <patient> <reference value="Patient/example"/> </patient> <prescriber> <reference value="Practitioner/example"/> </prescriber> <medication> <reference value="Medication/example"/> </medication> <dosageInstruction> <timingSchedule> <repeat> <frequency value="3"/> <duration value="1"/> <units value="d"/> </repeat> </timingSchedule> <route> <coding> <system value="http://snomed.info/sct"/> <code value="394899003"/> <display value="oral administration of treatment"/> </coding> </route> <doseQuantity> <value value="5"/> <units value="ml"/> <system value="http://unitsofmeasure.org"/> <code value="ml"/> </doseQuantity> </dosageInstruction> <dispense> <quantity> <value value="100"/> <units value="ml"/> <system value="http://unitsofmeasure.org"/> <code value="ml"/> </quantity> </dispense> </MedicationPrescription>
JSON
General Person Example
{
"resourceType": "MedicationPrescription",
"text": {
"status": "generated",
"div": "<div>\n <p>Penicillin VK 5ml suspension to be administered by oral route</p>\n <p>ONE 5ml spoonful to be taken THREE times a day</p>\n <p>100ml bottle</p>\n <p>to patient ref: a23</p>\n <p>by doctor X</p>\n </div>"
},
"status": "active",
"patient": {
"reference": "Patient/example"
},
"prescriber": {
"reference": "Practitioner/example"
},
"medication": {
"reference": "Medication/example"
},
"dosageInstruction": [
{
"timingSchedule": {
"repeat": {
"frequency": 3,
"duration": 1,
"units": "d"
}
},
"route": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "394899003",
"display": "oral administration of treatment"
}
]
},
"doseQuantity": {
"value": 5,
"units": "ml",
"system": "http://unitsofmeasure.org",
"code": "ml"
}
}
],
"dispense": {
"quantity": {
"value": 100,
"units": "ml",
"system": "http://unitsofmeasure.org",
"code": "ml"
}
}
}