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

Resource Roadmap - Examples 5.5.3

Example Index:

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

General 5.5.3.1

General Device Example

General Device Example (id = "example")

Raw XML

<Device xmlns="http://hl7.org/fhir">
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>example</p>
    </div>
  </text>
  <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"/>
  <identity>
    <gtin value="04012313012313"/>
    <lot value="43453424"/>
    <serialNumber value="AMID-342135-8464"/>
    <!--   no expiry for a ECG machine   -->
  </identity>
  <assignedId>
    <system value="http://goodcare.org/devices/id"/>
    <key value="345675"/>
  </assignedId>
  <contact>
    <system value="phone"/>
    <value value="ext 4352"/>
  </contact>
</Device>

JSON Equivalent

General Device Example

{
  "Device":{
    "text":{
      "status":{
        "value":"generated"
      },
      "div":"<div>\n      <p>example<\/p>\n    <\/div>"
    },
    "type":{
      "coding":[
        {
          "system":{
            "value":"http://snomed.info/sct"
          },
          "code":{
            "value":"86184003"
          },
          "display":{
            "value":"Electrocardiographic monitor and recorder"
          }
        }
      ],
      "text":{
        "value":"ECG"
      }
    },
    "manufacturer":{
      "value":"Acme Devices, Inc"
    },
    "model":{
      "value":"AB 45-J"
    },
    "identity":{
      "gtin":{
        "value":"04012313012313"
      },
      "lot":{
        "value":"43453424"
      },
      "serialNumber":{
        "value":"AMID-342135-8464"
      }
    },
    "assignedId":[
      {
        "system":{
          "value":"http://goodcare.org/devices/id"
        },
        "key":{
          "value":"345675"
        }
      }
    ],
    "contact":[
      {
        "system":{
          "value":"phone"
        },
        "value":{
          "value":"ext 4352"
        }
      }
    ]
  }
}