Foundation
Publish-box
(todo)
This
is
the
Continuous
Integration
Build
of
FHIR
(will
be
incorrect/inconsistent
at
times).
See
the
Directory
of
published
versions
| 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]?; 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 @<CodeableConcept>; # The kind of metric representedfhir: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 @<CodeableConcept>?; # The method of calibrationfhir:state @<code> ANDfhir: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 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
R6
hl7.fhir.core#6.0.0-ballot3
generated
on
Tue,
Apr
1,
Mon,
Nov
10,
2025
12:24+1100.
15:21+0000.
Links:
Search
|
Version
History
|
Contents
|
Glossary
|
QA
|
Compare
to
R4
|
Compare
to
R5
|
Compare
to
Last
Ballot
|
|
Propose
a
change