This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions
Resource.shex
Raw ShEx
ShEx statement for resource
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 <Meta.shex>
IMPORT <code.shex>
start=@<Resource> AND {fhir:nodeRole [fhir:treeRoot]}
# Base Resource
<Resource> {
fhir:id @<id>?; # Logical id of this artifact
fhir:meta @<Meta>?; # Metadata about the resource
fhir:implicitRules @<uri>?; # A set of rules under which this
# content was created
fhir:language @<code> AND
{fhir:v @fhirvs:all-languages}?; # Language of the resource content
}
#---------------------- 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
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.