PREFIX fhir:
PREFIX fhirvs:
PREFIX xsd:
BASE
start=@ AND {fhir:nodeRole [fhir:treeRoot]}
# An instance of a medical-related component of a medical device
CLOSED {
a [fhir:DeviceDefinition];
fhir:nodeRole [fhir:treeRoot]?;
fhir:Resource.id id?; # Logical id of this artifact
fhir:Resource.meta @?; # Metadata about the resource
fhir:Resource.implicitRules @?; # A set of rules under which this
# content was created
fhir:Resource.language @?; # Language of the resource content
fhir:DomainResource.text @?; # Text summary of the resource, for
# human interpretation
fhir:DomainResource.contained @*; # Contained, inline Resources
fhir:DomainResource.extension @*; # Additional content defined by
# implementations
fhir:DomainResource.modifierExtension @*; # Extensions that cannot be ignored
fhir:DeviceDefinition.identifier @*; # Instance identifier
fhir:DeviceDefinition.udiDeviceIdentifier @*; # Unique Device Identifier (UDI)
# Barcode string
( # Name of device manufacturer
fhir:DeviceDefinition.manufacturerString @ |
fhir:DeviceDefinition.manufacturerReference @
)?;
fhir:DeviceDefinition.deviceName @*; # A name given to the device to
# identify it
fhir:DeviceDefinition.modelNumber @?; # The model number for the device
fhir:DeviceDefinition.type @?; # What kind of device or device
# system this is
fhir:DeviceDefinition.specialization @*; # The capabilities supported on a
# device, the standards to which the
# device conforms for a particular
# purpose, and used for the
# communication
fhir:DeviceDefinition.version @*; # Available versions
fhir:DeviceDefinition.safety @*; # Safety characteristics of the
# device
fhir:DeviceDefinition.shelfLifeStorage @*; # Shelf Life and storage information
fhir:DeviceDefinition.physicalCharacteristics @?; # Dimensions, color etc.
fhir:DeviceDefinition.languageCode @*; # Language code for the
# human-readable text strings
# produced by the device (all
# supported)
fhir:DeviceDefinition.capability @*; # Device capabilities
fhir:DeviceDefinition.property @*; # The actual configuration settings
# of a device as it actually
# operates, e.g., regulation status,
# time properties
fhir:DeviceDefinition.owner @?; # Organization responsible for device
fhir:DeviceDefinition.contact @*; # Details for human/organization for
# support
fhir:DeviceDefinition.url @?; # Network address to contact device
fhir:DeviceDefinition.onlineInformation @?; # Access to on-line information
fhir:DeviceDefinition.note @*; # Device notes and comments
fhir:DeviceDefinition.quantity @?; # The quantity of the device present
# in the packaging (e.g. the number
# of devices present in a pack, or
# the number of devices in the same
# package of the medicinal product)
fhir:DeviceDefinition.parentDevice @?; # The parent device it can be part of
fhir:DeviceDefinition.material @*; # A substance used to create the
# material(s) of which the device is
# made
fhir:index xsd:integer? # Relative position in a list
}
# Unique Device Identifier (UDI) Barcode string
CLOSED {
fhir:Element.id string?; # Unique id for inter-element
# referencing
fhir:Element.extension @*; # Additional content defined by
# implementations
fhir:BackboneElement.modifierExtension @*; # Extensions that cannot be ignored
# even if unrecognized
fhir:DeviceDefinition.udiDeviceIdentifier.deviceIdentifier @; # The identifier that is to be
# associated with every Device that
# references this DeviceDefintiion
# for the issuer and jurisdication
# porvided in the
# DeviceDefinition.udiDeviceIdenti-
# fier
fhir:DeviceDefinition.udiDeviceIdentifier.issuer @; # The organization that assigns the
# identifier algorithm
fhir:DeviceDefinition.udiDeviceIdentifier.jurisdiction @; # The jurisdiction to which the
# deviceIdentifier applies
fhir:index xsd:integer? # Relative position in a list
}
# The capabilities supported on a device, the standards to which the device conforms for a particular purpose, and used for the communication
CLOSED {
fhir:Element.id string?; # Unique id for inter-element
# referencing
fhir:Element.extension @*; # Additional content defined by
# implementations
fhir:BackboneElement.modifierExtension @*; # Extensions that cannot be ignored
# even if unrecognized
fhir:DeviceDefinition.specialization.systemType @; # The standard that is used to
# operate and communicate
fhir:DeviceDefinition.specialization.version @?; # The version of the standard that
# is used to operate and communicate
fhir:index xsd:integer? # Relative position in a list
}
# A substance used to create the material(s) of which the device is made
CLOSED {
fhir:Element.id string?; # Unique id for inter-element
# referencing
fhir:Element.extension @*; # Additional content defined by
# implementations
fhir:BackboneElement.modifierExtension @*; # Extensions that cannot be ignored
# even if unrecognized
fhir:DeviceDefinition.material.substance @; # The substance
fhir:DeviceDefinition.material.alternate @?; # Indicates an alternative material
# of the device
fhir:DeviceDefinition.material.allergenicIndicator @?; # Whether the substance is a known
# or suspected allergen
fhir:index xsd:integer? # Relative position in a list
}
# A name given to the device to identify it
CLOSED {
fhir:Element.id string?; # Unique id for inter-element
# referencing
fhir:Element.extension @*; # Additional content defined by
# implementations
fhir:BackboneElement.modifierExtension @*; # Extensions that cannot be ignored
# even if unrecognized
fhir:DeviceDefinition.deviceName.name @; # The name of the device
fhir:DeviceDefinition.deviceName.type @ AND
{fhir:value @fhirvs:device-nametype}; # udi-label-name |
# user-friendly-name |
# patient-reported-name |
# manufacturer-name | model-name |
# other
fhir:index xsd:integer? # Relative position in a list
}
# Device capabilities
CLOSED {
fhir:Element.id string?; # Unique id for inter-element
# referencing
fhir:Element.extension @*; # Additional content defined by
# implementations
fhir:BackboneElement.modifierExtension @*; # Extensions that cannot be ignored
# even if unrecognized
fhir:DeviceDefinition.capability.type @; # Type of capability
fhir:DeviceDefinition.capability.description @*; # Description of capability
fhir:index xsd:integer? # Relative position in a list
}
# The actual configuration settings of a device as it actually operates, e.g., regulation status, time properties
CLOSED {
fhir:Element.id string?; # Unique id for inter-element
# referencing
fhir:Element.extension @*; # Additional content defined by
# implementations
fhir:BackboneElement.modifierExtension @*; # Extensions that cannot be ignored
# even if unrecognized
fhir:DeviceDefinition.property.type @; # Code that specifies the property
# DeviceDefinitionPropetyCode
# (Extensible)
fhir:DeviceDefinition.property.valueQuantity @*; # Property value as a quantity
fhir:DeviceDefinition.property.valueCode @*; # Property value as a code, e.g.,
# NTP4 (synced to NTP)
fhir:index xsd:integer? # Relative position in a list
}
#---------------------- Data Types -------------------
# Metadata about a resource
CLOSED {
fhir:Element.id id?; # Unique id for inter-element
# referencing
fhir:Element.extension @*; # Additional content defined by
# implementations
fhir:Meta.versionId @?; # Version specific identifier
fhir:Meta.lastUpdated @?; # When the resource version last
# changed
fhir:Meta.source @?; # Identifies where the resource
# comes from
fhir:Meta.profile @*; # Profiles this resource claims to
# conform to
fhir:Meta.security @*; # Security Labels applied to this
# resource
fhir:Meta.tag @*; # Tags applied to this resource
fhir:index xsd:integer? # Relative position in a list
}
# Primitive Type code
CLOSED {
fhir:Element.id string?; # xml:id (or equivalent in JSON)
fhir:Element.extension @*; # Additional content defined by
# implementations
fhir:value code?; # Primitive value for code
fhir:index xsd:integer? # Relative position in a list
}
# Primitive Type string
CLOSED {
fhir:Element.id string?; # xml:id (or equivalent in JSON)
fhir:Element.extension @*; # Additional content defined by
# implementations
fhir:value string MAXLENGTH 1048576?; # Primitive value for string
fhir:index xsd:integer? # Relative position in a list
}
# A reference from one resource to another
CLOSED {
fhir:link IRI?;
fhir:Element.id id?; # Unique id for inter-element
# referencing
fhir:Element.extension @*; # Additional content defined by
# implementations
fhir:Reference.reference @?; # Literal reference, Relative,
# internal or absolute URL
fhir:Reference.type @?; # Type the reference refers to (e.g.
# "Patient")
fhir:Reference.identifier @?; # Logical reference, when literal
# reference is not known
fhir:Reference.display @?; # Text alternative for the resource
fhir:index xsd:integer? # Relative position in a list
}
# Base Resource
{a .+;
fhir:Resource.id id?; # Logical id of this artifact
fhir:Resource.meta @?; # Metadata about the resource
fhir:Resource.implicitRules @?; # A set of rules under which this
# content was created
fhir:Resource.language @?; # Language of the resource content
fhir:index xsd:integer?
}
# A measured or measurable amount
CLOSED {
fhir:Element.id id?; # Unique id for inter-element
# referencing
fhir:Element.extension @*; # Additional content defined by
# implementations
fhir:Quantity.value @?; # Numerical value (with implicit
# precision)
fhir:Quantity.comparator @ AND
{fhir:value @fhirvs:quantity-comparator}?; # < | <= | >= | > - how to
# understand the value
fhir:Quantity.unit @?; # Unit representation
fhir:Quantity.system @?; # System that defines coded unit form
fhir:Quantity.code @?; # Coded form of the unit
fhir:index xsd:integer? # Relative position in a list
}
# Primitive Type uri
CLOSED {
fhir:Element.id string?; # xml:id (or equivalent in JSON)
fhir:Element.extension @*; # Additional content defined by
# implementations
fhir:value uri?; # Primitive value for uri
fhir:index xsd:integer? # Relative position in a list
}
# The shelf-life and storage information for a medicinal product item or container can be described using this class
CLOSED {
fhir:Element.id id?; # Unique id for inter-element
# referencing
fhir:Element.extension @*; # Additional content defined by
# implementations
fhir:BackboneElement.modifierExtension @*; # Extensions that cannot be ignored
# even if unrecognized
fhir:ProductShelfLife.identifier @?; # Unique identifier for the packaged
# Medicinal Product
fhir:ProductShelfLife.type @; # This describes the shelf life,
# taking into account various
# scenarios such as shelf life of
# the packaged Medicinal Product
# itself, shelf life after
# transformation where necessary and
# shelf life after the first opening
# of a bottle, etc. The shelf life
# type shall be specified using an
# appropriate controlled vocabulary
# The controlled term and the
# controlled term identifier shall
# be specified
fhir:ProductShelfLife.period @; # The shelf life time period can be
# specified using a numerical value
# for the period of time and its
# unit of time measurement The unit
# of measurement shall be specified
# in accordance with ISO 11240 and
# the resulting terminology The
# symbol and the symbol identifier
# shall be used
fhir:ProductShelfLife.specialPrecautionsForStorage @*; # Special precautions for storage,
# if any, can be specified using an
# appropriate controlled vocabulary
# The controlled term and the
# controlled term identifier shall
# be specified
fhir:index xsd:integer? # Relative position in a list
}
# Text node with attribution
CLOSED {
fhir:Element.id id?; # Unique id for inter-element
# referencing
fhir:Element.extension @*; # Additional content defined by
# implementations
( # Individual responsible for the
# annotation
fhir:Annotation.authorReference @ |
fhir:Annotation.authorString @
)?;
fhir:Annotation.time @?; # When the annotation was made
fhir:Annotation.text @; # The annotation - text content (as
# markdown)
fhir:index xsd:integer? # Relative position in a list
}
# Optional Extensions Element
CLOSED {
fhir:Element.id id?;
fhir:Element.extension @*;
fhir:Extension.url uri;
(
fhir:Extension.valueBase64Binary @ |
fhir:Extension.valueBoolean @ |
fhir:Extension.valueCanonical @ |
fhir:Extension.valueCode @ |
fhir:Extension.valueDate @ |
fhir:Extension.valueDateTime @ |
fhir:Extension.valueDecimal @ |
fhir:Extension.valueId @ |
fhir:Extension.valueInstant @ |
fhir:Extension.valueInteger @ |
fhir:Extension.valueMarkdown @ |
fhir:Extension.valueOid @ |
fhir:Extension.valuePositiveInt @ |
fhir:Extension.valueString @ |
fhir:Extension.valueTime @