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
Expression.shex
Raw ShEx
ShEx statement for Expression
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>
IMPORT <string.shex>
IMPORT <DataType.shex>
# An expression that can be used to generate a value
<Expression> EXTENDS @<DataType> CLOSED {
a [fhir:Expression]?;
fhir:description @<string>?; # Natural language description of
# the condition
fhir:name @<code>?; # Short name assigned to expression
# for reuse
fhir:language @<code>?; # text/cql | text/fhirpath |
# application/x-fhir-query | etc.
fhir:expression @<string>?; # Expression in specified language
fhir:reference @<uri>?; # Where the expression is found
}
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.