FHIR © HL7.org  |  Server Home  |  Health Intersections FHIR Server v1.9.374  |  FHIR Version 4.6.0  | User: ANONYMOUS (Unknown)  

History Record

XML or JSON representation

Links: First Previous Next Last  (1 found). Search: http://test.fhir.org/r5/EventDefinition/_history?&_prior=2021-06-21T01:06:38.468Z&_format=text/xhtml&history-id=dec943f1-056a-4bcf-bc48-abc2a93689 

EventDefinition "example" Version "1"

Tags: (no tags)  +

This Resource , XML or JSON representation, or the full version history.. provenance for this resource
Updated: by

Generated Narrative

status: draft

purpose: Monitor all admissions to Emergency

Triggers

-
*

{
  "resourceType" : "EventDefinition",
  "id" : "example",
  "meta" : {
    "versionId" : "1",
    "lastUpdated" : "2021-05-24T10:49:43.859Z",
    "tag" : [
      {
        "system" : "http://terminology.hl7.org/CodeSystem/v3-ActReason",
        "code" : "HTEST",
        "display" : "test health data"
      }
    ]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><p><b>status</b>: draft</p><p><b>purpose</b>: Monitor all admissions to Emergency</p><h3>Triggers</h3><table><tr><td>-</td></tr><tr><td>*</td></tr></table></div>"
  },
  "status" : "draft",
  "purpose" : "Monitor all admissions to Emergency",
  "trigger" : [
    {
      "type" : "named-event",
      "name" : "monitor-emergency-admissions",
      "data" : [
        {
          "type" : "Encounter"
        }
      ],
      "condition" : {
        "description" : "Encounter Location = emergency (active/completed encounters, current or previous)",
        "language" : "text/fhirpath",
        "expression" : "(this | %previous).location.where(location = 'Location/emergency' and status in {'active', 'completed'}).exists()"
      }
    }
  ]
}