Release 5 R6 Ballot (2nd Draft)

This page is part of the FHIR Specification (v5.0.0: R5 - STU v6.0.0-ballot2: Release 6 Ballot (2nd Draft) (see Ballot Notes ). This is the The current published version in it's permanent home (it will always be available at this URL). is 5.0.0 . For a full list of available versions, see the Directory of published versions

Example Subscription/admission (XML)

FHIR Infrastructure Work Group Maturity Level : N/A 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.