{
  "resourceType": "SubscriptionTopic",
  "id": "admission-binary",
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "fhir"
    }
  ],
  "url": "http://example.org/FHIR/SubscriptionTopic/admission-binary",
  "identifier": [
    {
      "system": "urn:ietf:rfc:3986",
      "value": "urn:uuid:174f26f9-c66f-4165-9407-2c90e3fc3123"
    }
  ],
  "title": "admission-binary",
  "status": "active",
  "publisher": "HL7 International / FHIR Infrastructure",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.hl7.org/Special/committees/fiwg"
        }
      ]
    }
  ],
  "description": "Example admission topic using a Binary resource",
  "trigger": [
    {
      "description": "Admission being created or updated into an `in-progress` state",
      "resource": "http://hl7.org/fhir/StructureDefinition/Basic",
      "supportedInteraction": [
        "create",
        "update"
      ],
      "event": {
        "coding": [
          {
            "system": "http://terminology.hl7.org/CodeSystem/v2-0003",
            "code": "A01",
            "display": "ADT/ACK - Admit/visit notification"
          }
        ]
      },
      "canFilterBy": [
        {
          "description": "Matching based on the Patient. Input is expected to be a search `reference` and match against a reference to the patient.",
          "resource": "Binary",
          "filterParameter": "admission-patient",
          "filterDefinition": "http://example.org/SearchParameters/Binary/admission-patient"
        },
        {
          "description": "Matching based on the Patient Group. Input is expected to be a search `reference` and match against a reference to a group the patient has membership in.",
          "resource": "Basic",
          "filterParameter": "admission-patient-group",
          "filterDefinition": "http://example.org/SearchParameters/Binary/admission-patient-group"
        }
      ],
      "notificationShape": [
        {
          "resource": "Binary",
          "include": [
            "Binary:admission-patient",
            "Binary:admission-patient-group"
          ]
        }
      ]
    }
  ]
}