2nd DSTU Draft For Comment

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 . Page versions: R5 R4B R4 R3 R2

5.8.6 Resource Device - Examples

Example Index:

General Device ExampleXMLJSON
Example for IHE-PCD exampleXMLJSON
Example of deviceXMLJSON

5.8.6.1 General

XML

General Device Example (id = "example")

Raw XML

<Device 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>
  <identifier>
    <system value="http://goodcare.org/devices/id"/>
    <value value="345675"/>
  </identifier>
  <identifier>
    <label value="Serial Number"/>
    <value value="AMID-342135-8464"/>
  </identifier>
  <type>
    <coding>
      <system value="http://snomed.info/sct"/>
      <code value="86184003"/>
      <display value="Electrocardiographic monitor and recorder"/>
    </coding>
    <text value="ECG"/>
  </type>
  <manufacturer value="Acme Devices, Inc"/>
  <model value="AB 45-J"/>
  <lotNumber value="43453424"/>
  <contact>
    <system value="phone"/>
    <value value="ext 4352"/>
  </contact>
</Device>

JSON

General Device Example

Raw JSON (Canonical)

{
  "resourceType": "Device",
  "id": "example",
  "text": {
    "status": "generated",
    "div": "<div>!-- Snipped for Brevity --></div>"
  },
  "identifier": [
    {
      "system": "http://goodcare.org/devices/id",
      "value": "345675"
    },
    {
      "label": "Serial Number",
      "value": "AMID-342135-8464"
    }
  ],
  "type": {
    "coding": [
      {
        "system": "http://snomed.info/sct",
        "code": "86184003",
        "display": "Electrocardiographic monitor and recorder"
      }
    ],
    "text": "ECG"
  },
  "manufacturer": "Acme Devices, Inc",
  "model": "AB 45-J",
  "lotNumber": "43453424",
  "contact": [
    {
      "system": "phone",
      "value": "ext 4352"
    }
  ]
}

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.