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
Extension.shex
Raw ShEx
ShEx statement for Extension
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 <oid.shex>
IMPORT <url.shex>
IMPORT <Age.shex>
IMPORT <code.shex>
IMPORT <date.shex>
IMPORT <time.shex>
IMPORT <uuid.shex>
IMPORT <Meta.shex>
IMPORT <Count.shex>
IMPORT <Money.shex>
IMPORT <Range.shex>
IMPORT <Ratio.shex>
IMPORT <string.shex>
IMPORT <Coding.shex>
IMPORT <Period.shex>
IMPORT <Timing.shex>
IMPORT <Dosage.shex>
IMPORT <boolean.shex>
IMPORT <decimal.shex>
IMPORT <instant.shex>
IMPORT <integer.shex>
IMPORT <Address.shex>
IMPORT <DataType.shex>
IMPORT <dateTime.shex>
IMPORT <markdown.shex>
IMPORT <Distance.shex>
IMPORT <Duration.shex>
IMPORT <Quantity.shex>
IMPORT <canonical.shex>
IMPORT <integer64.shex>
IMPORT <HumanName.shex>
IMPORT <Reference.shex>
IMPORT <Signature.shex>
IMPORT <Annotation.shex>
IMPORT <Attachment.shex>
IMPORT <Identifier.shex>
IMPORT <RatioRange.shex>
IMPORT <Expression.shex>
IMPORT <positiveInt.shex>
IMPORT <unsignedInt.shex>
IMPORT <SampledData.shex>
IMPORT <base64Binary.shex>
IMPORT <ContactPoint.shex>
IMPORT <UsageContext.shex>
IMPORT <Availability.shex>
IMPORT <ContactDetail.shex>
IMPORT <CodeableConcept.shex>
IMPORT <DataRequirement.shex>
IMPORT <RelatedArtifact.shex>
IMPORT <CodeableReference.shex>
IMPORT <TriggerDefinition.shex>
IMPORT <ParameterDefinition.shex>
IMPORT <ExtendedContactDetail.shex>
# Optional Extensions Element
<Extension> EXTENDS @<DataType> CLOSED {
a [fhir:Extension]?;
fhir:url @<uri>;
fhir:value @<base64Binary> OR
@<boolean> OR
@<canonical> OR
@<code> OR
@<date> OR
@<dateTime> OR
@<decimal> OR
@<id> OR
@<instant> OR
@<integer> OR
@<integer64> OR
@<markdown> OR
@<oid> OR
@<positiveInt> OR
@<string> OR
@<time> OR
@<unsignedInt> OR
@<uri> OR
@<url> OR
@<uuid> OR
@<Address> OR
@<Age> OR
@<Annotation> OR
@<Attachment> OR
@<CodeableConcept> OR
@<CodeableReference> OR
@<Coding> OR
@<ContactPoint> OR
@<Count> OR
@<Distance> OR
@<Duration> OR
@<HumanName> OR
@<Identifier> OR
@<Money> OR
@<Period> OR
@<Quantity> OR
@<Range> OR
@<Ratio> OR
@<RatioRange> OR
@<Reference> OR
@<SampledData> OR
@<Signature> OR
@<Timing> OR
@<ContactDetail> OR
@<DataRequirement> OR
@<Expression> OR
@<ParameterDefinition> OR
@<RelatedArtifact> OR
@<TriggerDefinition> OR
@<UsageContext> OR
@<Availability> OR
@<ExtendedContactDetail> OR
@<Dosage> OR
@<Meta> ?;
}
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.