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.10.4 Resource Alert - Examples

Example Index:

Example of alertXMLJSON

5.10.4.1 General

XML

Example of alert (id = "example")

Raw XML

<Alert xmlns="http://hl7.org/fhir">
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">Large Dog warning</div>
  </text>
  <category>
    <coding>
      <system value="local"/>
      <code value="admin"/>
      <display value="Admin"/>
    </coding>
    <text value="admin"/>
    
  </category>
  <status value="active"/>
  <subject>
    <reference value="Patient/example"/>
    <display value="Peter Patient"/>
  </subject>
  
  <author>
    <reference value="Practitioner/example"/>
    <display value="Nancy Nurse"/>
  </author>
  
  <note value="patient has a big dog at his home. Always always wear a suit of armor or take other active
   counter-measures"/>
</Alert>

JSON

Example of alert

{
  "resourceType": "Alert",
  "text": {
    "status": "generated",
    "div": "<div>Large Dog warning</div>"
  },
  "category": {
    "coding": [
      {
        "system": "local",
        "code": "admin",
        "display": "Admin"
      }
    ],
    "text": "admin"
  },
  "status": "active",
  "subject": {
    "reference": "Patient/example",
    "display": "Peter Patient"
  },
  "author": {
    "reference": "Practitioner/example",
    "display": "Nancy Nurse"
  },
  "note": "patient has a big dog at his home. Always always wear a suit of armor or take other active counter-measures"
}

comments powered by Disqus