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
Meta.shex
Raw ShEx
ShEx statement for Meta
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 <id.shex>
IMPORT <uri.shex>
IMPORT <Coding.shex>
IMPORT <instant.shex>
IMPORT <DataType.shex>
IMPORT <canonical.shex>
# Metadata about a resource
<Meta> EXTENDS @<DataType> CLOSED {
a [fhir:Meta]?;
fhir:versionId @<id>?; # Version specific identifier
fhir:lastUpdated @<instant>?; # When the resource version last
# changed
fhir:source @<uri>?; # Identifies where the resource
# comes from
fhir:profile @<OneOrMore_canonical>?; # Profiles this resource claims to
# conform to
fhir:security @<OneOrMore_Coding>?; # Security Labels applied to this
# resource
fhir:tag @<OneOrMore_Coding>?; # Tags applied to this resource
}
#---------------------- Cardinality Types (OneOrMore) -------------------
<OneOrMore_canonical> CLOSED {
rdf:first @<canonical> ;
rdf:rest [rdf:nil] OR @<OneOrMore_canonical>
}
<OneOrMore_Coding> CLOSED {
rdf:first @<Coding> ;
rdf:rest [rdf:nil] OR @<OneOrMore_Coding>
}
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.