This page is part of the FHIR Specification (v0.11: DSTU 1 Ballot 3). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Resource Roadmap - Examples 4.17.4

Example Index:

Example of diagnosticorderXMLJSON

General 4.17.4.1

Example of diagnosticorder

Example of diagnosticorder (id = "example")

Raw XML

<DiagnosticOrder xmlns="http://hl7.org/fhir">
  <text>
        <status value="generated"/>
        <div xmlns="http://www.w3.org/1999/xhtml"> 
        Example Diagnostic Order
        </div>
  </text>
  <subject>
   <type value="Patient"/>
    <reference value="patient/@1"/>
  </subject>
  <orderer>
    <type value="Practitioner"/>
    <reference value="practitioner/@example"/>
  </orderer>
  <identifier>
    <label value="Placer"/>
    <system value="urn:oid:1.3.4.5.6.7"/>
    <key value="2345234234234"/>
  </identifier>
  <status value="received"/>
  <event>
    <status value="requested"/>
    <date value="2013-05-02T16:16:00"/>
  </event>
  <item>
    <code>
      <coding>
        <system value="http://acme.org/tests"/>
        <code value="LIPID"/>
      </coding>
      <text value="Lipid Panel"/>
    </code>
  </item>
</DiagnosticOrder>

JSON Equivalent

Example of diagnosticorder

{
  "DiagnosticOrder":{
    "text":{
      "status":{
        "value":"generated"
      },
      "div":"<div> \n        Example Diagnostic Order\n        <\/div>"
    },
    "subject":{
      "type":{
        "value":"Patient"
      },
      "reference":{
        "value":"patient/@1"
      }
    },
    "orderer":{
      "type":{
        "value":"Practitioner"
      },
      "reference":{
        "value":"practitioner/@example"
      }
    },
    "identifier":[
      {
        "label":{
          "value":"Placer"
        },
        "system":{
          "value":"urn:oid:1.3.4.5.6.7"
        },
        "key":{
          "value":"2345234234234"
        }
      }
    ],
    "status":{
      "value":"received"
    },
    "event":[
      {
        "status":{
          "value":"requested"
        },
        "date":{
          "value":"2013-05-02T16:16:00"
        }
      }
    ],
    "item":[
      {
        "code":{
          "coding":[
            {
              "system":{
                "value":"http://acme.org/tests"
              },
              "code":{
                "value":"LIPID"
              }
            }
          ],
          "text":{
            "value":"Lipid Panel"
          }
        }
      }
    ]
  }
}