{"contact":[{"telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/dss"}]}],"description":"Example of an EventDefinition for monitoring emergency department admissions.","experimental":true,"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"}],"id":"example","name":"EventDefinitionExample","publisher":"HL7 International / Clinical Decision Support","purpose":"Monitor all admissions to Emergency","resourceType":"EventDefinition","status":"draft","title":"EventDefinition Example","trigger":[{"condition":{"description":"Encounter Location = emergency (active/completed encounters, current or previous)","expression":"(%current | %previous).location.where(location = 'Location/emergency' and status in {'active', 'completed'}).exists()","language":"text/fhirpath"},"data":[{"type":"Encounter"}],"name":"monitor-emergency-admissions","type":"data-changed"}],"url":"http://hl7.org/fhir/EventDefinition/example"}