DSTU2

This page is part of the FHIR Specification (v1.0.2: DSTU 2). 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 R4 R3 R2

Subscription-example.xml

Raw XML (canonical form)

Example Subscription (id = "example")

<Subscription xmlns="http://hl7.org/fhir">
 <id value="example"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">[Put rendering here]</div>
  </text>

  <criteria value="Observation?code=http://loinc.org|1975-2"/>
  <contact>
    <system value="phone"/>
    <value value="ext 4123"/>
  </contact>
  <reason value="Monitor new neonatal function"/>
  <status value="requested"/>
  <channel>
    <type value="rest-hook"/>
    <endpoint value="https://biliwatch.com/customers/mount-auburn-miu/on-result"/>
    <payload value="application/json"/>
    <header value="Authorization: Bearer secret-token-abc-123"/>
  </channel>  
  <end value="2021-01-01T00:00:00Z"/>
  <tag>
    <system value="http://example.org/fhir/cs/internal"/>
    <code value="bili-done"/>
  </tag>
</Subscription>

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.