This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is a downloaded copy of the specification. For a full list of available versions, see the Directory of published versions
. Page versions: R5 R4B R4 R3
Element.shex
Raw ShEx
ShEx statement for Element
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 <Base.shex>
IMPORT <string.shex>
IMPORT <Extension.shex>
# Base for all elements
<Element> EXTENDS @<Base> CLOSED {
fhir:nodeRole [fhir:treeRoot]?;
fhir:id @<string>?; # Unique id for inter-element
# referencing
fhir:extension @<OneOrMore_Extension>?; # Additional content defined by
# implementations
}
#---------------------- Cardinality Types (OneOrMore) -------------------
<OneOrMore_Extension> CLOSED {
rdf:first @<Extension> ;
rdf:rest [rdf:nil] OR @<OneOrMore_Extension>
}
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.