This page is part of the FHIR Specification (v0.4.0: DSTU 2 Draft). 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"> <id value="example"/> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"><!-- Snipped for brevity --></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", "id": "example", "text": { "status": "generated", "div": "<div>!-- Snipped for Brevity --></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" } ] }
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.