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 R3
Usagecontext.shex
Raw ShEx
ShEx statement for UsageContext
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 <Range.shex>
IMPORT <Group.shex>
IMPORT <Coding.shex>
IMPORT <DataType.shex>
IMPORT <Quantity.shex>
IMPORT <Location.shex>
IMPORT <Reference.shex>
IMPORT <Organization.shex>
IMPORT <ResearchStudy.shex>
IMPORT <InsurancePlan.shex>
IMPORT <PlanDefinition.shex>
IMPORT <CodeableConcept.shex>
IMPORT <HealthcareService.shex>
# Describes the context of use for a conformance or knowledge resource
<UsageContext> EXTENDS @<DataType> CLOSED {
a [fhir:UsageContext]?;
fhir:code @<Coding>; # Type of context being specified
fhir:value @<CodeableConcept> OR
@<Quantity> OR
@<Range> OR
(@<Reference> AND {fhir:link @<PlanDefinition> OR
@<ResearchStudy> OR
@<InsurancePlan> OR
@<HealthcareService> OR
@<Group> OR
@<Location> OR
@<Organization> }) ; # Value that defines the context
}
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.