Release 5 Preview #2

This page is part of the FHIR Specification (v4.4.0: R5 Preview #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

Subscription-admission.xml

FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Not linked to any 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"?>

<Subscription xmlns="http://hl7.org/fhir">
  <id value="admission"/> 
  <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"><p> <b> Generated Narrative with Details</b> </p> <p> <b> id</b> : admission</p> <p> <b> name</b> : AdmissionExample</p> <p> <b> status</b> : active</p> <p> <b> topic</b> : <a> SubscriptionTopic/admission</a> </p> <p> <b> end</b> : 07/08/2019 9:15:18 PM</p> <p> <b> reason</b> : subscription for beginning of a clinical encounter for patient 123</p> <h3> FilterBies</h3> <table> <tr> <td> -</td> <td> <b> SearchParamName</b> </td> <td> <b> Value</b> </td> </tr> <tr> <td> *</td> <td> patient</td> <td> Patient/123</td> </tr> </table> <p> <b> channelType</b> : rest-hook (Details: [not stated] code rest-hook = 'rest-hook', stated as 'null')</p> <p> <b> endpoint</b> : <a> https://example.org/Endpoints/P123</a> </p> <p> <b> header</b> : Authorization: Bearer secret-token-abc-123</p> <p> <b> heartbeatPeriod</b> : 60</p> <p> <b> timeout</b> : 5</p> <p> <b> contentType</b> : application/fhir+json</p> <p> <b> content</b> : id-only</p> </div> </text> <name value="AdmissionExample"/> 
  <status value="active"/> 
  <topic> 
    <reference value="SubscriptionTopic/admission"/> 
  </topic> 
  <end value="2019-08-07T11:15:18Z"/> 
  <reason value="subscription for beginning of a clinical encounter for patient 123"/> 
  <filterBy> 
    <searchParamName value="patient"/> 
    <value value="Patient/123"/> 
  </filterBy> 
  <channelType> 
    <code value="rest-hook"/> 
  </channelType> 
  <endpoint value="https://example.org/Endpoints/P123"/> 
  <header value="Authorization: Bearer secret-token-abc-123"/> 
  <heartbeatPeriod value="60"/> 
  <timeout value="5"/> 
  <contentType value="application/fhir+json"/> 
  <content value="id-only"/> 
</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.