FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

Example Subscription/admission (XML)

FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: No defined compartments

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

Example of subscription for beginning of a clinical encounter (id = "admission")

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

<Subscription xmlns="http://hl7.org/fhir">
  <id value="admission"/> 
  <name value="AdmissionExample"/> 
  <status value="active"/> 
  <topic value="http://example.org/R5/SubscriptionTopic/admission"/> 
  <end value="2019-08-07T11:15:18Z"/> 
  <managingEntity> 
    <reference value="Organization/1"/> 
  </managingEntity> 
  <reason value="subscription for beginning of a clinical encounter for patient 123"/> 
  <filterBy> 
    <filterParameter value="patient"/> 
    <value value="Patient/123"/> 
  </filterBy> 
  <channelType> 
    <code value="rest-hook"/> 
  </channelType> 
  <endpoint value="https://example.org/Endpoints/P123"/> 
  <parameter> 
    <name value="Authorization"/> 
    <value value="Bearer secret-token-abc-123"/> 
  </parameter> 
  <heartbeatPeriod value="60"/> 
  <timeout value="5"/> 
  <contentType value="application/fhir+json"/> 
  <content value="id-only"/> 
  <maxCount value="100"/> 
</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.