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:
Example of alert | XML | JSON |
XML
Example of alert (id = "example")
<Alert 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> <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> <coding> <system value="local"/> <code value="bigdog"/> <display value="Big dog"/> </coding> <text value="Patient has a big dog at his home. Always always wear a suit of armor or take other active counter-measures"/> </note> </Alert>
JSON
Example of alert
{ "resourceType": "Alert", "id": "example", "text": { "status": "generated", "div": "<div>!-- Snipped for Brevity --></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": { "coding": [ { "system": "local", "code": "bigdog", "display": "Big dog" } ], "text": "Patient has a big dog at his home. Always always wear a suit of armor or take other active counter-measures" } }
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.