Shared Health Specification and Guide Version 5.0

 

Bundle example-message-cancel-retrieval-request of type batch


Entry 1

Request:

PUT https://api.sharedhealth.exchange/rest/v1/preconf/THP/mailbox_vs1/Bundle/somemessageguid1
Raw XML


<Bundle xmlns="http://hl7.org/fhir">
<!--  Id will typically be a guid  -->
  <id value="example-message-cancel-retrieval-request"/>
  <meta>
    <profile
             value="http://sharedhealth.exchange/fhir/StructureDefinition/interaction-bundle-clear-queue-request"/>
    <tag>
      <system
              value="https://fhir.infoway-inforoute.ca/CodeSystem/sharedspecificationversion"/>
      <code value="Shared5.0"/>
    </tag>
  </meta>
  <type value="batch"/>
  <entry>
    <request>
      <method value="PUT">
        <extension
                   url="http://sharedhealth.exchange/fhir/StructureDefinition/ext-bundle-cancel-retrieval-reason">
          <valueCodeableConcept>
            <coding>
              <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/>
              <code value="PATDEC"/>
              <display value="patient changed mind"/>
            </coding>
          </valueCodeableConcept>
        </extension>
      </method>
      <url
           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/mailbox_vs1/Bundle/somemessageguid1"/>
    </request>
  </entry>
</Bundle>