This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions
Example EventDefinition/example (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
Example of eventdefinition
@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
[a fhir:EventDefinition ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "example"] ; #
fhir:extension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
fhir:value [ fhir:v "cds" ]
] ) ; #
fhir:status [ fhir:v "draft"] ; #
fhir:publisher [ fhir:v "HL7 International / Clinical Decision Support"] ; #
fhir:contact ( [
fhir:telecom ( [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://www.hl7.org/Special/committees/dss" ]
] )
] ) ; #
fhir:purpose [ fhir:v "Monitor all admissions to Emergency"] ; #
fhir:trigger ( [
fhir:type [ fhir:v "named-event" ] ;
fhir:name [ fhir:v "monitor-emergency-admissions" ] ;
fhir:data ( [
fhir:type [ fhir:v "Encounter" ]
] ) ;
fhir:condition [
fhir:description [ fhir:v "Encounter Location = emergency (active/completed encounters, current or previous)" ] ;
fhir:language [ fhir:v "text/fhirpath" ] ;
fhir:expression [ fhir:v "(%current | %previous).location.where(location = 'Location/emergency' and status in {'active', 'completed'}).exists()" ]
]
] )] . #
# -------------------------------------------------------------------------------------
Usage note: every effort has been made to ensure that the
examples are correct and useful, but they are not a normative part
of the specification.