This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version. For a full list of available versions, see the Directory of published versions
. Page versions: R5 R4B R4 R3
Codeableconcept.shex
Raw ShEx
ShEx statement for CodeableConcept
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 <Coding.shex>
IMPORT <string.shex>
IMPORT <DataType.shex>
# Concept - reference to a terminology or just text
<CodeableConcept> EXTENDS @<DataType> CLOSED {
a [fhir:CodeableConcept]?;
a NONLITERAL*;
fhir:coding @<OneOrMore_Coding>?; # Code defined by a terminology
# system
fhir:text @<string>?; # Plain text representation of the
# concept
}
#---------------------- Cardinality Types (OneOrMore) -------------------
<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.