{
"description": "Example of an EventDefinition for monitoring emergency department admissions.",
"_filename": "EventDefinition-example.json",
"package_name": "hl7.fhir.r6.examples",
"date": null,
"publisher": "HL7 International / Clinical Decision Support",
"purpose": "Monitor all admissions to Emergency",
"name": "EventDefinitionExample",
"type": null,
"experimental": "true",
"resourceType": "EventDefinition",
"title": "EventDefinition Example",
"package_version": "6.0.0-ballot5",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode": "informative"
}, {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger": 6
}, {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode": "cds"
} ],
"status": "draft",
"id": "b61c2abb-7c2c-4a86-85aa-fa5d9c8c3238",
"kind": null,
"url": "http://hl7.org/fhir/EventDefinition/example",
"version": null,
"trigger": [ {
"data": [ {
"type": "Encounter"
} ],
"name": "monitor-emergency-admissions",
"type": "data-changed",
"condition": {
"language": "text/fhirpath",
"expression": "(%current | %previous).location.where(location = 'Location/emergency' and status in {'active', 'completed'}).exists()",
"description": "Encounter Location = emergency (active/completed encounters, current or previous)"
}
} ],
"contact": [ {
"telecom": [ {
"value": "http://www.hl7.org/Special/committees/dss",
"system": "url"
} ]
} ]
}