Release 5 FHIR CI-Build

This page is part of the Continuous Integration Build of FHIR Specification (v5.0.0: R5 - STU ). This is the current published version in it's permanent home (it will always (will be available incorrect/inconsistent at this URL). For a full list of available versions, see times).
See the Directory of published versions

Example Subscription/admission (XML)

Maturity Level : N/A
Responsible Owner: FHIR Infrastructure Work Group Standards Status : Informative Compartments : No defined compartments

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

Jump past Narrative

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

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


  
  display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border:
       1px solid #8da1b4; border-radius: 5px; line-height: 60%
  
  
  
  
  
    
    
  
  
    
  
  
  
    
    
  
  
  
  
  
  

<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.