FoundationThis is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions
| Responsible Owner: Terminology Infrastructure Work Group | Standards Status: Informative | Compartments: No defined compartments |
ShEx statement for terminologycapabilities
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#>
# ShEx Version 2.2
IMPORT <Uri.shex>
IMPORT <Url.shex>
IMPORT <Code.shex>
IMPORT <String.shex>
IMPORT <Coding.shex>
IMPORT <Boolean.shex>
IMPORT <DateTime.shex>
IMPORT <Markdown.shex>
IMPORT <Canonical.shex>
IMPORT <Identifier.shex>
IMPORT <UsageContext.shex>
IMPORT <ContactDetail.shex>
IMPORT <DomainResource.shex>
IMPORT <CodeableConcept.shex>
IMPORT <BackboneElement.shex>
start=@<TerminologyCapabilities> AND {fhir:nodeRole [fhir:treeRoot]}
# A statement of system capabilities
<TerminologyCapabilities> EXTENDS @<DomainResource> CLOSED {
a [fhir:TerminologyCapabilities]?;fhir:nodeRole [fhir:treeRoot]?;
fhir:url @<Uri>?; # Canonical identifier for this
# terminology capabilities,
# represented as a URI (globally
# unique)
fhir:identifier @<OneOrMore_Identifier>?; # Additional identifier for the
# terminology capabilities
fhir:version @<String>?; # Business version of the
# terminology capabilities
fhir:versionAlgorithm @<String> OR
@<Coding> ?; # How to compare versions
fhir:name @<String>?; # Name for this terminology
# capabilities (computer friendly)
fhir:title @<String>?; # Name for this terminology
# capabilities (human friendly)
fhir:status @<Code> AND
{fhir:v @fhirvs:publication-status}; # draft | active | retired | unknown
fhir:experimental @<Boolean>?; # For testing only - never for real
# usage
fhir:date @<DateTime>; # Date last changed
fhir:publisher @<String>?; # Name of the publisher/steward
# (organization or individual)
fhir:contact @<OneOrMore_ContactDetail>?; # Contact details for the publisher
fhir:description @<Markdown>?; # Natural language description of
# the terminology capabilities
fhir:useContext @<OneOrMore_UsageContext>?; # The context that the content is
# intended to support
fhir:jurisdiction @<OneOrMore_CodeableConcept>?; # Jurisdiction of the authority that
# maintains the terminology
# capabilities (if applicable)
fhir:purpose @<Markdown>?; # Why this terminology capabilities
# is defined
fhir:copyright @<Markdown>?; # Notice about intellectual property
# ownership, can include
# restrictions on use
fhir:copyrightLabel @<String>?; # Copyright holder and year(s)
fhir:kind @<Code> AND
{fhir:v @fhirvs:capability-statement-kind}; # instance | capability |
# requirements
fhir:software @<TerminologyCapabilities.software>?; # Software that is covered by this
# terminology capability statement
fhir:implementation @<TerminologyCapabilities.implementation>?; # If this describes a specific
# instance
fhir:lockedDate @<Boolean>?; # Whether lockedDate is supported
fhir:codeSystem @<OneOrMore_TerminologyCapabilities.codeSystem>?; # A code system supported by the
# server
fhir:supplements @<TerminologyCapabilities.supplements>?; # Supplement Support Information
fhir:expansion @<TerminologyCapabilities.expansion>?; # Information about the
# [ValueSet/$expand](valueset-oper-
# ation-expand.html) operation
fhir:codeSearch @<Code> AND
{fhir:v @fhirvs:code-search-support}?; # in-compose | in-expansion |
# in-compose-or-expansion
fhir:validateCode @<TerminologyCapabilities.validateCode>?; # Information about the
# [ValueSet/$validate-code](values-
# et-operation-validate-code.html)
# operation
fhir:translation @<TerminologyCapabilities.translation>?; # Information about the
# [ConceptMap/$translate](conceptm-
# ap-operation-translate.html)
# operation
}
# If this describes a specific instance
<TerminologyCapabilities.implementation> EXTENDS @<BackboneElement> CLOSED {
fhir:description @<Markdown>; # Describes this specific instance
fhir:url @<Url>?; # Base URL for the implementation
}
# Software that is covered by this terminology capability statement
<TerminologyCapabilities.software> EXTENDS @<BackboneElement> CLOSED {
fhir:name @<String>; # A name the software is known by
fhir:version @<String>?; # Version covered by this statement
}
# Information about the [ValueSet/$expand](valueset-operation-expand.html) operation
<TerminologyCapabilities.expansion> EXTENDS @<BackboneElement> CLOSED {
fhir:hierarchical @<Boolean>?; # Whether the server can return
# nested value sets
fhir:paging @<Boolean>?; # Whether the server supports paging
# on expansion
fhir:incomplete @<Boolean>?; # Allow request for incomplete
# expansions?
fhir:parameter @<OneOrMore_TerminologyCapabilities.expansion.parameter>?; # Supported expansion parameter
fhir:textFilter @<Markdown>?; # Documentation about text searching
# works
}
# Information about the [ConceptMap/$translate](conceptmap-operation-translate.html) operation
<TerminologyCapabilities.translation> EXTENDS @<BackboneElement> CLOSED {
fhir:needsMap @<Boolean>; # Whether the client must identify
# the map
}
# Version of Code System supported
<TerminologyCapabilities.codeSystem.version> EXTENDS @<BackboneElement> CLOSED {
fhir:code @<String>?; # Version identifier for this version
fhir:isDefault @<Boolean>?; # If this is the default version for
# this code system
fhir:supplement @<OneOrMore_Canonical>?; # Canonical identifier for a
# supported supplement to this code
# system version (including
# supplement version)
fhir:compositional @<Boolean>?; # If compositional grammar is
# supported
fhir:language @<OneOrMore_Code> AND
{fhir:v @fhirvs:all-languages}?; # Language Displays supported
fhir:filter @<OneOrMore_TerminologyCapabilities.codeSystem.version.filter>?; # Filter Properties supported
fhir:property @<OneOrMore_Code>?; # Properties supported for $lookup
}
# Information about the [ValueSet/$validate-code](valueset-operation-validate-code.html) operation
<TerminologyCapabilities.validateCode> EXTENDS @<BackboneElement> CLOSED {
fhir:translations @<Boolean>; # Whether translations are validated
}
# Filter Properties supported
<TerminologyCapabilities.codeSystem.version.filter> EXTENDS @<BackboneElement> CLOSED {
fhir:code @<Code>; # Code of the property supported
fhir:op @<OneOrMore_Code>; # Operations supported for the
# property
}
# Supplement Support Information
<TerminologyCapabilities.supplements> EXTENDS @<BackboneElement> CLOSED {
fhir:globals @<Code> AND
{fhir:v @fhirvs:global-langpack-support}?; # not-supported | explicit | implicit
}
# A code system supported by the server
<TerminologyCapabilities.codeSystem> EXTENDS @<BackboneElement> CLOSED {
fhir:uri @<Canonical>?; # Canonical identifier for the code
# system, represented as a URI (no
# version portion)
fhir:supplement @<OneOrMore_Canonical>?; # Canonical identifier for a
# supported supplement to this code
# system (including supplement
# version)
fhir:version @<OneOrMore_TerminologyCapabilities.codeSystem.version>?; # Version of Code System supported
fhir:content @<Code> AND
{fhir:v @fhirvs:codesystem-content-mode}; # not-present | example | fragment |
# complete | supplement
fhir:subsumption @<Boolean>?; # Whether subsumption is supported
}
# Supported expansion parameter
<TerminologyCapabilities.expansion.parameter> EXTENDS @<BackboneElement> CLOSED {
fhir:name @<Code>; # Name of the supported expansion
# parameter
fhir:documentation @<Markdown>?; # Description of support for
# parameter
}
#---------------------- Cardinality Types (OneOrMore) -------------------
<OneOrMore_Identifier> CLOSED {
rdf:first @<Identifier> ;
rdf:rest [rdf:nil] OR @<OneOrMore_Identifier>
}
<OneOrMore_ContactDetail> CLOSED {
rdf:first @<ContactDetail> ;
rdf:rest [rdf:nil] OR @<OneOrMore_ContactDetail>
}
<OneOrMore_UsageContext> CLOSED {
rdf:first @<UsageContext> ;
rdf:rest [rdf:nil] OR @<OneOrMore_UsageContext>
}
<OneOrMore_CodeableConcept> CLOSED {
rdf:first @<CodeableConcept> ;
rdf:rest [rdf:nil] OR @<OneOrMore_CodeableConcept>
}
<OneOrMore_TerminologyCapabilities.codeSystem> CLOSED {
rdf:first @<TerminologyCapabilities.codeSystem> ;
rdf:rest [rdf:nil] OR @<OneOrMore_TerminologyCapabilities.codeSystem>
}
<OneOrMore_TerminologyCapabilities.expansion.parameter> CLOSED {
rdf:first @<TerminologyCapabilities.expansion.parameter> ;
rdf:rest [rdf:nil] OR @<OneOrMore_TerminologyCapabilities.expansion.parameter>
}
<OneOrMore_Canonical> CLOSED {
rdf:first @<Canonical> ;
rdf:rest [rdf:nil] OR @<OneOrMore_Canonical>
}
<OneOrMore_Code> CLOSED {
rdf:first @<Code> ;
rdf:rest [rdf:nil] OR @<OneOrMore_Code>
}
<OneOrMore_TerminologyCapabilities.codeSystem.version.filter> CLOSED {
rdf:first @<TerminologyCapabilities.codeSystem.version.filter> ;
rdf:rest [rdf:nil] OR @<OneOrMore_TerminologyCapabilities.codeSystem.version.filter>
}
<OneOrMore_TerminologyCapabilities.codeSystem.version> CLOSED {
rdf:first @<TerminologyCapabilities.codeSystem.version> ;
rdf:rest [rdf:nil] OR @<OneOrMore_TerminologyCapabilities.codeSystem.version>
}
#---------------------- Value Sets ------------------------
# This value set includes all possible codes from BCP-47 (see http://tools.ietf.org/html/bcp47)
fhirvs:all-languages xsd:string #EXTERNAL
# How a capability statement is intended to be used.
fhirvs:capability-statement-kind ["instance" "capability" "requirements"]
# The degree to which the server supports the code search parameter on ValueSet, if it is supported.
fhirvs:code-search-support ["in-compose" "in-expansion" "in-compose-or-expansion"]
# The extent of the content of the code system (the concepts and codes it defines) are represented in a code system resource.
fhirvs:codesystem-content-mode ["not-present" "example" "fragment" "complete" "supplement"]
# How a server supports global language packs
fhirvs:global-langpack-support ["not-supported" "explicit" "implicit"]
# The lifecycle status of an artifact.
fhirvs:publication-status ["draft" "active" "retired" "unknown"]
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.
FHIR ®© HL7.org 2011+. FHIR R6 hl7.fhir.core#6.0.0-ballot3 generated on Fri, Nov 21, 2025 00:03+0000.
Links: Search |
Version History |
Contents |
Glossary |
QA |
Compare to R4 |
Compare to R5 |
Compare to Last Ballot |
|
Propose a change