# Sample Array DeviceMetric profile - Point-of-Care Device Implementation Guide v1.0.0

* [**Table of Contents**](toc.md)
* [**Artifact List**](artifacts.md)
* **Sample Array DeviceMetric profile**

## Resource Profile: Sample Array DeviceMetric profile 

| | | |
| :--- | :--- | :--- |
| *Official URL*:http://hl7.org/fhir/uv/pocd/StructureDefinition/SampleArrayDeviceMetric | *Version*:1.0.0 | |
| * Standards status: *[Trial-use](http://hl7.org/fhir/R4/versions.html#std-process) | [Maturity Level](http://hl7.org/fhir/versions.html#maturity): 2 | *Computable Name*:SampleArrayDeviceMetric |

 
StructureDefinition for DeviceMetric resources that represent real-time waveforms or wave snippets characteristics and capabilities. 

## Scope and Usage

This profile sets minimum expectations for the [DeviceMetric](http://hl7.org/fhir/R4/devicemetric.html) resource that represents real-time waveform or wave snippet.

**Usages:**

* Refer to this Profile: [Sample Array Observation profile](StructureDefinition-SampleArrayObservation.md)
* Examples for this Profile: [DeviceMetric/CVPSampleArrayDeviceMetric](DeviceMetric-CVPSampleArrayDeviceMetric.md) and [DeviceMetric/ECGSampleArrayDeviceMetric](DeviceMetric-ECGSampleArrayDeviceMetric.md)
* CapabilityStatements using this Profile: [Server capability requirements](CapabilityStatement-ServerCapabilityStatement.md)

You can also check for [usages in the FHIR IG Statistics](https://packages2.fhir.org/xig/hl7.fhir.uv.pocd|current/StructureDefinition/SampleArrayDeviceMetric)

### Formal Views of Profile Content

 [Description of Profiles, Differentials, Snapshots and how the different presentations work](http://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#structure-definitions). 

 

Other representations of profile: [CSV](StructureDefinition-SampleArrayDeviceMetric.csv), [Excel](StructureDefinition-SampleArrayDeviceMetric.xlsx), [Schematron](StructureDefinition-SampleArrayDeviceMetric.sch) 



## Resource Content

```json
{
  "resourceType" : "StructureDefinition",
  "id" : "SampleArrayDeviceMetric",
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-summary",
    "valueMarkdown" : "The profile defines the following rules:\n * `DeviceMetric.type` shall have a coding from the ISO/IEEE 11073 MDC Metric nomenclature if there is an appropriate code available.\n * If `DeviceMetric.unit` is present, it shall have a coding from the ISO/IEEE 11073 MDC Units of measurement if there is an appropriate code available.\n * `DeviceMetric.source` shall be present and refer to the MDS Device resource.\n * `DeviceMetric.parent` shall be present and refer to the Channel Device resource which this metric belongs to.\n * If multiple instances of the same metric type exist, the Instance extension allows a squence to be defined.\n * Extensions allow relationships, metric availability, technical range, and resolution to be added.\n * For waveform presentation, extensions allow sweep speed and grid lines to be defined."
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode" : "dev"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger" : 2,
    "_valueInteger" : {
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
        "valueCanonical" : "http://hl7.org/fhir/uv/pocd/ImplementationGuide/hl7.fhir.uv.pocd"
      }]
    }
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode" : "trial-use",
    "_valueCode" : {
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
        "valueCanonical" : "http://hl7.org/fhir/uv/pocd/ImplementationGuide/hl7.fhir.uv.pocd"
      }]
    }
  }],
  "url" : "http://hl7.org/fhir/uv/pocd/StructureDefinition/SampleArrayDeviceMetric",
  "version" : "1.0.0",
  "name" : "SampleArrayDeviceMetric",
  "title" : "Sample Array DeviceMetric profile",
  "status" : "active",
  "date" : "2022-01-16",
  "publisher" : "HL7 International / Devices",
  "contact" : [{
    "telecom" : [{
      "system" : "url",
      "value" : "http://www.hl7.org/Special/committees/healthcaredevices"
    }]
  }],
  "description" : "StructureDefinition for DeviceMetric resources that represent real-time waveforms or wave snippets characteristics and capabilities.",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "code" : "001"
    }]
  }],
  "fhirVersion" : "4.0.1",
  "mapping" : [{
    "identity" : "dim",
    "uri" : "urn:iso:std:iso:11073:10201",
    "name" : "IEEE 11073-10201 DIM"
  },
  {
    "identity" : "sdc",
    "uri" : "urn:iso:std:iso:11073:10207",
    "name" : "IEEE 11073-10207 SDC"
  },
  {
    "identity" : "w5",
    "uri" : "http://hl7.org/fhir/fivews",
    "name" : "FiveWs Pattern Mapping"
  },
  {
    "identity" : "rim",
    "uri" : "http://hl7.org/v3",
    "name" : "RIM Mapping"
  }],
  "kind" : "resource",
  "abstract" : false,
  "type" : "DeviceMetric",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/DeviceMetric",
  "derivation" : "constraint",
  "differential" : {
    "element" : [{
      "id" : "DeviceMetric",
      "path" : "DeviceMetric"
    },
    {
      "id" : "DeviceMetric.extension",
      "path" : "DeviceMetric.extension",
      "slicing" : {
        "discriminator" : [{
          "type" : "value",
          "path" : "url"
        }],
        "rules" : "open"
      }
    },
    {
      "id" : "DeviceMetric.extension:instance",
      "path" : "DeviceMetric.extension",
      "sliceName" : "instance",
      "short" : "Instance number or label",
      "definition" : "Instance number or label for multiple components of the same type.",
      "max" : "1",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/uv/pocd/StructureDefinition/device-instance"]
      }],
      "mustSupport" : true
    },
    {
      "id" : "DeviceMetric.extension:instance.extension:number",
      "path" : "DeviceMetric.extension.extension",
      "sliceName" : "number",
      "short" : "Instance number"
    },
    {
      "id" : "DeviceMetric.extension:instance.extension:number.valueUnsignedInt",
      "path" : "DeviceMetric.extension.extension.valueUnsignedInt",
      "mapping" : [{
        "identity" : "sdc",
        "map" : "AbstractMetricState/PhysicalConnector/Number"
      }]
    },
    {
      "id" : "DeviceMetric.extension:instance.extension:label",
      "path" : "DeviceMetric.extension.extension",
      "sliceName" : "label",
      "short" : "Instance label"
    },
    {
      "id" : "DeviceMetric.extension:instance.extension:label.valueString",
      "path" : "DeviceMetric.extension.extension.valueString",
      "mapping" : [{
        "identity" : "sdc",
        "map" : "AbstractMetricState/PhysicalConnector/Label"
      }]
    },
    {
      "id" : "DeviceMetric.extension:relation",
      "path" : "DeviceMetric.extension",
      "sliceName" : "relation",
      "short" : "Modelling relationships",
      "definition" : "Relation allows the modelling of relationships between a metric and other containment tree entries.",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/uv/pocd/StructureDefinition/relation"]
      }]
    },
    {
      "id" : "DeviceMetric.extension:metricAvailability",
      "path" : "DeviceMetric.extension",
      "sliceName" : "metricAvailability",
      "short" : "Availability of metrics",
      "definition" : "Availability of the means that derives the metric state.",
      "max" : "1",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/uv/pocd/StructureDefinition/metric-availability"]
      }],
      "mustSupport" : true,
      "mapping" : [{
        "identity" : "sdc",
        "map" : "DistributionSampleArrayMetricDescriptor/MetricAvailability, RealTimeSampleArrayMetricDescriptor/MetricAvailability"
      }]
    },
    {
      "id" : "DeviceMetric.extension:technicalRange",
      "path" : "DeviceMetric.extension",
      "sliceName" : "technicalRange",
      "short" : "Technical range and accuracy",
      "definition" : "The technical possible range of determined values.",
      "max" : "1",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/uv/pocd/StructureDefinition/technical-range"]
      }],
      "mustSupport" : true
    },
    {
      "id" : "DeviceMetric.extension:resolution",
      "path" : "DeviceMetric.extension",
      "sliceName" : "resolution",
      "short" : "Minimum determinable difference",
      "definition" : "Resolution is the minimum determinable difference between two determined values.",
      "max" : "1",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/StructureDefinition/measurement-resolution"]
      }],
      "mustSupport" : true,
      "mapping" : [{
        "identity" : "dim",
        "map" : "SampleArray::Sa-Measure-Resolution"
      },
      {
        "identity" : "sdc",
        "map" : "DistributionSampleArrayMetricDescriptor/Resolution, RealTimeSampleArrayMetricDescriptor/Resolution"
      }]
    },
    {
      "id" : "DeviceMetric.extension:sweep-speed",
      "path" : "DeviceMetric.extension",
      "sliceName" : "sweep-speed",
      "short" : "Default sweep speed",
      "definition" : "Default sweep speed for real-time waveform presentation.",
      "max" : "1",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/uv/pocd/StructureDefinition/sweep-speed"]
      }],
      "mapping" : [{
        "identity" : "dim",
        "map" : "RealTimeSampleArray::Sweep-Speed"
      }]
    },
    {
      "id" : "DeviceMetric.extension:visual-grid",
      "path" : "DeviceMetric.extension",
      "sliceName" : "visual-grid",
      "short" : "Grid line definitions",
      "definition" : "Grid line definitions for waveform presentation.",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/uv/pocd/StructureDefinition/visual-grid"]
      }],
      "mapping" : [{
        "identity" : "dim",
        "map" : "SampleArray::Visual-Grid"
      }]
    },
    {
      "id" : "DeviceMetric.type",
      "path" : "DeviceMetric.type",
      "mustSupport" : true,
      "binding" : {
        "strength" : "extensible",
        "valueSet" : "http://terminology.hl7.org/ValueSet/11073MDC-metric"
      },
      "mapping" : [{
        "identity" : "sdc",
        "map" : "According to ISO/IEEE 11073-20701 this element can't be empty"
      }]
    },
    {
      "id" : "DeviceMetric.type.coding",
      "path" : "DeviceMetric.type.coding"
    },
    {
      "id" : "DeviceMetric.type.coding.system",
      "path" : "DeviceMetric.type.coding.system",
      "mapping" : [{
        "identity" : "sdc",
        "map" : "DistributionSampleArrayMetricDescriptor/Type/CodingSystem, RealTimeSampleArrayMetricDescriptor/Type/CodingSystem"
      }]
    },
    {
      "id" : "DeviceMetric.type.coding.version",
      "path" : "DeviceMetric.type.coding.version",
      "mapping" : [{
        "identity" : "sdc",
        "map" : "DistributionSampleArrayMetricDescriptor/Type/CodingSystemVersion, RealTimeSampleArrayMetricDescriptor/Type/CodingSystemVersion"
      }]
    },
    {
      "id" : "DeviceMetric.type.coding.code",
      "path" : "DeviceMetric.type.coding.code",
      "mapping" : [{
        "identity" : "dim",
        "map" : "VMO::Type"
      },
      {
        "identity" : "sdc",
        "map" : "DistributionSampleArrayMetricDescriptor/Type/Code, RealTimeSampleArrayMetricDescriptor/Type/Code"
      }]
    },
    {
      "id" : "DeviceMetric.type.text",
      "path" : "DeviceMetric.type.text",
      "mapping" : [{
        "identity" : "dim",
        "map" : "VMO::Label-String"
      }]
    },
    {
      "id" : "DeviceMetric.unit",
      "path" : "DeviceMetric.unit",
      "mustSupport" : true,
      "binding" : {
        "strength" : "extensible",
        "valueSet" : "http://terminology.hl7.org/ValueSet/11073MDC-dimension"
      }
    },
    {
      "id" : "DeviceMetric.unit.coding",
      "path" : "DeviceMetric.unit.coding"
    },
    {
      "id" : "DeviceMetric.unit.coding.system",
      "path" : "DeviceMetric.unit.coding.system",
      "mapping" : [{
        "identity" : "sdc",
        "map" : "DistributionSampleArrayMetricDescriptor/Unit/CodingSystem, RealTimeSampleArrayMetricDescriptor/Unit/CodingSystem"
      }]
    },
    {
      "id" : "DeviceMetric.unit.coding.version",
      "path" : "DeviceMetric.unit.coding.version",
      "mapping" : [{
        "identity" : "sdc",
        "map" : "DistributionSampleArrayMetricDescriptor/Type/CodingSystemVersion, RealTimeSampleArrayMetricDescriptor/Type/CodingSystemVersion"
      }]
    },
    {
      "id" : "DeviceMetric.unit.coding.code",
      "path" : "DeviceMetric.unit.coding.code",
      "mapping" : [{
        "identity" : "dim",
        "map" : "Metric::Unit-Code"
      },
      {
        "identity" : "sdc",
        "map" : "DistributionSampleArrayMetricDescriptor/Unit/Code, RealTimeSampleArrayMetricDescriptor/Unit/Code"
      }]
    },
    {
      "id" : "DeviceMetric.unit.text",
      "path" : "DeviceMetric.unit.text",
      "mapping" : [{
        "identity" : "dim",
        "map" : "Metric::Unit-LabelString"
      }]
    },
    {
      "id" : "DeviceMetric.source",
      "path" : "DeviceMetric.source",
      "min" : 1,
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/uv/pocd/StructureDefinition/MdsDevice"]
      }],
      "mustSupport" : true
    },
    {
      "id" : "DeviceMetric.parent",
      "path" : "DeviceMetric.parent",
      "min" : 1,
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/uv/pocd/StructureDefinition/ChannelDevice"]
      }],
      "mustSupport" : true
    },
    {
      "id" : "DeviceMetric.operationalStatus",
      "path" : "DeviceMetric.operationalStatus",
      "mustSupport" : true,
      "mapping" : [{
        "identity" : "dim",
        "map" : "Metric::Metric-Status"
      },
      {
        "identity" : "sdc",
        "map" : "DistributionSampleArrayMetricState/ActivationState, RealTimeSampleArrayMetricState/ActivationState note the mapping of the value set"
      }]
    },
    {
      "id" : "DeviceMetric.color",
      "path" : "DeviceMetric.color",
      "mapping" : [{
        "identity" : "dim",
        "map" : "Metric::Color"
      }]
    },
    {
      "id" : "DeviceMetric.category",
      "path" : "DeviceMetric.category",
      "mustSupport" : true,
      "mapping" : [{
        "identity" : "dim",
        "map" : "Metric::Metric-Specification::category"
      },
      {
        "identity" : "sdc",
        "map" : "DistributionSampleArrayMetricDescriptor/MetricCategory, RealTimeSampleArrayMetricDescriptor/MetricCategory note the mapping of the value set"
      }]
    },
    {
      "id" : "DeviceMetric.measurementPeriod",
      "path" : "DeviceMetric.measurementPeriod",
      "mustSupport" : true
    },
    {
      "id" : "DeviceMetric.measurementPeriod.repeat",
      "path" : "DeviceMetric.measurementPeriod.repeat"
    },
    {
      "id" : "DeviceMetric.measurementPeriod.repeat.duration",
      "path" : "DeviceMetric.measurementPeriod.repeat.duration",
      "mapping" : [{
        "identity" : "sdc",
        "map" : "DistributionSampleArrayMetricDescriptor/DeterminationPeriod, RealTimeSampleArrayMetricDescriptor/DeterminationPeriod Unit can be specified by durationUnit"
      }]
    },
    {
      "id" : "DeviceMetric.measurementPeriod.repeat.period",
      "path" : "DeviceMetric.measurementPeriod.repeat.period",
      "mapping" : [{
        "identity" : "dim",
        "map" : "RealTimeSampleArray::Sample-Period"
      }]
    },
    {
      "id" : "DeviceMetric.calibration",
      "path" : "DeviceMetric.calibration",
      "mustSupport" : true
    },
    {
      "id" : "DeviceMetric.calibration.type",
      "path" : "DeviceMetric.calibration.type",
      "mapping" : [{
        "identity" : "dim",
        "map" : "Metric::Metric-Calibration::cal-type"
      }]
    },
    {
      "id" : "DeviceMetric.calibration.state",
      "path" : "DeviceMetric.calibration.state",
      "mapping" : [{
        "identity" : "dim",
        "map" : "Metric::Metric-Calibration::cal-state"
      }]
    },
    {
      "id" : "DeviceMetric.calibration.time",
      "path" : "DeviceMetric.calibration.time",
      "mapping" : [{
        "identity" : "dim",
        "map" : "Metric::Metric-Calibration::cal-time"
      }]
    }]
  }
}

```
