PrescribeIT® Specification and Guide Version 5.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-g2-201-p190"/>
  <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:54fc3e09-e279-4b74-a8ff-2649ec968642"/>
    <resource>
      <MessageHeader>
        <id value="54fc3e09-e279-4b74-a8ff-2649ec968642"/>
        <meta>
          <profile
                   value="http://prescribeit.ca/fhir/StructureDefinition/interaction-messageheader-201"/>
        </meta>
        <timestamp value="2016-10-04T12: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"/>
          <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/9b830eff-7405-4f14-bfe8-b1f42ca83062"/>
        </data>
      </MessageHeader>
    </resource>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:ab101261-4e2b-4d82-a15f-1377c3e84e3d"/>
    <resource>
      <Patient>
        <id value="ab101261-4e2b-4d82-a15f-1377c3e84e3d"/>
        <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"/>
          <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"/>
          <value value="PMS-12345"/>
        </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>
  <!--  Fax-only ids won't be in the Provider Registry so we use GUIDs  -->
    <fullUrl value="urn:uuid:67a47a0e-f98b-4233-ab3e-d7c8222207db"/>
    <resource>
      <Practitioner>
        <id value="67a47a0e-f98b-4233-ab3e-d7c8222207db"/>
        <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.3.239.13.43"/>
          <value value="OCP12345"/>
        </identifier>
        <name>
          <use value="official"/>
          <family value="Pharmacist"/>
          <given value="Paula"/>
        </name>
        <telecom>
          <system value="phone"/>
          <value value="(987)654-3210"/>
          <use value="work"/>
        </telecom>
        <practitionerRole>
          <organization>
            <reference
                       value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/CPR1000992"/>
          </organization>
        </practitionerRole>
        <practitionerRole>
          <role>
            <coding>
              <system value="http://hl7.org/fhir/practitioner-role"/>
              <code value="pharmacist"/>
              <display value="Pharmacist"/>
            </coding>
          </role>
          <specialty>
            <text value="Pharmacist">
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/iso21090-ST-translation">
                <valueString value="Pharmacien">
                  <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>
    <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"/>
          <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="4388836452"/>
        </identifier>
        <name>
          <use value="official"/>
          <family value="Martel"/>
          <given value="Dr"/>
          <given value="Benoit"/>
        </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:9b830eff-7405-4f14-bfe8-b1f42ca83062"/>
    <resource>
      <Task>
        <id value="9b830eff-7405-4f14-bfe8-b1f42ca83062"/>
        <meta>
          <profile
                   value="http://prescribeit.ca/fhir/StructureDefinition/task-p190-m"/>
        </meta>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/extension-Task.groupIdentifier">
          <valueIdentifier>
            <system value="urn:oid:1.2.3.4.5.6.9999.3"/>
            <value value="ri-Group-Identifier"/>
          </valueIdentifier>
        </extension>
        <modifierExtension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-task-do-not-autofill">
          <valueBoolean value="true"/>
        </modifierExtension>
        <type>
          <coding>
            <system
                    value="https://fhir.infoway-inforoute.ca/CodeSystem/prescriptiontasktype"/>
            <code value="p190-m"/>
          </coding>
        </type>
        <priority value="high"/>
        <status value="requested"/>
        <subject>
          <reference
                     value="MedicationOrder/ded75587-840a-48ad-9be9-daee203b45ba"/>
        </subject>
        <for>
          <reference value="Patient/ab101261-4e2b-4d82-a15f-1377c3e84e3d"/>
        </for>
        <created value="2016-10-04T12:15:38.123-06:00"/>
        <lastModified value="2016-10-04T12: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>
  <entry>
    <fullUrl value="urn:uuid:ded75587-840a-48ad-9be9-daee203b45ba"/>
    <resource>
      <MedicationOrder>
        <id value="ded75587-840a-48ad-9be9-daee203b45ba"/>
        <contained>
          <Medication>
            <id value="med"/>
            <code>
              <coding>
                <system
                        value="https://fhir.infoway-inforoute.ca/CodeSystem/canadianclinicaldrugdataset"/>
                <code value="8000926"/>
                <display
                         value="brompheniramine and codeine and guaifenesin and phenylephrine"/>
              </coding>
              <text
                    value="brompheniramine and codeine and guaifenesin and phenylephrine"/>
            </code>
            <product>
              <form>
                <text value="Liquid"/>
              </form>
            </product>
          </Medication>
        </contained>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/extension-MedicationRequest.category">
          <valueCodeableConcept>
            <coding>
              <system
                      value="https://fhir.infoway-inforoute.ca/CodeSystem/prescriptiontype"/>
              <code value="medication"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <extension
                   url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-prescribe-reason">
          <valueString
                       value="Any relevant information pertaining to the reason/rational that needs to be included as part of this notification, must be populated within this extension."/>
        </extension>
        <extension
                   url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-treatment-type">
          <valueCode value="ACU"/>
        </extension>
        <extension
                   url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
          <valueString value="10 ml other for 7 days 10mL every 4-6 hours."/>
        </extension>
        <extension
                   url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-protocol">
          <valueString
                       value="Identifies the Protocol, Order set, Guideline or other definition that guided the creation of this prescription"/>
        </extension>
        <extension
                   url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-dispenser-instructions">
          <valueString
                       value="To convey explicit instructions to the Pharmacist related to this medication order"/>
        </extension>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/extension-MedicationRequest.supportingInfo">
          <valueReference>
            <reference value="Observation/4fb26823-5296-4291-8bc4-82440fc0b343"/>
          </valueReference>
        </extension>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/extension-MedicationRequest.supportingInfo">
          <valueReference>
            <reference value="Observation/f2a711d7-3476-40f4-93a9-118e7ca8ccc7"/>
          </valueReference>
        </extension>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/extension-MedicationRequest.supportingInfo">
          <valueReference>
            <reference value="List/84ef2d41-e27b-4d95-ac48-f0e4ae45e948"/>
          </valueReference>
        </extension>
        <extension
                   url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
          <valueReference>
            <reference
                       value="DetectedIssue/12d79947-83f0-46be-bf7a-e1658b26facf"/>
          </valueReference>
        </extension>
        <extension
                   url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
          <valueReference>
            <reference
                       value="DetectedIssue/e7cf6efe-2341-4e6b-94a2-3bba3e020009"/>
          </valueReference>
        </extension>
        <extension
                   url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-over-25-dur">
          <valueBoolean value="false"/>
        </extension>
        <identifier>
          <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="PMS-g2-brompheniramine-20161004"/>
        </identifier>
        <identifier>
          <type>
            <coding>
              <system value="http://hl7.org/fhir/v2/0203"/>
              <code value="RRI"/>
            </coding>
          </type>
          <system value="urn:oid:1.2.3.4.5.53.111.2"/>
          <value value="dis-g2-brompheniramine-20161004"/>
        </identifier>
        <status value="active"/>
        <medicationReference>
          <reference value="#med"/>
        </medicationReference>
        <patient>
          <reference value="Patient/ab101261-4e2b-4d82-a15f-1377c3e84e3d"/>
        </patient>
        <dateWritten value="2016-10-04T12:15:38.123-06:00"/>
        <prescriber>
          <reference value="Practitioner/67a47a0e-f98b-4233-ab3e-d7c8222207db"/>
        </prescriber>
        <dispenseRequest>
          <extension
                     url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-dispense-interval">
            <valueQuantity>
              <value value="7"/>
              <system value="http://unitsofmeasure.org"/>
              <code value="d"/>
            </valueQuantity>
          </extension>
          <extension
                     url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-dispense-first-fill">
            <extension url="quantity">
              <valueQuantity>
                <value value="100"/>
                <unit value="mL"/>
                <system value="http://unitsofmeasure.org"/>
                <code value="mL"/>
              </valueQuantity>
            </extension>
          </extension>
          <extension
                     url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-days-supply">
            <valueQuantity>
              <value value="7"/>
              <system value="http://unitsofmeasure.org"/>
              <code value="d"/>
            </valueQuantity>
          </extension>
          <extension
                     url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-quantity">
            <valueQuantity>
              <value value="500"/>
              <unit value="mL"/>
              <system value="http://unitsofmeasure.org"/>
              <code value="mL"/>
            </valueQuantity>
          </extension>
          <extension
                     url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-dispense-max">
            <valueQuantity>
              <value value="500"/>
              <unit value="mL"/>
              <system value="http://unitsofmeasure.org"/>
              <code value="mL"/>
            </valueQuantity>
          </extension>
          <validityPeriod>
            <start value="2018-06-08"/>
            <end value="2018-06-14"/>
          </validityPeriod>
          <quantity>
            <value value="500"/>
            <unit value="mL"/>
            <system value="http://unitsofmeasure.org"/>
            <code value="mL"/>
          </quantity>
          <expectedSupplyDuration>
            <value value="7"/>
            <system value="http://unitsofmeasure.org"/>
            <code value="d"/>
          </expectedSupplyDuration>
        </dispenseRequest>
      </MedicationOrder>
    </resource>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:4fb26823-5296-4291-8bc4-82440fc0b343"/>
    <resource>
      <Observation>
        <id value="4fb26823-5296-4291-8bc4-82440fc0b343"/>
        <status value="final"/>
        <category>
          <coding>
            <system value="http://hl7.org/fhir/observation-category"/>
            <code value="vital-signs"/>
          </coding>
        </category>
        <code>
          <coding>
            <system value="https://fhir.infoway-inforoute.ca/CodeSystem/pCLOCD"/>
            <code value="8302-2"/>
          </coding>
        </code>
        <subject>
          <reference value="Patient/ab101261-4e2b-4d82-a15f-1377c3e84e3d"/>
        </subject>
        <effectiveDateTime value="2016-10-04"/>
        <valueQuantity>
          <value value="180"/>
          <system value="http://unitsofmeasure.org"/>
          <code value="cm"/>
        </valueQuantity>
      </Observation>
    </resource>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:f2a711d7-3476-40f4-93a9-118e7ca8ccc7"/>
    <resource>
      <Observation>
        <id value="f2a711d7-3476-40f4-93a9-118e7ca8ccc7"/>
        <status value="final"/>
        <category>
          <coding>
            <system value="http://hl7.org/fhir/observation-category"/>
            <code value="vital-signs"/>
          </coding>
        </category>
        <code>
          <coding>
            <system value="https://fhir.infoway-inforoute.ca/CodeSystem/pCLOCD"/>
            <code value="29463-7"/>
          </coding>
        </code>
        <subject>
          <reference value="Patient/ab101261-4e2b-4d82-a15f-1377c3e84e3d"/>
        </subject>
        <effectiveDateTime value="2016-10-04"/>
        <valueQuantity>
          <value value="80"/>
          <system value="http://unitsofmeasure.org"/>
          <code value="kg"/>
        </valueQuantity>
      </Observation>
    </resource>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:84ef2d41-e27b-4d95-ac48-f0e4ae45e948"/>
    <resource>
      <List>
        <id value="84ef2d41-e27b-4d95-ac48-f0e4ae45e948"/>
        <text>
          <status value="additional"/>
          <div xmlns="http://www.w3.org/1999/xhtml">NSAID Intolerance|Severe Latex allergy|Penicillin allergy</div>
        </text>
        <status value="current"/>
        <mode value="snapshot"/>
        <code>
          <coding>
            <system value="http://hl7.org/fhir/list-example-use-codes"/>
            <code value="allergies"/>
          </coding>
        </code>
        <subject>
          <reference value="Patient/ab101261-4e2b-4d82-a15f-1377c3e84e3d"/>
          <display value="Todd G. Lerr Jr"/>
        </subject>
      </List>
    </resource>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:12d79947-83f0-46be-bf7a-e1658b26facf"/>
    <resource>
      <DetectedIssue>
        <id value="12d79947-83f0-46be-bf7a-e1658b26facf"/>
        <patient>
          <reference value="Patient/ab101261-4e2b-4d82-a15f-1377c3e84e3d"/>
        </patient>
        <category>
          <coding>
            <system value="http://hl7.org/fhir/v3/ActCode"/>
            <code value="ALLDONE"/>
            <display value="already performed"/>
          </coding>
          <text value="Plain text representation of the concept"/>
        </category>
        <implicated>
          <reference
                     value="MedicationOrder/ded75587-840a-48ad-9be9-daee203b45ba"/>
        </implicated>
        <detail
                value="Aspirin contraindicated for patients intolerant of NSAIDs"/>
        <mitigation>
          <action>
            <coding>
              <system value="http://hl7.org/fhir/v3/ActCode"/>
              <code value="1"/>
              <display value="Therapy Appropriate"/>
            </coding>
            <text value="Plain text representation of the concept"/>
          </action>
        </mitigation>
      </DetectedIssue>
    </resource>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:e7cf6efe-2341-4e6b-94a2-3bba3e020009"/>
    <resource>
      <DetectedIssue>
        <id value="e7cf6efe-2341-4e6b-94a2-3bba3e020009"/>
        <patient>
          <reference value="Patient/ab101261-4e2b-4d82-a15f-1377c3e84e3d"/>
        </patient>
        <category>
        <!--  
					<coding>
						<system value="http://hl7.org/fhir/v3/ActCode"/>
						<code value="ALRTENDLATE"/>
						<display value="end too late alert"/>
					</coding>  -->
          <text value="Plain text representation of the concept"/>
        </category>
        <implicated>
          <reference
                     value="MedicationOrder/ded75587-840a-48ad-9be9-daee203b45ba"/>
        </implicated>
        <detail
                value="2nd Detected Issue - Aspirin contraindicated for patients intolerant of NSAIDs"/>
        <mitigation>
          <action>
            <coding>
              <system value="http://hl7.org/fhir/v3/ActCode"/>
              <code value="10"/>
              <display value="Provided Patient Education"/>
            </coding>
            <text value="Plain text representation of the concept"/>
          </action>
        </mitigation>
      </DetectedIssue>
    </resource>
  </entry>
</Bundle>