<?xml version="1.0" encoding="UTF-8"?>

<Subscription xmlns="http://hl7.org/fhir">
  <id value="example"/>
  <identifier>
    <system value="urn:ietf:rfc:3986"/>
    <value value="urn:uuid:97e5aa1e-5916-4512-a36e-24eef784e3cc"/>
  </identifier>
  <name value="Example"/>
  <status value="active"/>
  <topic value="http://example.org/R5/SubscriptionTopic/example"/>
  <contact>
    <system value="phone"/>
    <value value="(555) 555-1212"/>
    <use value="work"/>
  </contact>
  <reason value="Example subscription for example topic"/>
  <filterBy>
    <resource value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
    <filterParameter value="patient"/>
    <value value="Patient/123"/>
  </filterBy>
  <channelType>
    <code value="rest-hook"/>
  </channelType>
</Subscription>