Subscriptions R5 Backport, published by HL7 International / FHIR Infrastructure. This guide is not an authorized publication; it is the continuous build for version 1.2.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-subscription-backport-ig/ and changes regularly. See the Directory of published versions
<Bundle xmlns="http://hl7.org/fhir">
<id value="r4-notification-full-resource-with-query"/>
<meta>
<profile
value="http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-subscription-notification-r4"/>
</meta>
<type value="history"/>
<timestamp value="2020-05-29T11:44:13.1882432-05:00"/>
<entry>
<fullUrl value="urn:uuid:919ce5d0-d77c-44a7-a397-d8b2a05fd1bf"/>
<resource>
<Parameters>
<id value="919ce5d0-d77c-44a7-a397-d8b2a05fd1bf"/>
<meta>
<profile
value="http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-subscription-status-r4"/>
</meta>
<parameter>
<name value="subscription"/>
<valueReference>
<reference
value="https://example.org/fhir/Subscription/admission"/>
</valueReference>
</parameter>
<parameter>
<name value="topic"/>
<valueCanonical value="http://hl7.org/SubscriptionTopic/admission"/>
</parameter>
<parameter>
<name value="status"/>
<valueCode value="active"/>
</parameter>
<parameter>
<name value="type"/>
<valueCode value="event-notification"/>
</parameter>
<parameter>
<name value="events-since-subscription-start"/>
<valueString value="2"/>
</parameter>
<parameter>
<name value="notification-event"/>
<part>
<name value="event-number"/>
<valueString value="2"/>
</part>
<part>
<name value="timestamp"/>
<valueInstant value="2020-05-29T11:44:13.1882432-05:00"/>
</part>
<part>
<name value="focus"/>
<valueReference>
<reference
value="https://example.org/fhir/Encounter/86009987-eabe-42bf-8c02-b112b18cb616"/>
</valueReference>
</part>
<part>
<name value="related-query"/>
<part>
<name value="query-type"/>
<valueCoding>
<system value="http://example.org/query-types"/>
<code value="example"/>
<display value="Example query"/>
</valueCoding>
</part>
<part>
<name value="query"/>
<valueString
value="http://example.org/fhir/$example?patient=$notificationPatientId"/>
</part>
</part>
<part>
<name value="related-query"/>
<part>
<name value="query-type"/>
<valueCoding>
<system value="http://example.org/query-types"/>
<code value="prescribed"/>
<display value="Prescribed medications"/>
</valueCoding>
</part>
<part>
<name value="query"/>
<valueString
value="http://example.org/fhir/MedicationRequest?patient=$notificationPatientId&encounter=$notificationEncounter1Id"/>
</part>
</part>
</parameter>
</Parameters>
</resource>
<request>
<method value="GET"/>
<url value="https://example.org/fhir/Subscription/admission/$status"/>
</request>
<response>
<status value="200"/>
</response>
</entry>
<entry>
<fullUrl
value="https://example.org/fhir/Encounter/86009987-eabe-42bf-8c02-b112b18cb616"/>
<resource>
<Encounter>
<id value="86009987-eabe-42bf-8c02-b112b18cb616"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml"><a name="Encounter_86009987-eabe-42bf-8c02-b112b18cb616"> </a><p><b>Generated Narrative: Encounter </b><a name="86009987-eabe-42bf-8c02-b112b18cb616"> </a><a name="hc86009987-eabe-42bf-8c02-b112b18cb616"> </a></p><div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px">ResourceEncounter "86009987-eabe-42bf-8c02-b112b18cb616" </p></div><p><b>status</b>: in-progress</p><p><b>class</b>: virtual (Details: ActCode code VR = ' virtual ', stated as ' null ')</p><p><b>subject</b>: <a href="Bundle-r4-notification-multi-resource.html#https-//example.org/fhir/Patient/1599eb66-431a-447c-a3de-6897fe9ae9a1">https://example.org/fhir/Patient/1599eb66-431a-447c-a3de-6897fe9ae9a1: Example Patient</a></p></div>
</text>
<status value="in-progress"/>
<class>
<system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
<code value="VR"/>
</class>
<subject>
<reference
value="https://example.org/fhir/Patient/1599eb66-431a-447c-a3de-6897fe9ae9a1"/>
<display value="Example Patient"/>
</subject>
</Encounter>
</resource>
<request>
<method value="POST"/>
<url value="Encounter"/>
</request>
<response>
<status value="201"/>
</response>
</entry>
</Bundle>