Foundation
This
page
is
part
of
the
Continuous
Integration
Build
of
FHIR
Specification
(v5.0.0:
R5
-
STU
).
This
is
the
current
published
version
in
it's
permanent
home
(it
will
always
(will
be
available
incorrect/inconsistent
at
this
URL).
For
a
full
list
of
available
versions,
see
times).
See
the
Directory
of
published
versions
.
Page
versions:
R5
R4B
R4
R3
| Responsible Owner: Clinical Decision Support Work Group | Standards Status : Informative | Compartments : No defined compartments |
ShEx statement for library
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 <date.shex># ShEx Version 2.2 IMPORT <Uri.shex> IMPORT <Code.shex> IMPORT <Date.shex> IMPORT <Group.shex>IMPORT <string.shex>IMPORT <String.shex> IMPORT <Coding.shex> IMPORT <Period.shex>IMPORT <boolean.shex> IMPORT <dateTime.shex> IMPORT <markdown.shex>IMPORT <Boolean.shex> IMPORT <DateTime.shex> IMPORT <Markdown.shex> IMPORT <Reference.shex> IMPORT <Identifier.shex> IMPORT <Attachment.shex> IMPORT <UsageContext.shex> IMPORT <ContactDetail.shex> IMPORT <DomainResource.shex> IMPORT <CodeableConcept.shex> IMPORT <RelatedArtifact.shex> IMPORT <DataRequirement.shex> IMPORT <ParameterDefinition.shex> start=@<Library> AND {fhir:nodeRole [fhir:treeRoot]} # Represents a library of quality improvement components <Library> EXTENDS @<DomainResource> CLOSED { a [fhir:Library]?;fhir:nodeRole [fhir:treeRoot]?;a [fhir:Library]?; fhir:nodeRole [fhir:treeRoot]?; fhir:url @<uri>?; # Canonical identifier for thisfhir:url @<Uri>?; # Canonical identifier for this # library, represented as a URI # (globally unique) fhir:identifier @<OneOrMore_Identifier>?; # Additional identifier for the # libraryfhir:version @<string>?; # Business version of the library fhir:versionAlgorithm @<string> ORfhir:version @<String>?; # Business version of the library fhir:versionAlgorithm @<String> OR @<Coding> ?; # How to compare versionsfhir:name @<string>?; # Name for this library (computerfhir:name @<String>?; # Name for this library (computer # friendly)fhir:title @<string>?; # Name for this library (humanfhir:title @<String>?; # Name for this library (human # friendly)fhir:subtitle @<string>?; # Subordinate title of the library fhir:status @<code> ANDfhir:subtitle @<String>?; # Subordinate title of the library fhir:status @<Code> AND {fhir:v @fhirvs:publication-status}; # draft | active | retired | unknownfhir:experimental @<boolean>?; # For testing purposes, not realfhir:experimental @<Boolean>?; # For testing only - never for real # usage fhir:type @<CodeableConcept>; # logic-library | model-definition | # asset-collection |# module-definition# module-definition | etc. fhir:subject @<CodeableConcept> OR(@<Reference> AND {fhir:link @<Group> }) ?; # Type of individual the library(@<Reference> AND {fhir:l @<Group> }) ?; # Type of individual the library # content is focused onfhir:date @<dateTime>?; # Date last changed fhir:publisher @<string>?; # Name of the publisher/stewardfhir:date @<DateTime>?; # Date last changed fhir:publisher @<String>?; # Name of the publisher/steward # (organization or individual) fhir:contact @<OneOrMore_ContactDetail>?; # Contact details for the publisherfhir:description @<markdown>?; # Natural language description offhir:description @<Markdown>?; # Natural language description of # the library fhir:useContext @<OneOrMore_UsageContext>?; # The context that the content is # intended to supportfhir:jurisdiction @<OneOrMore_CodeableConcept>?; # Intended jurisdiction for library # (if applicable) fhir:purpose @<markdown>?; # Why this library is defined fhir:usage @<markdown>?; # Describes the clinical usage offhir:jurisdiction @<OneOrMore_CodeableConcept>?; # Jurisdiction of the authority that # maintains the library (if # applicable) fhir:purpose @<Markdown>?; # Why this library is defined fhir:usage @<Markdown>?; # Describes the clinical usage of # the libraryfhir:copyright @<markdown>?; # Use and/or publishing restrictions fhir:copyrightLabel @<string>?; # Copyright holder and year(s) fhir:approvalDate @<date>?; # When the library was approved byfhir:copyright @<Markdown>?; # Notice about intellectual property # ownership, can include # restrictions on use fhir:copyrightLabel @<String>?; # Copyright holder and year(s) fhir:approvalDate @<Date>?; # When the library was approved by # publisherfhir:lastReviewDate @<date>?; # When the library was last reviewedfhir:lastReviewDate @<Date>?; # When the library was last reviewed # by the publisher fhir:effectivePeriod @<Period>?; # When the library is expected to be # used fhir:topic @<OneOrMore_CodeableConcept>?; # E.g. Education, Treatment, # Assessment, etc fhir:author @<OneOrMore_ContactDetail>?; # Who authored the content fhir:editor @<OneOrMore_ContactDetail>?; # Who edited the content fhir:reviewer @<OneOrMore_ContactDetail>?; # Who reviewed the content fhir:endorser @<OneOrMore_ContactDetail>?; # Who endorsed the content fhir:relatedArtifact @<OneOrMore_RelatedArtifact>?; # Additional documentation, # citations, etc fhir:parameter @<OneOrMore_ParameterDefinition>?; # Parameters defined by the library fhir:dataRequirement @<OneOrMore_DataRequirement>?; # What data is referenced by this # library fhir:content @<OneOrMore_Attachment>?; # Contents of the library, either # embedded or referenced } #---------------------- 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_RelatedArtifact> CLOSED { rdf:first @<RelatedArtifact> ; rdf:rest [rdf:nil] OR @<OneOrMore_RelatedArtifact> } <OneOrMore_ParameterDefinition> CLOSED { rdf:first @<ParameterDefinition> ; rdf:rest [rdf:nil] OR @<OneOrMore_ParameterDefinition> } <OneOrMore_DataRequirement> CLOSED { rdf:first @<DataRequirement> ; rdf:rest [rdf:nil] OR @<OneOrMore_DataRequirement> } <OneOrMore_Attachment> CLOSED { rdf:first @<Attachment> ; rdf:rest [rdf:nil] OR @<OneOrMore_Attachment> } #---------------------- Value Sets ------------------------ # 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
R5
hl7.fhir.core#5.0.0
R6
hl7.fhir.core#6.0.0-ballot3
generated
on
Sun,
Mar
26,
2023
15:25+1100.
Mon,
Nov
24,
2025
20:51+0000.
Links:
Search
|
Version
History
|
Contents
|
Glossary
|
QA
|
Compare
to
R4
|
Compare
to
R4B
R5
|
Compare
to
Last
Ballot
|
|
Propose
a
change