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: Orders and Observations Work Group | Standards Status : Informative |
Compartments
:
|
ShEx statement for device
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 <uri.shex> IMPORT <code.shex># ShEx Version 2.2 IMPORT <Uri.shex> IMPORT <Code.shex> IMPORT <Range.shex>IMPORT <string.shex> IMPORT <Patient.shex> IMPORT <boolean.shex> IMPORT <integer.shex> IMPORT <dateTime.shex>IMPORT <String.shex> IMPORT <Boolean.shex> IMPORT <Integer.shex> IMPORT <DateTime.shex> IMPORT <Location.shex> IMPORT <Quantity.shex> IMPORT <Canonical.shex> IMPORT <Reference.shex> IMPORT <Identifier.shex> IMPORT <Annotation.shex> IMPORT <Attachment.shex> IMPORT <ContactPoint.shex>IMPORT <base64Binary.shex> IMPORT <Organization.shex> IMPORT <Practitioner.shex> IMPORT <RelatedPerson.shex>IMPORT <Base64Binary.shex> IMPORT <DomainResource.shex> IMPORT <CodeableConcept.shex> IMPORT <BackboneElement.shex>IMPORT <PractitionerRole.shex>IMPORT <CodeableReference.shex> start=@<Device> AND {fhir:nodeRole [fhir:treeRoot]} # Item used in healthcare <Device> EXTENDS @<DomainResource> CLOSED { a [fhir:Device]?;fhir:nodeRole [fhir:treeRoot]?; fhir:identifier @<OneOrMore_Identifier>?; # Instance identifierfhir:definition @<Reference> AND {fhir:link @<DeviceDefinition> ? }?; # The reference to the definitionfhir:definition @<Canonical>?; # The reference to the definition # for the device fhir:udiCarrier @<OneOrMore_Device.udiCarrier>?; # Unique Device Identifier (UDI) # valuefhir:status @<code> ANDfhir:status @<Code> AND {fhir:v @fhirvs:device-status}?; # active | inactive |# entered-in-error# entered-in-error | unknown fhir:availabilityStatus @<CodeableConcept>?; # lost | damaged | destroyed | # available fhir:biologicalSourceEvent @<Identifier>?; # A production identifier of the # donation, collection, or pooling # event from which biological # material in this device was # derivedfhir:manufacturer @<string>?; # Name of device manufacturer fhir:manufactureDate @<dateTime>?; # Date when the device was made fhir:expirationDate @<dateTime>?; # Date and time of expiry of this # device (if applicable) fhir:lotNumber @<string>?; # Lot number of manufacture fhir:serialNumber @<string>?; # Serial number assigned by the # manufacturerfhir:manufacturer @<String>?; # Name of device manufacturer fhir:manufactureDate @<DateTime>?; # A production identifier that # indicates the date when the device # was made fhir:expirationDate @<DateTime>?; # A production identifier that # indicates the date and time of # expiry of this device (if # applicable) fhir:lotNumber @<String>?; # A production identifier that # indicates the Lot number of # manufacture fhir:serialNumber @<String>?; # A production identifier that # indicates the Serial number # assigned by the manufacturer fhir:name @<OneOrMore_Device.name>?; # The name or names of the device as # known to the manufacturer and/or # patientfhir:modelNumber @<string>?; # The manufacturer's model numberfhir:modelNumber @<String>?; # The manufacturer's model number # for the devicefhir:partNumber @<string>?; # The part number or catalog numberfhir:partNumber @<String>?; # The part number or catalog number # of the device fhir:category @<OneOrMore_CodeableConcept>?; # Indicates a high-level grouping of # the device fhir:type @<OneOrMore_CodeableConcept>?; # The kind or type of device fhir:deviceVersion @<OneOrMore_Device.deviceVersion>?; # The actual design of the device or # software version running on the # device fhir:conformsTo @<OneOrMore_Device.conformsTo>?; # Identifies the standards, # specifications, or formal # guidances for the capabilities # supported by the device fhir:property @<OneOrMore_Device.property>?; # Inherent, essentially fixed, # characteristics of the device. # e.g., time properties, size, # material, etc. fhir:additive @<OneOrMore_Device.additive>?; # Material added to a container # device fhir:contact @<OneOrMore_ContactPoint>?; # Details for human/organization for # supportfhir:location @<Reference> AND {fhir:linkfhir:location @<Reference> AND {fhir:l @<Location> ? }?; # Where the device is found fhir:note @<OneOrMore_Annotation>?; # Device notes and comments fhir:safety @<OneOrMore_CodeableConcept>?; # Safety Characteristics of Devicefhir:parent @<Reference> AND {fhir:linkfhir:parent @<Reference> AND {fhir:l @<Device> ? }?; # The higher level or encompassing # device that this device is a # logical part of } # Material added to a container device <Device.additive> EXTENDS @<BackboneElement> CLOSED { fhir:type @<CodeableReference>; # The additive substance fhir:quantity @<Quantity>?; # Quantity of additive substance # within container } # The actual design of the device or software version running on the device <Device.deviceVersion> EXTENDS @<BackboneElement> CLOSED { fhir:type @<CodeableConcept>?; # The type of the device version, # e.g. manufacturer, approved, # internal fhir:component @<Identifier>?; # The hardware or software module of # the device to which the version # applies fhir:installDate @<DateTime>?; # The date the version was installed # on the device fhir:value @<String>; # The version text } # Unique Device Identifier (UDI) value <Device.udiCarrier> EXTENDS @<BackboneElement> CLOSED {fhir:deviceIdentifier @<string>; # Mandatory fixed portion of UDI fhir:deviceIdentifierSystem @<uri>?; # The namespace for the devicefhir:deviceIdentifier @<String>; # Mandatory fixed portion of UDI fhir:deviceIdentifierSystem @<Uri>?; # The namespace for the device # identifier valuefhir:issuer @<uri>; # UDI Issuing Organization fhir:jurisdiction @<uri>?; # Regional UDI authority fhir:carrierAIDC @<base64Binary>?; # UDI Machine Readable value fhir:carrierHRF @<string>?; # UDI Human Readable Barcode String fhir:entryType @<code> ANDfhir:issuer @<Uri>; # UDI Issuing Organization fhir:jurisdiction @<Uri>?; # Regional UDI authority fhir:carrierAIDC @<Base64Binary>?; # UDI Machine Readable value fhir:carrierHRF @<String>?; # UDI Human Readable value fhir:entryType @<Code> AND {fhir:v @fhirvs:udi-entry-type}?; # barcode | rfid | manual | card | # self-reported | # electronic-transmission | unknown } # The name or names of the device as known to the manufacturer and/or patient <Device.name> EXTENDS @<BackboneElement> CLOSED { fhir:value @<String>; # The term that names the device fhir:type @<CodeableConcept>; # registered-name | # user-friendly-name | # patient-reported-name fhir:display @<Boolean>?; # The preferred device name } # Identifies the standards, specifications, or formal guidances for the capabilities supported by the device <Device.conformsTo> EXTENDS @<BackboneElement> CLOSED { fhir:category @<CodeableConcept>?; # Describes the common type of the # standard, specification, or formal # guidance. communication | # performance | measurement fhir:specification @<CodeableConcept>; # Identifies the standard, # specification, or formal guidance # that the device adheres tofhir:version @<string>?; # Specific form or variant of thefhir:version @<String>?; # Specific form or variant of the # standard }# Material added to a container device <Device.additive> EXTENDS @<BackboneElement> CLOSED { fhir:type @<CodeableReference>; # The additive substance fhir:quantity @<Quantity>?; # Quantity of additive substance # within container fhir:performer @<Reference> AND {fhir:link @<Organization> OR @<Patient> OR @<Practitioner> OR @<PractitionerRole> OR @<RelatedPerson> ? }?; # Entity adding substance to the # container fhir:performed @<dateTime>?; # When the additive substance was # added to the container }# Inherent, essentially fixed, characteristics of the device. e.g., time properties, size, material, etc. <Device.property> EXTENDS @<BackboneElement> CLOSED { fhir:type @<CodeableConcept>; # Code that specifies the property # being represented fhir:value @<Quantity> OR @<CodeableConcept> OR@<string> OR @<boolean> OR @<integer> OR@<String> OR @<Boolean> OR @<Integer> OR @<Range> OR @<Attachment> ; # Value of the property }# The actual design of the device or software version running on the device <Device.deviceVersion> EXTENDS @<BackboneElement> CLOSED { fhir:type @<CodeableConcept>?; # The type of the device version, # e.g. manufacturer, approved, # internal fhir:component @<Identifier>?; # The hardware or software module of # the device to which the version # applies fhir:installDate @<dateTime>?; # The date the version was installed # on the device fhir:value @<string>; # The version text } # The name or names of the device as known to the manufacturer and/or patient <Device.name> EXTENDS @<BackboneElement> CLOSED { fhir:value @<string>; # The term that names the device fhir:type @<CodeableConcept>; # registered-name | # user-friendly-name | # patient-reported-name fhir:display @<boolean>?; # The preferred device name }#---------------------- Cardinality Types (OneOrMore) ------------------- <OneOrMore_Identifier> CLOSED { rdf:first @<Identifier> ; rdf:rest [rdf:nil] OR @<OneOrMore_Identifier> } <OneOrMore_Device.udiCarrier> CLOSED { rdf:first @<Device.udiCarrier> ; rdf:rest [rdf:nil] OR @<OneOrMore_Device.udiCarrier> } <OneOrMore_Device.name> CLOSED { rdf:first @<Device.name> ; rdf:rest [rdf:nil] OR @<OneOrMore_Device.name> } <OneOrMore_CodeableConcept> CLOSED { rdf:first @<CodeableConcept> ; rdf:rest [rdf:nil] OR @<OneOrMore_CodeableConcept> } <OneOrMore_Device.deviceVersion> CLOSED { rdf:first @<Device.deviceVersion> ; rdf:rest [rdf:nil] OR @<OneOrMore_Device.deviceVersion> } <OneOrMore_Device.conformsTo> CLOSED { rdf:first @<Device.conformsTo> ; rdf:rest [rdf:nil] OR @<OneOrMore_Device.conformsTo> } <OneOrMore_Device.property> CLOSED { rdf:first @<Device.property> ; rdf:rest [rdf:nil] OR @<OneOrMore_Device.property> } <OneOrMore_Device.additive> CLOSED { rdf:first @<Device.additive> ; rdf:rest [rdf:nil] OR @<OneOrMore_Device.additive> } <OneOrMore_ContactPoint> CLOSED { rdf:first @<ContactPoint> ; rdf:rest [rdf:nil] OR @<OneOrMore_ContactPoint> } <OneOrMore_Annotation> CLOSED { rdf:first @<Annotation> ; rdf:rest [rdf:nil] OR @<OneOrMore_Annotation> } #---------------------- Value Sets ------------------------ # The status of the Device record.fhirvs:device-status ["active" "inactive" "entered-in-error"]fhirvs:device-status ["active" "inactive" "entered-in-error" "unknown"] # Codes to identify how UDI data was entered. fhirvs:udi-entry-type ["barcode" "rfid" "manual" "card" "self-reported" "electronic-transmission" "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