PrescribeIT® Specification and Guide Version 5.0

 
Raw XML


<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-f1-305-organization-to-practitioner"/>
  <meta>
    <profile
             value="http://sharedhealth.exchange/fhir/StructureDefinition/profile-bundle-message"/>
    <profile
             value="http://prescribeit.ca/fhir/StructureDefinition/interaction-bundle-305"/>
    <tag>
      <system
              value="https://fhir.infoway-inforoute.ca/CodeSystem/sharedspecificationversion"/>
      <code value="PrescribeIT5.0"/>
    </tag>
  </meta>
  <type value="message"/>
<!--  This is an example of Pharmacy Organization/CPR190000008 communicating to destination Organization/CPR1111111 Martha Manager  -->
  <entry>
    <fullUrl value="urn:uuid:afe0f1a8-3d63-4957-aef8-eba6a7b411e1"/>
    <resource>
      <MessageHeader>
        <id value="afe0f1a8-3d63-4957-aef8-eba6a7b411e1"/>
        <meta>
          <profile
                   value="http://prescribeit.ca/fhir/StructureDefinition/interaction-messageheader-305"/>
        </meta>
        <timestamp value="2016-05-13T12:15:38.123-06:00"/>
        <event>
          <system
                  value="https://fhir.infoway-inforoute.ca/CodeSystem/sharedmessageevents"/>
          <code value="305"/>
        </event>
        <source>
          <extension
                     url="http://sharedhealth.exchange/fhir/StructureDefinition/ext-messageheader-application-id">
            <valueUri value="urn:oid:1.2.3.4.5.9.8888"/>
          </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"/>
          <endpoint
                    value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/CPR190000008"/>
        </source>
        <destination>
          <endpoint
                    value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/CPR1111111"/>
        </destination>
        <data>
          <reference value="Communication/8230414a-5536-4075-916c-e99f46cb22df"/>
        </data>
      </MessageHeader>
    </resource>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:5d4fc6bb-716f-49b9-ae8c-84a876663901"/>
    <resource>
      <Patient>
        <id value="5d4fc6bb-716f-49b9-ae8c-84a876663901"/>
        <identifier>
          <type>
            <coding>
              <system value="http://hl7.org/fhir/v2/0203"/>
              <code value="JHN"/>
            </coding>
            <text value="OHIP"/>
          </type>
          <system value="urn:oid:2.16.840.1.113883.4.59"/>
          <value value="1234567890"/>
        </identifier>
        <identifier>
          <type>
            <coding>
              <system value="http://hl7.org/fhir/v2/0203"/>
              <code value="MR"/>
            </coding>
            <text value="Local Patient ID"/>
          </type>
          <system value="urn:oid:1.2.3.4.5.9.8888.1"/>
          <value value="134IDY41W988"/>
        </identifier>
        <name>
          <use value="official"/>
          <family value="Lerr Jr"/>
          <given value="Todd"/>
          <given value="G."/>
          <prefix value="Mr"/>
          <suffix value="DDS"/>
        </name>
        <telecom>
          <system value="phone"/>
          <value value="(555) 555-1212"/>
          <use value="mobile"/>
        </telecom>
        <telecom>
          <extension
                     url="http://sharedhealth.exchange/fhir/StructureDefinition/ext-contactpoint-confidential">
            <valueBoolean value="true"/>
          </extension>
          <system value="phone"/>
          <value value="(858) 429-5190"/>
          <use value="home"/>
        </telecom>
        <gender value="male"/>
        <birthDate value="2012-06-07"/>
        <address>
          <line value="123 North 102nd Street"/>
          <line value="Apt 4d"/>
          <city value="Harrisburg"/>
          <state value="ON"/>
          <postalCode value="M2N 7H6"/>
          <country value="Canada"/>
        </address>
      </Patient>
    </resource>
  </entry>
  <entry>
  <!--  Fax-only ids won't be in the Provider Registry so we use GUIDs  -->
    <fullUrl value="urn:uuid:e4b3bf32-745f-4a92-9f29-e4e6014e968c"/>
    <resource>
      <Practitioner>
        <id value="e4b3bf32-745f-4a92-9f29-e4e6014e968c"/>
        <name>
          <use value="official"/>
          <family value="Manager"/>
          <given value="Martha"/>
        </name>
        <telecom>
          <system value="phone"/>
          <value value="(444) 456-7890"/>
          <use value="work"/>
        </telecom>
        <practitionerRole>
          <role>
            <text value="Clinic Manager"/>
          </role>
        </practitionerRole>
        <communication>
          <coding>
            <system value="urn:ietf:bcp:47"/>
            <code value="en-CA"/>
          </coding>
        </communication>
      </Practitioner>
    </resource>
  </entry>
  <entry>
    <fullUrl
             value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/888888888"/>
    <resource>
      <Practitioner>
        <id value="888888888"/>
        <identifier>
          <type>
            <coding>
              <system value="http://hl7.org/fhir/v2/0203"/>
              <code value="LN"/>
            </coding>
            <text value="License number"/>
          </type>
          <system value="urn:oid:2.16.840.1.113883.4.347"/>
          <value value="ABCD1234"/>
        </identifier>
        <identifier>
          <type>
            <coding>
              <system value="http://hl7.org/fhir/v2/0203"/>
              <code value="PRN"/>
            </coding>
          </type>
          <system
                  value="http://sharedhealth.exchange/fhir/NamingSystem/registry-id-practitioner"/>
          <value value="888888888"/>
        </identifier>
        <name>
          <use value="official"/>
          <family value="Duck"/>
          <given value="Donald"/>
          <prefix value="Dr"/>
        </name>
        <telecom>
          <system value="phone"/>
          <value value="(123) 456-7890"/>
          <use value="work"/>
        </telecom>
        <practitionerRole>
          <organization>
            <reference
                       value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/CPR1111111"/>
          </organization>
        </practitionerRole>
        <practitionerRole>
          <role>
            <coding>
              <system value="http://hl7.org/fhir/practitioner-role"/>
              <code value="doctor"/>
              <display value="Doctor"/>
            </coding>
          </role>
          <specialty>
            <text value="Geriatrics">
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/iso21090-ST-translation">
                <valueString value="Gériatrie">
                  <extension
                             url="http://hl7.org/fhir/StructureDefinition/iso21090-ST-language">
                    <valueCode value="fr"/>
                  </extension>
                </valueString>
              </extension>
            </text>
          </specialty>
        </practitionerRole>
        <communication>
          <coding>
            <system value="urn:ietf:bcp:47"/>
            <code value="en-CA"/>
          </coding>
        </communication>
      </Practitioner>
    </resource>
  </entry>
  <entry>
    <fullUrl
             value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/CPR190000008"/>
    <resource>
      <Organization>
        <id value="CPR190000008"/>
        <identifier>
          <system
                  value="http://sharedhealth.exchange/fhir/NamingSystem/registry-id-organization"/>
          <value value="CPR190000008"/>
        </identifier>
        <name value="Simplicity Pharmacy"/>
        <telecom>
          <system value="phone"/>
          <value value="(403) 444-1234"/>
          <use value="work"/>
        </telecom>
        <address>
          <type value="both"/>
          <line value="777 1ST AVENUE S"/>
          <city value="Lethbridge"/>
          <state value="AB"/>
          <postalCode value="T1J 4M7"/>
          <country value="Canada"/>
        </address>
      </Organization>
    </resource>
  </entry>
  <entry>
    <fullUrl
             value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/CPR1111111"/>
    <resource>
      <Organization>
        <id value="CPR1111111"/>
        <identifier>
          <system
                  value="http://sharedhealth.exchange/fhir/NamingSystem/registry-id-organization"/>
          <value value="CPR1111111"/>
        </identifier>
        <name value="Oncology Center Inc"/>
        <telecom>
          <system value="phone"/>
          <value value="(222) 123-4567"/>
          <use value="work"/>
        </telecom>
        <address>
          <type value="both"/>
          <line value="456 Some Other Street"/>
          <city value="Hamilton"/>
          <state value="ON"/>
          <postalCode value="M1M 1M1"/>
          <country value="Canada"/>
        </address>
      </Organization>
    </resource>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:8230414a-5536-4075-916c-e99f46cb22df"/>
    <resource>
      <Communication>
        <id value="8230414a-5536-4075-916c-e99f46cb22df"/>
        <extension
                   url="http://sharedhealth.exchange/fhir/StructureDefinition/ext-communication-subject">
          <valueString value="Chemotherapy protocol"/>
        </extension>
        <extension
                   url="http://sharedhealth.exchange/fhir/StructureDefinition/ext-communication-enterer">
          <valueReference>
            <reference value="Practitioner/e4b3bf32-745f-4a92-9f29-e4e6014e968c"/>
          </valueReference>
        </extension>
        <extension
                   url="http://sharedhealth.exchange/fhir/StructureDefinition/ext-communication-priority">
          <valueCode value="high"/>
        </extension>
        <extension
                   url="http://sharedhealth.exchange/fhir/StructureDefinition/ext-communication-thread-id">
          <valueString value="5aa31939-0c48-4fff-8289-f45d23049727"/>
        </extension>
        <extension
                   url="http://sharedhealth.exchange/fhir/StructureDefinition/ext-communication-reply-to">
          <valueReference>
            <reference
                       value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/CPR190000008"/>
          </valueReference>
        </extension>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/extension-Communication.topic">
          <valueReference>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/extension-Reference.identifier">
              <valueIdentifier>
                <type>
                  <coding>
                    <system value="http://hl7.org/fhir/identifier-type"/>
                    <code value="PLAC"/>
                  </coding>
                </type>
                <system value="urn:oid:1.2.3.4.5.9.8888.2"/>
                <value value="mi-a1-VENTOLIN-20160201"/>
              </valueIdentifier>
            </extension>
          </valueReference>
        </extension>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:uuid:5aa31939-0c48-4fff-8289-f45d23049727"/>
        </identifier>
        <category>
          <coding>
            <system
                    value="https://fhir.infoway-inforoute.ca/CodeSystem/communicationcategory"/>
            <code value="general"/>
          </coding>
        </category>
        <sender>
          <reference
                     value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/CPR190000008"/>
        </sender>
        <recipient>
          <extension
                     url="http://sharedhealth.exchange/fhir/StructureDefinition/ext-reference-on-behalf-of">
            <valueReference>
              <reference
                         value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/CPR1111111"/>
            </valueReference>
          </extension>
          <reference
                     value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/888888888"/>
        </recipient>
        <payload>
          <contentString
                         value="TODO: Put some clinically significant question about patient&#39;s chemotherapy protocol
With a few paragraphs"/>
        </payload>
        <payload>
          <contentAttachment>
            <contentType value="text/plain"/>
            <url
                 value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/mailbox_vs1/Binary/c0568fa9-5310-4718-9a00-805f438878ef"/>
            <size value="893"/>
          </contentAttachment>
        </payload>
        <payload>
          <contentAttachment>
            <contentType value="application/pdf"/>
            <url
                 value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/mailbox_vs1/Binary/297f6a51-f040-44cf-9e92-0624260b071a"/>
            <size value="3253244"/>
          </contentAttachment>
        </payload>
        <payload>
          <contentAttachment>
            <contentType value="image/jpeg"/>
            <url
                 value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/mailbox_vs1/Binary/c317b3d6-a9fc-49a1-8ed0-9788ff30fc32"/>
            <size value="9352389"/>
          </contentAttachment>
        </payload>
        <status value="in-progress"/>
        <sent value="2016-12-22"/>
      <!--  FUTURE
        <reason>
          <text value="Need to create integrated medication plan"/>
        </reason>  -->
        <subject>
          <reference value="Patient/5d4fc6bb-716f-49b9-ae8c-84a876663901"/>
        </subject>
      </Communication>
    </resource>
  </entry>
</Bundle>