Release 5 Draft Ballot

This page is part of the FHIR Specification (v4.6.0: R5 Draft Ballot). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B

Subscriptiontopic-example-admission.json

FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Not linked to any defined compartments

Raw JSON (canonical form + also see JSON Format Specification)

Beginning of clinical encounter

{
  "resourceType": "SubscriptionTopic",
  "id": "admission",
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><p><b>url</b>: <a>http://argonautproject.org/subscription-ig/SubscriptionTopic/admission</a></p><p><b>title</b>: admission</p><p><b>status</b>: active</p><blockquote><p><b>resourceTrigger</b></p><p><b>description</b>: Beginning of a clinical encounter</p><p><b>resourceType</b>: <a>http://hl7.org/fhir/StructureDefinition/Encounter</a></p><h3>QueryCriteria</h3><table><tr><td>-</td><td><b>Previous</b></td><td><b>Current</b></td><td><b>RequireBoth</b></td></tr><tr><td>*</td><td>status:not=in-progress</td><td>status=in-progress</td><td>true</td></tr></table><p><b>fhirPathCriteria</b>: %previous.status!='in-progress' and %current.status='in-progress'</p><h3>CanFilterBies</h3><table><tr><td>-</td><td><b>SearchParamName</b></td><td><b>SearchModifier</b></td><td><b>Documentation</b></td></tr><tr><td>*</td><td>patient</td><td>=, in, not-in</td><td>Matching based on the Patient (subject) of an Encounter or based on the Patient's group membership (in/not-in).</td></tr></table></blockquote></div>"
  },
  "url": "http://argonautproject.org/subscription-ig/SubscriptionTopic/admission",
  "title": "admission",
  "status": "active",
  "resourceTrigger": [
    {
      "description": "Beginning of a clinical encounter",
      "resourceType": "http://hl7.org/fhir/StructureDefinition/Encounter",
      "queryCriteria": {
        "previous": "status:not=in-progress",
        "current": "status=in-progress",
        "requireBoth": true
      },
      "fhirPathCriteria": [
        "%previous.status!='in-progress' and %current.status='in-progress'"
      ],
      "canFilterBy": [
        {
          "searchParamName": "patient",
          "searchModifier": [
            "=",
            "in",
            "not-in"
          ],
          "documentation": "Matching based on the Patient (subject) of an Encounter or based on the Patient's group membership (in/not-in)."
        }
      ]
    }
  ]
}

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.