This page is part of the Making EHR Data MOre available for Research and Public Health (MedMorph) (v1.0.0: STU1 Release 1) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions
: Encounter End Subscription Topic Example - XML Representation
Raw xml | Download
<Subscription xmlns="http://hl7.org/fhir">
<id value="encounter-end-subscription-example"/>
<meta>
<profile
value="http://hl7.org/fhir/us/medmorph/StructureDefinition/medmorph-encounter-end-subscription"/>
</meta>
<text>
<status value="extensions"/>
<div xmlns="http://www.w3.org/1999/xhtml"><p><b>Encounter Start Subscription Example</b></p></div>
</text>
<status value="active"/>
<reason
value="Creation of subscription based on encounter-end trigger event from PlanDefintiion."/>
<criteria
value="http://hl7.org/fhir/us/medmorph/SubscriptionTopic/encounter-end">
<extension
url="http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-filter-criteria">
<valueString value="Encounter?status=finished"/>
</extension>
</criteria>
<channel>
<extension
url="http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-heartbeat-period">
<valueUnsignedInt value="86400"/>
</extension>
<extension
url="http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-timeout">
<valueUnsignedInt value="60"/>
</extension>
<extension
url="http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-max-count">
<valuePositiveInt value="20"/>
</extension>
<type value="rest-hook"/>
<endpoint
value="https://example.org/Endpoints/d7dcc004-808d-452b-8030-3a3a13cd871d"/>
<payload value="application/fhir+json">
<extension
url="http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-payload-content">
<valueCode value="id-only"/>
</extension>
</payload>
</channel>
</Subscription>