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:
| General example | XML | JSON |
| Real-world patient example | XML | JSON |
XML
General example (id = "example")
<Order xmlns="http://hl7.org/fhir"> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml">Request for Prescription (on patient Donald DUCK @ Acme Healthcare, Inc. MR = 654321)</div> </text> <date value="2012-12-28T09:03:04+11:00"/> <subject> <reference value="Patient/pat2"/> </subject> <source> <reference value="Practitioner/example"/> </source> <reasonCodeableConcept> <text value="Standard admission testing"/> </reasonCodeableConcept> <!-- Institution local code meaning "do this today" --> <when> <code> <coding> <system value="http://acme.com/codes/request-priority"/> <code value="today"/> </coding> </code> </when> <detail> <reference value="MedicationPrescription/example"/> </detail> </Order>
JSON
General example
{
"resourceType": "Order",
"text": {
"status": "generated",
"div": "<div>Request for Prescription (on patient Donald DUCK @ Acme Healthcare, Inc. MR = 654321)</div>"
},
"date": "2012-12-28T09:03:04+11:00",
"subject": {
"reference": "Patient/pat2"
},
"source": {
"reference": "Practitioner/example"
},
"reasonCodeableConcept": {
"text": "Standard admission testing"
},
"when": {
"code": {
"coding": [
{
"system": "http://acme.com/codes/request-priority",
"code": "today"
}
]
}
},
"detail": [
{
"reference": "MedicationPrescription/example"
}
]
}