Foundation
This
page
is
part
of
the
Continuous
Integration
Build
of
FHIR
Specification
(v5.0.0:
R5
-
STU
).
This
is
the
current
published
version
in
it's
permanent
home
(it
will
always
(will
be
available
incorrect/inconsistent
at
this
URL).
For
a
full
list
of
available
versions,
see
times).
See
the
Directory
of
published
versions
.
Page
versions:
R5
R4B
R4
R3
| Responsible Owner: Health Care Devices Work Group | Standards Status : Informative |
Compartments
:
|
ShEx statement for devicemetric
PREFIX fhir: <http://hl7.org/fhir/> PREFIX fhirvs: <http://hl7.org/fhir/ValueSet/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>IMPORT <code.shex># ShEx Version 2.2 IMPORT <Code.shex> IMPORT <Device.shex>IMPORT <instant.shex>IMPORT <Instant.shex> IMPORT <Quantity.shex> IMPORT <Reference.shex> IMPORT <Identifier.shex> IMPORT <DomainResource.shex> IMPORT <CodeableConcept.shex> IMPORT <BackboneElement.shex> start=@<DeviceMetric> AND {fhir:nodeRole [fhir:treeRoot]} # Measurement, calculation or setting capability of a medical device <DeviceMetric> EXTENDS @<DomainResource> CLOSED {a [fhir:DeviceMetric]?; fhir:nodeRole [fhir:treeRoot]?;a [fhir:DeviceMetric]?;fhir:nodeRole [fhir:treeRoot]?; fhir:identifier @<OneOrMore_Identifier>?; # Instance identifier fhir:status @<Code> AND {fhir:v @fhirvs:metric-status}; # active | inactive | # entered-in-error | unknown fhir:operationalStatus @<Code> AND {fhir:v @fhirvs:metric-operational-status}?; # on | off | standby | unknown fhir:category @<CodeableConcept>; # The kind of metric represented fhir:type @<CodeableConcept>; # Identity of metric, for example # Heart Rate or PEEP Setting fhir:device @<Reference> AND {fhir:l @<Device> ? }; # The device to which this # DeviceMetric applies fhir:unit @<CodeableConcept>?; # Unit of Measure for the Metricfhir:device @<Reference> AND {fhir:link @<Device> ? }; # Describes the link to the Device fhir:operationalStatus @<code> AND {fhir:v @fhirvs:metric-operational-status}?; # on | off | standby | # entered-in-error fhir:color @<code> ANDfhir:color @<Code> AND {fhir:v @fhirvs:color-codes}?; # Color name (from CSS4) or #RRGGBB # codefhir:category @<code> AND {fhir:v @fhirvs:metric-category}; # measurement | setting | # calculation | unspecifiedfhir:measurementFrequency @<Quantity>?; # Indicates how often the metric is # taken or recorded fhir:availability @<CodeableConcept>?; # The continuity of the metric # (e.g., measurement) fhir:calibration @<OneOrMore_DeviceMetric.calibration>?; # Describes the calibrations that # have been performed or that are # required to be performed } # Describes the calibrations that have been performed or that are required to be performed <DeviceMetric.calibration> EXTENDS @<BackboneElement> CLOSED {fhir:type @<code> AND {fhir:v @fhirvs:metric-calibration-type}?; # unspecified | offset | gain | # two-point fhir:state @<code> ANDfhir:type @<CodeableConcept>?; # The method of calibration fhir:state @<Code> AND {fhir:v @fhirvs:metric-calibration-state}?; # not-calibrated | # calibration-required | calibrated # | unspecifiedfhir:time @<instant>?; # Describes the time lastfhir:time @<Instant>?; # Describes the time last # calibration has been performed } #---------------------- Cardinality Types (OneOrMore) ------------------- <OneOrMore_Identifier> CLOSED { rdf:first @<Identifier> ; rdf:rest [rdf:nil] OR @<OneOrMore_Identifier> } <OneOrMore_DeviceMetric.calibration> CLOSED { rdf:first @<DeviceMetric.calibration> ; rdf:rest [rdf:nil] OR @<OneOrMore_DeviceMetric.calibration> } #---------------------- Value Sets ------------------------ # This value set includes color codes - either the color names as defined in [CSS4](https://www.w3.org/TR/css-color-4/), or any valid RGB code (```#RRGGBB``` in Hex). fhirvs:color-codes xsd:string #EXTERNAL # Describes the state of a metric calibration. fhirvs:metric-calibration-state ["not-calibrated" "calibration-required" "calibrated" "unspecified"]# Describes the type of a metric calibration. fhirvs:metric-calibration-type ["unspecified" "offset" "gain" "two-point"] # Describes the category of the metric. fhirvs:metric-category ["measurement" "setting" "calculation" "unspecified"]# Describes the operational status of the DeviceMetric.fhirvs:metric-operational-status ["on" "off" "standby" "entered-in-error"]fhirvs:metric-operational-status ["on" "off" "standby" "unknown"] # Describes the status of the DeviceMetric record. fhirvs:metric-status ["active" "inactive" "entered-in-error" "unknown"]
Usage note: every effort has been made to ensure that the ShEx files are correct and useful, but they are not a normative part of the specification.
FHIR
®©
HL7.org
2011+.
FHIR
R5
hl7.fhir.core#5.0.0
R6
hl7.fhir.core#6.0.0-ballot3
generated
on
Sun,
Mar
26,
2023
15:24+1100.
Thu,
Nov
13,
2025
03:07+0000.
Links:
Search
|
Version
History
|
Contents
|
Glossary
|
QA
|
Compare
to
R4
|
Compare
to
R4B
R5
|
Compare
to
Last
Ballot
|
|
Propose
a
change