PrescribeIT® Specification and Guide Version 5.0


v5.0 of this specification has been superseded by v5.3. v5.3 is compatible but adds additional features for Quebec.

The version (Bundle.meta.tag:version) that is sent in the message will remain PrescribeIT5.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-locum-to-organization"/>
  <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 a Locum communicating on behalf of source Organization/CPR1111111 to destination Organization/CPR190000018  -->
  <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"/>
        <!--        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/CPR190000018"/>
        </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"/>
        <!--           OHIP identification system           -->
          <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"/>
        <!--           Sending Application identification system Patient ID           -->
          <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>
    <fullUrl
             value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/2263396629"/>
    <resource>
      <Practitioner>
        <id value="2263396629"/>
        <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"/>
        <!--           License ID is part of the SAML token.  If this is present it should have the same value as the SAML Token       -->
          <value value="134IDY41W988"/>
        </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="2263396629"/>
        </identifier>
        <name>
          <use value="official"/>
          <family value="Mouse"/>
          <given value="Mickey"/>
          <prefix value="Dr"/>
          <suffix value="PhD"/>
        </name>
        <telecom>
          <system value="phone"/>
          <value value="(123) 456-7890"/>
          <use value="work"/>
        </telecom>
        <telecom>
          <extension
                     url="http://sharedhealth.exchange/fhir/StructureDefinition/ext-contactpoint-confidential">
            <valueBoolean value="true"/>
          </extension>
          <system value="phone"/>
          <value value="(456) 789-0123"/>
          <use value="mobile"/>
        </telecom>
        <practitionerRole>
          <organization>
            <reference
                       value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/CPR1000991"/>
          </organization>
        </practitionerRole>
        <practitionerRole>
          <role>
            <coding>
              <system value="http://hl7.org/fhir/practitioner-role"/>
              <code value="doctor"/>
              <display value="Doctor"/>
            </coding>
          </role>
          <specialty>
          <!--  inv-1: Must have coding or text but not both
            <coding>
              <system value="http://hl7.org/fhir/ValueSet/practitioner-specialty"/>
              <code value="cardio"/>
            </coding>  -->
            <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>
          <specialty>
            <text value="Palliative Care">
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/iso21090-ST-translation">
                <valueString value="Soins palliatifs">
                  <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>
  <!--  Fax-only ids won't be in the Provider Registry so we use GUIDs  -->
    <fullUrl value="urn:uuid:a39b6f90-f6c2-40d9-92ab-03fecfcf4ed5"/>
    <resource>
      <Practitioner>
        <id value="a39b6f90-f6c2-40d9-92ab-03fecfcf4ed5"/>
        <extension
                   url="http://sharedhealth.exchange/fhir/StructureDefinition/ext-practitioner-locum-indicator">
          <valueBoolean value="true"/>
        </extension>
        <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="123456ABCDEF"/>
        </identifier>
        <name>
          <use value="official"/>
          <family value="Locum"/>
          <given value="Louis"/>
        </name>
        <telecom>
          <system value="phone"/>
          <value value="(555) 123-4567"/>
          <use value="work"/>
        </telecom>
        <communication>
          <coding>
            <system value="urn:ietf:bcp:47"/>
            <code value="en-CA"/>
          </coding>
        </communication>
      </Practitioner>
    </resource>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:c1194035-11d5-451a-8eb2-ebeb963f54c7"/>
    <resource>
      <Practitioner>
        <id value="c1194035-11d5-451a-8eb2-ebeb963f54c7"/>
        <name>
          <use value="official"/>
          <family value="Ricardo"/>
          <given value="Rickie"/>
        </name>
        <telecom>
          <system value="phone"/>
          <value value="(333) 123-4567"/>
          <use value="work"/>
        </telecom>
        <practitionerRole>
          <role>
            <text value="Medical Office Assistant"/>
          </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/Organization/CPR190000018"/>
    <resource>
      <Organization>
        <id value="CPR190000018"/>
        <identifier>
          <system
                  value="http://sharedhealth.exchange/fhir/NamingSystem/registry-id-organization"/>
          <value value="CPR190000018"/>
        </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="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/CPR1000991"/>
    <resource>
      <Organization>
        <id value="CPR1000991"/>
        <identifier>
          <system
                  value="http://sharedhealth.exchange/fhir/NamingSystem/registry-id-organization"/>
          <value value="CPR1000991"/>
        </identifier>
        <name value="PS Suite #8888"/>
        <telecom>
          <system value="phone"/>
          <value value="(123) 123-4567"/>
          <use value="work"/>
        </telecom>
        <address>
          <type value="both"/>
          <line value="456 Some Street"/>
          <city value="Hamilton"/>
          <state value="ON"/>
          <postalCode value="A1B 2C4"/>
          <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/c1194035-11d5-451a-8eb2-ebeb963f54c7"/>
          </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>
          <!--  Conformance Rule: This is mandatory if the 'replyTo' is a Practitioner. It is not permitted if the 'replyTo' is an organization.  -->
            <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>
          <!--  If the sender is a LOCUM, the replyTO must contain the Provider Registry ID of the registered PrescribeIT® Practitioner the Locum is acting on behalf of.  -->
            <reference
                       value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/2263396629"/>
          </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"/>
              <!--           OID Structure includes EMR application instance.branch assigned for MedOrder ID          -->
                <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>
          <extension
                     url="http://sharedhealth.exchange/fhir/StructureDefinition/ext-communication-sender-locum">
            <valueBoolean value="true"/>
          </extension>
        <!--  Sender does not necessarily need to be in the Provider Registry if they are a locum  -->
          <reference value="urn:uuid:a39b6f90-f6c2-40d9-92ab-03fecfcf4ed5"/>
        </sender>
      <!--  Confirm - This recipient will be the pharmacy as opposed to the Oncology Centre  -->
        <recipient>
          <reference
                     value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/CPR190000018"/>
        </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="93523897"/>
          </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>