Current Build


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 in error status (id = "example-error")

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

<Subscription xmlns="">
 <id value="example-error"/> 
    <status value="generated"/> 
    <div xmlns="">[Put rendering here]</div> 

  <status value="error"/> 
    <system value="phone"/> 
    <value value="ext 4123"/> 
  <end value="2021-01-01T00:00:00Z"/> 
  <reason value="Monitor new neonatal function"/> 
  <criteria value="Observation?code=|1975-2"/> 
  <!--   server has moved the subscription to status error. 
    the server can bring it back to like if it tries later   -->
  <error value="Socket Error 10060 - can't connect to host"/> 
    <type value="rest-hook"/> 
    <endpoint value=""/> 
    <payload value="application/fhir+json"/> 
    <header value="Authorization: Bearer secret-token-abc-123"/> 

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.