PrescribeIT® Specification and Guide Version 5.0

 
Raw XML


<Bundle xmlns="http://hl7.org/fhir">
  <id value="example-a3-201-p210"/>
<!--       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:7f39e524-6525-415e-a558-3675c95a3b10"/>
    <resource>
      <MessageHeader>
        <id value="7f39e524-6525-415e-a558-3675c95a3b10"/>
        <meta>
          <profile
                   value="http://prescribeit.ca/fhir/StructureDefinition/interaction-messageheader-201"/>
        </meta>
        <timestamp value="2016-05-15T16:21:01.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/59c5fecf-990c-467a-9d11-13e42d00554e"/>
        </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:59c5fecf-990c-467a-9d11-13e42d00554e"/>
    <resource>
      <Task>
        <id value="59c5fecf-990c-467a-9d11-13e42d00554e"/>
        <meta>
          <profile
                   value="http://prescribeit.ca/fhir/StructureDefinition/task-p210-m"/>
        </meta>
        <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>
      <!--  PrescribeIT5.0 extensions  -->
        <extension
                   url="http://prescribeit.ca/fhir/StructureDefinition/ext-task-split-prescription">
          <valueBoolean value="true"/>
        </extension>
        <extension
                   url="http://prescribeit.ca/fhir/StructureDefinition/ext-task-split-prescription-reason">
          <valueCodeableConcept>
            <coding>
              <system
                      value="https://fhir.infoway-inforoute.ca/CodeSystem/prescriptionsplitreason"/>
              <code value="notAvailable"/>
              <display
                       value="Product prescribed is not commercially available (default)"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/extension-Task.reason">
          <valueCodeableConcept>
            <text value="not picked up"/>
          </valueCodeableConcept>
        </extension>
        <type>
          <coding>
            <system
                    value="https://fhir.infoway-inforoute.ca/CodeSystem/prescriptiontasktype"/>
            <code value="p210-m"/>
          </coding>
        </type>
        <status value="completed"/>
        <subject>
          <reference
                     value="MedicationDispense/98293b3e-cd16-4175-9155-217d7686df1e"/>
        </subject>
        <for>
          <reference value="Patient/5d9588d8-3cd6-4b32-8fb7-ad13694e069d"/>
        </for>
        <created value="2016-05-15T16:21:01.123-06:00"/>
        <lastModified value="2016-05-15T16:21:01.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>
      <!--  PrescribeIT5.0  -->
        <input>
          <name value="pmsrequestedrx"/>
          <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.6.9999.2"/>
            <value value="Rx-pmsrequestedrx"/>
          </valueIdentifier>
        </input>
      </Task>
    </resource>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:98293b3e-cd16-4175-9155-217d7686df1e"/>
    <resource>
      <MedicationDispense>
        <id value="98293b3e-cd16-4175-9155-217d7686df1e"/>
        <extension
                   url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
          <valueString
                       value="Inhale 2 puffs 4 time per day for 40 days and Inhale 2 puffs 10 minutes before physical exertion Route: Oral"/>
        </extension>
        <extension
                   url="http://prescribeit.ca/fhir/StructureDefinition/ext-dispense-quantity-remaining">
          <valueQuantity>
            <value value="0"/>
            <unit value="Inhaler"/>
          <!--  See Terminology Gateway for the SNOMED CT CA Edition system (i.e. not http://snomed.info/sct)  -->
            <system
                    value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
            <code value="334980009"/>
          </valueQuantity>
        </extension>
        <identifier>
          <system value="urn:oid:1.2.3.4.5.6.9999.4"/>
          <value value="A573892"/>
        </identifier>
        <status value="completed"/>
        <medicationCodeableConcept>
          <coding>
            <system value="http://hl7.org/fhir/NamingSystem/ca-hc-din"/>
            <code value="2214997"/>
          </coding>
          <text value="VENTOLIN HFA 100 MCG"/>
        </medicationCodeableConcept>
        <patient>
          <reference value="Patient/5d9588d8-3cd6-4b32-8fb7-ad13694e069d"/>
        </patient>
        <dispenser>
          <extension
                     url="http://sharedhealth.exchange/fhir/StructureDefinition/ext-reference-practitioner-org">
            <valueReference>
              <reference
                         value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/CPR1000992"/>
            </valueReference>
          </extension>
        </dispenser>
        <authorizingPrescription>
          <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>
        </authorizingPrescription>
        <quantity>
          <value value="1"/>
          <unit value="Inhaler"/>
        <!--  See Terminology Gateway for the SNOMED CT CA Edition system (i.e. not http://snomed.info/sct)  -->
          <system
                  value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
          <code value="334980009"/>
        </quantity>
        <daysSupply>
          <value value="40"/>
          <system value="http://unitsofmeasure.org"/>
          <code value="d"/>
        </daysSupply>
        <whenPrepared value="2016-12-13"/>
      </MedicationDispense>
    </resource>
  </entry>
</Bundle>