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.20.3

Example Index:

Example of devicecapabilitiesXMLJSON

General 4.20.3.1

Example of devicecapabilities

Example of devicecapabilities (id = "example")

Raw XML

<DeviceCapabilities xmlns="http://hl7.org/fhir">
<!--  
 This resource is derived from the same example used for DeviceObservation
 It describes a relatively simple device that has the following properties:
 * one compartment (VMD)
 * one channel
 * nine metrics
 * no facets
 The device does not know its own identity (this resource is hard coded at design time
  -->

  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>example</p>
    </div>
  </text>
  <name value="Patient Monitor"/>
  <type>
    <!--   todo: code this   -->
    <text value="Vital Signs Monitor"/>
  </type>
  <manufacturer value="Acme Devices, Inc"/>
  <virtualDevice>
    <channel>
    
      <metric>
        <code>
          <coding>
            <system value="urn:std:iso:11073:10101"/> <!--   mdc   -->
            <code value="147842"/>
            <display value="MDC_ECG_HEART_RATE"/>
          </coding>
        </code>
        <key value="M1"/>
        <info>
          <type value="Quantity"/>
          <units value="/min"/>
          <ucum value="/min"/>
        </info>
      </metric>
   
      <metric>
        <code>
          <coding>
            <system value="urn:std:iso:11073:10101"/> <!--   mdc   -->
            <code value="148065"/>
            <display value="MDC_ECG_V_P_C_CNT"/>
          </coding>
        </code>
        <key value="M2"/>
        <info>
          <type value="Quantity"/>
          <units value="/min"/>
          <ucum value="/min"/>
        </info>
      </metric>

      <metric>
        <code>
          <coding>
            <system value="urn:std:iso:11073:10101"/> <!--   mdc   -->
            <code value="147842"/>
            <display value="MDC_ECG_HEART_RATE"/>
          </coding>
        </code>
        <key value="M3"/>
        <info>
          <type value="Quantity"/>
          <units value="/min"/>
          <ucum value="/min"/>
        </info>
      </metric>

      <metric>
        <code>
          <coding>
            <system value="urn:std:iso:11073:10101"/> <!--   mdc   -->
            <code value="150033"/>
            <display value="MDC_PRESS_BLD_ART_SYS"/>
          </coding>
        </code>
        <key value="M4"/>
        <info>
          <type value="Quantity"/>
          <units value="mmHg"/>
          <ucum value="mm[Hg]"/>
        </info>
      </metric>

      <metric>
        <code>
          <coding>
            <system value="urn:std:iso:11073:10101"/> <!--   mdc   -->
            <code value="150034"/>
            <display value="MDC_PRESS_BLD_ART_DIA"/>
          </coding>
        </code>
        <key value="M5"/>
        <info>
          <type value="Quantity"/>
          <units value="mmHg"/>
          <ucum value="mm[Hg]"/>
        </info>
      </metric>

      <metric>
        <code>
          <coding>
            <system value="urn:std:iso:11073:10101"/> <!--   mdc   -->
            <code value="149522"/>
            <display value="MDC_BLD_PULS_RATE_INV"/>
          </coding>
        </code>
        <key value="M6"/>
        <info>
          <type value="Quantity"/>
          <units value="/min"/>
          <ucum value="/min"/>
        </info>
      </metric>

      <metric>
        <code>
          <coding>
            <system value="urn:std:iso:11073:10101"/> <!--   mdc   -->
            <code value="150047"/>
            <display value="MDC_PRESS_BLD_ART_PULM_MEAN"/>
          </coding>
        </code>
        <key value="M7"/>
        <info>
          <type value="Quantity"/>
          <units value="mmHg"/>
          <ucum value="mm[Hg]"/>
        </info>
      </metric>

      <metric>
        <code>
          <coding>
            <system value="urn:std:iso:11073:10101"/> <!--   mdc   -->
            <code value="150045"/>
            <display value="MDC_PRESS_BLD_ART_PULM_SYS"/>
          </coding>
        </code>
        <key value="M8"/>
        <info>
          <type value="Quantity"/>
          <units value="mmHg"/>
          <ucum value="mm[Hg]"/>
        </info>
      </metric>

      <metric>
        <code>
          <coding>
            <system value="urn:std:iso:11073:10101"/> <!--   mdc   -->
            <code value="150046"/>
            <display value="MDC_PRESS_BLD_ART_PULM_DIA"/>
          </coding>
        </code>
        <key value="M9"/>
        <info>
          <type value="Quantity"/>
          <units value="mmHg"/>
          <ucum value="mm[Hg]"/>
        </info>
      </metric>

   
    </channel>
  </virtualDevice>
</DeviceCapabilities>

JSON Equivalent

Example of devicecapabilities

{
  "DeviceCapabilities":{
    "text":{
      "status":{
        "value":"generated"
      },
      "div":"<div>\n      <p>example<\/p>\n    <\/div>"
    },
    "name":{
      "value":"Patient Monitor"
    },
    "type":{
      "text":{
        "value":"Vital Signs Monitor"
      }
    },
    "manufacturer":{
      "value":"Acme Devices, Inc"
    },
    "virtualDevice":[
      {
        "channel":[
          {
            "metric":[
              {
                "code":{
                  "coding":[
                    {
                      "system":{
                        "value":"urn:std:iso:11073:10101"
                      },
                      "code":{
                        "value":"147842"
                      },
                      "display":{
                        "value":"MDC_ECG_HEART_RATE"
                      }
                    }
                  ]
                },
                "key":{
                  "value":"M1"
                },
                "info":{
                  "type":{
                    "value":"Quantity"
                  },
                  "units":{
                    "value":"/min"
                  },
                  "ucum":{
                    "value":"/min"
                  }
                }
              },
              {
                "code":{
                  "coding":[
                    {
                      "system":{
                        "value":"urn:std:iso:11073:10101"
                      },
                      "code":{
                        "value":"148065"
                      },
                      "display":{
                        "value":"MDC_ECG_V_P_C_CNT"
                      }
                    }
                  ]
                },
                "key":{
                  "value":"M2"
                },
                "info":{
                  "type":{
                    "value":"Quantity"
                  },
                  "units":{
                    "value":"/min"
                  },
                  "ucum":{
                    "value":"/min"
                  }
                }
              },
              {
                "code":{
                  "coding":[
                    {
                      "system":{
                        "value":"urn:std:iso:11073:10101"
                      },
                      "code":{
                        "value":"147842"
                      },
                      "display":{
                        "value":"MDC_ECG_HEART_RATE"
                      }
                    }
                  ]
                },
                "key":{
                  "value":"M3"
                },
                "info":{
                  "type":{
                    "value":"Quantity"
                  },
                  "units":{
                    "value":"/min"
                  },
                  "ucum":{
                    "value":"/min"
                  }
                }
              },
              {
                "code":{
                  "coding":[
                    {
                      "system":{
                        "value":"urn:std:iso:11073:10101"
                      },
                      "code":{
                        "value":"150033"
                      },
                      "display":{
                        "value":"MDC_PRESS_BLD_ART_SYS"
                      }
                    }
                  ]
                },
                "key":{
                  "value":"M4"
                },
                "info":{
                  "type":{
                    "value":"Quantity"
                  },
                  "units":{
                    "value":"mmHg"
                  },
                  "ucum":{
                    "value":"mm[Hg]"
                  }
                }
              },
              {
                "code":{
                  "coding":[
                    {
                      "system":{
                        "value":"urn:std:iso:11073:10101"
                      },
                      "code":{
                        "value":"150034"
                      },
                      "display":{
                        "value":"MDC_PRESS_BLD_ART_DIA"
                      }
                    }
                  ]
                },
                "key":{
                  "value":"M5"
                },
                "info":{
                  "type":{
                    "value":"Quantity"
                  },
                  "units":{
                    "value":"mmHg"
                  },
                  "ucum":{
                    "value":"mm[Hg]"
                  }
                }
              },
              {
                "code":{
                  "coding":[
                    {
                      "system":{
                        "value":"urn:std:iso:11073:10101"
                      },
                      "code":{
                        "value":"149522"
                      },
                      "display":{
                        "value":"MDC_BLD_PULS_RATE_INV"
                      }
                    }
                  ]
                },
                "key":{
                  "value":"M6"
                },
                "info":{
                  "type":{
                    "value":"Quantity"
                  },
                  "units":{
                    "value":"/min"
                  },
                  "ucum":{
                    "value":"/min"
                  }
                }
              },
              {
                "code":{
                  "coding":[
                    {
                      "system":{
                        "value":"urn:std:iso:11073:10101"
                      },
                      "code":{
                        "value":"150047"
                      },
                      "display":{
                        "value":"MDC_PRESS_BLD_ART_PULM_MEAN"
                      }
                    }
                  ]
                },
                "key":{
                  "value":"M7"
                },
                "info":{
                  "type":{
                    "value":"Quantity"
                  },
                  "units":{
                    "value":"mmHg"
                  },
                  "ucum":{
                    "value":"mm[Hg]"
                  }
                }
              },
              {
                "code":{
                  "coding":[
                    {
                      "system":{
                        "value":"urn:std:iso:11073:10101"
                      },
                      "code":{
                        "value":"150045"
                      },
                      "display":{
                        "value":"MDC_PRESS_BLD_ART_PULM_SYS"
                      }
                    }
                  ]
                },
                "key":{
                  "value":"M8"
                },
                "info":{
                  "type":{
                    "value":"Quantity"
                  },
                  "units":{
                    "value":"mmHg"
                  },
                  "ucum":{
                    "value":"mm[Hg]"
                  }
                }
              },
              {
                "code":{
                  "coding":[
                    {
                      "system":{
                        "value":"urn:std:iso:11073:10101"
                      },
                      "code":{
                        "value":"150046"
                      },
                      "display":{
                        "value":"MDC_PRESS_BLD_ART_PULM_DIA"
                      }
                    }
                  ]
                },
                "key":{
                  "value":"M9"
                },
                "info":{
                  "type":{
                    "value":"Quantity"
                  },
                  "units":{
                    "value":"mmHg"
                  },
                  "ucum":{
                    "value":"mm[Hg]"
                  }
                }
              }
            ]
          }
        ]
      }
    ]
  }
}