FoundationThis is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions
| Health Care Devices Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: Device, Encounter, Patient |
ShEx statement for devicealert
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>
IMPORT <Range.shex>
IMPORT <Device.shex>
IMPORT <Period.shex>
IMPORT <string.shex>
IMPORT <Coding.shex>
IMPORT <Patient.shex>
IMPORT <boolean.shex>
IMPORT <Location.shex>
IMPORT <Specimen.shex>
IMPORT <Reference.shex>
IMPORT <Encounter.shex>
IMPORT <Procedure.shex>
IMPORT <Identifier.shex>
IMPORT <Medication.shex>
IMPORT <Observation.shex>
IMPORT <DeviceMetric.shex>
IMPORT <DomainResource.shex>
IMPORT <CodeableConcept.shex>
IMPORT <BackboneElement.shex>
IMPORT <NutritionProduct.shex>
IMPORT <CodeableReference.shex>
IMPORT <BiologicallyDerivedProduct.shex>
start=@<DeviceAlert> AND {fhir:nodeRole [fhir:treeRoot]}
# Describes a noteworthy condition or occurrence determined to exist by a medical device
<DeviceAlert> EXTENDS @<DomainResource> CLOSED {
a [fhir:DeviceAlert]?;fhir:nodeRole [fhir:treeRoot]?;
fhir:identifier @<OneOrMore_Identifier>?; # Instance identifier
fhir:procedure @<OneOrMore_Reference_Procedure>?; # Procedure during which the alert
# occurred
fhir:status @<code> AND
{fhir:v @fhirvs:devicealert-status}; # in-progress | completed |
# entered-in-error
fhir:category @<OneOrMore_CodeableConcept>?; # High-level categorization of the
# DeviceAlert
fhir:type @<CodeableConcept>?; # physiological | technical
fhir:priority @<CodeableConcept>?; # high | medium | low | info
fhir:code @<CodeableConcept>; # The meaning of the alert
fhir:subject @<Reference> AND {fhir:link
@<BiologicallyDerivedProduct> OR
@<Device> OR
@<Location> OR
@<Medication> OR
@<NutritionProduct> OR
@<Patient> OR
@<Specimen> ? }; # Who or what the alert is about
fhir:encounter @<Reference> AND {fhir:link
@<Encounter> ? }?; # Encounter during which the alert
# occurred
fhir:presence @<boolean>; # Whether the alert condition is
# currently active
fhir:presencePeriod @<Period>?; # The period during which the alert
# condition was active
fhir:device @<Reference> AND {fhir:link
@<Device> OR
@<DeviceMetric> ? }?; # The Device (or DeviceMetric) that
# detected the alert condition
fhir:location @<Reference> AND {fhir:link
@<Location> ? }?; # Location of the subject when the
# alert was raised
fhir:derivedFrom @<OneOrMore_DeviceAlert.derivedFrom>?; # The value causing the alert
# condition
fhir:acknowledged @<boolean>?; # Whether the alert condition has
# been acknowledged
fhir:label @<string>?; # Text to be displayed for the alert
# condition
fhir:signal @<OneOrMore_DeviceAlert.signal>?; # Annunciation or notification of
# the alert condition
}
# The value causing the alert condition
<DeviceAlert.derivedFrom> EXTENDS @<BackboneElement> CLOSED {
fhir:observation @<Reference> AND {fhir:link
@<Observation> ? }; # The Observation having a value
# causing the alert condition
fhir:component @<Coding>?; # The Observation.component having a
# value causing the alert condition
fhir:limit @<Range>?; # The boundaries beyond which a
# value was detected to cause the
# alert condition
}
# Annunciation or notification of the alert condition
<DeviceAlert.signal> EXTENDS @<BackboneElement> CLOSED {
fhir:activationState @<CodeableConcept>; # on | off | paused
fhir:presence @<CodeableConcept>?; # on | latched | off | ack
fhir:annunciator @<CodeableReference>?; # Where the signal is being
# annunciated
fhir:manifestation @<CodeableConcept>?; # How the signal is being annunciated
fhir:type @<OneOrMore_CodeableConcept>?; # Characteristics of the signal
# manifestation
fhir:indication @<Period>?; # When the signal was being
# annunciated
}
#---------------------- Cardinality Types (OneOrMore) -------------------
<OneOrMore_Identifier> CLOSED {
rdf:first @<Identifier> ;
rdf:rest [rdf:nil] OR @<OneOrMore_Identifier>
}
<OneOrMore_Reference_Procedure> CLOSED {
rdf:first @<Reference> AND {fhir:link
@<Procedure> } ;
rdf:rest [rdf:nil] OR @<OneOrMore_Reference_Procedure>
}
<OneOrMore_CodeableConcept> CLOSED {
rdf:first @<CodeableConcept> ;
rdf:rest [rdf:nil] OR @<OneOrMore_CodeableConcept>
}
<OneOrMore_DeviceAlert.derivedFrom> CLOSED {
rdf:first @<DeviceAlert.derivedFrom> ;
rdf:rest [rdf:nil] OR @<OneOrMore_DeviceAlert.derivedFrom>
}
<OneOrMore_DeviceAlert.signal> CLOSED {
rdf:first @<DeviceAlert.signal> ;
rdf:rest [rdf:nil] OR @<OneOrMore_DeviceAlert.signal>
}
#---------------------- Value Sets ------------------------
# DeviceAlert Status Codes
fhirvs:devicealert-status ["in-progress" "completed" "entered-in-error"]
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 Thu, Oct 23, 2025 19:45+0000.
Links: Search |
Version History |
Contents |
Glossary |
QA |
Compare to R5 |
|
Propose a change