Shared Health Specification and Guide Version 5.0

 
Raw XML


<!--  root bundle = query response to aggregator saying "what messages do you have for me"
form:
https://api.sharedhealth.exchange/rest/v1/preconf/THP/mailbox_vs1/Bundle?message.receiver=http://sharedhealth.exchange/organizations|someaggregatorid
 -->
<Bundle xmlns="http://hl7.org/fhir">
<!--  Note: This id will not be present when the message is submitted to the inbox.  It will be assigned by the inbox as part of processing  -->
  <id value="example-997-async-response"/>
<!--  The profile declaration isn't required, but will help with automated validation using existing tools for examples  -->
  <meta>
    <profile
             value="http://sharedhealth.exchange/fhir/StructureDefinition/profile-bundle-message"/>
    <profile
             value="http://sharedhealth.exchange/fhir/StructureDefinition/interaction-bundle-997"/>
    <tag>
      <system
              value="https://fhir.infoway-inforoute.ca/CodeSystem/sharedspecificationversion"/>
      <code value="Shared5.0"/>
    </tag>
  </meta>
  <type value="message"/>
  <entry>
    <fullUrl value="urn:uuid:99ea700d-7559-4f3d-adf4-ad8c08e90836"/>
    <resource>
      <MessageHeader>
        <id value="99ea700d-7559-4f3d-adf4-ad8c08e90836"/>
        <meta>
          <profile
                   value="http://sharedhealth.exchange/fhir/StructureDefinition/interaction-messageheader-997"/>
        </meta>
        <timestamp value="2016-05-13T12:15:38.123-06:00"/>
        <event>
          <system
                  value="https://fhir.infoway-inforoute.ca/CodeSystem/sharedmessageevents"/>
          <code value="997"/>
        </event>
        <response>
          <identifier value="e969238e-3044-470f-835c-5646c8d6bf50"/>
          <code value="transient-error"/>
          <details>
            <reference
                       value="OperationOutcome/c47c96d4-94f1-454b-a48c-37fdab213825"/>
          </details>
        </response>
      <!--  Note - source and destination will be reversed from the original message  -->
        <source>
          <extension
                     url="http://sharedhealth.exchange/fhir/StructureDefinition/ext-messageheader-application-id">
            <valueUri value="urn:oid:1.2.3.4.5.6.9979"/>
          </extension>
          <extension
                     url="http://sharedhealth.exchange/fhir/StructureDefinition/ext-messageheader-conformance-version">
            <valueString
                         value="Sending software version number that passed conformance"/>
          </extension>
          <name value="Sending application internal identifier"/>
          <software value="Sending application software name"/>
          <version value="Sending software version number"/>
        <!--  Note that the endpoint has to be a URI.  Could be urn:oid:1.2.3.4  -->
          <endpoint
                    value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/CPR1111111"/>
        </source>
        <destination>
          <endpoint
                    value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/CPR1000991"/>
        </destination>
      </MessageHeader>
    </resource>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:c47c96d4-94f1-454b-a48c-37fdab213825"/>
    <resource>
      <OperationOutcome>
        <id value="c47c96d4-94f1-454b-a48c-37fdab213825"/>
        <issue>
          <extension
                     url="http://sharedhealth.exchange/fhir/StructureDefinition/ext-operationoutcome-referencenum">
            <valueString value="238476"/>
          </extension>
          <extension
                     url="http://sharedhealth.exchange/fhir/StructureDefinition/ext-operationoutcome-usertext">
            <valueString
                         value="Please call Technical Support Team to correct issue. Please provide the Detail Code and Reference Number shown below. \n Detail Code {0} - Reference # {1}.">
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/iso21090-ST-translation">
                <valueString
                             value="Communiquez avec le soutien technique pour corriger le problème et fournissez-lui le code de détail et le numéro de référence indiqués ci-dessous. \n Code de détail {0} - Numéro de référence {1}.">
                  <extension
                             url="http://hl7.org/fhir/StructureDefinition/iso21090-ST-language">
                    <valueCode value="fr"/>
                  </extension>
                </valueString>
              </extension>
            </valueString>
          </extension>
          <severity value="error"/>
          <code value="invalid"/>
          <details>
            <coding>
              <system
                      value="https://fhir.infoway-inforoute.ca/CodeSystem/sharedissuedetails"/>
              <code value="ISS127"/>
            </coding>
            <text
                  value="Sender application version in the inbound message does not match the value in the   PrescribeIT database.">
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/iso21090-ST-translation">
                <valueString
                             value="French translation.  Note:  The assumption is that details will not be translated if userfriendly is present.">
                  <extension
                             url="http://hl7.org/fhir/StructureDefinition/iso21090-ST-language">
                    <valueCode value="fr"/>
                  </extension>
                </valueString>
              </extension>
            </text>
          </details>
          <diagnostics
                       value="Please provide Application Version used. Correct Label must be used in order to provide proper information."/>
        </issue>
      </OperationOutcome>
    </resource>
  </entry>
</Bundle>