This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version in it's permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions
. Page versions: R5 R4B R4 R3
Annotation.shex
Raw ShEx
ShEx statement for Annotation
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 <string.shex>
IMPORT <Patient.shex>
IMPORT <DataType.shex>
IMPORT <dateTime.shex>
IMPORT <markdown.shex>
IMPORT <Reference.shex>
IMPORT <Practitioner.shex>
IMPORT <Organization.shex>
IMPORT <RelatedPerson.shex>
IMPORT <PractitionerRole.shex>
# Text node with attribution
<Annotation> EXTENDS @<DataType> CLOSED {
a [fhir:Annotation]?;
fhir:author (@<Reference> AND {fhir:link @<Practitioner> OR
@<PractitionerRole> OR
@<Patient> OR
@<RelatedPerson> OR
@<Organization> }) OR
@<string> ?; # Individual responsible for the
# annotation
fhir:time @<dateTime>?; # When the annotation was made
fhir:text @<markdown>; # The annotation - text content (as
# markdown)
}
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.