This page is part of the FHIR Specification (v4.2.0: R5 Preview #1). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions
FHIR Infrastructure Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: Not linked to any defined compartments |
Raw XML (canonical form + also see XML Format Specification)
Example of a Subscription notification with payload: full-resource (id = "notification-full-resource")
<?xml version="1.0" encoding="UTF-8"?> <Bundle xmlns="http://hl7.org/fhir"> <id value="notification-full-resource"/> <meta> <extension url="http://hl7.org/fhir/StructureDefinition/subscription-event-count"> <valueUnsignedInt value="3"/> </extension> <extension url="http://hl7.org/fhir/StructureDefinition/bundle-event-count"> <valueUnsignedInt value="1"/> </extension> <extension url="http://hl7.org/fhir/StructureDefinition/subscription-status"> <valueCode value="active"/> </extension> <extension url="http://hl7.org/fhir/StructureDefinition/subscription-topic-url"> <valueUrl value="https://example.org/baseR4/Topic/admission"/> </extension> <extension url="http://hl7.org/fhir/StructureDefinition/subscription-url"> <valueUrl value="https://example.org/Subscription/cb2dce51-a1f5-40b4-a98b-c934eae368e8"/> </extension> </meta> <type value="history"/> <timestamp value="2019-08-07T10:24:13.1882432-05:00"/> <entry> <fullUrl value="https://example.org/baseR4/Encounter/3"/> <resource> <Encounter> <id value="3"/> <meta> <versionId value="1"/> <lastUpdated value="2019-08-07T10:49:22Z"/> </meta> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"><p> <b> Generated Narrative with Details</b> </p> <p> <b> id</b> : 3</p> <p> <b> meta</b> : </p> <p> <b> status</b> : in-progress</p> <p> <b> class</b> : virtual (Details: http://terminology.hl7.org/CodeSystem/v3-ActCode code VR = 'virtual', stated as 'virtual')</p> <p> <b> subject</b> : <a> Patient/123</a> </p> </div> </text> <status value="in-progress"/> <class> <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/> <code value="VR"/> <display value="virtual"/> </class> <subject> <reference value="Patient/123"/> </subject> </Encounter> </resource> <request> <method value="PUT"/> <url value="Encounter/3"/> </request> <response> <status value="201"/> </response> </entry> </Bundle>
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.