Release 5 R6 Ballot (2nd Draft)

This page is part of the FHIR Specification (v5.0.0: R5 - STU v6.0.0-ballot2: Release 6 Ballot (2nd Draft) (see Ballot Notes ). This is the The current published version in it's permanent home (it will always be available at this URL). is 5.0.0 . For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B

Example SubscriptionTopic/admission (XML)

FHIR Infrastructure Work Group Maturity Level : N/A Standards Status : Informative Compartments : No defined compartments

Raw XML ( canonical form + also see XML Format Specification )

Jump past Narrative

Beginning of clinical encounter (id = "admission")

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

<SubscriptionTopic xmlns="http://hl7.org/fhir">
  <id value="admission"/> 
  display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border:
       1px solid #8da1b4; border-radius: 5px; line-height: 60%Matching based on the Patient (subject) of an Encounter or based on the Patient's
             group membership (in/not-in).Encounter:patient, Encounter:practitioner, Encounter:service-provider, Encounter:account,
             Encounter:diagnosis, Encounter:observation, Encounter:location

  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fhir"/> 
  </extension> 
  <url value="http://example.org/FHIR/R5/SubscriptionTopic/admission"/> 
  <identifier> 
    <system value="urn:ietf:rfc:3986"/> 
    <value value="urn:uuid:915c2040-b0a8-4935-adf8-94d6e1a74052"/> 
  </identifier> 
  <title value="admission"/> 
  <status value="active"/> 
  <publisher value="HL7 International / FHIR Infrastructure"/> 
  <contact> 
    <telecom> 
      <system value="url"/> 
      <value value="http://www.hl7.org/Special/committees/fiwg"/> 
    </telecom> 
  </contact> 
  <description value="Example admission topic"/> 
  
    
    
    
    
    
      
      
      
      
      
    
    
  
  
    
    
      

  <trigger> 
    <description value="Encounter resource moving to state 'in-progress' or event matching HL7v2 ADT^A01"/> 
    <resource value="http://hl7.org/fhir/StructureDefinition/Encounter"/> 
    <supportedInteraction value="create"/> 
    <supportedInteraction value="update"/> 
    <queryCriteria> 
      <previous value="status:not=in-progress"/> 
      <resultForCreate value="test-passes"/> 
      <current value="status=in-progress"/> 
      <resultForDelete value="test-fails"/> 
      <requireBoth value="true"/> 
    </queryCriteria> 
    <fhirPathCriteria value="%previous.status!='in-progress' and %current.status='in-progress'"/> 
    <event> 
      <coding> 
        <system value="http://terminology.hl7.org/CodeSystem/v2-0003"/> 
        <code value="A01"/> 
        <display value="ADT/ACK - Admit/visit notification"/> 
      
    
    
  
  
    Matching based on the Patient (subject) of an Encounter or based on the Patient's
     group membership (in/not-in).
    
    
    
    
  
  
    
    
    
    
    
    
    
    
  

      </coding> 
    </event> 
    <canFilterBy> 
      <description value="Matching based on the Patient (subject) of an Encounter or based on the Patient's
       group membership (in/not-in)."/> 
      <resource value="Encounter"/>       <filterParameter value="patient"/>       <modifier value="in"/>       <modifier value="not-in"/>     </canFilterBy>     <notificationShape>       <resource value="Encounter"/>       <include value="Encounter:patient"/>       <include value="Encounter:practitioner"/>       <include value="Encounter:service-provider"/>       <include value="Encounter:account"/>       <include value="Encounter:diagnosis"/>       <include value="Encounter:observation"/>       <include value="Encounter:location"/>     </notificationShape>   </trigger> 


</

SubscriptionTopic

>



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.