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

5.12.6 Resource Order - Examples

Example Index:

General exampleXMLJSON
Real-world patient exampleXMLJSON

5.12.6.1 Order

XML

General example (id = "example")

Raw XML

<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 &quot;do this today&quot;   -->
  <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"
    }
  ]
}

comments powered by Disqus