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">
  <id value="example-b3-201-p141"/>
<!--      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      -->
  <meta>
    <profile
             value="http://sharedhealth.exchange/fhir/StructureDefinition/profile-bundle-message"/>
    <profile
             value="http://prescribeit.ca/fhir/StructureDefinition/interaction-bundle-201"/>
    <tag>
      <system
              value="https://fhir.infoway-inforoute.ca/CodeSystem/sharedspecificationversion"/>
      <code value="PrescribeIT5.0"/>
    </tag>
  </meta>
  <type value="message"/>
  <entry>
    <fullUrl value="urn:uuid:f764ac07-66de-4862-9af4-027f34b41019"/>
    <resource>
      <MessageHeader>
        <id value="f764ac07-66de-4862-9af4-027f34b41019"/>
        <meta>
          <profile
                   value="http://prescribeit.ca/fhir/StructureDefinition/interaction-messageheader-201"/>
        </meta>
        <timestamp value="2016-05-13T12:15:38.123-06:00"/>
        <event>
          <system
                  value="https://fhir.infoway-inforoute.ca/CodeSystem/sharedmessageevents"/>
          <code value="201"/>
        </event>
        <source>
          <extension
                     url="http://sharedhealth.exchange/fhir/StructureDefinition/ext-messageheader-application-id">
            <valueUri value="urn:oid:1.2.3.4.5.6.9999"/>
          </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/CPR1000992"/>
        </source>
        <destination>
          <endpoint
                    value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/CPR1000991"/>
        </destination>
        <data>
          <reference value="Task/a7875e4d-b13c-4f20-b057-3deb94722616"/>
        </data>
      </MessageHeader>
    </resource>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:5d9588d8-3cd6-4b32-8fb7-ad13694e069d"/>
    <resource>
      <Patient>
        <id value="5d9588d8-3cd6-4b32-8fb7-ad13694e069d"/>
        <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.6.9999.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/4388836452"/>
    <resource>
      <Practitioner>
        <id value="4388836452"/>
        <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.41"/>
        <!--          License ID may be part of 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"/>
        <!--          Provider ID may be part of the SAML token          -->
          <value value="4388836452"/>
        </identifier>
        <name>
          <use value="official"/>
          <family value="Martel"/>
        <!--          EMR Suffix will be included in the family tag          -->
          <given value="Benoit"/>
          <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/CPR1000991"/>
          </organization>
        </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/CPR1000992"/>
    <resource>
      <Organization>
        <id value="CPR1000992"/>
        <identifier>
          <system
                  value="http://sharedhealth.exchange/fhir/NamingSystem/registry-id-organization"/>
          <value value="CPR1000992"/>
        </identifier>
        <name value="Simplicity #9999"/>
        <telecom>
          <system value="phone"/>
          <value value="(123) 123-4567"/>
          <use value="work"/>
        </telecom>
        <address>
          <type value="both"/>
          <line value="123 Some Street"/>
          <city value="Hamilton"/>
          <state value="ON"/>
          <postalCode value="A1B 2C3"/>
          <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:a7875e4d-b13c-4f20-b057-3deb94722616"/>
    <resource>
      <Task>
        <id value="a7875e4d-b13c-4f20-b057-3deb94722616"/>
        <meta>
          <profile
                   value="http://prescribeit.ca/fhir/StructureDefinition/task-p141-m"/>
        </meta>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/extension-Task.basedOn">
          <valueReference>
            <reference value="urn:uuid:9b830eff-7405-4f14-bfe8-b1f42ca83062"/>
          </valueReference>
        </extension>
        <extension
                   url="http://prescribeit.ca/fhir/StructureDefinition/ext-task-dis-notification">
          <valueBoolean value="false"/>
        </extension>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/extension-Task.groupIdentifier">
        <!--      Define as standard extension      -->
          <valueIdentifier>
            <system value="urn:oid:1.2.3.4.5.6.3"/>
            <value value="ri-Group-Identifier"/>
          </valueIdentifier>
        </extension>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/extension-Task.reason">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/v3/ActReason"/>
              <code value="FILLED"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <type>
          <coding>
            <system
                    value="https://fhir.infoway-inforoute.ca/CodeSystem/prescriptiontasktype"/>
            <code value="p141-m"/>
          </coding>
        </type>
        <priority value="high"/>
        <status value="rejected"/>
        <subject>
          <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-b1-METADOL-20160210"/>
            </valueIdentifier>
          </extension>
        </subject>
        <for>
          <reference value="Patient/5d9588d8-3cd6-4b32-8fb7-ad13694e069d"/>
        </for>
        <created value="2016-02-12T13:15:38.123-06:00"/>
        <lastModified value="2016-02-12T13:15:38.123-06:00"/>
        <creator>
          <reference
                     value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/CPR1000992"/>
        </creator>
        <owner>
          <reference
                     value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/4388836452"/>
        </owner>
      </Task>
    </resource>
  </entry>
</Bundle>