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-a2-201-p200"/>
<!--       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:22d09a5c-2c50-4945-afe2-d8864c03dcd7"/>
    <resource>
      <MessageHeader>
        <id value="22d09a5c-2c50-4945-afe2-d8864c03dcd7"/>
        <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/523cadaa-69c0-48f0-9f0f-5322186a6607"/>
        </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:523cadaa-69c0-48f0-9f0f-5322186a6607"/>
    <resource>
      <Task>
        <id value="523cadaa-69c0-48f0-9f0f-5322186a6607"/>
        <meta>
          <profile
                   value="http://prescribeit.ca/fhir/StructureDefinition/task-p200-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.9999.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="backOrder"/>
              <display value="Product prescribed is on back order"/>
            </coding>
            <text value="Product prescribed is on back order"/>
          </valueCodeableConcept>
        </extension>
        <type>
          <coding>
            <system
                    value="https://fhir.infoway-inforoute.ca/CodeSystem/prescriptiontasktype"/>
            <code value="p200-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-02-02T12:15:38.123-06:00"/>
        <lastModified value="2016-02-02T12: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>
      <!--  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-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>
        <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>
        <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>
        <type>
          <coding>
            <system value="http://hl7.org/fhir/v3/ActCode"/>
            <code value="RFC"/>
          </coding>
        </type>
        <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"/>
        <dosageInstruction>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/extension-Dosage.sequence">
            <valueInteger value="1"/>
          </extension>
          <text value="Inhale 2 puffs 4 time per day for 40 days Route: Oral"/>
          <timing>
          <!--        Dose Timing data element must also be part of the ext-medication-rendered-dosage        -->
            <repeat>
              <boundsPeriod>
                <start value="2016-05-13"/>
              </boundsPeriod>
              <frequency value="4"/>
              <period value="1"/>
              <periodUnit value="d"/>
            </repeat>
          </timing>
          <route>
            <coding>
              <system value="http://hl7.org/fhir/v3/RouteOfAdministration"/>
              <code value="PO"/>
            </coding>
            <text value="Oral"/>
          </route>
          <doseRange>
            <low>
              <value value="1"/>
              <unit value="Puff"/>
            <!--  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="415215001"/>
            </low>
            <high>
              <value value="14"/>
              <unit value="Puff"/>
            <!--  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="415215001"/>
            </high>
          </doseRange>
          <maxDosePerPeriod>
            <numerator>
              <value value="10"/>
              <unit value="Puff"/>
            <!--  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="415215001"/>
            </numerator>
            <denominator>
              <value value="1"/>
              <system value="http://unitsofmeasure.org"/>
              <code value="d"/>
            </denominator>
          </maxDosePerPeriod>
        </dosageInstruction>
        <dosageInstruction>
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/extension-Dosage.sequence">
            <valueInteger value="2"/>
          </extension>
          <extension
                     url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-dosageinstruction-relationship">
            <valueCode value="and"/>
          </extension>
          <text
                value="Inhale 2 puffs 10 minutes before physical exertion Route: Oral"/>
          <additionalInstructions>
            <text value="10 minutes before physical exertion"/>
          </additionalInstructions>
          <route>
            <coding>
              <system value="http://hl7.org/fhir/v3/RouteOfAdministration"/>
              <code value="PO"/>
            </coding>
            <text value="Oral"/>
          </route>
          <doseQuantity>
            <value value="2"/>
            <unit value="Puff"/>
          <!--  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="415215001"/>
          </doseQuantity>
          <maxDosePerPeriod>
            <numerator>
              <value value="10"/>
              <unit value="Puff"/>
            <!--  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="415215001"/>
            </numerator>
            <denominator>
              <value value="1"/>
              <system value="http://unitsofmeasure.org"/>
              <code value="d"/>
            </denominator>
          </maxDosePerPeriod>
        </dosageInstruction>
      </MedicationDispense>
    </resource>
  </entry>
</Bundle>