This page is part of the FHIR Specification v4.3.0-snapshot1: R4B Snapshot to support the Jan 2022 Connectathon. About the R4B version of FHIR. The current officially released version is 4.3.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2
Health Care Devices Work Group | Maturity Level: 1 | Trial Use | Security Category: Anonymous | Compartments: Not linked to any defined compartments |
Describes a measurement, calculation or setting capability of a medical device.
The DeviceMetric resource describes mandatory static properties that characterize a direct or derived, quantitative or qualitative biosignal measurement, setting, or calculation produced by a medical device. The DeviceMetric resource can also be used to describe the non-static but highly relevant properties to the metric such as metric status, metric last calibration time and type, measurement mode, color, reference link to the parent DeviceComponent to where it belongs, and any capabilities that the metric offers (for example: setting the metric label).
Note:
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.
There are two related resources
This resource is referenced by EvidenceVariable, Media and Observation.
This resource does not implement any patterns.
Structure
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
DeviceMetric | TU | DomainResource | Measurement, calculation or setting capability of a medical device Elements defined in Ancestors: id, meta, implicitRules, language, text, contained, extension, modifierExtension | |
identifier | Σ | 0..* | Identifier | Instance identifier |
type | Σ | 1..1 | CodeableConcept | Identity of metric, for example Heart Rate or PEEP Setting Device Metric and Component Types (Preferred) |
unit | Σ | 0..1 | CodeableConcept | Unit of Measure for the Metric Device Metric and Component Types (Preferred) |
source | Σ | 0..1 | Reference(Device) | Describes the link to the source Device |
parent | Σ | 0..1 | Reference(Device) | Describes the link to the parent Device |
operationalStatus | Σ | 0..1 | code | on | off | standby | entered-in-error DeviceMetricOperationalStatus (Required) |
color | Σ | 0..1 | code | black | red | green | yellow | blue | magenta | cyan | white DeviceMetricColor (Required) |
category | Σ | 1..1 | code | measurement | setting | calculation | unspecified DeviceMetricCategory (Required) |
measurementPeriod | Σ | 0..1 | Timing | Describes the measurement repetition time |
calibration | Σ | 0..* | BackboneElement | Describes the calibrations that have been performed or that are required to be performed |
type | Σ | 0..1 | code | unspecified | offset | gain | two-point DeviceMetricCalibrationType (Required) |
state | Σ | 0..1 | code | not-calibrated | calibration-required | calibrated | unspecified DeviceMetricCalibrationState (Required) |
time | Σ | 0..1 | instant | Describes the time last calibration has been performed |
Documentation for this format |
UML Diagram (Legend)
XML Template
<DeviceMetric xmlns="http://hl7.org/fhir"> <!-- from Resource: id, meta, implicitRules, and language --> <!-- from DomainResource: text, contained, extension, and modifierExtension --> <identifier><!-- 0..* Identifier Instance identifier --></identifier> <type><!-- 1..1 CodeableConcept Identity of metric, for example Heart Rate or PEEP Setting --></type> <unit><!-- 0..1 CodeableConcept Unit of Measure for the Metric --></unit> <source><!-- 0..1 Reference(Device) Describes the link to the source Device --></source> <parent><!-- 0..1 Reference(Device) Describes the link to the parent Device --></parent> <operationalStatus value="[code]"/><!-- 0..1 on | off | standby | entered-in-error --> <color value="[code]"/><!-- 0..1 black | red | green | yellow | blue | magenta | cyan | white --> <category value="[code]"/><!-- 1..1 measurement | setting | calculation | unspecified --> <measurementPeriod><!-- 0..1 Timing Describes the measurement repetition time --></measurementPeriod> <calibration> <!-- 0..* Describes the calibrations that have been performed or that are required to be performed --> <type value="[code]"/><!-- 0..1 unspecified | offset | gain | two-point --> <state value="[code]"/><!-- 0..1 not-calibrated | calibration-required | calibrated | unspecified --> <time value="[instant]"/><!-- 0..1 Describes the time last calibration has been performed --> </calibration> </DeviceMetric>
JSON Template
{ "resourceType" : "DeviceMetric", // from Resource: id, meta, implicitRules, and language // from DomainResource: text, contained, extension, and modifierExtension "identifier" : [{ Identifier }], // Instance identifier "type" : { CodeableConcept }, // R! Identity of metric, for example Heart Rate or PEEP Setting "unit" : { CodeableConcept }, // Unit of Measure for the Metric "source" : { Reference(Device) }, // Describes the link to the source Device "parent" : { Reference(Device) }, // Describes the link to the parent Device "operationalStatus" : "<code>", // on | off | standby | entered-in-error "color" : "<code>", // black | red | green | yellow | blue | magenta | cyan | white "category" : "<code>", // R! measurement | setting | calculation | unspecified "measurementPeriod" : { Timing }, // Describes the measurement repetition time "calibration" : [{ // Describes the calibrations that have been performed or that are required to be performed "type" : "<code>", // unspecified | offset | gain | two-point "state" : "<code>", // not-calibrated | calibration-required | calibrated | unspecified "time" : "<instant>" // Describes the time last calibration has been performed }] }
Turtle Template
@prefix fhir: <http://hl7.org/fhir/> . [ a fhir:DeviceMetric; fhir:nodeRole fhir:treeRoot; # if this is the parser root # from Resource: .id, .meta, .implicitRules, and .language # from DomainResource: .text, .contained, .extension, and .modifierExtension fhir:DeviceMetric.identifier [ Identifier ], ... ; # 0..* Instance identifier fhir:DeviceMetric.type [ CodeableConcept ]; # 1..1 Identity of metric, for example Heart Rate or PEEP Setting fhir:DeviceMetric.unit [ CodeableConcept ]; # 0..1 Unit of Measure for the Metric fhir:DeviceMetric.source [ Reference(Device) ]; # 0..1 Describes the link to the source Device fhir:DeviceMetric.parent [ Reference(Device) ]; # 0..1 Describes the link to the parent Device fhir:DeviceMetric.operationalStatus [ code ]; # 0..1 on | off | standby | entered-in-error fhir:DeviceMetric.color [ code ]; # 0..1 black | red | green | yellow | blue | magenta | cyan | white fhir:DeviceMetric.category [ code ]; # 1..1 measurement | setting | calculation | unspecified fhir:DeviceMetric.measurementPeriod [ Timing ]; # 0..1 Describes the measurement repetition time fhir:DeviceMetric.calibration [ # 0..* Describes the calibrations that have been performed or that are required to be performed fhir:DeviceMetric.calibration.type [ code ]; # 0..1 unspecified | offset | gain | two-point fhir:DeviceMetric.calibration.state [ code ]; # 0..1 not-calibrated | calibration-required | calibrated | unspecified fhir:DeviceMetric.calibration.time [ instant ]; # 0..1 Describes the time last calibration has been performed ], ...; ]
Changes since R3
DeviceMetric | |
DeviceMetric.operationalStatus |
|
DeviceMetric.color |
|
DeviceMetric.category |
|
DeviceMetric.calibration.type |
|
DeviceMetric.calibration.state |
|
See the Full Difference for further information
This analysis is available as XML or JSON.
See R3 <--> R4 Conversion Maps (status = 1 test that all execute ok. All tests pass round-trip testing and all r3 resources are valid.)
Structure
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
DeviceMetric | TU | DomainResource | Measurement, calculation or setting capability of a medical device Elements defined in Ancestors: id, meta, implicitRules, language, text, contained, extension, modifierExtension | |
identifier | Σ | 0..* | Identifier | Instance identifier |
type | Σ | 1..1 | CodeableConcept | Identity of metric, for example Heart Rate or PEEP Setting Device Metric and Component Types (Preferred) |
unit | Σ | 0..1 | CodeableConcept | Unit of Measure for the Metric Device Metric and Component Types (Preferred) |
source | Σ | 0..1 | Reference(Device) | Describes the link to the source Device |
parent | Σ | 0..1 | Reference(Device) | Describes the link to the parent Device |
operationalStatus | Σ | 0..1 | code | on | off | standby | entered-in-error DeviceMetricOperationalStatus (Required) |
color | Σ | 0..1 | code | black | red | green | yellow | blue | magenta | cyan | white DeviceMetricColor (Required) |
category | Σ | 1..1 | code | measurement | setting | calculation | unspecified DeviceMetricCategory (Required) |
measurementPeriod | Σ | 0..1 | Timing | Describes the measurement repetition time |
calibration | Σ | 0..* | BackboneElement | Describes the calibrations that have been performed or that are required to be performed |
type | Σ | 0..1 | code | unspecified | offset | gain | two-point DeviceMetricCalibrationType (Required) |
state | Σ | 0..1 | code | not-calibrated | calibration-required | calibrated | unspecified DeviceMetricCalibrationState (Required) |
time | Σ | 0..1 | instant | Describes the time last calibration has been performed |
Documentation for this format |
XML Template
<DeviceMetric xmlns="http://hl7.org/fhir"> <!-- from Resource: id, meta, implicitRules, and language --> <!-- from DomainResource: text, contained, extension, and modifierExtension --> <identifier><!-- 0..* Identifier Instance identifier --></identifier> <type><!-- 1..1 CodeableConcept Identity of metric, for example Heart Rate or PEEP Setting --></type> <unit><!-- 0..1 CodeableConcept Unit of Measure for the Metric --></unit> <source><!-- 0..1 Reference(Device) Describes the link to the source Device --></source> <parent><!-- 0..1 Reference(Device) Describes the link to the parent Device --></parent> <operationalStatus value="[code]"/><!-- 0..1 on | off | standby | entered-in-error --> <color value="[code]"/><!-- 0..1 black | red | green | yellow | blue | magenta | cyan | white --> <category value="[code]"/><!-- 1..1 measurement | setting | calculation | unspecified --> <measurementPeriod><!-- 0..1 Timing Describes the measurement repetition time --></measurementPeriod> <calibration> <!-- 0..* Describes the calibrations that have been performed or that are required to be performed --> <type value="[code]"/><!-- 0..1 unspecified | offset | gain | two-point --> <state value="[code]"/><!-- 0..1 not-calibrated | calibration-required | calibrated | unspecified --> <time value="[instant]"/><!-- 0..1 Describes the time last calibration has been performed --> </calibration> </DeviceMetric>
JSON Template
{ "resourceType" : "DeviceMetric", // from Resource: id, meta, implicitRules, and language // from DomainResource: text, contained, extension, and modifierExtension "identifier" : [{ Identifier }], // Instance identifier "type" : { CodeableConcept }, // R! Identity of metric, for example Heart Rate or PEEP Setting "unit" : { CodeableConcept }, // Unit of Measure for the Metric "source" : { Reference(Device) }, // Describes the link to the source Device "parent" : { Reference(Device) }, // Describes the link to the parent Device "operationalStatus" : "<code>", // on | off | standby | entered-in-error "color" : "<code>", // black | red | green | yellow | blue | magenta | cyan | white "category" : "<code>", // R! measurement | setting | calculation | unspecified "measurementPeriod" : { Timing }, // Describes the measurement repetition time "calibration" : [{ // Describes the calibrations that have been performed or that are required to be performed "type" : "<code>", // unspecified | offset | gain | two-point "state" : "<code>", // not-calibrated | calibration-required | calibrated | unspecified "time" : "<instant>" // Describes the time last calibration has been performed }] }
Turtle Template
@prefix fhir: <http://hl7.org/fhir/> . [ a fhir:DeviceMetric; fhir:nodeRole fhir:treeRoot; # if this is the parser root # from Resource: .id, .meta, .implicitRules, and .language # from DomainResource: .text, .contained, .extension, and .modifierExtension fhir:DeviceMetric.identifier [ Identifier ], ... ; # 0..* Instance identifier fhir:DeviceMetric.type [ CodeableConcept ]; # 1..1 Identity of metric, for example Heart Rate or PEEP Setting fhir:DeviceMetric.unit [ CodeableConcept ]; # 0..1 Unit of Measure for the Metric fhir:DeviceMetric.source [ Reference(Device) ]; # 0..1 Describes the link to the source Device fhir:DeviceMetric.parent [ Reference(Device) ]; # 0..1 Describes the link to the parent Device fhir:DeviceMetric.operationalStatus [ code ]; # 0..1 on | off | standby | entered-in-error fhir:DeviceMetric.color [ code ]; # 0..1 black | red | green | yellow | blue | magenta | cyan | white fhir:DeviceMetric.category [ code ]; # 1..1 measurement | setting | calculation | unspecified fhir:DeviceMetric.measurementPeriod [ Timing ]; # 0..1 Describes the measurement repetition time fhir:DeviceMetric.calibration [ # 0..* Describes the calibrations that have been performed or that are required to be performed fhir:DeviceMetric.calibration.type [ code ]; # 0..1 unspecified | offset | gain | two-point fhir:DeviceMetric.calibration.state [ code ]; # 0..1 not-calibrated | calibration-required | calibrated | unspecified fhir:DeviceMetric.calibration.time [ instant ]; # 0..1 Describes the time last calibration has been performed ], ...; ]
Changes since Release 3
DeviceMetric | |
DeviceMetric.operationalStatus |
|
DeviceMetric.color |
|
DeviceMetric.category |
|
DeviceMetric.calibration.type |
|
DeviceMetric.calibration.state |
|
See the Full Difference for further information
This analysis is available as XML or JSON.
See R3 <--> R4 Conversion Maps (status = 1 test that all execute ok. All tests pass round-trip testing and all r3 resources are valid.)
See the Profiles & Extensions and the alternate definitions: Master Definition XML + JSON, XML Schema/Schematron + JSON Schema, ShEx (for Turtle) + see the extensions & the dependency analysis
Path | Definition | Type | Reference |
---|---|---|---|
DeviceMetric.type | Preferred | DeviceMetricAndComponentTypes | |
DeviceMetric.unit | Preferred | DeviceMetricAndComponentTypes | |
DeviceMetric.operationalStatus | Required | DeviceMetricOperationalStatus | |
DeviceMetric.color | Required | DeviceMetricColor | |
DeviceMetric.category | Required | DeviceMetricCategory | |
DeviceMetric.calibration.type | Required | DeviceMetricCalibrationType | |
DeviceMetric.calibration.state | Required | DeviceMetricCalibrationState |
Search parameters for this resource. The common parameters also apply. See Searching for more information about searching in REST, messaging, and services.
Name | Type | Description | Expression | In Common |
category | token | The category of the metric | DeviceMetric.category | |
identifier | token | The identifier of the metric | DeviceMetric.identifier | |
parent | reference | The parent DeviceMetric resource | DeviceMetric.parent (Device) | |
source | reference | The device resource | DeviceMetric.source (Device) | |
type | token | The component type | DeviceMetric.type |