PrescribeIT® Specification and Guide Version 5.0

 
Raw XML


<Bundle xmlns="http://hl7.org/fhir">
  <id value="example-c4-201-p143"/>
<!--       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:94093a44-01a8-44a3-8875-f3bf56e9e761"/>
    <resource>
      <MessageHeader>
        <id value="94093a44-01a8-44a3-8875-f3bf56e9e761"/>
        <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/920e47f5-2530-4553-99d0-3ad4b322b2b4"/>
        </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:2.16.840.1.113883.4.41.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:920e47f5-2530-4553-99d0-3ad4b322b2b4"/>
    <resource>
      <Task>
        <id value="920e47f5-2530-4553-99d0-3ad4b322b2b4"/>
        <meta>
          <profile
                   value="http://prescribeit.ca/fhir/StructureDefinition/task-p143-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="true"/>
        </extension>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/extension-Task.reason">
          <valueCodeableConcept>
            <text value="Fraud concerns"/>
          </valueCodeableConcept>
        </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>
        <type>
          <coding>
            <system
                    value="https://fhir.infoway-inforoute.ca/CodeSystem/prescriptiontasktype"/>
            <code value="p143-m"/>
          </coding>
        </type>
        <priority value="high"/>
        <status value="completed"/>
        <subject>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/extension-Reference.identifier">
            <valueIdentifier>
              <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-c1-NICODERM-20160303"/>
            </valueIdentifier>
          </extension>
        </subject>
        <for>
          <reference value="Patient/5d9588d8-3cd6-4b32-8fb7-ad13694e069d"/>
        </for>
        <created value="2016-03-03T14:15:38.123-06:00"/>
        <lastModified value="2016-03-03T14: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>