<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="DeviceMetric" />
  <meta>
    <lastUpdated value="2021-01-02T08:58:31.578+11:00" />
  </meta>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-category">
    <valueString value="Base.Entities" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="trial-use" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="1" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category">
    <valueCode value="anonymous" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="dev" />
  </extension>
  <extension url="http://hl7.org/fhir/build/StructureDefinition/entered-in-error-status">
    <valueCode value=".operationalStatus = entered-in-error" />
  </extension>
  <url value="http://hl7.org/fhir/StructureDefinition/DeviceMetric" />
  <version value="4.6.0" />
  <name value="DeviceMetric" />
  <status value="draft" />
  <date value="2021-01-02T08:58:31+11:00" />
  <publisher value="Health Level Seven International (Health Care Devices)" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://hl7.org/fhir" />
    </telecom>
  </contact>
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://www.hl7.org/Special/committees/healthcaredevices/index.cfm" />
    </telecom>
  </contact>
  <description value="Describes a measurement, calculation or setting capability of a medical device." />
  <fhirVersion value="4.6.0" />
  <mapping>
    <identity value="w5" />
    <uri value="http://hl7.org/fhir/fivews" />
    <name value="FiveWs Pattern Mapping" />
  </mapping>
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="DeviceMetric" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
  <derivation value="specialization" />
  <differential>
    <element id="DeviceMetric">
      <path value="DeviceMetric" />
      <short value="Measurement, calculation or setting capability of a medical device" />
      <definition value="Describes a measurement, calculation or setting capability of a medical device." />
      <comment value="For the initial scope, this DeviceMetric resource is only applicable to describe a single metric node in the containment tree that is produced by the context scanner in any medical device that implements or derives from the ISO/IEEE 11073 standard." />
      <min value="0" />
      <max value="*" />
      <mapping>
        <identity value="w5" />
        <map value="administrative.device" />
      </mapping>
    </element>
    <element id="DeviceMetric.identifier">
      <path value="DeviceMetric.identifier" />
      <short value="Instance identifier" />
      <definition value="Unique instance identifiers assigned to a device by the device or gateway software, manufacturers, other organizations or owners. For example: handle ID." />
      <comment value="For identifiers assigned to a device by the device or gateway software, the `system` element of the identifier should be set to the unique identifier of the device." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Identifier" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.identifier" />
      </mapping>
    </element>
    <element id="DeviceMetric.type">
      <path value="DeviceMetric.type" />
      <short value="Identity of metric, for example Heart Rate or PEEP Setting" />
      <definition value="Describes the type of the metric. For example: Heart Rate, PEEP Setting, etc." />
      <comment value="DeviceMetric.type can be referred to either IEEE 11073-10101 or LOINC." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="MetricType" />
        </extension>
        <extension url="http://hl7.org/fhir/build/StructureDefinition/definition">
          <valueString value="Describes the metric type." />
        </extension>
        <strength value="preferred" />
        <description value="IEEE 11073-10101" />
        <valueSet value="http://hl7.org/fhir/ValueSet/devicemetric-type" />
      </binding>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.class" />
      </mapping>
    </element>
    <element id="DeviceMetric.unit">
      <path value="DeviceMetric.unit" />
      <short value="Unit of Measure for the Metric" />
      <definition value="Describes the unit that an observed value determined for this metric will have. For example: Percent, Seconds, etc." />
      <comment value="DeviceMetric.unit can refer to either UCUM or preferable a RTMMS coding system." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="MetricUnit" />
        </extension>
        <extension url="http://hl7.org/fhir/build/StructureDefinition/definition">
          <valueString value="Describes the unit of the metric." />
        </extension>
        <strength value="preferred" />
        <description value="IEEE 11073-10101" />
        <valueSet value="http://hl7.org/fhir/ValueSet/devicemetric-type" />
      </binding>
    </element>
    <element id="DeviceMetric.source">
      <path value="DeviceMetric.source" />
      <short value="Describes the link to the source Device" />
      <definition value="Describes the link to the  Device that this DeviceMetric belongs to and that contains administrative device information such as manufacturer, serial number, etc." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device" />
      </type>
      <isSummary value="true" />
    </element>
    <element id="DeviceMetric.parent">
      <path value="DeviceMetric.parent" />
      <short value="Describes the link to the parent Device" />
      <definition value="Describes the link to the  Device that this DeviceMetric belongs to and that provide information about the location of this DeviceMetric in the containment structure of the parent Device. An example would be a Device that represents a Channel. This reference can be used by a client application to distinguish DeviceMetrics that have the same type, but should be interpreted based on their containment location." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device" />
      </type>
      <isSummary value="true" />
    </element>
    <element id="DeviceMetric.operationalStatus">
      <path value="DeviceMetric.operationalStatus" />
      <short value="on | off | standby | entered-in-error" />
      <definition value="Indicates current operational state of the device. For example: On, Off, Standby, etc." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="DeviceMetricOperationalStatus" />
        </extension>
        <strength value="required" />
        <description value="Describes the operational status of the DeviceMetric." />
        <valueSet value="http://hl7.org/fhir/ValueSet/metric-operational-status" />
      </binding>
    </element>
    <element id="DeviceMetric.color">
      <path value="DeviceMetric.color" />
      <short value="black | red | green | yellow | blue | magenta | cyan | white" />
      <definition value="Describes the color representation for the metric. This is often used to aid clinicians to track and identify parameter types by color. In practice, consider a Patient Monitor that has ECG/HR and Pleth for example; the parameters are displayed in different characteristic colors, such as HR-blue, BP-green, and PR and SpO2- magenta." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="DeviceMetricColor" />
        </extension>
        <strength value="required" />
        <description value="Describes the typical color of representation." />
        <valueSet value="http://hl7.org/fhir/ValueSet/metric-color" />
      </binding>
    </element>
    <element id="DeviceMetric.category">
      <path value="DeviceMetric.category" />
      <short value="measurement | setting | calculation | unspecified" />
      <definition value="Indicates the category of the observation generation process. A DeviceMetric can be for example a setting, measurement, or calculation." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="DeviceMetricCategory" />
        </extension>
        <strength value="required" />
        <description value="Describes the category of the metric." />
        <valueSet value="http://hl7.org/fhir/ValueSet/metric-category" />
      </binding>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.class" />
      </mapping>
    </element>
    <element id="DeviceMetric.measurementPeriod">
      <path value="DeviceMetric.measurementPeriod" />
      <short value="Describes the measurement repetition time" />
      <definition value="Describes the measurement repetition time. This is not necessarily the same as the update period. The measurement repetition time can range from milliseconds up to hours. An example for a measurement repetition time in the range of milliseconds is the sampling rate of an ECG. An example for a measurement repetition time in the range of hours is a NIBP that is triggered automatically every hour. The update period may be different than the measurement repetition time, if the device does not update the published observed value with the same frequency as it was measured." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Timing" />
      </type>
      <isSummary value="true" />
    </element>
    <element id="DeviceMetric.calibration">
      <extension url="http://hl7.org/fhir/build/StructureDefinition/uml-dir">
        <valueCode value="right" />
      </extension>
      <path value="DeviceMetric.calibration" />
      <short value="Describes the calibrations that have been performed or that are required to be performed" />
      <definition value="Describes the calibrations that have been performed or that are required to be performed." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="BackboneElement" />
      </type>
      <isSummary value="true" />
    </element>
    <element id="DeviceMetric.calibration.type">
      <path value="DeviceMetric.calibration.type" />
      <short value="unspecified | offset | gain | two-point" />
      <definition value="Describes the type of the calibration method." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="DeviceMetricCalibrationType" />
        </extension>
        <strength value="required" />
        <description value="Describes the type of a metric calibration." />
        <valueSet value="http://hl7.org/fhir/ValueSet/metric-calibration-type" />
      </binding>
    </element>
    <element id="DeviceMetric.calibration.state">
      <path value="DeviceMetric.calibration.state" />
      <short value="not-calibrated | calibration-required | calibrated | unspecified" />
      <definition value="Describes the state of the calibration." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="DeviceMetricCalibrationState" />
        </extension>
        <strength value="required" />
        <description value="Describes the state of a metric calibration." />
        <valueSet value="http://hl7.org/fhir/ValueSet/metric-calibration-state" />
      </binding>
    </element>
    <element id="DeviceMetric.calibration.time">
      <path value="DeviceMetric.calibration.time" />
      <short value="Describes the time last calibration has been performed" />
      <definition value="Describes the time last calibration has been performed." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="instant" />
      </type>
      <isSummary value="true" />
    </element>
  </differential>
</StructureDefinition>