Shared Health Specification and Guide Version 5.0

 
Raw XML


<Bundle xmlns="http://hl7.org/fhir">
<!--    id will typically be a guid    -->
  <id value="example-poll3-message-query-poll-response-all-physician-tasks"/>
<!--    The profile declaration isn't required, but will help with automated validation using existing tools for examples    -->
  <meta>
    <profile
             value="http://sharedhealth.exchange/fhir/StructureDefinition/interaction-bundle-poll-response"/>
    <tag>
      <system
              value="https://fhir.infoway-inforoute.ca/CodeSystem/sharedspecificationversion"/>
      <code value="Shared5.0"/>
    </tag>
  </meta>
  <type value="searchset"/>
  <link>
    <relation value="self"/>
    <url
         value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/mailbox_vs1/Bundle"/>
  </link>
  <link>
    <relation value="next"/>
    <url
         value="https://api.sharedhealth.exchange/rest/v1/THP/mailbox_vs1/Bundle?start=658457"/>
  </link>
  <entry>
    <fullUrl
             value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/mailbox_vs1/Bundle/733b4e31-0439-4ee4-b134-0a87055d3328"/>
  <!--    This should mirror exactly what was posted by the EHR with the Bundle.id inserted    -->
    <resource>
      <Bundle>
        <id value="733b4e31-0439-4ee4-b134-0a87055d3328"/>
      <!--      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:ecce7422-72e9-4b69-aeda-ed90c9c483f7"/>
          <resource>
            <MessageHeader>
              <id value="ecce7422-72e9-4b69-aeda-ed90c9c483f7"/>
              <meta>
                <profile
                         value="http://prescribeit.ca/fhir/StructureDefinition/interaction-messageheader-201"/>
              </meta>
              <timestamp value="2021-01-28T23:48:27.0465-05: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.0.9.9.8.0998"/>
                </extension>
                <extension
                           url="http://sharedhealth.exchange/fhir/StructureDefinition/ext-messageheader-conformance-version">
                  <valueString value="APP_QA5_v1.0"/>
                </extension>
                <name value="QA5 sending p160-m for 13.2.3 prep request"/>
                <software value="APPName_QA5"/>
                <version value="APP_QA5_v1.0"/>
                <endpoint
                          value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/190000024"/>
              </source>
              <destination>
                <endpoint
                          value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/190010043"/>
              </destination>
            <!--  1st set of 25  -->
              <data>
              <!--  no.1  -->
                <reference value="Task/671f19ac-b5e7-473a-9c6e-96d964d1f41f"/>
              </data>
              <data>
              <!--  no.2  -->
                <reference value="Task/5249725d-b4d5-41bd-966b-e98698b41f07"/>
              </data>
              <data>
              <!--  no.3  -->
                <reference value="Task/a371398f-eb78-463f-9183-b6c052a2c183"/>
              </data>
              <data>
              <!--  no.4  -->
                <reference value="Task/a7142f08-efa8-4125-a013-0ada692b5747"/>
              </data>
              <data>
              <!--  no.5  -->
                <reference value="Task/746d2528-902d-43ed-b81d-ebe75fd820f3"/>
              </data>
              <data>
              <!--  no.6  -->
                <reference value="Task/ba928bdb-b51e-4b27-a63d-b37ef5da94a6"/>
              </data>
              <data>
              <!--  no.7  -->
                <reference value="Task/459cf21b-cfd6-4017-aaea-4fb847f0faff"/>
              </data>
              <data>
              <!--  no.8  -->
                <reference value="Task/b79479a9-515c-4dc2-9c4e-604f0d679b03"/>
              </data>
              <data>
              <!--  no.9  -->
                <reference value="Task/db4ba61f-d00f-41ca-9cd0-d0554cf805b0"/>
              </data>
              <data>
              <!--  no.10  -->
                <reference value="Task/d329a3f1-f25d-4438-a361-362de6c22554"/>
              </data>
              <data>
              <!--  no.11  -->
                <reference value="Task/ca607062-5407-4f54-b8c7-36fe3eb65ab8"/>
              </data>
              <data>
              <!--  no.12  -->
                <reference value="Task/55eceadd-b83d-41c0-bcbc-d10bd2fce01e"/>
              </data>
              <data>
              <!--  no.13  -->
                <reference value="Task/68dbca5c-9f65-4e72-ad34-8cfee9b1f07a"/>
              </data>
              <data>
              <!--  no.14  -->
                <reference value="Task/19b364be-c1ae-4e6a-8dce-3222ceb7a15c"/>
              </data>
              <data>
              <!--  no.15  -->
                <reference value="Task/391a9d45-9059-47f2-bc28-5cbc4f0d6acc"/>
              </data>
              <data>
              <!--  no.16  -->
                <reference value="Task/820f256f-ed04-4822-b750-af2d28896a87"/>
              </data>
              <data>
              <!--  no.17  -->
                <reference value="Task/3f235d6e-d52a-4f85-bd38-e62a75db6cb3"/>
              </data>
              <data>
              <!--  no.18  -->
                <reference value="Task/4f25fce9-2d08-431a-b17c-9949dc4fa2f9"/>
              </data>
              <data>
              <!--  no.19  -->
                <reference value="Task/4d8bdff8-dc47-498a-bf18-76b331acd7df"/>
              </data>
              <data>
              <!--  no.20  -->
                <reference value="Task/fcab7b00-75ca-434f-bbb8-a492d02d363e"/>
              </data>
              <data>
              <!--  no.21  -->
                <reference value="Task/2ee668c6-8def-4b43-aa7e-5209b3b8efab"/>
              </data>
              <data>
              <!--  no.22  -->
                <reference value="Task/e13afd42-3090-4f17-88d2-0895fdaf1e81"/>
              </data>
              <data>
              <!--  no.23  -->
                <reference value="Task/4d0db512-cc09-4239-8cf1-c567a26a4800"/>
              </data>
              <data>
              <!--  no.24  -->
                <reference value="Task/bec2a01d-35f5-4751-b569-2c3e3fd303d7"/>
              </data>
              <data>
              <!--  no.25  -->
                <reference value="Task/a107fac6-618b-4b4e-a909-eeb0ca91f503"/>
              </data>
            <!--  2nd set of 25  -->
              <data>
              <!--  no.1  -->
                <reference value="Task/8f77690b-4d51-447c-a518-9f4aad3e3aa1"/>
              </data>
              <data>
              <!--  no.2  -->
                <reference value="Task/0cf3b4ac-146c-40f2-8c7c-8114c1ede419"/>
              </data>
              <data>
              <!--  no.3  -->
                <reference value="Task/7cbe32a9-2282-466e-8f7a-2b89251fbd86"/>
              </data>
              <data>
              <!--  no.4  -->
                <reference value="Task/30303d49-165a-450a-8303-54a55ee9ce0e"/>
              </data>
              <data>
              <!--  no.5  -->
                <reference value="Task/9cf20a4a-407a-470e-9485-d6bf827c91dd"/>
              </data>
              <data>
              <!--  no.6  -->
                <reference value="Task/2e77400c-5ddf-42c7-b6d6-2a6b8254ece3"/>
              </data>
              <data>
              <!--  no.7  -->
                <reference value="Task/f24cbe20-813c-45f3-9671-bf224a9cadc0"/>
              </data>
              <data>
              <!--  no.8  -->
                <reference value="Task/d2002208-6e5e-4788-a3de-8ac8af9c6504"/>
              </data>
              <data>
              <!--  no.9  -->
                <reference value="Task/6211802a-5294-4395-bee9-0a0053deebad"/>
              </data>
              <data>
              <!--  no.10  -->
                <reference value="Task/20832e31-ecca-4097-83a4-d68b39d62a94"/>
              </data>
              <data>
              <!--  no.11  -->
                <reference value="Task/fa862d41-081a-4c1b-a159-523877ab0439"/>
              </data>
              <data>
              <!--  no.12  -->
                <reference value="Task/dc1888d0-64f1-4799-8c40-36e1afa342ac"/>
              </data>
              <data>
              <!--  no.13  -->
                <reference value="Task/b08fb6e3-0cdf-469a-9ddf-e255725c5793"/>
              </data>
              <data>
              <!--  no.14  -->
                <reference value="Task/3a2f0a7c-02e5-4b72-94d7-043cd8af3195"/>
              </data>
              <data>
              <!--  no.15  -->
                <reference value="Task/d243de93-375d-491b-aca8-0b35af6fe1a8"/>
              </data>
              <data>
              <!--  no.16  -->
                <reference value="Task/818950c5-b568-40c9-a1e5-b377407566df"/>
              </data>
              <data>
              <!--  no.17  -->
                <reference value="Task/258907d1-e80e-4ba8-acb5-be0b1fb86ded"/>
              </data>
              <data>
              <!--  no.18  -->
                <reference value="Task/80e04e79-4c51-4793-a42c-ad3ad4f3b799"/>
              </data>
              <data>
              <!--  no.19  -->
                <reference value="Task/eedf77c5-9fc9-494b-b25c-e5a4e348fc0f"/>
              </data>
              <data>
              <!--  no.20  -->
                <reference value="Task/f0bcca45-e40d-434e-9748-0b23b96980c6"/>
              </data>
              <data>
              <!--  no.21  -->
                <reference value="Task/c5f08741-e231-4da4-8195-2f64ec13a158"/>
              </data>
              <data>
              <!--  no.22  -->
                <reference value="Task/3c2b8035-b626-4648-9279-362f005d2a73"/>
              </data>
              <data>
              <!--  no.23  -->
                <reference value="Task/fb726b76-d903-4667-9182-8b1e9da6666b"/>
              </data>
              <data>
              <!--  no.24  -->
                <reference value="Task/4f0b63be-be36-40f2-a9df-a2e89be5d09e"/>
              </data>
              <data>
              <!--  no.25  -->
                <reference value="Task/59ab22f6-6932-4a25-9a53-3ffd8840844b"/>
              </data>
            </MessageHeader>
          </resource>
        </entry>
        <entry>
          <fullUrl value="urn:uuid:6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
          <resource>
            <Patient>
              <id value="6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              <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="5584-486-674-YM"/>
              </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.0.9.9.8.0998.1"/>
                <value value="Local-6235"/>
              </identifier>
              <name>
                <use value="official"/>
                <family value="Lerr"/>
                <given value="Todd"/>
                <given value="G."/>
                <prefix value="Mr"/>
                <suffix value="Jr"/>
              </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="female"/>
              <birthDate value="1950-01-21"/>
              <address>
                <use value="home"/>
                <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/190020085"/>
          <resource>
            <Practitioner>
              <id value="190020085"/>
              <text>
                <status value="empty"/>
                <div xmlns="http://www.w3.org/1999/xhtml">No narrative provided</div>
              </text>
              <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="190020085"/>
              </identifier>
              <identifier>
                <type>
                  <coding>
                    <system value="http://hl7.org/fhir/v2/0203"/>
                    <code value="LN"/>
                  </coding>
                  <text value="College of Physicians and Surgeons of Ontario"/>
                </type>
                <system value="urn:oid:2.16.840.1.113883.4.347"/>
                <value value="ON020085"/>
              </identifier>
              <name>
                <use value="official"/>
                <family value="Kirk"/>
                <given value="Captain"/>
                <prefix value="DR."/>
                <suffix value="SR"/>
              </name>
              <practitionerRole>
                <organization>
                  <reference
                             value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/190010043"/>
                </organization>
              </practitionerRole>
              <communication>
                <coding>
                  <system value="urn:ietf:bcp:47"/>
                  <code value="en-CA"/>
                  <display value="English (Region=Canada)"/>
                </coding>
                <text value="English (Canadian)"/>
              </communication>
            </Practitioner>
          </resource>
        </entry>
        <entry>
          <fullUrl
                   value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/190010043"/>
          <resource>
            <Organization>
              <id value="190010043"/>
              <text>
                <status value="empty"/>
                <div xmlns="http://www.w3.org/1999/xhtml">No narrative provided</div>
              </text>
              <identifier>
                <system
                        value="http://sharedhealth.exchange/fhir/NamingSystem/registry-id-organization"/>
                <value value="190010043"/>
              </identifier>
              <type>
                <coding>
                  <system value="http://hl7.org/fhir/v3/RoleCode"/>
                  <code value="PROFF"/>
                  <display value="Provider&#39;s Office"/>
                </coding>
                <text value="Provider&#39;s Office"/>
              </type>
              <name value="P&amp;P Test Org 2"/>
              <telecom>
                <system value="phone"/>
                <value value="(416) 665-6452"/>
                <use value="mobile"/>
              </telecom>
              <telecom>
                <system value="fax"/>
                <value value="(416) 665-6523"/>
                <use value="work"/>
              </telecom>
              <address>
                <type value="physical"/>
                <text value="2 TEST ORG ST"/>
                <line value="2  Test Org St"/>
                <city value="Toronto"/>
                <state value="ON"/>
                <postalCode value="M1M 1M1"/>
                <country value="CAN"/>
              </address>
            </Organization>
          </resource>
        </entry>
        <entry>
          <fullUrl
                   value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/190000024"/>
          <resource>
            <Organization>
              <id value="190000024"/>
              <identifier>
                <system
                        value="http://sharedhealth.exchange/fhir/NamingSystem/registry-id-organization"/>
                <value value="190000024"/>
              </identifier>
              <type>
                <coding>
                  <system value="http://hl7.org/fhir/v3/RoleCode"/>
                  <code value="OUTPHARM"/>
                </coding>
              </type>
              <name value="QA4 PMS"/>
              <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="CAN"/>
              </address>
            </Organization>
          </resource>
        </entry>
        <entry>
          <fullUrl value="urn:uuid:6b766de0-f5dc-455d-a7c7-f4e8c6ce6ce1"/>
          <resource>
            <Communication>
              <id value="6b766de0-f5dc-455d-a7c7-f4e8c6ce6ce1"/>
              <text>
                <status value="empty"/>
                <div xmlns="http://www.w3.org/1999/xhtml">No narrative provided</div>
              </text>
              <sender>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/190000024"/>
              </sender>
              <recipient>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </recipient>
              <payload>
                <contentString
                               value="Needs Renewals Patient leaving on vacation"/>
              </payload>
              <status value="in-progress"/>
              <subject>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
                <display value="Todd, Lerr"/>
              </subject>
            </Communication>
          </resource>
        </entry>
      <!--  1st set of 25  -->
      <!--  No.1  -->
        <entry>
          <fullUrl value="urn:uuid:9cfba5b5-ff63-450d-b34f-e6a596fd1543"/>
          <resource>
            <MedicationOrder>
              <id value="9cfba5b5-ff63-450d-b34f-e6a596fd1543"/>
              <text>
                <status value="empty"/>
                <div xmlns="http://www.w3.org/1999/xhtml">No narrative provided</div>
              </text>
              <contained>
                <Medication>
                  <id value="f139e8c8-9274-431a-a74d-abead44850f7"/>
                  <extension
                             url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-strength-description">
                    <valueString value="325 mg"/>
                  </extension>
                  <code>
                    <coding>
                      <extension
                                 url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-code-representative">
                        <valueBoolean value="true"/>
                      </extension>
                      <system value="http://hl7.org/fhir/NamingSystem/ca-hc-din"/>
                      <code value="00559393"/>
                      <display value="Tylenol 325 mg"/>
                    </coding>
                    <text value="Tylenol 325 mg"/>
                  </code>
                </Medication>
              </contained>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-treatment-type">
                <valueCode value="CHRON"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-over-25-dur">
                <valueBoolean value="false"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-no-renewals">
                <valueBoolean value="false"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-monitored-drug">
                <valueBoolean value="false"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString value="325 mg every 4 hours"/>
              </extension>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-MedicationRequest.supportingInfo">
                <valueReference>
                  <reference value="List/871d7a2f-e5c8-41a9-b4a6-bf81bfcfac8a"/>
                </valueReference>
              </extension>
              <identifier>
                <type>
                  <coding>
                    <system value="http://hl7.org/fhir/identifier-type"/>
                    <code value="PLAC"/>
                  </coding>
                </type>
                <system value="urn:oid:1.2.0.9.9.4.0994.2"/>
                <value value="a5ae7607-f406-4634-9082-081e0302ad1b"/>
              </identifier>
              <status value="active"/>
              <medicationReference>
                <reference value="#f139e8c8-9274-431a-a74d-abead44850f7"/>
              </medicationReference>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </patient>
              <dateWritten value="2018-03-26"/>
              <prescriber>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </prescriber>
              <dosageInstruction>
                <extension
                           url="http://hl7.org/fhir/StructureDefinition/extension-Dosage.sequence">
                  <valueInteger value="1"/>
                </extension>
                <text value="325 mg every 4 hours"/>
                <timing>
                  <repeat>
                    <boundsPeriod>
                      <start value="2018-03-26"/>
                    </boundsPeriod>
                    <frequency value="1"/>
                    <period value="4"/>
                    <periodUnit value="h"/>
                  </repeat>
                </timing>
                <route>
                  <coding>
                    <system value="http://hl7.org/fhir/v3/RouteOfAdministration"/>
                    <code value="PO"/>
                    <display value="Swallow, oral"/>
                  </coding>
                  <text value="Oral"/>
                </route>
                <doseQuantity>
                  <value value="325"/>
                  <unit value="mg"/>
                  <system value="http://unitsofmeasure.org"/>
                  <code value="mg"/>
                </doseQuantity>
              </dosageInstruction>
              <dispenseRequest>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-quantity">
                  <valueQuantity>
                    <value value="6"/>
                    <unit value="Capsule(s)"/>
                    <system
                            value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                    <code value="428641000"/>
                  </valueQuantity>
                </extension>
                <validityPeriod>
                  <start value="2018-03-26"/>
                </validityPeriod>
                <quantity>
                  <value value="6"/>
                  <unit value="Capsule(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428641000"/>
                </quantity>
              </dispenseRequest>
            </MedicationOrder>
          </resource>
        </entry>
      <!--  no.1 -->
        <entry>
          <fullUrl value="urn:uuid:6f093df9-ae24-4da7-b228-c2cf9e4661ff"/>
          <resource>
            <MedicationDispense>
              <id value="6f093df9-ae24-4da7-b228-c2cf9e4661ff"/>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/pharmacy-core-refillsRemaining">
                <valueInteger value="0"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString
                             value="325 mg every 4 hours for 2 days. Route: Oral"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-dispense-quantity-remaining">
                <valueQuantity>
                  <value value="0"/>
                  <unit value="Capsule(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428641000"/>
                </valueQuantity>
              </extension>
              <identifier>
                <system value="urn:oid:1.2.0.9.9.8.0998.4"/>
                <value value="PMSDISPno1-6f093df9-ae24-4da7-b228-c2cf9e4661ff"/>
              </identifier>
              <status value="completed"/>
              <medicationCodeableConcept>
                <coding>
                  <system value="http://hl7.org/fhir/NamingSystem/ca-hc-din"/>
                  <code value="00559393"/>
                  <display value="Tylenol 325 mg"/>
                </coding>
                <text value="Tylenol 325 mg"/>
              </medicationCodeableConcept>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </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/190000024"/>
                  </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.0.9.9.4.0994.2"/>
                    <value value="a5ae7607-f406-4634-9082-081e0302ad1b"/>
                  </valueIdentifier>
                </extension>
              </authorizingPrescription>
              <quantity>
                <value value="2"/>
                <unit value="Capsule(s)"/>
                <system
                        value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                <code value="428641000"/>
              </quantity>
              <daysSupply>
                <value value="2"/>
                <system value="http://unitsofmeasure.org"/>
                <code value="d"/>
              </daysSupply>
              <whenPrepared value="2021-01-28"/>
            </MedicationDispense>
          </resource>
        </entry>
      <!--  no.1 -->
        <entry>
          <fullUrl value="urn:uuid:671f19ac-b5e7-473a-9c6e-96d964d1f41f"/>
          <resource>
            <Task>
              <id value="671f19ac-b5e7-473a-9c6e-96d964d1f41f"/>
              <meta>
                <profile
                         value="http://prescribeit.ca/fhir/StructureDefinition/task-p160-m"/>
              </meta>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-Task.groupIdentifier">
                <valueIdentifier>
                  <system value="urn:oid:1.2.0.9.9.8.0998.3"/>
                  <value value="grp-ecce7422-72e9-4b69-aeda-ed90c9c483f6"/>
                </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="other"/>
                    <display
                             value="Patient preference, Tapering dose, Other (with free text option)"/>
                  </coding>
                  <text value="Free text option"/>
                </valueCodeableConcept>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-task-message">
                <valueReference>
                  <reference
                             value="Communication/6b766de0-f5dc-455d-a7c7-f4e8c6ce6ce1"/>
                </valueReference>
              </extension>
              <type>
                <coding>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/prescriptiontasktype"/>
                  <code value="p160-m"/>
                </coding>
              </type>
              <priority value="high"/>
              <status value="requested"/>
              <subject>
                <reference
                           value="MedicationOrder/9cfba5b5-ff63-450d-b34f-e6a596fd1543"/>
              </subject>
              <for>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </for>
              <created value="2021-01-28T23:48:27.0493-05:00"/>
              <lastModified value="2021-01-28T23:48:27.0493-05:00"/>
              <creator>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/190000024"/>
              </creator>
              <owner>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </owner>
              <input>
                <name value="daysSinceLastDispense"/>
                <valueInteger value="1"/>
              </input>
              <input>
                <name value="lastDispense"/>
                <valueReference>
                  <reference
                             value="MedicationDispense/6f093df9-ae24-4da7-b228-c2cf9e4661ff"/>
                </valueReference>
              </input>
              <input>
                <name value="instruction"/>
                <valueString value="instruction 13.1.1.1.rx"/>
              </input>
            <!--  PrescribeIT5.0 element  -->
              <input>
                <name value="pmsrequestedrx"/>
                <valueReference>
                  <reference value="MedicationOrder/RequestedGUID1"/>
                </valueReference>
              </input>
              <input>
                <name value="pmsrequestedrx"/>
                <valueReference>
                  <reference value="MedicationOrder/RequestedGUID2"/>
                </valueReference>
              </input>
              <input>
                <name value="pmsrequestedrx"/>
                <valueReference>
                  <reference value="MedicationOrder/RequestedGUID3"/>
                </valueReference>
              </input>
              <input>
                <name value="pmsrequestedrx"/>
                <valueReference>
                  <reference value="MedicationOrder/RequestedGUID4"/>
                </valueReference>
              </input>
              <input>
                <name value="pmsrequestedrx"/>
                <valueReference>
                  <reference value="MedicationOrder/RequestedGUID5"/>
                </valueReference>
              </input>
            </Task>
          </resource>
        </entry>
      <!--  No.2  -->
        <entry>
          <fullUrl value="urn:uuid:775ac6cb-71aa-4e7e-b9a2-d2d7febe0a8e"/>
          <resource>
            <MedicationOrder>
              <id value="775ac6cb-71aa-4e7e-b9a2-d2d7febe0a8e"/>
              <text>
                <status value="empty"/>
                <div xmlns="http://www.w3.org/1999/xhtml">No narrative provided</div>
              </text>
              <contained>
                <Medication>
                  <id value="195dbf25-38ff-4294-842b-a2c88e9fc4ec"/>
                  <code>
                    <coding>
                      <extension
                                 url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-code-representative">
                        <valueBoolean value="false"/>
                      </extension>
                      <system value="http://hl7.org/fhir/NamingSystem/ca-hc-din"/>
                      <code value="02420813"/>
                      <display value="Reclipsen (21) 0.15-0.03 mg"/>
                    </coding>
                    <text value="Reclipsen (21) 0.15-0.03 mg"/>
                  </code>
                  <product>
                    <form>
                      <coding>
                        <system value="http://hl7.org/fhir/v3/orderableDrugForm"/>
                        <code value="TAB"/>
                        <display value="Tablet"/>
                      </coding>
                      <text value="Tablet"/>
                    </form>
                  </product>
                </Medication>
              </contained>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-treatment-type">
                <valueCode value="ACU"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
                <valueReference>
                  <reference
                             value="DetectedIssue/285ff087-9c21-4121-b517-22eb516b293e"/>
                </valueReference>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-over-25-dur">
                <valueBoolean value="false"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-no-renewals">
                <valueBoolean value="false"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-monitored-drug">
                <valueBoolean value="false"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString value="1 tablet 4 times daily for 4 days"/>
              </extension>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-MedicationRequest.supportingInfo">
                <valueReference>
                  <reference value="List/871d7a2f-e5c8-41a9-b4a6-bf81bfcfac8a"/>
                </valueReference>
              </extension>
              <identifier>
                <type>
                  <coding>
                    <system value="http://hl7.org/fhir/identifier-type"/>
                    <code value="PLAC"/>
                  </coding>
                </type>
                <system value="urn:oid:1.2.0.9.9.4.0994.2"/>
                <value value="63adb10d-43c7-453e-abb2-36e892d578f0"/>
              </identifier>
              <status value="active"/>
              <medicationReference>
                <reference value="#195dbf25-38ff-4294-842b-a2c88e9fc4ec"/>
              </medicationReference>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </patient>
              <dateWritten value="2018-03-26"/>
              <prescriber>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </prescriber>
              <dosageInstruction>
                <extension
                           url="http://hl7.org/fhir/StructureDefinition/extension-Dosage.sequence">
                  <valueInteger value="1"/>
                </extension>
                <text value="1 tablet 4 times daily for 4 days"/>
                <timing>
                  <repeat>
                    <boundsPeriod>
                      <start value="2018-03-26"/>
                    </boundsPeriod>
                    <duration value="4"/>
                    <durationUnit value="d"/>
                    <frequency value="4"/>
                    <period value="1"/>
                    <periodUnit value="d"/>
                  </repeat>
                </timing>
                <route>
                  <coding>
                    <system value="http://hl7.org/fhir/v3/RouteOfAdministration"/>
                    <code value="PO"/>
                    <display value="Swallow, oral"/>
                  </coding>
                  <text value="Oral"/>
                </route>
                <doseQuantity>
                  <value value="1"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </doseQuantity>
              </dosageInstruction>
              <dispenseRequest>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-days-supply">
                  <valueQuantity>
                    <value value="4"/>
                    <system value="http://unitsofmeasure.org"/>
                    <code value="d"/>
                  </valueQuantity>
                </extension>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-quantity">
                  <valueQuantity>
                    <value value="16"/>
                    <unit value="Tablet(s)"/>
                    <system
                            value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                    <code value="428673006"/>
                  </valueQuantity>
                </extension>
                <validityPeriod>
                  <start value="2018-03-26"/>
                </validityPeriod>
                <quantity>
                  <value value="16"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </quantity>
                <expectedSupplyDuration>
                  <value value="4"/>
                  <system value="http://unitsofmeasure.org"/>
                  <code value="d"/>
                </expectedSupplyDuration>
              </dispenseRequest>
            </MedicationOrder>
          </resource>
        </entry>
      <!--  No.2  -->
        <entry>
          <fullUrl value="urn:uuid:4cced2b0-adb2-4750-b7ea-f84faecc74cf"/>
          <resource>
            <MedicationDispense>
              <id value="4cced2b0-adb2-4750-b7ea-f84faecc74cf"/>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/pharmacy-core-refillsRemaining">
                <valueInteger value="0"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString value="1 tablet 4 times daily for 4 days"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-dispense-quantity-remaining">
                <valueQuantity>
                  <value value="0"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </valueQuantity>
              </extension>
              <identifier>
                <system value="urn:oid:1.2.0.9.9.8.0998.4"/>
                <value value="PMSDISPno2-4cced2b0-adb2-4750-b7ea-f84faecc74cf"/>
              </identifier>
              <status value="completed"/>
              <medicationCodeableConcept>
                <coding>
                  <system value="http://hl7.org/fhir/NamingSystem/ca-hc-din"/>
                  <code value="02420813"/>
                  <display value="Reclipsen (21) 0.15-0.03 mg"/>
                </coding>
                <text value="Reclipsen (21) 0.15-0.03 mg"/>
              </medicationCodeableConcept>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </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/190000024"/>
                  </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.0.9.9.4.0994.2"/>
                    <value value="63adb10d-43c7-453e-abb2-36e892d578f0"/>
                  </valueIdentifier>
                </extension>
              </authorizingPrescription>
              <quantity>
                <value value="16"/>
                <unit value="Tablet(s)"/>
                <system
                        value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                <code value="428673006"/>
              </quantity>
              <daysSupply>
                <value value="4"/>
                <system value="http://unitsofmeasure.org"/>
                <code value="d"/>
              </daysSupply>
              <whenPrepared value="2021-01-28"/>
            </MedicationDispense>
          </resource>
        </entry>
      <!--  No.2  -->
        <entry>
          <fullUrl value="urn:uuid:5249725d-b4d5-41bd-966b-e98698b41f07"/>
          <resource>
            <Task>
              <id value="5249725d-b4d5-41bd-966b-e98698b41f07"/>
              <meta>
                <profile
                         value="http://prescribeit.ca/fhir/StructureDefinition/task-p160-m"/>
              </meta>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-Task.groupIdentifier">
                <valueIdentifier>
                  <system value="urn:oid:1.2.0.9.9.8.0998.3"/>
                  <value value="grp-ecce7422-72e9-4b69-aeda-ed90c9c483f6"/>
                </valueIdentifier>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-task-message">
                <valueReference>
                  <reference
                             value="Communication/6b766de0-f5dc-455d-a7c7-f4e8c6ce6ce1"/>
                </valueReference>
              </extension>
              <type>
                <coding>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/prescriptiontasktype"/>
                  <code value="p160-m"/>
                </coding>
              </type>
              <priority value="high"/>
              <status value="requested"/>
              <subject>
                <reference
                           value="MedicationOrder/775ac6cb-71aa-4e7e-b9a2-d2d7febe0a8e"/>
              </subject>
              <for>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </for>
              <created value="2021-01-28T23:48:27.0517-05:00"/>
              <lastModified value="2021-01-28T23:48:27.0518-05:00"/>
              <creator>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/190000024"/>
              </creator>
              <owner>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </owner>
              <input>
                <name value="daysSinceLastDispense"/>
                <valueInteger value="1"/>
              </input>
              <input>
                <name value="lastDispense"/>
                <valueReference>
                  <reference
                             value="MedicationDispense/4cced2b0-adb2-4750-b7ea-f84faecc74cf"/>
                </valueReference>
              </input>
              <input>
                <name value="instruction"/>
                <valueString value="instruction prep for 13.1.1 task 2"/>
              </input>
            </Task>
          </resource>
        </entry>
      <!--  No.3  -->
        <entry>
          <fullUrl value="urn:uuid:79f581c0-bc24-4e49-897c-f87fe44a2b9d"/>
          <resource>
            <MedicationOrder>
              <id value="79f581c0-bc24-4e49-897c-f87fe44a2b9d"/>
              <text>
                <status value="empty"/>
                <div xmlns="http://www.w3.org/1999/xhtml">No narrative provided</div>
              </text>
              <contained>
                <Medication>
                  <id value="2be7cf27-d5a0-4269-805d-4fb546fe8ae2"/>
                  <extension
                             url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-strength-description">
                    <valueString value="1 mg"/>
                  </extension>
                  <code>
                    <coding>
                      <extension
                                 url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-code-representative">
                        <valueBoolean value="true"/>
                      </extension>
                      <system value="http://hl7.org/fhir/NamingSystem/ca-hc-din"/>
                      <code value="02350475"/>
                      <display value="terazosin 1 mg"/>
                    </coding>
                    <text value="terazosin 1 mg"/>
                  </code>
                  <product>
                    <form>
                      <coding>
                        <system value="http://hl7.org/fhir/v3/orderableDrugForm"/>
                        <code value="TAB"/>
                        <display value="Tablet"/>
                      </coding>
                      <text value="Tablet"/>
                    </form>
                  </product>
                </Medication>
              </contained>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-treatment-type">
                <valueCode value="ACU"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-over-25-dur">
                <valueBoolean value="false"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-no-renewals">
                <valueBoolean value="false"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-monitored-drug">
                <valueBoolean value="false"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString value="2 tablets 1 time daily for 6 days"/>
              </extension>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-MedicationRequest.supportingInfo">
                <valueReference>
                  <reference value="List/871d7a2f-e5c8-41a9-b4a6-bf81bfcfac8a"/>
                </valueReference>
              </extension>
              <identifier>
                <type>
                  <coding>
                    <system value="http://hl7.org/fhir/identifier-type"/>
                    <code value="PLAC"/>
                  </coding>
                </type>
                <system value="urn:oid:1.2.0.9.9.4.0994.2"/>
                <value value="62ca0fa8-777c-4512-8152-dba8c0081300"/>
              </identifier>
              <status value="active"/>
              <medicationReference>
                <reference value="#2be7cf27-d5a0-4269-805d-4fb546fe8ae2"/>
              </medicationReference>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </patient>
              <dateWritten value="2018-03-26"/>
              <prescriber>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </prescriber>
              <dosageInstruction>
                <extension
                           url="http://hl7.org/fhir/StructureDefinition/extension-Dosage.sequence">
                  <valueInteger value="1"/>
                </extension>
                <text value="2 tablets 1 time daily for 6 days"/>
                <timing>
                  <repeat>
                    <boundsPeriod>
                      <start value="2018-03-26"/>
                    </boundsPeriod>
                    <duration value="6"/>
                    <durationUnit value="d"/>
                    <frequency value="1"/>
                    <period value="1"/>
                    <periodUnit value="d"/>
                  </repeat>
                </timing>
                <route>
                  <coding>
                    <system value="http://hl7.org/fhir/v3/RouteOfAdministration"/>
                    <code value="PO"/>
                    <display value="Swallow, oral"/>
                  </coding>
                  <text value="Oral"/>
                </route>
                <doseQuantity>
                  <value value="2"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </doseQuantity>
              </dosageInstruction>
              <dispenseRequest>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-days-supply">
                  <valueQuantity>
                    <value value="6"/>
                    <system value="http://unitsofmeasure.org"/>
                    <code value="d"/>
                  </valueQuantity>
                </extension>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-quantity">
                  <valueQuantity>
                    <value value="12"/>
                    <unit value="Tablet(s)"/>
                    <system
                            value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                    <code value="428673006"/>
                  </valueQuantity>
                </extension>
                <validityPeriod>
                  <start value="2018-03-26"/>
                </validityPeriod>
                <quantity>
                  <value value="12"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </quantity>
                <expectedSupplyDuration>
                  <value value="6"/>
                  <system value="http://unitsofmeasure.org"/>
                  <code value="d"/>
                </expectedSupplyDuration>
              </dispenseRequest>
            </MedicationOrder>
          </resource>
        </entry>
      <!--  no.3 -->
        <entry>
          <fullUrl value="urn:uuid:cc63b265-d2cb-41d9-b409-e5a3a15aec44"/>
          <resource>
            <MedicationDispense>
              <id value="cc63b265-d2cb-41d9-b409-e5a3a15aec44"/>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/pharmacy-core-refillsRemaining">
                <valueInteger value="0"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString value="2 tablets 1 time daily for 6 days"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-dispense-quantity-remaining">
                <valueQuantity>
                  <value value="2"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </valueQuantity>
              </extension>
              <identifier>
                <system value="urn:oid:1.2.0.9.9.8.0998.4"/>
                <value value="PMSDISPno3-cc63b265-d2cb-41d9-b409-e5a3a15aec44"/>
              </identifier>
              <status value="completed"/>
              <medicationCodeableConcept>
                <coding>
                  <system value="http://hl7.org/fhir/NamingSystem/ca-hc-din"/>
                  <code value="02350475"/>
                  <display value="terazosin 1 mg"/>
                </coding>
                <text value="terazosin 1 mg"/>
              </medicationCodeableConcept>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </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/190000024"/>
                  </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.0.9.9.4.0994.2"/>
                    <value value="62ca0fa8-777c-4512-8152-dba8c0081300"/>
                  </valueIdentifier>
                </extension>
              </authorizingPrescription>
              <quantity>
                <value value="12"/>
                <unit value="Tablet(s)"/>
                <system
                        value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                <code value="428673006"/>
              </quantity>
              <daysSupply>
                <value value="6"/>
                <system value="http://unitsofmeasure.org"/>
                <code value="d"/>
              </daysSupply>
              <whenPrepared value="2021-01-28"/>
            </MedicationDispense>
          </resource>
        </entry>
      <!--  no.3 -->
        <entry>
          <fullUrl value="urn:uuid:a371398f-eb78-463f-9183-b6c052a2c183"/>
          <resource>
            <Task>
              <id value="a371398f-eb78-463f-9183-b6c052a2c183"/>
              <meta>
                <profile
                         value="http://prescribeit.ca/fhir/StructureDefinition/task-p160-m"/>
              </meta>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-Task.groupIdentifier">
                <valueIdentifier>
                  <system value="urn:oid:1.2.0.9.9.8.0998.3"/>
                  <value value="grp-ecce7422-72e9-4b69-aeda-ed90c9c483f6"/>
                </valueIdentifier>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-task-message">
                <valueReference>
                  <reference
                             value="Communication/6b766de0-f5dc-455d-a7c7-f4e8c6ce6ce1"/>
                </valueReference>
              </extension>
              <type>
                <coding>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/prescriptiontasktype"/>
                  <code value="p160-m"/>
                </coding>
              </type>
              <priority value="high"/>
              <status value="requested"/>
              <subject>
                <reference
                           value="MedicationOrder/79f581c0-bc24-4e49-897c-f87fe44a2b9d"/>
              </subject>
              <for>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </for>
              <created value="2021-01-28T23:48:27.0543-05:00"/>
              <lastModified value="2021-01-28T23:48:27.0543-05:00"/>
              <creator>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/190000024"/>
              </creator>
              <owner>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </owner>
              <input>
                <name value="daysSinceLastDispense"/>
                <valueInteger value="1"/>
              </input>
              <input>
                <name value="lastDispense"/>
                <valueReference>
                  <reference
                             value="MedicationDispense/cc63b265-d2cb-41d9-b409-e5a3a15aec44"/>
                </valueReference>
              </input>
              <input>
                <name value="instruction"/>
                <valueString value="instruction 13.1.1.3.rx"/>
              </input>
            </Task>
          </resource>
        </entry>
      <!--  No.4  -->
        <entry>
          <fullUrl value="urn:uuid:c2acafed-1dd5-40cf-a03a-d19fd9b59388"/>
          <resource>
            <MedicationOrder>
              <id value="c2acafed-1dd5-40cf-a03a-d19fd9b59388"/>
              <text>
                <status value="empty"/>
                <div xmlns="http://www.w3.org/1999/xhtml">No narrative provided</div>
              </text>
              <contained>
                <Medication>
                  <id value="med"/>
                  <code>
                    <coding>
                      <system value="http://hl7.org/fhir/NamingSystem/ca-hc-din"/>
                      <code value="02261723"/>
                      <display value="YASMIN 21 TABLET (0.03MG-3MG)"/>
                    </coding>
                    <text value="YASMIN 21 TABLET (0.03MG-3MG)"/>
                  </code>
                </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-treatment-type">
                <valueCode value="CHRON"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString
                             value="1 (One) Tablet(s), Three times daily for 60 days. Route: Oral"/>
              </extension>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-MedicationRequest.supportingInfo">
                <valueReference>
                  <reference value="List/871d7a2f-e5c8-41a9-b4a6-bf81bfcfac8a"/>
                </valueReference>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
                <valueReference>
                  <reference
                             value="DetectedIssue/9A11B295-AABE-43B6-9063-6E4B1CEFAD18"/>
                </valueReference>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
                <valueReference>
                  <reference
                             value="DetectedIssue/B720E832-1089-4D4F-B302-C47E9A3EF381"/>
                </valueReference>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
                <valueReference>
                  <reference
                             value="DetectedIssue/7183C2B2-FFD7-4427-A643-CE21991E764D"/>
                </valueReference>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
                <valueReference>
                  <reference
                             value="DetectedIssue/66099621-F7D1-4345-AE20-F8C7258302C0"/>
                </valueReference>
              </extension>
              <identifier>
                <type>
                  <coding>
                    <system value="http://hl7.org/fhir/identifier-type"/>
                    <code value="PLAC"/>
                  </coding>
                </type>
                <system value="urn:oid:1.2.0.9.9.4.0994.2"/>
                <value value="EMR-12977^23E3E5C0-64ED-41E5-B476-64932F1C8702"/>
              </identifier>
              <status value="active"/>
              <medicationReference>
                <reference value="#med"/>
              </medicationReference>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </patient>
              <dateWritten value="2018-02-20T11:09:16.0009-08:00"/>
              <prescriber>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </prescriber>
              <dosageInstruction>
                <extension
                           url="http://hl7.org/fhir/StructureDefinition/extension-Dosage.sequence">
                  <valueInteger value="1"/>
                </extension>
                <text value="1 (One) Tablet(s), Three times daily for 60 days"/>
                <timing>
                  <repeat>
                    <boundsPeriod>
                      <start value="2018-02-20"/>
                      <end value="2018-04-21"/>
                    </boundsPeriod>
                    <duration value="2"/>
                    <durationUnit value="mo"/>
                    <frequency value="3"/>
                    <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>
                <doseQuantity>
                  <value value="1"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </doseQuantity>
              </dosageInstruction>
              <dispenseRequest>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-quantity">
                  <valueQuantity>
                    <value value="180"/>
                    <unit value="Tablet(s)"/>
                    <system
                            value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                    <code value="428673006"/>
                  </valueQuantity>
                </extension>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-days-supply">
                  <valueQuantity>
                    <value value="60"/>
                    <unit value="day"/>
                    <system value="http://unitsofmeasure.org"/>
                    <code value="d"/>
                  </valueQuantity>
                </extension>
                <validityPeriod>
                  <start value="2018-02-20"/>
                  <end value="2019-02-20"/>
                </validityPeriod>
                <quantity>
                  <value value="180"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </quantity>
                <expectedSupplyDuration>
                  <value value="60"/>
                  <system value="http://unitsofmeasure.org"/>
                  <code value="d"/>
                </expectedSupplyDuration>
              </dispenseRequest>
            </MedicationOrder>
          </resource>
        </entry>
      <!--  no.4 -->
        <entry>
          <fullUrl value="urn:uuid:998d3ee6-4e69-4b38-a969-d89ce3072cd0"/>
          <resource>
            <MedicationDispense>
              <id value="998d3ee6-4e69-4b38-a969-d89ce3072cd0"/>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/pharmacy-core-refillsRemaining">
                <valueInteger value="0"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString value="1 Tablet daily for 2 months. Route: Oral"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-dispense-quantity-remaining">
                <valueQuantity>
                  <value value="3"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </valueQuantity>
              </extension>
              <identifier>
                <system value="urn:oid:1.2.0.9.9.8.0998.4"/>
                <value value="PMSDISPno4-998d3ee6-4e69-4b38-a969-d89ce3072cd0"/>
              </identifier>
              <status value="completed"/>
              <medicationCodeableConcept>
                <coding>
                  <system value="http://hl7.org/fhir/NamingSystem/ca-hc-din"/>
                  <code value="02261723"/>
                  <display value="YASMIN 21 TABLET (0.03MG-3MG)"/>
                </coding>
                <text value="YASMIN 21 TABLET (0.03MG-3MG)"/>
              </medicationCodeableConcept>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </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/190000024"/>
                  </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.0.9.9.4.0994.2"/>
                    <value
                           value="EMR-12977^23E3E5C0-64ED-41E5-B476-64932F1C8702"/>
                  </valueIdentifier>
                </extension>
              </authorizingPrescription>
              <quantity>
                <value value="90"/>
                <unit value="Tablet(s)"/>
                <system
                        value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                <code value="428673006"/>
              </quantity>
              <daysSupply>
                <value value="30"/>
                <system value="http://unitsofmeasure.org"/>
                <code value="d"/>
              </daysSupply>
              <whenPrepared value="2021-01-28"/>
            </MedicationDispense>
          </resource>
        </entry>
      <!--  no.4 -->
        <entry>
          <fullUrl value="urn:uuid:a7142f08-efa8-4125-a013-0ada692b5747"/>
          <resource>
            <Task>
              <id value="a7142f08-efa8-4125-a013-0ada692b5747"/>
              <meta>
                <profile
                         value="http://prescribeit.ca/fhir/StructureDefinition/task-p160-m"/>
              </meta>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-Task.groupIdentifier">
                <valueIdentifier>
                  <system value="urn:oid:1.2.0.9.9.8.0998.3"/>
                  <value value="grp-ecce7422-72e9-4b69-aeda-ed90c9c483f6"/>
                </valueIdentifier>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-task-message">
                <valueReference>
                  <reference
                             value="Communication/6b766de0-f5dc-455d-a7c7-f4e8c6ce6ce1"/>
                </valueReference>
              </extension>
              <type>
                <coding>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/prescriptiontasktype"/>
                  <code value="p160-m"/>
                </coding>
              </type>
              <priority value="high"/>
              <status value="requested"/>
              <subject>
                <reference
                           value="MedicationOrder/c2acafed-1dd5-40cf-a03a-d19fd9b59388"/>
              </subject>
              <for>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </for>
              <created value="2021-01-28T23:48:27.0562-05:00"/>
              <lastModified value="2021-01-28T23:48:27.0562-05:00"/>
              <creator>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/190000024"/>
              </creator>
              <owner>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </owner>
              <input>
                <name value="daysSinceLastDispense"/>
                <valueInteger value="1"/>
              </input>
              <input>
                <name value="lastDispense"/>
                <valueReference>
                  <reference
                             value="MedicationDispense/998d3ee6-4e69-4b38-a969-d89ce3072cd0"/>
                </valueReference>
              </input>
              <input>
                <name value="instruction"/>
                <valueString value="instruction 13.1.1.4.rx"/>
              </input>
            </Task>
          </resource>
        </entry>
      <!--  No.5  -->
        <entry>
          <fullUrl value="urn:uuid:21e776fb-6f7d-4ccf-ac66-85ffc1bc2446"/>
          <resource>
            <MedicationOrder>
              <id value="21e776fb-6f7d-4ccf-ac66-85ffc1bc2446"/>
              <text>
                <status value="empty"/>
                <div xmlns="http://www.w3.org/1999/xhtml">No narrative provided</div>
              </text>
              <contained>
                <Medication>
                  <id value="med"/>
                  <extension
                             url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-strength-description">
                    <valueString value="200 MG"/>
                  </extension>
                  <code>
                    <coding>
                      <extension
                                 url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-code-representative">
                        <valueBoolean value="true"/>
                      </extension>
                      <system value="http://hl7.org/fhir/NamingSystem/ca-hc-din"/>
                      <code value="02147610"/>
                      <display value="ACEBUTOLOL HCL 200 mg TABLET"/>
                    </coding>
                    <text value="ACEBUTOLOL HCL 200 mg TABLET"/>
                  </code>
                </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-treatment-type">
                <valueCode value="CHRON"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString
                             value="1 (One) Tablet(s), Two times daily for 90 days. Route: Oral"/>
              </extension>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-MedicationRequest.supportingInfo">
                <valueReference>
                  <reference value="List/871d7a2f-e5c8-41a9-b4a6-bf81bfcfac8a"/>
                </valueReference>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
                <valueReference>
                  <reference
                             value="DetectedIssue/8F623BC8-91AB-4FE8-A94B-330E3FB5CC8A"/>
                </valueReference>
              </extension>
              <identifier>
                <type>
                  <coding>
                    <system value="http://hl7.org/fhir/identifier-type"/>
                    <code value="PLAC"/>
                  </coding>
                </type>
                <system value="urn:oid:1.2.0.9.9.4.0994.2"/>
                <value value="EMR-12981^1E7E24F1-B6BD-47C3-BD41-5F4B47019A42"/>
              </identifier>
              <status value="active"/>
              <medicationReference>
                <reference value="#med"/>
              </medicationReference>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </patient>
              <dateWritten value="2018-02-20T11:09:16.0009-08:00"/>
              <prescriber>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </prescriber>
              <dosageInstruction>
                <extension
                           url="http://hl7.org/fhir/StructureDefinition/extension-Dosage.sequence">
                  <valueInteger value="1"/>
                </extension>
                <text value="1 (One) Tablet(s), Two times daily for 90 days"/>
                <timing>
                  <repeat>
                    <boundsPeriod>
                      <start value="2018-02-20"/>
                      <end value="2019-02-15"/>
                    </boundsPeriod>
                    <duration value="90"/>
                    <durationUnit value="d"/>
                    <frequency value="2"/>
                    <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>
                <doseQuantity>
                  <value value="1"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </doseQuantity>
              </dosageInstruction>
              <dispenseRequest>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-quantity">
                  <valueQuantity>
                    <value value="720"/>
                    <unit value="Tablet(s)"/>
                    <system
                            value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                    <code value="428673006"/>
                  </valueQuantity>
                </extension>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-days-supply">
                  <valueQuantity>
                    <value value="360"/>
                    <unit value="day"/>
                    <system value="http://unitsofmeasure.org"/>
                    <code value="d"/>
                  </valueQuantity>
                </extension>
                <validityPeriod>
                  <start value="2018-02-20"/>
                  <end value="2019-02-20"/>
                </validityPeriod>
                <numberOfRepeatsAllowed value="3"/>
                <quantity>
                  <value value="180"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </quantity>
                <expectedSupplyDuration>
                  <value value="90"/>
                  <system value="http://unitsofmeasure.org"/>
                  <code value="d"/>
                </expectedSupplyDuration>
              </dispenseRequest>
            </MedicationOrder>
          </resource>
        </entry>
      <!--  no.5 -->
        <entry>
          <fullUrl value="urn:uuid:95c9706f-0594-43ea-aacd-7bfe66a3b10f"/>
          <resource>
            <MedicationDispense>
              <id value="95c9706f-0594-43ea-aacd-7bfe66a3b10f"/>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/pharmacy-core-refillsRemaining">
                <valueInteger value="0"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString
                             value="Take 1 Tablet every day for 2 days. Route: Oral"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-dispense-quantity-remaining">
                <valueQuantity>
                  <value value="2"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </valueQuantity>
              </extension>
              <identifier>
                <system value="urn:oid:1.2.0.9.9.8.0998.4"/>
                <value value="PMSDISPno5-95c9706f-0594-43ea-aacd-7bfe66a3b10f"/>
              </identifier>
              <status value="completed"/>
              <medicationCodeableConcept>
                <coding>
                  <system value="http://hl7.org/fhir/NamingSystem/ca-hc-din"/>
                  <code value="02147610"/>
                  <display value="APO-ACEBUTOLOL 200 mg TABLET"/>
                </coding>
                <text value="APO-ACEBUTOLOL 200 mg TABLET"/>
              </medicationCodeableConcept>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </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/190000024"/>
                  </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.0.9.9.4.0994.2"/>
                    <value
                           value="EMR-12981^1E7E24F1-B6BD-47C3-BD41-5F4B47019A42"/>
                  </valueIdentifier>
                </extension>
              </authorizingPrescription>
              <quantity>
                <value value="180"/>
                <unit value="Tablet(s)"/>
                <system
                        value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                <code value="428673006"/>
              </quantity>
              <daysSupply>
                <value value="90"/>
                <system value="http://unitsofmeasure.org"/>
                <code value="d"/>
              </daysSupply>
              <whenPrepared value="2021-01-28"/>
            </MedicationDispense>
          </resource>
        </entry>
      <!--  no.5 -->
        <entry>
          <fullUrl value="urn:uuid:746d2528-902d-43ed-b81d-ebe75fd820f3"/>
          <resource>
            <Task>
              <id value="746d2528-902d-43ed-b81d-ebe75fd820f3"/>
              <meta>
                <profile
                         value="http://prescribeit.ca/fhir/StructureDefinition/task-p160-m"/>
              </meta>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-Task.groupIdentifier">
                <valueIdentifier>
                  <system value="urn:oid:1.2.0.9.9.8.0998.3"/>
                  <value value="grp-ecce7422-72e9-4b69-aeda-ed90c9c483f6"/>
                </valueIdentifier>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-task-message">
                <valueReference>
                  <reference
                             value="Communication/6b766de0-f5dc-455d-a7c7-f4e8c6ce6ce1"/>
                </valueReference>
              </extension>
              <type>
                <coding>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/prescriptiontasktype"/>
                  <code value="p160-m"/>
                </coding>
              </type>
              <priority value="high"/>
              <status value="requested"/>
              <subject>
                <reference
                           value="MedicationOrder/21e776fb-6f7d-4ccf-ac66-85ffc1bc2446"/>
              </subject>
              <for>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </for>
              <created value="2021-01-28T23:48:27.0577-05:00"/>
              <lastModified value="2021-01-28T23:48:27.0577-05:00"/>
              <creator>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/190000024"/>
              </creator>
              <owner>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </owner>
              <input>
                <name value="daysSinceLastDispense"/>
                <valueInteger value="1"/>
              </input>
              <input>
                <name value="lastDispense"/>
                <valueReference>
                  <reference
                             value="MedicationDispense/95c9706f-0594-43ea-aacd-7bfe66a3b10f"/>
                </valueReference>
              </input>
              <input>
                <name value="instruction"/>
                <valueString value="instruction 13.1.1.5.rx"/>
              </input>
            </Task>
          </resource>
        </entry>
      <!--  No.6  -->
        <entry>
          <fullUrl value="urn:uuid:b8dd1e02-bf5d-48b8-b01b-be36abaebf91"/>
          <resource>
            <MedicationOrder>
              <id value="b8dd1e02-bf5d-48b8-b01b-be36abaebf91"/>
              <text>
                <status value="empty"/>
                <div xmlns="http://www.w3.org/1999/xhtml">No narrative provided</div>
              </text>
              <contained>
                <Medication>
                  <id value="med"/>
                  <extension
                             url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-strength-description">
                    <valueString value="200 MG"/>
                  </extension>
                  <code>
                    <coding>
                      <extension
                                 url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-code-representative">
                        <valueBoolean value="true"/>
                      </extension>
                      <system value="http://hl7.org/fhir/NamingSystem/ca-hc-din"/>
                      <code value="02147610"/>
                      <display value="ACEBUTOLOL HCL 200 mg TABLET"/>
                    </coding>
                    <text value="ACEBUTOLOL HCL 200 mg TABLET"/>
                  </code>
                </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-treatment-type">
                <valueCode value="CHRON"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString
                             value="1 (One) Tablet(s), Two times daily for 90 days. Route: Oral"/>
              </extension>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-MedicationRequest.supportingInfo">
                <valueReference>
                  <reference value="List/871d7a2f-e5c8-41a9-b4a6-bf81bfcfac8a"/>
                </valueReference>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
                <valueReference>
                  <reference
                             value="DetectedIssue/937C4EC0-E37B-45EC-9392-608153C4E494"/>
                </valueReference>
              </extension>
              <identifier>
                <type>
                  <coding>
                    <system value="http://hl7.org/fhir/identifier-type"/>
                    <code value="PLAC"/>
                  </coding>
                </type>
                <system value="urn:oid:1.2.0.9.9.4.0994.2"/>
                <value value="EMR-12963^15920366-AAFA-435A-8B0B-2A1DD503CF24"/>
              </identifier>
              <status value="active"/>
              <medicationReference>
                <reference value="#med"/>
              </medicationReference>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </patient>
              <dateWritten value="2018-02-20T11:09:16.0009-08:00"/>
              <prescriber>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </prescriber>
              <dosageInstruction>
                <extension
                           url="http://hl7.org/fhir/StructureDefinition/extension-Dosage.sequence">
                  <valueInteger value="1"/>
                </extension>
                <text value="1 (One) Tablet(s), Two times daily for 90 days"/>
                <timing>
                  <repeat>
                    <boundsPeriod>
                      <start value="2018-02-20"/>
                      <end value="2019-02-15"/>
                    </boundsPeriod>
                    <duration value="90"/>
                    <durationUnit value="d"/>
                    <frequency value="2"/>
                    <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>
                <doseQuantity>
                  <value value="1"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </doseQuantity>
              </dosageInstruction>
              <dispenseRequest>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-quantity">
                  <valueQuantity>
                    <value value="720"/>
                    <unit value="Tablet(s)"/>
                    <system
                            value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                    <code value="428673006"/>
                  </valueQuantity>
                </extension>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-days-supply">
                  <valueQuantity>
                    <value value="360"/>
                    <unit value="day"/>
                    <system value="http://unitsofmeasure.org"/>
                    <code value="d"/>
                  </valueQuantity>
                </extension>
                <validityPeriod>
                  <start value="2018-02-20"/>
                  <end value="2019-02-20"/>
                </validityPeriod>
                <numberOfRepeatsAllowed value="3"/>
                <quantity>
                  <value value="180"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </quantity>
                <expectedSupplyDuration>
                  <value value="90"/>
                  <system value="http://unitsofmeasure.org"/>
                  <code value="d"/>
                </expectedSupplyDuration>
              </dispenseRequest>
            </MedicationOrder>
          </resource>
        </entry>
      <!--  no.6 -->
        <entry>
          <fullUrl value="urn:uuid:0b63f240-e16b-47e9-99cd-8c1000d7079a"/>
          <resource>
            <MedicationDispense>
              <id value="0b63f240-e16b-47e9-99cd-8c1000d7079a"/>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/pharmacy-core-refillsRemaining">
                <valueInteger value="1"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString
                             value="1 (One) Tablet(s), Once daily for 2 days. Route: Oral"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-dispense-quantity-remaining">
                <valueQuantity>
                  <value value="180"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </valueQuantity>
              </extension>
              <identifier>
                <system value="urn:oid:1.2.0.9.9.8.0998.4"/>
                <value value="PMSDISPno1-6f093df9-ae24-4da7-b228-c2cf9e4661ff"/>
              </identifier>
              <status value="completed"/>
              <medicationCodeableConcept>
                <coding>
                  <system value="http://hl7.org/fhir/NamingSystem/ca-hc-din"/>
                  <code value="02147610"/>
                  <display value="APO-ACEBUTOLOL 200 mg TABLET"/>
                </coding>
                <text value="APO-ACEBUTOLOL 200 mg TABLET"/>
              </medicationCodeableConcept>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </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/190000024"/>
                  </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.0.9.9.4.0994.2"/>
                    <value
                           value="EMR-12963^15920366-AAFA-435A-8B0B-2A1DD503CF24"/>
                  </valueIdentifier>
                </extension>
              </authorizingPrescription>
              <quantity>
                <value value="180"/>
                <unit value="Tablet(s)"/>
                <system
                        value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                <code value="428673006"/>
              </quantity>
              <daysSupply>
                <value value="90"/>
                <system value="http://unitsofmeasure.org"/>
                <code value="d"/>
              </daysSupply>
              <whenPrepared value="2021-01-28"/>
            </MedicationDispense>
          </resource>
        </entry>
      <!--  no.6 -->
        <entry>
          <fullUrl value="urn:uuid:ba928bdb-b51e-4b27-a63d-b37ef5da94a6"/>
          <resource>
            <Task>
              <id value="ba928bdb-b51e-4b27-a63d-b37ef5da94a6"/>
              <meta>
                <profile
                         value="http://prescribeit.ca/fhir/StructureDefinition/task-p160-m"/>
              </meta>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-Task.groupIdentifier">
                <valueIdentifier>
                  <system value="urn:oid:1.2.0.9.9.8.0998.3"/>
                  <value value="grp-ecce7422-72e9-4b69-aeda-ed90c9c483f6"/>
                </valueIdentifier>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-task-message">
                <valueReference>
                  <reference
                             value="Communication/6b766de0-f5dc-455d-a7c7-f4e8c6ce6ce1"/>
                </valueReference>
              </extension>
              <type>
                <coding>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/prescriptiontasktype"/>
                  <code value="p160-m"/>
                </coding>
              </type>
              <priority value="high"/>
              <status value="requested"/>
              <subject>
                <reference
                           value="MedicationOrder/b8dd1e02-bf5d-48b8-b01b-be36abaebf91"/>
              </subject>
              <for>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </for>
              <created value="2021-01-28T23:48:27.0592-05:00"/>
              <lastModified value="2021-01-28T23:48:27.0592-05:00"/>
              <creator>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/190000024"/>
              </creator>
              <owner>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </owner>
              <input>
                <name value="daysSinceLastDispense"/>
                <valueInteger value="1"/>
              </input>
              <input>
                <name value="lastDispense"/>
                <valueReference>
                  <reference
                             value="MedicationDispense/0b63f240-e16b-47e9-99cd-8c1000d7079a"/>
                </valueReference>
              </input>
              <input>
                <name value="instruction"/>
                <valueString value="instruction 13.1.1.6.rx"/>
              </input>
            </Task>
          </resource>
        </entry>
      <!--  No.7  -->
        <entry>
          <fullUrl value="urn:uuid:6b7ca8a3-85d0-4d41-9dc3-353899347a36"/>
          <resource>
            <MedicationOrder>
              <id value="6b7ca8a3-85d0-4d41-9dc3-353899347a36"/>
              <text>
                <status value="empty"/>
                <div xmlns="http://www.w3.org/1999/xhtml">No narrative provided</div>
              </text>
              <contained>
                <Medication>
                  <id value="med"/>
                  <extension
                             url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-strength-description">
                    <valueString value="500 MG"/>
                  </extension>
                  <code>
                    <coding>
                      <extension
                                 url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-code-representative">
                        <valueBoolean value="true"/>
                      </extension>
                      <system value="http://hl7.org/fhir/NamingSystem/ca-hc-din"/>
                      <code value="00013668"/>
                      <display value="ACETAMINOPHEN 500 mg TABLET"/>
                    </coding>
                    <text value="ACETAMINOPHEN 500 mg TABLET"/>
                  </code>
                </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-treatment-type">
                <valueCode value="CHRON"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString
                             value="1 (One) Tablet(s), Every 6 hours PRN starting on 2018-03-22. 1 tablet every 6 hours prn for pain. Route: Oral"/>
              </extension>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-MedicationRequest.supportingInfo">
                <valueReference>
                  <reference value="List/871d7a2f-e5c8-41a9-b4a6-bf81bfcfac8a"/>
                </valueReference>
              </extension>
              <identifier>
                <type>
                  <coding>
                    <system value="http://hl7.org/fhir/identifier-type"/>
                    <code value="PLAC"/>
                  </coding>
                </type>
                <system value="urn:oid:1.2.0.9.9.4.0994.2"/>
                <value value="EMR-12969^4CEF4DFB-6232-44D0-AAA2-BA9A8F9A010E"/>
              </identifier>
              <status value="active"/>
              <medicationReference>
                <reference value="#med"/>
              </medicationReference>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </patient>
              <dateWritten value="2018-02-20T11:09:16.0009-08:00"/>
              <prescriber>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </prescriber>
              <dosageInstruction>
                <extension
                           url="http://hl7.org/fhir/StructureDefinition/extension-Dosage.sequence">
                  <valueInteger value="1"/>
                </extension>
                <text
                      value="1 (One) Tablet(s), Every 6 hours PRN starting on 2018-03-22. 1 tablet every 6 hours prn for pain"/>
                <additionalInstructions>
                  <text value="1 tablet every 6 hours prn for pain"/>
                </additionalInstructions>
                <timing>
                  <repeat>
                    <boundsPeriod>
                      <start value="2018-03-22"/>
                      <end value="2018-04-21"/>
                    </boundsPeriod>
                    <frequency value="1"/>
                    <period value="6"/>
                    <periodUnit value="h"/>
                  </repeat>
                </timing>
                <asNeededBoolean value="true"/>
                <route>
                  <coding>
                    <system value="http://hl7.org/fhir/v3/RouteOfAdministration"/>
                    <code value="PO"/>
                  </coding>
                  <text value="Oral"/>
                </route>
                <doseQuantity>
                  <value value="1"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </doseQuantity>
              </dosageInstruction>
              <dispenseRequest>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-quantity">
                  <valueQuantity>
                    <value value="120"/>
                    <unit value="Tablet(s)"/>
                    <system
                            value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                    <code value="428673006"/>
                  </valueQuantity>
                </extension>
                <validityPeriod>
                  <start value="2018-02-20"/>
                  <end value="2019-02-20"/>
                </validityPeriod>
                <quantity>
                  <value value="120"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </quantity>
              </dispenseRequest>
              <priorPrescription>
                <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.0.9.9.4.0994.2"/>
                    <value
                           value="EMR-12969^4CEF4DFB-6232-44D0-AAA2-BA9A8F9A010E"/>
                  </valueIdentifier>
                </extension>
              </priorPrescription>
            </MedicationOrder>
          </resource>
        </entry>
      <!--  no.7 -->
        <entry>
          <fullUrl value="urn:uuid:a0930506-4dc8-4f3e-b3a7-2b52d4accf37"/>
          <resource>
            <MedicationDispense>
              <id value="a0930506-4dc8-4f3e-b3a7-2b52d4accf37"/>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/pharmacy-core-refillsRemaining">
                <valueInteger value="0"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString value="Take 1 Tab every 6 hours as needed"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-dispense-quantity-remaining">
                <valueQuantity>
                  <value value="10"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </valueQuantity>
              </extension>
              <identifier>
                <system value="urn:oid:1.2.0.9.9.8.0998.4"/>
                <value value="PMSDISPno7-a0930506-4dc8-4f3e-b3a7-2b52d4accf37"/>
              </identifier>
              <status value="completed"/>
              <medicationCodeableConcept>
                <coding>
                  <system value="http://hl7.org/fhir/NamingSystem/ca-hc-din"/>
                  <code value="00013668"/>
                  <display value="ATASOL FORTE 500 MG TABLET"/>
                </coding>
                <text value="ATASOL FORTE 500 MG TABLET"/>
              </medicationCodeableConcept>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </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/190000024"/>
                  </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.0.9.9.4.0994.2"/>
                    <value
                           value="EMR-12969^4CEF4DFB-6232-44D0-AAA2-BA9A8F9A010E"/>
                  </valueIdentifier>
                </extension>
              </authorizingPrescription>
              <quantity>
                <value value="24"/>
                <unit value="Tablet(s)"/>
                <system
                        value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                <code value="428673006"/>
              </quantity>
              <daysSupply>
                <value value="5"/>
                <system value="http://unitsofmeasure.org"/>
                <code value="d"/>
              </daysSupply>
              <whenPrepared value="2021-01-28"/>
            </MedicationDispense>
          </resource>
        </entry>
      <!--  no.7 -->
        <entry>
          <fullUrl value="urn:uuid:459cf21b-cfd6-4017-aaea-4fb847f0faff"/>
          <resource>
            <Task>
              <id value="459cf21b-cfd6-4017-aaea-4fb847f0faff"/>
              <meta>
                <profile
                         value="http://prescribeit.ca/fhir/StructureDefinition/task-p160-m"/>
              </meta>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-Task.groupIdentifier">
                <valueIdentifier>
                  <system value="urn:oid:1.2.0.9.9.8.0998.3"/>
                  <value value="grp-ecce7422-72e9-4b69-aeda-ed90c9c483f6"/>
                </valueIdentifier>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-task-message">
                <valueReference>
                  <reference
                             value="Communication/6b766de0-f5dc-455d-a7c7-f4e8c6ce6ce1"/>
                </valueReference>
              </extension>
              <type>
                <coding>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/prescriptiontasktype"/>
                  <code value="p160-m"/>
                </coding>
              </type>
              <priority value="high"/>
              <status value="requested"/>
              <subject>
                <reference
                           value="MedicationOrder/6b7ca8a3-85d0-4d41-9dc3-353899347a36"/>
              </subject>
              <for>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </for>
              <created value="2021-01-28T23:48:27.0605-05:00"/>
              <lastModified value="2021-01-28T23:48:27.0605-05:00"/>
              <creator>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/190000024"/>
              </creator>
              <owner>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </owner>
              <input>
                <name value="daysSinceLastDispense"/>
                <valueInteger value="1"/>
              </input>
              <input>
                <name value="lastDispense"/>
                <valueReference>
                  <reference
                             value="MedicationDispense/a0930506-4dc8-4f3e-b3a7-2b52d4accf37"/>
                </valueReference>
              </input>
              <input>
                <name value="instruction"/>
                <valueString value="instruction 13.1.1.7"/>
              </input>
            </Task>
          </resource>
        </entry>
      <!--  No.8  -->
        <entry>
          <fullUrl value="urn:uuid:e116ffaa-e1c6-42eb-81dc-4697556b11ab"/>
          <resource>
            <MedicationOrder>
              <id value="e116ffaa-e1c6-42eb-81dc-4697556b11ab"/>
              <text>
                <status value="empty"/>
                <div xmlns="http://www.w3.org/1999/xhtml">No narrative provided</div>
              </text>
              <contained>
                <Medication>
                  <id value="med"/>
                  <extension
                             url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-strength-description">
                    <valueString value="500 MG"/>
                  </extension>
                  <code>
                    <coding>
                      <extension
                                 url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-code-representative">
                        <valueBoolean value="true"/>
                      </extension>
                      <system value="http://hl7.org/fhir/NamingSystem/ca-hc-din"/>
                      <code value="00545007"/>
                      <display value="ACETAMINOPHEN 500 mg TABLET"/>
                    </coding>
                    <text value="ACETAMINOPHEN 500 mg TABLET"/>
                  </code>
                </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-treatment-type">
                <valueCode value="CHRON"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString
                             value="1 (One) Tablet(s), Every 6 hours PRN. 1 tablet every 6 hours prn for pain. Route: Oral"/>
              </extension>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-MedicationRequest.supportingInfo">
                <valueReference>
                  <reference value="List/871d7a2f-e5c8-41a9-b4a6-bf81bfcfac8a"/>
                </valueReference>
              </extension>
              <identifier>
                <type>
                  <coding>
                    <system value="http://hl7.org/fhir/identifier-type"/>
                    <code value="PLAC"/>
                  </coding>
                </type>
                <system value="urn:oid:1.2.0.9.9.4.0994.2"/>
                <value value="EMR-12956^9A234AA9-6F19-46D1-93CE-40AF8480D5EA"/>
              </identifier>
              <status value="active"/>
              <medicationReference>
                <reference value="#med"/>
              </medicationReference>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </patient>
              <dateWritten value="2018-02-20T11:09:16.0009-08:00"/>
              <prescriber>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </prescriber>
              <dosageInstruction>
                <extension
                           url="http://hl7.org/fhir/StructureDefinition/extension-Dosage.sequence">
                  <valueInteger value="1"/>
                </extension>
                <text
                      value="1 (One) Tablet(s), Every 6 hours PRN. 1 tablet every 6 hours prn for pain"/>
                <additionalInstructions>
                  <text value="1 tablet every 6 hours prn for pain"/>
                </additionalInstructions>
                <timing>
                  <repeat>
                    <boundsPeriod>
                      <start value="2018-02-20"/>
                      <end value="2018-03-22"/>
                    </boundsPeriod>
                    <frequency value="1"/>
                    <period value="6"/>
                    <periodUnit value="h"/>
                  </repeat>
                </timing>
                <asNeededBoolean value="true"/>
                <route>
                  <coding>
                    <system value="http://hl7.org/fhir/v3/RouteOfAdministration"/>
                    <code value="PO"/>
                  </coding>
                  <text value="Oral"/>
                </route>
                <doseQuantity>
                  <value value="1"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </doseQuantity>
              </dosageInstruction>
              <dispenseRequest>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-quantity">
                  <valueQuantity>
                    <value value="120"/>
                    <unit value="Tablet(s)"/>
                    <system
                            value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                    <code value="428673006"/>
                  </valueQuantity>
                </extension>
                <validityPeriod>
                  <start value="2018-02-20"/>
                  <end value="2019-02-20"/>
                </validityPeriod>
                <quantity>
                  <value value="120"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </quantity>
              </dispenseRequest>
            </MedicationOrder>
          </resource>
        </entry>
      <!--  no.8 -->
        <entry>
          <fullUrl value="urn:uuid:0e6c9647-d634-494a-9876-5761696e13bc"/>
          <resource>
            <MedicationDispense>
              <id value="0e6c9647-d634-494a-9876-5761696e13bc"/>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/pharmacy-core-refillsRemaining">
                <valueInteger value="0"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString value="Take 1 Tablet every 6 hours for pain"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-dispense-quantity-remaining">
                <valueQuantity>
                  <value value="0"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </valueQuantity>
              </extension>
              <identifier>
                <system value="urn:oid:1.2.0.9.9.8.0998.4"/>
                <value value="PMSDISPno8-0e6c9647-d634-494a-9876-5761696e13bc"/>
              </identifier>
              <status value="completed"/>
              <medicationCodeableConcept>
                <coding>
                  <system value="http://hl7.org/fhir/NamingSystem/ca-hc-din"/>
                  <code value="00545007"/>
                  <display value="APO-ACETAMINOPHEN 500 MG TAB"/>
                </coding>
                <text value="APO-ACETAMINOPHEN 500 MG TAB"/>
              </medicationCodeableConcept>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </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/190000024"/>
                  </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.0.9.9.4.0994.2"/>
                    <value
                           value="EMR-12956^9A234AA9-6F19-46D1-93CE-40AF8480D5EA"/>
                  </valueIdentifier>
                </extension>
              </authorizingPrescription>
              <quantity>
                <value value="120"/>
                <unit value="Tablet(s)"/>
                <system
                        value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                <code value="428673006"/>
              </quantity>
              <daysSupply>
                <value value="5"/>
                <system value="http://unitsofmeasure.org"/>
                <code value="d"/>
              </daysSupply>
              <whenPrepared value="2021-01-28"/>
            </MedicationDispense>
          </resource>
        </entry>
      <!--  no.8 -->
        <entry>
          <fullUrl value="urn:uuid:b79479a9-515c-4dc2-9c4e-604f0d679b03"/>
          <resource>
            <Task>
              <id value="b79479a9-515c-4dc2-9c4e-604f0d679b03"/>
              <meta>
                <profile
                         value="http://prescribeit.ca/fhir/StructureDefinition/task-p160-m"/>
              </meta>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-Task.groupIdentifier">
                <valueIdentifier>
                  <system value="urn:oid:1.2.0.9.9.8.0998.3"/>
                  <value value="grp-ecce7422-72e9-4b69-aeda-ed90c9c483f6"/>
                </valueIdentifier>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-task-message">
                <valueReference>
                  <reference
                             value="Communication/6b766de0-f5dc-455d-a7c7-f4e8c6ce6ce1"/>
                </valueReference>
              </extension>
              <type>
                <coding>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/prescriptiontasktype"/>
                  <code value="p160-m"/>
                </coding>
              </type>
              <priority value="high"/>
              <status value="requested"/>
              <subject>
                <reference
                           value="MedicationOrder/e116ffaa-e1c6-42eb-81dc-4697556b11ab"/>
              </subject>
              <for>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </for>
              <created value="2021-01-28T23:48:27.0619-05:00"/>
              <lastModified value="2021-01-28T23:48:27.0619-05:00"/>
              <creator>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/190000024"/>
              </creator>
              <owner>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </owner>
              <input>
                <name value="daysSinceLastDispense"/>
                <valueInteger value="1"/>
              </input>
              <input>
                <name value="lastDispense"/>
                <valueReference>
                  <reference
                             value="MedicationDispense/0e6c9647-d634-494a-9876-5761696e13bc"/>
                </valueReference>
              </input>
              <input>
                <name value="instruction"/>
                <valueString value="instruction 13.1.1.8.rx"/>
              </input>
            </Task>
          </resource>
        </entry>
      <!--  No.9  -->
        <entry>
          <fullUrl value="urn:uuid:aecc2e55-bbfd-427c-b293-56ee8551c2ef"/>
          <resource>
            <MedicationOrder>
              <id value="aecc2e55-bbfd-427c-b293-56ee8551c2ef"/>
              <text>
                <status value="empty"/>
                <div xmlns="http://www.w3.org/1999/xhtml">No narrative provided</div>
              </text>
              <contained>
                <Medication>
                  <id value="med"/>
                  <code>
                    <coding>
                      <system value="http://hl7.org/fhir/NamingSystem/ca-hc-din"/>
                      <code value="02256142"/>
                      <display value="ACT GABAPENTIN 100 MG CAPSULE"/>
                    </coding>
                    <text value="ACT GABAPENTIN 100 MG CAPSULE"/>
                  </code>
                </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-treatment-type">
                <valueCode value="CHRON"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString
                             value="1 (One) Capsule(s), Once daily for 30 days. Route: Oral"/>
              </extension>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-MedicationRequest.supportingInfo">
                <valueReference>
                  <reference value="List/871d7a2f-e5c8-41a9-b4a6-bf81bfcfac8a"/>
                </valueReference>
              </extension>
              <identifier>
                <type>
                  <coding>
                    <system value="http://hl7.org/fhir/identifier-type"/>
                    <code value="PLAC"/>
                  </coding>
                </type>
                <system value="urn:oid:1.2.0.9.9.4.0994.2"/>
                <value value="EMR-12961^1340DDD6-3EC8-46F5-ABB6-55A7B5A6AC60"/>
              </identifier>
              <status value="active"/>
              <medicationReference>
                <reference value="#med"/>
              </medicationReference>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </patient>
              <dateWritten value="2018-02-20T11:09:16.0009-08:00"/>
              <prescriber>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </prescriber>
              <dosageInstruction>
                <extension
                           url="http://hl7.org/fhir/StructureDefinition/extension-Dosage.sequence">
                  <valueInteger value="1"/>
                </extension>
                <text value="1 (One) Capsule(s), Once daily for 30 days"/>
                <timing>
                  <repeat>
                    <boundsPeriod>
                      <start value="2018-02-20"/>
                      <end value="2018-03-22"/>
                    </boundsPeriod>
                    <duration value="1"/>
                    <durationUnit value="mo"/>
                    <frequency value="1"/>
                    <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>
                <doseQuantity>
                  <value value="1"/>
                  <unit value="Capsule(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428641000"/>
                </doseQuantity>
              </dosageInstruction>
              <dispenseRequest>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-quantity">
                  <valueQuantity>
                    <value value="30"/>
                    <unit value="Capsule(s)"/>
                    <system
                            value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                    <code value="428641000"/>
                  </valueQuantity>
                </extension>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-days-supply">
                  <valueQuantity>
                    <value value="30"/>
                    <unit value="day"/>
                    <system value="http://unitsofmeasure.org"/>
                    <code value="d"/>
                  </valueQuantity>
                </extension>
                <validityPeriod>
                  <start value="2018-02-20"/>
                  <end value="2019-02-20"/>
                </validityPeriod>
                <quantity>
                  <value value="30"/>
                  <unit value="Capsule(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428641000"/>
                </quantity>
                <expectedSupplyDuration>
                  <value value="30"/>
                  <system value="http://unitsofmeasure.org"/>
                  <code value="d"/>
                </expectedSupplyDuration>
              </dispenseRequest>
            </MedicationOrder>
          </resource>
        </entry>
      <!--  no.9 -->
        <entry>
          <fullUrl value="urn:uuid:d4ef7fea-8ee2-4528-98ec-959d494d8866"/>
          <resource>
            <MedicationDispense>
              <id value="d4ef7fea-8ee2-4528-98ec-959d494d8866"/>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/pharmacy-core-refillsRemaining">
                <valueInteger value="0"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString value="1 cap a day for 30 days"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-dispense-quantity-remaining">
                <valueQuantity>
                  <value value="2"/>
                  <unit value="Capsule(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428641000"/>
                </valueQuantity>
              </extension>
              <identifier>
                <system value="urn:oid:1.2.0.9.9.8.0998.4"/>
                <value value="PMSDISPno9-d4ef7fea-8ee2-4528-98ec-959d494d8866"/>
              </identifier>
              <status value="completed"/>
              <medicationCodeableConcept>
                <coding>
                  <system value="http://hl7.org/fhir/NamingSystem/ca-hc-din"/>
                  <code value="02256142"/>
                  <display value="ACT GABAPENTIN 100 MG CAPSULE"/>
                </coding>
                <text value="ACT GABAPENTIN 100 MG CAPSULE"/>
              </medicationCodeableConcept>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </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/190000024"/>
                  </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.0.9.9.4.0994.2"/>
                    <value
                           value="EMR-12961^1340DDD6-3EC8-46F5-ABB6-55A7B5A6AC60"/>
                  </valueIdentifier>
                </extension>
              </authorizingPrescription>
              <quantity>
                <value value="15"/>
                <unit value="Capsule(s)"/>
                <system
                        value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                <code value="428641000"/>
              </quantity>
              <daysSupply>
                <value value="15"/>
                <system value="http://unitsofmeasure.org"/>
                <code value="d"/>
              </daysSupply>
              <whenPrepared value="2021-01-28"/>
            </MedicationDispense>
          </resource>
        </entry>
      <!--  no.9 -->
        <entry>
          <fullUrl value="urn:uuid:db4ba61f-d00f-41ca-9cd0-d0554cf805b0"/>
          <resource>
            <Task>
              <id value="db4ba61f-d00f-41ca-9cd0-d0554cf805b0"/>
              <meta>
                <profile
                         value="http://prescribeit.ca/fhir/StructureDefinition/task-p160-m"/>
              </meta>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-Task.groupIdentifier">
                <valueIdentifier>
                  <system value="urn:oid:1.2.0.9.9.8.0998.3"/>
                  <value value="grp-ecce7422-72e9-4b69-aeda-ed90c9c483f6"/>
                </valueIdentifier>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-task-message">
                <valueReference>
                  <reference
                             value="Communication/6b766de0-f5dc-455d-a7c7-f4e8c6ce6ce1"/>
                </valueReference>
              </extension>
              <type>
                <coding>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/prescriptiontasktype"/>
                  <code value="p160-m"/>
                </coding>
              </type>
              <priority value="high"/>
              <status value="requested"/>
              <subject>
                <reference
                           value="MedicationOrder/aecc2e55-bbfd-427c-b293-56ee8551c2ef"/>
              </subject>
              <for>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </for>
              <created value="2021-01-28T23:48:27.0633-05:00"/>
              <lastModified value="2021-01-28T23:48:27.0633-05:00"/>
              <creator>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/190000024"/>
              </creator>
              <owner>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </owner>
              <input>
                <name value="daysSinceLastDispense"/>
                <valueInteger value="1"/>
              </input>
              <input>
                <name value="lastDispense"/>
                <valueReference>
                  <reference
                             value="MedicationDispense/d4ef7fea-8ee2-4528-98ec-959d494d8866"/>
                </valueReference>
              </input>
              <input>
                <name value="instruction"/>
                <valueString value="instruction 13.1.1.9.rx"/>
              </input>
            </Task>
          </resource>
        </entry>
      <!--  No.10  -->
        <entry>
          <fullUrl value="urn:uuid:04c04d64-a1e2-4aec-aa1f-fa4955d7bfa8"/>
          <resource>
            <MedicationOrder>
              <id value="04c04d64-a1e2-4aec-aa1f-fa4955d7bfa8"/>
              <text>
                <status value="empty"/>
                <div xmlns="http://www.w3.org/1999/xhtml">No narrative provided</div>
              </text>
              <contained>
                <Medication>
                  <id value="med"/>
                  <code>
                    <coding>
                      <system value="http://hl7.org/fhir/NamingSystem/ca-hc-din"/>
                      <code value="02250020"/>
                      <display value="ACT MELOXICAM 15 MG TABLET"/>
                    </coding>
                    <text value="ACT MELOXICAM 15 MG TABLET"/>
                  </code>
                </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-treatment-type">
                <valueCode value="CHRON"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString
                             value="1 (One) Tablet(s), Once daily for 14 days. Route: Oral"/>
              </extension>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-MedicationRequest.supportingInfo">
                <valueReference>
                  <reference value="List/871d7a2f-e5c8-41a9-b4a6-bf81bfcfac8a"/>
                </valueReference>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
                <valueReference>
                  <reference
                             value="DetectedIssue/C666D6E2-B105-4078-BA36-A20C55721197"/>
                </valueReference>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
                <valueReference>
                  <reference
                             value="DetectedIssue/89318630-BE5D-4031-AC96-2FA4BB321DA2"/>
                </valueReference>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
                <valueReference>
                  <reference
                             value="DetectedIssue/F5A22200-46BB-4D10-B804-F1CB08959799"/>
                </valueReference>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
                <valueReference>
                  <reference
                             value="DetectedIssue/3408869F-89F3-43BC-834A-4709B30B9BA7"/>
                </valueReference>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
                <valueReference>
                  <reference
                             value="DetectedIssue/751C2380-6585-4424-883D-F40BC339644B"/>
                </valueReference>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
                <valueReference>
                  <reference
                             value="DetectedIssue/781945D1-6954-4A58-8DCB-0163DCC51C7B"/>
                </valueReference>
              </extension>
              <identifier>
                <type>
                  <coding>
                    <system value="http://hl7.org/fhir/identifier-type"/>
                    <code value="PLAC"/>
                  </coding>
                </type>
                <system value="urn:oid:1.2.0.9.9.4.0994.2"/>
                <value value="EMR-12978^876A9A94-25D6-4B02-8AAE-C19133E0097E"/>
              </identifier>
              <status value="active"/>
              <medicationReference>
                <reference value="#med"/>
              </medicationReference>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </patient>
              <dateWritten value="2018-02-20T11:09:16.0009-08:00"/>
              <prescriber>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </prescriber>
              <dosageInstruction>
                <extension
                           url="http://hl7.org/fhir/StructureDefinition/extension-Dosage.sequence">
                  <valueInteger value="1"/>
                </extension>
                <text value="1 (One) Tablet(s), Once daily for 14 days"/>
                <timing>
                  <repeat>
                    <boundsPeriod>
                      <start value="2018-02-20"/>
                      <end value="2018-03-06"/>
                    </boundsPeriod>
                    <duration value="2"/>
                    <durationUnit value="wk"/>
                    <frequency value="1"/>
                    <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>
                <doseQuantity>
                  <value value="1"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </doseQuantity>
              </dosageInstruction>
              <dispenseRequest>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-quantity">
                  <valueQuantity>
                    <value value="14"/>
                    <unit value="Tablet(s)"/>
                    <system
                            value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                    <code value="428673006"/>
                  </valueQuantity>
                </extension>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-days-supply">
                  <valueQuantity>
                    <value value="14"/>
                    <unit value="day"/>
                    <system value="http://unitsofmeasure.org"/>
                    <code value="d"/>
                  </valueQuantity>
                </extension>
                <validityPeriod>
                  <start value="2018-02-20"/>
                  <end value="2019-02-20"/>
                </validityPeriod>
                <quantity>
                  <value value="14"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </quantity>
                <expectedSupplyDuration>
                  <value value="14"/>
                  <system value="http://unitsofmeasure.org"/>
                  <code value="d"/>
                </expectedSupplyDuration>
              </dispenseRequest>
            </MedicationOrder>
          </resource>
        </entry>
      <!--  no.10 -->
        <entry>
          <fullUrl value="urn:uuid:49b771bd-f2ef-4e4c-b2df-f59832c135e6"/>
          <resource>
            <MedicationDispense>
              <id value="49b771bd-f2ef-4e4c-b2df-f59832c135e6"/>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/pharmacy-core-refillsRemaining">
                <valueInteger value="0"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString value="1 Tablet 1 time per day for 14 days"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-dispense-quantity-remaining">
                <valueQuantity>
                  <value value="0"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </valueQuantity>
              </extension>
              <identifier>
                <system value="urn:oid:1.2.0.9.9.8.0998.4"/>
                <value value="PMSDISPno10-49b771bd-f2ef-4e4c-b2df-f59832c135e6"/>
              </identifier>
              <status value="completed"/>
              <medicationCodeableConcept>
                <coding>
                  <system value="http://hl7.org/fhir/NamingSystem/ca-hc-din"/>
                  <code value="02250020"/>
                  <display value="ACT MELOXICAM 15 MG TABLET"/>
                </coding>
                <text value="ACT MELOXICAM 15 MG TABLET"/>
              </medicationCodeableConcept>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </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/190000024"/>
                  </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.0.9.9.4.0994.2"/>
                    <value
                           value="EMR-12978^876A9A94-25D6-4B02-8AAE-C19133E0097E"/>
                  </valueIdentifier>
                </extension>
              </authorizingPrescription>
              <quantity>
                <value value="5"/>
                <unit value="Tablet(s)"/>
                <system
                        value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                <code value="428673006"/>
              </quantity>
              <daysSupply>
                <value value="5"/>
                <system value="http://unitsofmeasure.org"/>
                <code value="d"/>
              </daysSupply>
              <whenPrepared value="2021-01-28"/>
            </MedicationDispense>
          </resource>
        </entry>
      <!--  no.10 -->
        <entry>
          <fullUrl value="urn:uuid:d329a3f1-f25d-4438-a361-362de6c22554"/>
          <resource>
            <Task>
              <id value="d329a3f1-f25d-4438-a361-362de6c22554"/>
              <meta>
                <profile
                         value="http://prescribeit.ca/fhir/StructureDefinition/task-p160-m"/>
              </meta>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-Task.groupIdentifier">
                <valueIdentifier>
                  <system value="urn:oid:1.2.0.9.9.8.0998.3"/>
                  <value value="grp-ecce7422-72e9-4b69-aeda-ed90c9c483f6"/>
                </valueIdentifier>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-task-message">
                <valueReference>
                  <reference
                             value="Communication/6b766de0-f5dc-455d-a7c7-f4e8c6ce6ce1"/>
                </valueReference>
              </extension>
              <type>
                <coding>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/prescriptiontasktype"/>
                  <code value="p160-m"/>
                </coding>
              </type>
              <priority value="high"/>
              <status value="requested"/>
              <subject>
                <reference
                           value="MedicationOrder/04c04d64-a1e2-4aec-aa1f-fa4955d7bfa8"/>
              </subject>
              <for>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </for>
              <created value="2021-01-28T23:48:27.0647-05:00"/>
              <lastModified value="2021-01-28T23:48:27.0647-05:00"/>
              <creator>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/190000024"/>
              </creator>
              <owner>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </owner>
              <input>
                <name value="daysSinceLastDispense"/>
                <valueInteger value="1"/>
              </input>
              <input>
                <name value="lastDispense"/>
                <valueReference>
                  <reference
                             value="MedicationDispense/49b771bd-f2ef-4e4c-b2df-f59832c135e6"/>
                </valueReference>
              </input>
              <input>
                <name value="instruction"/>
                <valueString value="instruction 13.1.1.10.rx"/>
              </input>
            </Task>
          </resource>
        </entry>
      <!--  No.11  -->
        <entry>
          <fullUrl value="urn:uuid:80532008-e2b4-46d3-9d33-6a887e61d3a0"/>
          <resource>
            <MedicationOrder>
              <id value="80532008-e2b4-46d3-9d33-6a887e61d3a0"/>
              <text>
                <status value="empty"/>
                <div xmlns="http://www.w3.org/1999/xhtml">No narrative provided</div>
              </text>
              <contained>
                <Medication>
                  <id value="med"/>
                  <code>
                    <coding>
                      <system value="http://hl7.org/fhir/NamingSystem/ca-hc-din"/>
                      <code value="02271931"/>
                      <display value="ACT ZOPICLONE 5 MG TABLET"/>
                    </coding>
                    <text value="ACT ZOPICLONE 5 MG TABLET"/>
                  </code>
                </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-treatment-type">
                <valueCode value="CHRON"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString
                             value="1 (One) Tablet(s), Once daily for 7 days. Route: Oral"/>
              </extension>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-MedicationRequest.supportingInfo">
                <valueReference>
                  <reference value="List/871d7a2f-e5c8-41a9-b4a6-bf81bfcfac8a"/>
                </valueReference>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
                <valueReference>
                  <reference
                             value="DetectedIssue/47AEF180-9C0E-437D-9EB2-623EC839669C"/>
                </valueReference>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
                <valueReference>
                  <reference
                             value="DetectedIssue/3EB3DDE0-D889-4E93-B679-E08854ECB29F"/>
                </valueReference>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
                <valueReference>
                  <reference
                             value="DetectedIssue/A753AE0F-63D3-4F72-92F8-89E7C794452D"/>
                </valueReference>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
                <valueReference>
                  <reference
                             value="DetectedIssue/9F758DA3-9C8F-4559-BE95-BF38FB4688CC"/>
                </valueReference>
              </extension>
              <identifier>
                <type>
                  <coding>
                    <system value="http://hl7.org/fhir/identifier-type"/>
                    <code value="PLAC"/>
                  </coding>
                </type>
                <system value="urn:oid:1.2.0.9.9.4.0994.2"/>
                <value value="EMR-12974^B386FFAC-AE97-4997-8E02-2C27C321EE3B"/>
              </identifier>
              <status value="active"/>
              <medicationReference>
                <reference value="#med"/>
              </medicationReference>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </patient>
              <dateWritten value="2018-02-20T11:09:16.0009-08:00"/>
              <prescriber>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </prescriber>
              <dosageInstruction>
                <extension
                           url="http://hl7.org/fhir/StructureDefinition/extension-Dosage.sequence">
                  <valueInteger value="1"/>
                </extension>
                <text value="1 (One) Tablet(s), Once daily for 7 days"/>
                <timing>
                  <repeat>
                    <boundsPeriod>
                      <start value="2018-02-20"/>
                      <end value="2018-02-27"/>
                    </boundsPeriod>
                    <duration value="1"/>
                    <durationUnit value="wk"/>
                    <frequency value="1"/>
                    <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>
                <doseQuantity>
                  <value value="1"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </doseQuantity>
              </dosageInstruction>
              <dispenseRequest>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-quantity">
                  <valueQuantity>
                    <value value="7"/>
                    <unit value="Tablet(s)"/>
                    <system
                            value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                    <code value="428673006"/>
                  </valueQuantity>
                </extension>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-days-supply">
                  <valueQuantity>
                    <value value="7"/>
                    <unit value="day"/>
                    <system value="http://unitsofmeasure.org"/>
                    <code value="d"/>
                  </valueQuantity>
                </extension>
                <validityPeriod>
                  <start value="2018-02-20"/>
                  <end value="2019-02-20"/>
                </validityPeriod>
                <quantity>
                  <value value="7"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </quantity>
                <expectedSupplyDuration>
                  <value value="7"/>
                  <system value="http://unitsofmeasure.org"/>
                  <code value="d"/>
                </expectedSupplyDuration>
              </dispenseRequest>
            </MedicationOrder>
          </resource>
        </entry>
      <!--  no.11 -->
        <entry>
          <fullUrl value="urn:uuid:036c2d1d-e720-405d-9503-b79b9218265d"/>
          <resource>
            <MedicationDispense>
              <id value="036c2d1d-e720-405d-9503-b79b9218265d"/>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/pharmacy-core-refillsRemaining">
                <valueInteger value="0"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString
                             value="1 (One) Tablet(s), Once daily for 7 days. Route: Oral"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-dispense-quantity-remaining">
                <valueQuantity>
                  <value value="2"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </valueQuantity>
              </extension>
              <identifier>
                <system value="urn:oid:1.2.0.9.9.8.0998.4"/>
                <value value="PMSDISPno11-036c2d1d-e720-405d-9503-b79b9218265d"/>
              </identifier>
              <status value="completed"/>
              <medicationCodeableConcept>
                <coding>
                  <system value="http://hl7.org/fhir/NamingSystem/ca-hc-din"/>
                  <code value="02271931"/>
                  <display value="ACT ZOPICLONE 5 MG TABLET"/>
                </coding>
                <text value="ACT ZOPICLONE 5 MG TABLET"/>
              </medicationCodeableConcept>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </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/190000024"/>
                  </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.0.9.9.4.0994.2"/>
                    <value
                           value="EMR-12974^B386FFAC-AE97-4997-8E02-2C27C321EE3B"/>
                  </valueIdentifier>
                </extension>
              </authorizingPrescription>
              <quantity>
                <value value="2"/>
                <unit value="Tablet(s)"/>
                <system
                        value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                <code value="428673006"/>
              </quantity>
              <daysSupply>
                <value value="2"/>
                <system value="http://unitsofmeasure.org"/>
                <code value="d"/>
              </daysSupply>
              <whenPrepared value="2021-01-28"/>
            </MedicationDispense>
          </resource>
        </entry>
      <!--  no.11 -->
        <entry>
          <fullUrl value="urn:uuid:ca607062-5407-4f54-b8c7-36fe3eb65ab8"/>
          <resource>
            <Task>
              <id value="ca607062-5407-4f54-b8c7-36fe3eb65ab8"/>
              <meta>
                <profile
                         value="http://prescribeit.ca/fhir/StructureDefinition/task-p160-m"/>
              </meta>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-Task.groupIdentifier">
                <valueIdentifier>
                  <system value="urn:oid:1.2.0.9.9.8.0998.3"/>
                  <value value="grp-ecce7422-72e9-4b69-aeda-ed90c9c483f6"/>
                </valueIdentifier>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-task-message">
                <valueReference>
                  <reference
                             value="Communication/6b766de0-f5dc-455d-a7c7-f4e8c6ce6ce1"/>
                </valueReference>
              </extension>
              <type>
                <coding>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/prescriptiontasktype"/>
                  <code value="p160-m"/>
                </coding>
              </type>
              <priority value="high"/>
              <status value="requested"/>
              <subject>
                <reference
                           value="MedicationOrder/80532008-e2b4-46d3-9d33-6a887e61d3a0"/>
              </subject>
              <for>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </for>
              <created value="2021-01-28T23:48:27.0659-05:00"/>
              <lastModified value="2021-01-28T23:48:27.0659-05:00"/>
              <creator>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/190000024"/>
              </creator>
              <owner>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </owner>
              <input>
                <name value="daysSinceLastDispense"/>
                <valueInteger value="1"/>
              </input>
              <input>
                <name value="lastDispense"/>
                <valueReference>
                  <reference
                             value="MedicationDispense/036c2d1d-e720-405d-9503-b79b9218265d"/>
                </valueReference>
              </input>
              <input>
                <name value="instruction"/>
                <valueString value="instruction 13.1.1.11.rx"/>
              </input>
            </Task>
          </resource>
        </entry>
      <!--  No.12  -->
        <entry>
          <fullUrl value="urn:uuid:be34c7d5-34a2-42b6-8293-b0188e3a69bd"/>
          <resource>
            <MedicationOrder>
              <id value="be34c7d5-34a2-42b6-8293-b0188e3a69bd"/>
              <text>
                <status value="empty"/>
                <div xmlns="http://www.w3.org/1999/xhtml">No narrative provided</div>
              </text>
              <contained>
                <Medication>
                  <id value="med"/>
                  <code>
                    <coding>
                      <system value="http://hl7.org/fhir/NamingSystem/ca-hc-din"/>
                      <code value="00312770"/>
                      <display value="APO-PREDNISONE 5 MG TABLET"/>
                    </coding>
                    <text value="APO-PREDNISONE 5 MG TABLET"/>
                  </code>
                </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-treatment-type">
                <valueCode value="CHRON"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString
                             value="8 (Eight) Tablet(s), Once daily for 3 days THEN 6 (Six) Tablet(s), Once daily for 3 days THEN 4 (Four) Tablet(s), Once daily for 3 days THEN 2 (Two) Tablet(s), Once daily for 3 days THEN 1 (One) Tablet(s), Once daily for 3 days. Route: Oral"/>
              </extension>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-MedicationRequest.supportingInfo">
                <valueReference>
                  <reference value="List/871d7a2f-e5c8-41a9-b4a6-bf81bfcfac8a"/>
                </valueReference>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
                <valueReference>
                  <reference
                             value="DetectedIssue/DC83EF88-FE4C-4842-B8D6-A648E782BFA5"/>
                </valueReference>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
                <valueReference>
                  <reference
                             value="DetectedIssue/415CE9AC-382E-4FDC-B681-CECB78709EE7"/>
                </valueReference>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
                <valueReference>
                  <reference
                             value="DetectedIssue/3A46E288-EE89-4D99-A27B-D4EA223FD209"/>
                </valueReference>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
                <valueReference>
                  <reference
                             value="DetectedIssue/58878956-687C-4ACC-8311-140CEAC7CE13"/>
                </valueReference>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
                <valueReference>
                  <reference
                             value="DetectedIssue/7D09B526-FE27-4F2A-A4FC-D3620DB7C4C8"/>
                </valueReference>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
                <valueReference>
                  <reference
                             value="DetectedIssue/72659E1A-DFFE-4C6F-A385-77DB20A65BF7"/>
                </valueReference>
              </extension>
              <identifier>
                <type>
                  <coding>
                    <system value="http://hl7.org/fhir/identifier-type"/>
                    <code value="PLAC"/>
                  </coding>
                </type>
                <system value="urn:oid:1.2.0.9.9.4.0994.2"/>
                <value value="EMR-12954^79488A9A-CDF4-4624-939A-86689A5D99D0"/>
              </identifier>
              <status value="active"/>
              <medicationReference>
                <reference value="#med"/>
              </medicationReference>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </patient>
              <dateWritten value="2018-02-20T11:09:16.0009-08:00"/>
              <prescriber>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </prescriber>
              <dosageInstruction>
                <extension
                           url="http://hl7.org/fhir/StructureDefinition/extension-Dosage.sequence">
                  <valueInteger value="1"/>
                </extension>
                <text value="8 (Eight) Tablet(s), Once daily for 3 days"/>
                <timing>
                  <repeat>
                    <boundsPeriod>
                      <start value="2018-02-20"/>
                    </boundsPeriod>
                    <duration value="3"/>
                    <durationUnit value="d"/>
                    <frequency value="1"/>
                    <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>
                <doseQuantity>
                  <value value="8"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </doseQuantity>
              </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="then"/>
                </extension>
                <text value="THEN 6 (Six) Tablet(s), Once daily for 3 days"/>
                <timing>
                  <repeat>
                    <boundsPeriod>
                      <start value="2018-02-23"/>
                    </boundsPeriod>
                    <duration value="3"/>
                    <durationUnit value="d"/>
                    <frequency value="1"/>
                    <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>
                <doseQuantity>
                  <value value="6"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </doseQuantity>
              </dosageInstruction>
              <dosageInstruction>
                <extension
                           url="http://hl7.org/fhir/StructureDefinition/extension-Dosage.sequence">
                  <valueInteger value="3"/>
                </extension>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-dosageinstruction-relationship">
                  <valueCode value="then"/>
                </extension>
                <text value="THEN 4 (Four) Tablet(s), Once daily for 3 days"/>
                <timing>
                  <repeat>
                    <boundsPeriod>
                      <start value="2018-02-26"/>
                    </boundsPeriod>
                    <duration value="3"/>
                    <durationUnit value="d"/>
                    <frequency value="1"/>
                    <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>
                <doseQuantity>
                  <value value="4"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </doseQuantity>
              </dosageInstruction>
              <dosageInstruction>
                <extension
                           url="http://hl7.org/fhir/StructureDefinition/extension-Dosage.sequence">
                  <valueInteger value="4"/>
                </extension>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-dosageinstruction-relationship">
                  <valueCode value="then"/>
                </extension>
                <text value="THEN 2 (Two) Tablet(s), Once daily for 3 days"/>
                <timing>
                  <repeat>
                    <boundsPeriod>
                      <start value="2018-03-01"/>
                    </boundsPeriod>
                    <duration value="3"/>
                    <durationUnit value="d"/>
                    <frequency value="1"/>
                    <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>
                <doseQuantity>
                  <value value="2"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </doseQuantity>
              </dosageInstruction>
              <dosageInstruction>
                <extension
                           url="http://hl7.org/fhir/StructureDefinition/extension-Dosage.sequence">
                  <valueInteger value="5"/>
                </extension>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-dosageinstruction-relationship">
                  <valueCode value="then"/>
                </extension>
                <text value="THEN 1 (One) Tablet(s), Once daily for 3 days"/>
                <timing>
                  <repeat>
                    <boundsPeriod>
                      <start value="2018-03-04"/>
                      <end value="2018-04-21"/>
                    </boundsPeriod>
                    <duration value="3"/>
                    <durationUnit value="d"/>
                    <frequency value="1"/>
                    <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>
                <doseQuantity>
                  <value value="1"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </doseQuantity>
              </dosageInstruction>
              <dispenseRequest>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-quantity">
                  <valueQuantity>
                    <value value="252"/>
                    <unit value="Tablet(s)"/>
                    <system
                            value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                    <code value="428673006"/>
                  </valueQuantity>
                </extension>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-days-supply">
                  <valueQuantity>
                    <value value="60"/>
                    <unit value="day"/>
                    <system value="http://unitsofmeasure.org"/>
                    <code value="d"/>
                  </valueQuantity>
                </extension>
                <validityPeriod>
                  <start value="2018-02-20"/>
                  <end value="2019-02-20"/>
                </validityPeriod>
                <numberOfRepeatsAllowed value="3"/>
                <quantity>
                  <value value="63"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </quantity>
                <expectedSupplyDuration>
                  <value value="15"/>
                  <system value="http://unitsofmeasure.org"/>
                  <code value="d"/>
                </expectedSupplyDuration>
              </dispenseRequest>
            </MedicationOrder>
          </resource>
        </entry>
      <!--  no.12 -->
        <entry>
          <fullUrl value="urn:uuid:62e262e5-13fe-45a7-9bf0-b9829d4d7729"/>
          <resource>
            <MedicationDispense>
              <id value="62e262e5-13fe-45a7-9bf0-b9829d4d7729"/>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/pharmacy-core-refillsRemaining">
                <valueInteger value="0"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString
                             value="Take 8 tabs for 3 days, then 6 tabs for 3 days, then 4 tabs for 3 days, then 2 tabs for 3 days, then 1 tab for 3 days"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-dispense-quantity-remaining">
                <valueQuantity>
                  <value value="0"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </valueQuantity>
              </extension>
              <identifier>
                <system value="urn:oid:1.2.0.9.9.8.0998.4"/>
                <value value="PMSDISPno12-62e262e5-13fe-45a7-9bf0-b9829d4d7729"/>
              </identifier>
              <status value="completed"/>
              <medicationCodeableConcept>
                <coding>
                  <system value="http://hl7.org/fhir/NamingSystem/ca-hc-din"/>
                  <code value="00312770"/>
                  <display value="APO-PREDNISONE 5 MG TABLET"/>
                </coding>
                <text value="APO-PREDNISONE 5 MG TABLET"/>
              </medicationCodeableConcept>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </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/190000024"/>
                  </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.0.9.9.4.0994.2"/>
                    <value
                           value="EMR-12954^79488A9A-CDF4-4624-939A-86689A5D99D0"/>
                  </valueIdentifier>
                </extension>
              </authorizingPrescription>
              <quantity>
                <value value="63"/>
                <unit value="Tablet(s)"/>
                <system
                        value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                <code value="428673006"/>
              </quantity>
              <daysSupply>
                <value value="15"/>
                <system value="http://unitsofmeasure.org"/>
                <code value="d"/>
              </daysSupply>
              <whenPrepared value="2021-01-28"/>
            </MedicationDispense>
          </resource>
        </entry>
      <!--  no.12 -->
        <entry>
          <fullUrl value="urn:uuid:55eceadd-b83d-41c0-bcbc-d10bd2fce01e"/>
          <resource>
            <Task>
              <id value="55eceadd-b83d-41c0-bcbc-d10bd2fce01e"/>
              <meta>
                <profile
                         value="http://prescribeit.ca/fhir/StructureDefinition/task-p160-m"/>
              </meta>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-Task.groupIdentifier">
                <valueIdentifier>
                  <system value="urn:oid:1.2.0.9.9.8.0998.3"/>
                  <value value="grp-ecce7422-72e9-4b69-aeda-ed90c9c483f6"/>
                </valueIdentifier>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-task-message">
                <valueReference>
                  <reference
                             value="Communication/6b766de0-f5dc-455d-a7c7-f4e8c6ce6ce1"/>
                </valueReference>
              </extension>
              <type>
                <coding>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/prescriptiontasktype"/>
                  <code value="p160-m"/>
                </coding>
              </type>
              <priority value="high"/>
              <status value="requested"/>
              <subject>
                <reference
                           value="MedicationOrder/be34c7d5-34a2-42b6-8293-b0188e3a69bd"/>
              </subject>
              <for>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </for>
              <created value="2021-01-28T23:48:27.0672-05:00"/>
              <lastModified value="2021-01-28T23:48:27.0672-05:00"/>
              <creator>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/190000024"/>
              </creator>
              <owner>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </owner>
              <input>
                <name value="daysSinceLastDispense"/>
                <valueInteger value="1"/>
              </input>
              <input>
                <name value="lastDispense"/>
                <valueReference>
                  <reference
                             value="MedicationDispense/62e262e5-13fe-45a7-9bf0-b9829d4d7729"/>
                </valueReference>
              </input>
              <input>
                <name value="instruction"/>
                <valueString value="instruction 13.1.1.12.rx"/>
              </input>
            </Task>
          </resource>
        </entry>
      <!--  No.13  -->
        <entry>
          <fullUrl value="urn:uuid:66550911-37c1-4441-8afd-833034fa2aca"/>
          <resource>
            <MedicationOrder>
              <id value="66550911-37c1-4441-8afd-833034fa2aca"/>
              <text>
                <status value="empty"/>
                <div xmlns="http://www.w3.org/1999/xhtml">No narrative provided</div>
              </text>
              <contained>
                <Medication>
                  <id value="med"/>
                  <extension
                             url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-strength-description">
                    <valueString value="15-375-30"/>
                  </extension>
                  <code>
                    <text
                          value="CODEINE PHOSPHATE/ACETYLSALICYLIC ACID/CAFFEINE 15 mg-375 mg-30 mg TABLET (15-375-30)"/>
                  </code>
                </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-treatment-type">
                <valueCode value="CHRON"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString
                             value="1 (One) Tablet(s), Two times daily for 60 days. Route: Oral"/>
              </extension>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-MedicationRequest.supportingInfo">
                <valueReference>
                  <reference value="List/871d7a2f-e5c8-41a9-b4a6-bf81bfcfac8a"/>
                </valueReference>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
                <valueReference>
                  <reference
                             value="DetectedIssue/16445AC6-E55B-4B11-A7E8-EAEBD21CD16E"/>
                </valueReference>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
                <valueReference>
                  <reference
                             value="DetectedIssue/5B18E991-69C5-438A-9B40-4B22CD41BD45"/>
                </valueReference>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
                <valueReference>
                  <reference
                             value="DetectedIssue/81A10D19-7F2D-4DCF-8D6E-C1A1E45B1865"/>
                </valueReference>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
                <valueReference>
                  <reference
                             value="DetectedIssue/05A17449-B002-4BCC-83FB-5AAD146E264D"/>
                </valueReference>
              </extension>
              <identifier>
                <type>
                  <coding>
                    <system value="http://hl7.org/fhir/identifier-type"/>
                    <code value="PLAC"/>
                  </coding>
                </type>
                <system value="urn:oid:1.2.0.9.9.4.0994.2"/>
                <value value="EMR-12964^AA59161C-D91E-4E87-BBE1-23A1273D0A21"/>
              </identifier>
              <status value="active"/>
              <medicationReference>
                <reference value="#med"/>
              </medicationReference>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </patient>
              <dateWritten value="2018-02-20T11:09:16.0009-08:00"/>
              <prescriber>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </prescriber>
              <dosageInstruction>
                <extension
                           url="http://hl7.org/fhir/StructureDefinition/extension-Dosage.sequence">
                  <valueInteger value="1"/>
                </extension>
                <text value="1 (One) Tablet(s), Two times daily for 60 days"/>
                <timing>
                  <repeat>
                    <boundsPeriod>
                      <start value="2018-02-20"/>
                      <end value="2018-04-21"/>
                    </boundsPeriod>
                    <duration value="2"/>
                    <durationUnit value="mo"/>
                    <frequency value="2"/>
                    <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>
                <doseQuantity>
                  <value value="1"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </doseQuantity>
              </dosageInstruction>
              <dispenseRequest>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-quantity">
                  <valueQuantity>
                    <value value="120"/>
                    <unit value="Tablet(s)"/>
                    <system
                            value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                    <code value="428673006"/>
                  </valueQuantity>
                </extension>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-days-supply">
                  <valueQuantity>
                    <value value="60"/>
                    <unit value="day"/>
                    <system value="http://unitsofmeasure.org"/>
                    <code value="d"/>
                  </valueQuantity>
                </extension>
                <validityPeriod>
                  <start value="2018-02-20"/>
                  <end value="2019-02-20"/>
                </validityPeriod>
                <quantity>
                  <value value="120"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </quantity>
                <expectedSupplyDuration>
                  <value value="60"/>
                  <system value="http://unitsofmeasure.org"/>
                  <code value="d"/>
                </expectedSupplyDuration>
              </dispenseRequest>
            </MedicationOrder>
          </resource>
        </entry>
      <!--  no.13 -->
        <entry>
          <fullUrl value="urn:uuid:b57e5fe2-3b56-4e59-b0db-82add266613d"/>
          <resource>
            <MedicationDispense>
              <id value="b57e5fe2-3b56-4e59-b0db-82add266613d"/>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/pharmacy-core-refillsRemaining">
                <valueInteger value="0"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString
                             value="1 (One) Tablet(s), twice daily for 60 days. Route: Oral"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-dispense-quantity-remaining">
                <valueQuantity>
                  <value value="0"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </valueQuantity>
              </extension>
              <identifier>
                <system value="urn:oid:1.2.0.9.9.8.0998.4"/>
                <value value="PMSDISPno13-b57e5fe2-3b56-4e59-b0db-82add266613d"/>
              </identifier>
              <status value="completed"/>
              <medicationCodeableConcept>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-strength-description">
                  <valueString value="15-375-30"/>
                </extension>
                <text
                      value="CODEINE PHOSPHATE/ACETYLSALICYLIC ACID/CAFFEINE 15 mg-375 mg-30 mg TABLET (15-375-30)"/>
              </medicationCodeableConcept>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </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/190000024"/>
                  </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.0.9.9.4.0994.2"/>
                    <value
                           value="EMR-12964^AA59161C-D91E-4E87-BBE1-23A1273D0A21"/>
                  </valueIdentifier>
                </extension>
              </authorizingPrescription>
              <quantity>
                <value value="60"/>
                <unit value="Tablet(s)"/>
                <system
                        value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                <code value="428673006"/>
              </quantity>
              <daysSupply>
                <value value="30"/>
                <system value="http://unitsofmeasure.org"/>
                <code value="d"/>
              </daysSupply>
              <whenPrepared value="2021-01-28"/>
            </MedicationDispense>
          </resource>
        </entry>
      <!--  no.13 -->
        <entry>
          <fullUrl value="urn:uuid:68dbca5c-9f65-4e72-ad34-8cfee9b1f07a"/>
          <resource>
            <Task>
              <id value="68dbca5c-9f65-4e72-ad34-8cfee9b1f07a"/>
              <meta>
                <profile
                         value="http://prescribeit.ca/fhir/StructureDefinition/task-p160-m"/>
              </meta>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-Task.groupIdentifier">
                <valueIdentifier>
                  <system value="urn:oid:1.2.0.9.9.8.0998.3"/>
                  <value value="grp-ecce7422-72e9-4b69-aeda-ed90c9c483f6"/>
                </valueIdentifier>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-task-message">
                <valueReference>
                  <reference
                             value="Communication/6b766de0-f5dc-455d-a7c7-f4e8c6ce6ce1"/>
                </valueReference>
              </extension>
              <type>
                <coding>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/prescriptiontasktype"/>
                  <code value="p160-m"/>
                </coding>
              </type>
              <priority value="high"/>
              <status value="requested"/>
              <subject>
                <reference
                           value="MedicationOrder/66550911-37c1-4441-8afd-833034fa2aca"/>
              </subject>
              <for>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </for>
              <created value="2021-01-28T23:48:27.0686-05:00"/>
              <lastModified value="2021-01-28T23:48:27.0686-05:00"/>
              <creator>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/190000024"/>
              </creator>
              <owner>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </owner>
              <input>
                <name value="daysSinceLastDispense"/>
                <valueInteger value="1"/>
              </input>
              <input>
                <name value="lastDispense"/>
                <valueReference>
                  <reference
                             value="MedicationDispense/b57e5fe2-3b56-4e59-b0db-82add266613d"/>
                </valueReference>
              </input>
              <input>
                <name value="instruction"/>
                <valueString value="instruction 13.1.1.13.rx"/>
              </input>
            </Task>
          </resource>
        </entry>
      <!--  No.14  -->
        <entry>
          <fullUrl value="urn:uuid:ec352a1c-d510-4011-b205-b5f778fac28f"/>
          <resource>
            <MedicationOrder>
              <id value="ec352a1c-d510-4011-b205-b5f778fac28f"/>
              <text>
                <status value="empty"/>
                <div xmlns="http://www.w3.org/1999/xhtml">No narrative provided</div>
              </text>
              <contained>
                <Medication>
                  <id value="med"/>
                  <code>
                    <coding>
                      <system value="http://hl7.org/fhir/NamingSystem/ca-hc-din"/>
                      <code value="01924516"/>
                      <display value="DEXEDRINE 5 MG TABLET"/>
                    </coding>
                    <text value="DEXEDRINE 5 MG TABLET"/>
                  </code>
                </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-treatment-type">
                <valueCode value="CHRON"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString
                             value="1 (One) Tablet(s), Three times daily for 90 days. taking med late in day may cause trouble sleeping. Route: Oral"/>
              </extension>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-MedicationRequest.supportingInfo">
                <valueReference>
                  <reference value="List/871d7a2f-e5c8-41a9-b4a6-bf81bfcfac8a"/>
                </valueReference>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
                <valueReference>
                  <reference
                             value="DetectedIssue/951E16FE-94D2-4D8B-AF63-29456B395B14"/>
                </valueReference>
              </extension>
              <identifier>
                <type>
                  <coding>
                    <system value="http://hl7.org/fhir/identifier-type"/>
                    <code value="PLAC"/>
                  </coding>
                </type>
                <system value="urn:oid:1.2.0.9.9.4.0994.2"/>
                <value value="EMR-12855^7AF58F57-ED65-4713-91A4-7D78CA937F48"/>
              </identifier>
              <status value="active"/>
              <medicationReference>
                <reference value="#med"/>
              </medicationReference>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </patient>
              <dateWritten value="2018-02-20T11:09:16.0009-08:00"/>
              <prescriber>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </prescriber>
              <dosageInstruction>
                <extension
                           url="http://hl7.org/fhir/StructureDefinition/extension-Dosage.sequence">
                  <valueInteger value="1"/>
                </extension>
                <text
                      value="1 (One) Tablet(s), Three times daily for 90 days. taking med late in day may cause trouble sleeping"/>
                <additionalInstructions>
                  <text
                        value="taking med late in day may cause trouble sleeping"/>
                </additionalInstructions>
                <timing>
                  <repeat>
                    <boundsPeriod>
                      <start value="2018-02-19"/>
                      <end value="2019-02-14"/>
                    </boundsPeriod>
                    <duration value="90"/>
                    <durationUnit value="d"/>
                    <frequency value="3"/>
                    <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>
                <doseQuantity>
                  <value value="1"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </doseQuantity>
              </dosageInstruction>
              <dispenseRequest>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-quantity">
                  <valueQuantity>
                    <value value="1080"/>
                    <unit value="Tablet(s)"/>
                    <system
                            value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                    <code value="428673006"/>
                  </valueQuantity>
                </extension>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-days-supply">
                  <valueQuantity>
                    <value value="360"/>
                    <unit value="day"/>
                    <system value="http://unitsofmeasure.org"/>
                    <code value="d"/>
                  </valueQuantity>
                </extension>
                <validityPeriod>
                  <start value="2018-02-19"/>
                  <end value="2019-02-19"/>
                </validityPeriod>
                <numberOfRepeatsAllowed value="3"/>
                <quantity>
                  <value value="270"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </quantity>
                <expectedSupplyDuration>
                  <value value="90"/>
                  <system value="http://unitsofmeasure.org"/>
                  <code value="d"/>
                </expectedSupplyDuration>
              </dispenseRequest>
            </MedicationOrder>
          </resource>
        </entry>
      <!--  no.14 -->
        <entry>
          <fullUrl value="urn:uuid:d0d54431-3c8e-4510-802d-97788e119288"/>
          <resource>
            <MedicationDispense>
              <id value="d0d54431-3c8e-4510-802d-97788e119288"/>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/pharmacy-core-refillsRemaining">
                <valueInteger value="0"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString
                             value="Take 1 (One) Tablet(s), 3 times a day for 90 days. Note: Taking med late in the day causes trouble sleeping."/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-dispense-quantity-remaining">
                <valueQuantity>
                  <value value="270"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </valueQuantity>
              </extension>
              <identifier>
                <system value="urn:oid:1.2.0.9.9.8.0998.4"/>
                <value value="PMSDISPno14-d0d54431-3c8e-4510-802d-97788e119288"/>
              </identifier>
              <status value="completed"/>
              <medicationCodeableConcept>
                <coding>
                  <system value="http://hl7.org/fhir/NamingSystem/ca-hc-din"/>
                  <code value="01924516"/>
                  <display value="DEXEDRINE 5 MG TABLET"/>
                </coding>
                <text value="DEXEDRINE 5 MG TABLET"/>
              </medicationCodeableConcept>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </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/190000024"/>
                  </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.0.9.9.4.0994.2"/>
                    <value
                           value="EMR-12855^7AF58F57-ED65-4713-91A4-7D78CA937F48"/>
                  </valueIdentifier>
                </extension>
              </authorizingPrescription>
              <quantity>
                <value value="270"/>
                <unit value="Tablet(s)"/>
                <system
                        value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                <code value="428673006"/>
              </quantity>
              <daysSupply>
                <value value="90"/>
                <system value="http://unitsofmeasure.org"/>
                <code value="d"/>
              </daysSupply>
              <whenPrepared value="2021-01-28"/>
            </MedicationDispense>
          </resource>
        </entry>
      <!--  no.14 -->
        <entry>
          <fullUrl value="urn:uuid:19b364be-c1ae-4e6a-8dce-3222ceb7a15c"/>
          <resource>
            <Task>
              <id value="19b364be-c1ae-4e6a-8dce-3222ceb7a15c"/>
              <meta>
                <profile
                         value="http://prescribeit.ca/fhir/StructureDefinition/task-p160-m"/>
              </meta>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-Task.groupIdentifier">
                <valueIdentifier>
                  <system value="urn:oid:1.2.0.9.9.8.0998.3"/>
                  <value value="grp-ecce7422-72e9-4b69-aeda-ed90c9c483f6"/>
                </valueIdentifier>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-task-message">
                <valueReference>
                  <reference
                             value="Communication/6b766de0-f5dc-455d-a7c7-f4e8c6ce6ce1"/>
                </valueReference>
              </extension>
              <type>
                <coding>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/prescriptiontasktype"/>
                  <code value="p160-m"/>
                </coding>
              </type>
              <priority value="high"/>
              <status value="requested"/>
              <subject>
                <reference
                           value="MedicationOrder/ec352a1c-d510-4011-b205-b5f778fac28f"/>
              </subject>
              <for>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </for>
              <created value="2021-01-28T23:48:27.0701-05:00"/>
              <lastModified value="2021-01-28T23:48:27.0701-05:00"/>
              <creator>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/190000024"/>
              </creator>
              <owner>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </owner>
              <input>
                <name value="daysSinceLastDispense"/>
                <valueInteger value="1"/>
              </input>
              <input>
                <name value="lastDispense"/>
                <valueReference>
                  <reference
                             value="MedicationDispense/d0d54431-3c8e-4510-802d-97788e119288"/>
                </valueReference>
              </input>
              <input>
                <name value="instruction"/>
                <valueString value="instruction 13.1.1.14.rx"/>
              </input>
            </Task>
          </resource>
        </entry>
      <!--  No.15  -->
        <entry>
          <fullUrl value="urn:uuid:a431004b-dfb5-499b-a6c8-00fd31ac3551"/>
          <resource>
            <MedicationOrder>
              <id value="a431004b-dfb5-499b-a6c8-00fd31ac3551"/>
              <text>
                <status value="empty"/>
                <div xmlns="http://www.w3.org/1999/xhtml">No narrative provided</div>
              </text>
              <contained>
                <Medication>
                  <id value="med"/>
                  <extension
                             url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-strength-description">
                    <valueString value="100 MCG"/>
                  </extension>
                  <code>
                    <coding>
                      <extension
                                 url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-code-representative">
                        <valueBoolean value="true"/>
                      </extension>
                      <system value="http://hl7.org/fhir/NamingSystem/ca-hc-din"/>
                      <code value="02408007"/>
                      <display
                               value="FENTANYL CITRATE 100 mcg TABLET, SUBLINGUAL"/>
                    </coding>
                    <text value="FENTANYL CITRATE 100 mcg TABLET, SUBLINGUAL"/>
                  </code>
                </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-treatment-type">
                <valueCode value="CHRON"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString
                             value="1 (One) Tablet(s), Three times daily for 60 days. Route: Sublingual"/>
              </extension>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-MedicationRequest.supportingInfo">
                <valueReference>
                  <reference value="List/871d7a2f-e5c8-41a9-b4a6-bf81bfcfac8a"/>
                </valueReference>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
                <valueReference>
                  <reference
                             value="DetectedIssue/55425D8D-C561-4665-BA30-B895B4B0BFA6"/>
                </valueReference>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
                <valueReference>
                  <reference
                             value="DetectedIssue/981E7138-4C87-4035-92F3-94AA23062D45"/>
                </valueReference>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
                <valueReference>
                  <reference
                             value="DetectedIssue/9C42F333-E9ED-46E8-93AB-69BB13DFB2C4"/>
                </valueReference>
              </extension>
              <identifier>
                <type>
                  <coding>
                    <system value="http://hl7.org/fhir/identifier-type"/>
                    <code value="PLAC"/>
                  </coding>
                </type>
                <system value="urn:oid:1.2.0.9.9.4.0994.2"/>
                <value value="EMR-12972^CCAA1445-BBF8-44D9-8281-64A5206B3311"/>
              </identifier>
              <status value="active"/>
              <medicationReference>
                <reference value="#med"/>
              </medicationReference>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </patient>
              <dateWritten value="2018-02-20T11:09:16.0009-08:00"/>
              <prescriber>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </prescriber>
              <dosageInstruction>
                <extension
                           url="http://hl7.org/fhir/StructureDefinition/extension-Dosage.sequence">
                  <valueInteger value="1"/>
                </extension>
                <text value="1 (One) Tablet(s), Three times daily for 60 days"/>
                <timing>
                  <repeat>
                    <boundsPeriod>
                      <start value="2018-02-20"/>
                      <end value="2018-04-21"/>
                    </boundsPeriod>
                    <duration value="2"/>
                    <durationUnit value="mo"/>
                    <frequency value="3"/>
                    <period value="1"/>
                    <periodUnit value="d"/>
                  </repeat>
                </timing>
                <route>
                  <coding>
                    <system value="http://hl7.org/fhir/v3/RouteOfAdministration"/>
                    <code value="SL"/>
                  </coding>
                  <text value="Sublingual"/>
                </route>
                <doseQuantity>
                  <value value="1"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </doseQuantity>
              </dosageInstruction>
              <dispenseRequest>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-quantity">
                  <valueQuantity>
                    <value value="180"/>
                    <unit value="Tablet(s)"/>
                    <system
                            value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                    <code value="428673006"/>
                  </valueQuantity>
                </extension>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-days-supply">
                  <valueQuantity>
                    <value value="60"/>
                    <unit value="day"/>
                    <system value="http://unitsofmeasure.org"/>
                    <code value="d"/>
                  </valueQuantity>
                </extension>
                <validityPeriod>
                  <start value="2018-02-20"/>
                  <end value="2019-02-20"/>
                </validityPeriod>
                <quantity>
                  <value value="180"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </quantity>
                <expectedSupplyDuration>
                  <value value="60"/>
                  <system value="http://unitsofmeasure.org"/>
                  <code value="d"/>
                </expectedSupplyDuration>
              </dispenseRequest>
            </MedicationOrder>
          </resource>
        </entry>
      <!--  no.15 -->
        <entry>
          <fullUrl value="urn:uuid:f4a40a4f-7d0e-44e8-855a-9b945210d0c6"/>
          <resource>
            <MedicationDispense>
              <id value="f4a40a4f-7d0e-44e8-855a-9b945210d0c6"/>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/pharmacy-core-refillsRemaining">
                <valueInteger value="0"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString
                             value="1 (One) Tablet(s), 3 times daily for 60 days. Route: Sublingual"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-dispense-quantity-remaining">
                <valueQuantity>
                  <value value="0"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </valueQuantity>
              </extension>
              <identifier>
                <system value="urn:oid:1.2.0.9.9.8.0998.4"/>
                <value value="PMSDISPno15-f4a40a4f-7d0e-44e8-855a-9b945210d0c6"/>
              </identifier>
              <status value="completed"/>
              <medicationCodeableConcept>
                <coding>
                  <system value="http://hl7.org/fhir/NamingSystem/ca-hc-din"/>
                  <code value="02408007"/>
                  <display
                           value="FENTORA, FENTANYL (FENTANYL CITRATE), 100 MCG, TABLET (EFFERVESCENT), BUCCAL"/>
                </coding>
                <text
                      value="FENTORA, FENTANYL (FENTANYL CITRATE), 100 MCG, TABLET (EFFERVESCENT), BUCCAL"/>
              </medicationCodeableConcept>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </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/190000024"/>
                  </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.0.9.9.4.0994.2"/>
                    <value
                           value="EMR-12972^CCAA1445-BBF8-44D9-8281-64A5206B3311"/>
                  </valueIdentifier>
                </extension>
              </authorizingPrescription>
              <quantity>
                <value value="90"/>
                <unit value="Tablet(s)"/>
                <system
                        value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                <code value="428673006"/>
              </quantity>
              <daysSupply>
                <value value="30"/>
                <system value="http://unitsofmeasure.org"/>
                <code value="d"/>
              </daysSupply>
              <whenPrepared value="2021-01-28"/>
            </MedicationDispense>
          </resource>
        </entry>
      <!--  no.15 -->
        <entry>
          <fullUrl value="urn:uuid:391a9d45-9059-47f2-bc28-5cbc4f0d6acc"/>
          <resource>
            <Task>
              <id value="391a9d45-9059-47f2-bc28-5cbc4f0d6acc"/>
              <meta>
                <profile
                         value="http://prescribeit.ca/fhir/StructureDefinition/task-p160-m"/>
              </meta>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-Task.groupIdentifier">
                <valueIdentifier>
                  <system value="urn:oid:1.2.0.9.9.8.0998.3"/>
                  <value value="grp-ecce7422-72e9-4b69-aeda-ed90c9c483f6"/>
                </valueIdentifier>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-task-message">
                <valueReference>
                  <reference
                             value="Communication/6b766de0-f5dc-455d-a7c7-f4e8c6ce6ce1"/>
                </valueReference>
              </extension>
              <type>
                <coding>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/prescriptiontasktype"/>
                  <code value="p160-m"/>
                </coding>
              </type>
              <priority value="high"/>
              <status value="requested"/>
              <subject>
                <reference
                           value="MedicationOrder/a431004b-dfb5-499b-a6c8-00fd31ac3551"/>
              </subject>
              <for>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </for>
              <created value="2021-01-28T23:48:27.0712-05:00"/>
              <lastModified value="2021-01-28T23:48:27.0713-05:00"/>
              <creator>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/190000024"/>
              </creator>
              <owner>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </owner>
              <input>
                <name value="daysSinceLastDispense"/>
                <valueInteger value="1"/>
              </input>
              <input>
                <name value="lastDispense"/>
                <valueReference>
                  <reference
                             value="MedicationDispense/f4a40a4f-7d0e-44e8-855a-9b945210d0c6"/>
                </valueReference>
              </input>
              <input>
                <name value="instruction"/>
                <valueString value="instruction 13.1.1.15.rx"/>
              </input>
            </Task>
          </resource>
        </entry>
      <!--  No.16  -->
        <entry>
          <fullUrl value="urn:uuid:86c07d24-6587-4075-9bad-09c5bf22c14f"/>
          <resource>
            <MedicationOrder>
              <id value="86c07d24-6587-4075-9bad-09c5bf22c14f"/>
              <text>
                <status value="empty"/>
                <div xmlns="http://www.w3.org/1999/xhtml">No narrative provided</div>
              </text>
              <contained>
                <Medication>
                  <id value="med"/>
                  <code>
                    <coding>
                      <system value="http://hl7.org/fhir/NamingSystem/ca-hc-din"/>
                      <code value="00868426"/>
                      <display value="JAA PREDNISONE 1 MG TABLET"/>
                    </coding>
                    <text value="JAA PREDNISONE 1 MG TABLET"/>
                  </code>
                </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-treatment-type">
                <valueCode value="CHRON"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString
                             value="1 (One) Tablet(s), Once daily for 30 days. Route: Oral"/>
              </extension>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-MedicationRequest.supportingInfo">
                <valueReference>
                  <reference value="List/871d7a2f-e5c8-41a9-b4a6-bf81bfcfac8a"/>
                </valueReference>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
                <valueReference>
                  <reference
                             value="DetectedIssue/090CC00C-2E30-455E-9A8C-1714825F6183"/>
                </valueReference>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
                <valueReference>
                  <reference
                             value="DetectedIssue/15D243C5-0DC2-4928-AB74-4D5C400271CC"/>
                </valueReference>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
                <valueReference>
                  <reference
                             value="DetectedIssue/F3924861-ADAB-4FDE-A15B-DF070C7FD8CF"/>
                </valueReference>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
                <valueReference>
                  <reference
                             value="DetectedIssue/D212EE66-9E3B-4F3F-8D3E-10E80C9499C4"/>
                </valueReference>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
                <valueReference>
                  <reference
                             value="DetectedIssue/95DCFE54-375F-4693-A7FF-FE16C775F565"/>
                </valueReference>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
                <valueReference>
                  <reference
                             value="DetectedIssue/DE14C598-9853-4D10-896C-C0B161D24C67"/>
                </valueReference>
              </extension>
              <identifier>
                <type>
                  <coding>
                    <system value="http://hl7.org/fhir/identifier-type"/>
                    <code value="PLAC"/>
                  </coding>
                </type>
                <system value="urn:oid:1.2.0.9.9.4.0994.2"/>
                <value value="EMR-12979^83425691-5842-4DDF-8EC9-1EC2C4F71C36"/>
              </identifier>
              <status value="active"/>
              <medicationReference>
                <reference value="#med"/>
              </medicationReference>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </patient>
              <dateWritten value="2018-02-20T11:09:16.0009-08:00"/>
              <prescriber>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </prescriber>
              <dosageInstruction>
                <extension
                           url="http://hl7.org/fhir/StructureDefinition/extension-Dosage.sequence">
                  <valueInteger value="1"/>
                </extension>
                <text value="1 (One) Tablet(s), Once daily for 30 days"/>
                <timing>
                  <repeat>
                    <boundsPeriod>
                      <start value="2018-02-20"/>
                      <end value="2018-03-22"/>
                    </boundsPeriod>
                    <duration value="1"/>
                    <durationUnit value="mo"/>
                    <frequency value="1"/>
                    <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>
                <doseQuantity>
                  <value value="1"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </doseQuantity>
              </dosageInstruction>
              <dispenseRequest>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-quantity">
                  <valueQuantity>
                    <value value="30"/>
                    <unit value="Tablet(s)"/>
                    <system
                            value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                    <code value="428673006"/>
                  </valueQuantity>
                </extension>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-days-supply">
                  <valueQuantity>
                    <value value="30"/>
                    <unit value="day"/>
                    <system value="http://unitsofmeasure.org"/>
                    <code value="d"/>
                  </valueQuantity>
                </extension>
                <validityPeriod>
                  <start value="2018-02-20"/>
                  <end value="2019-02-20"/>
                </validityPeriod>
                <quantity>
                  <value value="30"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </quantity>
                <expectedSupplyDuration>
                  <value value="30"/>
                  <system value="http://unitsofmeasure.org"/>
                  <code value="d"/>
                </expectedSupplyDuration>
              </dispenseRequest>
            </MedicationOrder>
          </resource>
        </entry>
      <!--  no.16 -->
        <entry>
          <fullUrl value="urn:uuid:84bf45df-912a-4ddb-af41-a8fbec867a27"/>
          <resource>
            <MedicationDispense>
              <id value="84bf45df-912a-4ddb-af41-a8fbec867a27"/>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/pharmacy-core-refillsRemaining">
                <valueInteger value="0"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString
                             value="Take 1 (One) Tablet(s), 1 time daily for 30 days."/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-dispense-quantity-remaining">
                <valueQuantity>
                  <value value="0"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </valueQuantity>
              </extension>
              <identifier>
                <system value="urn:oid:1.2.0.9.9.8.0998.4"/>
                <value value="PMSDISPno16-84bf45df-912a-4ddb-af41-a8fbec867a27"/>
              </identifier>
              <status value="completed"/>
              <medicationCodeableConcept>
                <coding>
                  <system value="http://hl7.org/fhir/NamingSystem/ca-hc-din"/>
                  <code value="00868426"/>
                  <display value="JAA PREDNISONE 1 MG TABLET"/>
                </coding>
                <text value="JAA PREDNISONE 1 MG TABLET"/>
              </medicationCodeableConcept>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </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/190000024"/>
                  </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.0.9.9.4.0994.2"/>
                    <value
                           value="EMR-12979^83425691-5842-4DDF-8EC9-1EC2C4F71C36"/>
                  </valueIdentifier>
                </extension>
              </authorizingPrescription>
              <quantity>
                <value value="30"/>
                <unit value="Tablet(s)"/>
                <system
                        value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                <code value="428673006"/>
              </quantity>
              <daysSupply>
                <value value="30"/>
                <system value="http://unitsofmeasure.org"/>
                <code value="d"/>
              </daysSupply>
              <whenPrepared value="2021-01-28"/>
            </MedicationDispense>
          </resource>
        </entry>
      <!--  no.16 -->
        <entry>
          <fullUrl value="urn:uuid:820f256f-ed04-4822-b750-af2d28896a87"/>
          <resource>
            <Task>
              <id value="820f256f-ed04-4822-b750-af2d28896a87"/>
              <meta>
                <profile
                         value="http://prescribeit.ca/fhir/StructureDefinition/task-p160-m"/>
              </meta>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-Task.groupIdentifier">
                <valueIdentifier>
                  <system value="urn:oid:1.2.0.9.9.8.0998.3"/>
                  <value value="grp-ecce7422-72e9-4b69-aeda-ed90c9c483f6"/>
                </valueIdentifier>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-task-message">
                <valueReference>
                  <reference
                             value="Communication/6b766de0-f5dc-455d-a7c7-f4e8c6ce6ce1"/>
                </valueReference>
              </extension>
              <type>
                <coding>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/prescriptiontasktype"/>
                  <code value="p160-m"/>
                </coding>
              </type>
              <priority value="high"/>
              <status value="requested"/>
              <subject>
                <reference
                           value="MedicationOrder/86c07d24-6587-4075-9bad-09c5bf22c14f"/>
              </subject>
              <for>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </for>
              <created value="2021-01-28T23:48:27.0727-05:00"/>
              <lastModified value="2021-01-28T23:48:27.0727-05:00"/>
              <creator>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/190000024"/>
              </creator>
              <owner>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </owner>
              <input>
                <name value="daysSinceLastDispense"/>
                <valueInteger value="1"/>
              </input>
              <input>
                <name value="lastDispense"/>
                <valueReference>
                  <reference
                             value="MedicationDispense/84bf45df-912a-4ddb-af41-a8fbec867a27"/>
                </valueReference>
              </input>
              <input>
                <name value="instruction"/>
                <valueString value="instruction 13.1.1.16.rx"/>
              </input>
            </Task>
          </resource>
        </entry>
      <!--  No.17  -->
        <entry>
          <fullUrl value="urn:uuid:0e5fdfde-386f-4e41-bd52-70d72a37bc7f"/>
          <resource>
            <MedicationOrder>
              <id value="0e5fdfde-386f-4e41-bd52-70d72a37bc7f"/>
              <text>
                <status value="empty"/>
                <div xmlns="http://www.w3.org/1999/xhtml">No narrative provided</div>
              </text>
              <contained>
                <Medication>
                  <id value="med"/>
                  <code>
                    <coding>
                      <system value="http://hl7.org/fhir/NamingSystem/ca-hc-din"/>
                      <code value="00846503"/>
                      <display value="LOSEC DR 20 MG CAPSULE"/>
                    </coding>
                    <text value="LOSEC DR 20 MG CAPSULE"/>
                  </code>
                </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-treatment-type">
                <valueCode value="CHRON"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString
                             value="1 (One) Capsule(s), Once daily for 7 days. Route: Oral"/>
              </extension>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-MedicationRequest.supportingInfo">
                <valueReference>
                  <reference value="List/871d7a2f-e5c8-41a9-b4a6-bf81bfcfac8a"/>
                </valueReference>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
                <valueReference>
                  <reference
                             value="DetectedIssue/97AA8615-168E-4CEE-9AA2-29708B437D17"/>
                </valueReference>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
                <valueReference>
                  <reference
                             value="DetectedIssue/50650443-EB50-4204-AC53-1312D90CD167"/>
                </valueReference>
              </extension>
              <identifier>
                <type>
                  <coding>
                    <system value="http://hl7.org/fhir/identifier-type"/>
                    <code value="PLAC"/>
                  </coding>
                </type>
                <system value="urn:oid:1.2.0.9.9.4.0994.2"/>
                <value value="EMR-12973^16CB7112-827A-4119-96BF-1C9EC0490A02"/>
              </identifier>
              <status value="active"/>
              <medicationReference>
                <reference value="#med"/>
              </medicationReference>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </patient>
              <dateWritten value="2018-02-20T11:09:16.0009-08:00"/>
              <prescriber>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </prescriber>
              <dosageInstruction>
                <extension
                           url="http://hl7.org/fhir/StructureDefinition/extension-Dosage.sequence">
                  <valueInteger value="1"/>
                </extension>
                <text value="1 (One) Capsule(s), Once daily for 7 days"/>
                <timing>
                  <repeat>
                    <boundsPeriod>
                      <start value="2018-02-20"/>
                      <end value="2018-02-27"/>
                    </boundsPeriod>
                    <duration value="1"/>
                    <durationUnit value="wk"/>
                    <frequency value="1"/>
                    <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>
                <doseQuantity>
                  <value value="1"/>
                  <unit value="Capsule(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428641000"/>
                </doseQuantity>
              </dosageInstruction>
              <dispenseRequest>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-quantity">
                  <valueQuantity>
                    <value value="7"/>
                    <unit value="Capsule(s)"/>
                    <system
                            value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                    <code value="428641000"/>
                  </valueQuantity>
                </extension>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-days-supply">
                  <valueQuantity>
                    <value value="7"/>
                    <unit value="day"/>
                    <system value="http://unitsofmeasure.org"/>
                    <code value="d"/>
                  </valueQuantity>
                </extension>
                <validityPeriod>
                  <start value="2018-02-20"/>
                  <end value="2019-02-20"/>
                </validityPeriod>
                <quantity>
                  <value value="7"/>
                  <unit value="Capsule(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428641000"/>
                </quantity>
                <expectedSupplyDuration>
                  <value value="7"/>
                  <system value="http://unitsofmeasure.org"/>
                  <code value="d"/>
                </expectedSupplyDuration>
              </dispenseRequest>
            </MedicationOrder>
          </resource>
        </entry>
      <!--  no.17 -->
        <entry>
          <fullUrl value="urn:uuid:305d5ade-a27d-4dd1-b8c2-de16bb2d071e"/>
          <resource>
            <MedicationDispense>
              <id value="305d5ade-a27d-4dd1-b8c2-de16bb2d071e"/>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/pharmacy-core-refillsRemaining">
                <valueInteger value="0"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString
                             value="Take 1 (One) Tablet(s), 3 times daily for 30 days."/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-dispense-quantity-remaining">
                <valueQuantity>
                  <value value="0"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </valueQuantity>
              </extension>
              <identifier>
                <system value="urn:oid:1.2.0.9.9.8.0998.4"/>
                <value value="PMSDISPno17-305d5ade-a27d-4dd1-b8c2-de16bb2d071e"/>
              </identifier>
              <status value="completed"/>
              <medicationCodeableConcept>
                <coding>
                  <system value="http://hl7.org/fhir/NamingSystem/ca-hc-din"/>
                  <code value="00846503"/>
                  <display value="LOSEC DR 20 MG CAPSULE"/>
                </coding>
                <text value="LOSEC DR 20 MG CAPSULE"/>
              </medicationCodeableConcept>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </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/190000024"/>
                  </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.0.9.9.4.0994.2"/>
                    <value
                           value="EMR-12973^16CB7112-827A-4119-96BF-1C9EC0490A02"/>
                  </valueIdentifier>
                </extension>
              </authorizingPrescription>
              <quantity>
                <value value="90"/>
                <unit value="Tablet(s)"/>
                <system
                        value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                <code value="428673006"/>
              </quantity>
              <daysSupply>
                <value value="30"/>
                <system value="http://unitsofmeasure.org"/>
                <code value="d"/>
              </daysSupply>
              <whenPrepared value="2021-01-28"/>
            </MedicationDispense>
          </resource>
        </entry>
      <!--  no.17 -->
        <entry>
          <fullUrl value="urn:uuid:3f235d6e-d52a-4f85-bd38-e62a75db6cb3"/>
          <resource>
            <Task>
              <id value="3f235d6e-d52a-4f85-bd38-e62a75db6cb3"/>
              <meta>
                <profile
                         value="http://prescribeit.ca/fhir/StructureDefinition/task-p160-m"/>
              </meta>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-Task.groupIdentifier">
                <valueIdentifier>
                  <system value="urn:oid:1.2.0.9.9.8.0998.3"/>
                  <value value="grp-ecce7422-72e9-4b69-aeda-ed90c9c483f6"/>
                </valueIdentifier>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-task-message">
                <valueReference>
                  <reference
                             value="Communication/6b766de0-f5dc-455d-a7c7-f4e8c6ce6ce1"/>
                </valueReference>
              </extension>
              <type>
                <coding>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/prescriptiontasktype"/>
                  <code value="p160-m"/>
                </coding>
              </type>
              <priority value="high"/>
              <status value="requested"/>
              <subject>
                <reference
                           value="MedicationOrder/0e5fdfde-386f-4e41-bd52-70d72a37bc7f"/>
              </subject>
              <for>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </for>
              <created value="2021-01-28T23:48:27.0743-05:00"/>
              <lastModified value="2021-01-28T23:48:27.0743-05:00"/>
              <creator>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/190000024"/>
              </creator>
              <owner>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </owner>
              <input>
                <name value="daysSinceLastDispense"/>
                <valueInteger value="1"/>
              </input>
              <input>
                <name value="lastDispense"/>
                <valueReference>
                  <reference
                             value="MedicationDispense/305d5ade-a27d-4dd1-b8c2-de16bb2d071e"/>
                </valueReference>
              </input>
              <input>
                <name value="instruction"/>
                <valueString value="instruction 13.1.1.17.rx"/>
              </input>
            </Task>
          </resource>
        </entry>
      <!--  No.18  -->
        <entry>
          <fullUrl value="urn:uuid:84d01718-0ddc-47eb-8cfd-a5e979c7c2de"/>
          <resource>
            <MedicationOrder>
              <id value="84d01718-0ddc-47eb-8cfd-a5e979c7c2de"/>
              <text>
                <status value="empty"/>
                <div xmlns="http://www.w3.org/1999/xhtml">No narrative provided</div>
              </text>
              <contained>
                <Medication>
                  <id value="med"/>
                  <extension
                             url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-strength-description">
                    <valueString value="1500 MG"/>
                  </extension>
                  <code>
                    <text value="MILK THISTLE 1,500 mg CAPSULE (1500 MG)"/>
                  </code>
                </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-treatment-type">
                <valueCode value="CHRON"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString
                             value="1 (One) Capsule(s), Two times daily for 90 days. bid with meal preferably. Route: Oral"/>
              </extension>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-MedicationRequest.supportingInfo">
                <valueReference>
                  <reference value="List/871d7a2f-e5c8-41a9-b4a6-bf81bfcfac8a"/>
                </valueReference>
              </extension>
              <identifier>
                <type>
                  <coding>
                    <system value="http://hl7.org/fhir/identifier-type"/>
                    <code value="PLAC"/>
                  </coding>
                </type>
                <system value="urn:oid:1.2.0.9.9.4.0994.2"/>
                <value value="EMR-12957^73C72FF3-70B3-4C46-82E2-3BBD510B8B35"/>
              </identifier>
              <status value="active"/>
              <medicationReference>
                <reference value="#med"/>
              </medicationReference>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </patient>
              <dateWritten value="2018-02-20T11:09:16.0009-08:00"/>
              <prescriber>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </prescriber>
              <dosageInstruction>
                <extension
                           url="http://hl7.org/fhir/StructureDefinition/extension-Dosage.sequence">
                  <valueInteger value="1"/>
                </extension>
                <text
                      value="1 (One) Capsule(s), Two times daily for 90 days. bid with meal preferably"/>
                <additionalInstructions>
                  <text value="bid with meal preferably"/>
                </additionalInstructions>
                <timing>
                  <repeat>
                    <boundsPeriod>
                      <start value="2018-02-20"/>
                      <end value="2019-02-15"/>
                    </boundsPeriod>
                    <duration value="90"/>
                    <durationUnit value="d"/>
                    <frequency value="2"/>
                    <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>
                <doseQuantity>
                  <value value="1"/>
                  <unit value="Capsule(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428641000"/>
                </doseQuantity>
              </dosageInstruction>
              <dispenseRequest>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-quantity">
                  <valueQuantity>
                    <value value="720"/>
                    <unit value="Capsule(s)"/>
                    <system
                            value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                    <code value="428641000"/>
                  </valueQuantity>
                </extension>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-days-supply">
                  <valueQuantity>
                    <value value="360"/>
                    <unit value="day"/>
                    <system value="http://unitsofmeasure.org"/>
                    <code value="d"/>
                  </valueQuantity>
                </extension>
                <validityPeriod>
                  <start value="2018-02-20"/>
                  <end value="2019-02-20"/>
                </validityPeriod>
                <numberOfRepeatsAllowed value="3"/>
                <quantity>
                  <value value="180"/>
                  <unit value="Capsule(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428641000"/>
                </quantity>
                <expectedSupplyDuration>
                  <value value="90"/>
                  <system value="http://unitsofmeasure.org"/>
                  <code value="d"/>
                </expectedSupplyDuration>
              </dispenseRequest>
            </MedicationOrder>
          </resource>
        </entry>
      <!--  no.18 -->
        <entry>
          <fullUrl value="urn:uuid:1ebef60d-fb21-4501-9bc8-331bd46d8c88"/>
          <resource>
            <MedicationDispense>
              <id value="1ebef60d-fb21-4501-9bc8-331bd46d8c88"/>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/pharmacy-core-refillsRemaining">
                <valueInteger value="0"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString value="Take 1 capsule 2 times daily for 90 days."/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-dispense-quantity-remaining">
                <valueQuantity>
                  <value value="0"/>
                  <unit value="Capsule(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428641000"/>
                </valueQuantity>
              </extension>
              <identifier>
                <system value="urn:oid:1.2.0.9.9.8.0998.4"/>
                <value value="PMSDISPno18-1ebef60d-fb21-4501-9bc8-331bd46d8c88"/>
              </identifier>
              <status value="completed"/>
              <medicationCodeableConcept>
                <text value="MILK THISTLE 1,500 mg CAPSULE (1500 MG)"/>
              </medicationCodeableConcept>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </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/190000024"/>
                  </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.0.9.9.4.0994.2"/>
                    <value
                           value="EMR-12957^73C72FF3-70B3-4C46-82E2-3BBD510B8B35"/>
                  </valueIdentifier>
                </extension>
              </authorizingPrescription>
              <quantity>
                <value value="180"/>
                <unit value="Capsule(s)"/>
                <system
                        value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                <code value="428641000"/>
              </quantity>
              <daysSupply>
                <value value="90"/>
                <system value="http://unitsofmeasure.org"/>
                <code value="d"/>
              </daysSupply>
              <whenPrepared value="2021-01-28"/>
            </MedicationDispense>
          </resource>
        </entry>
      <!--  no.18 -->
        <entry>
          <fullUrl value="urn:uuid:4f25fce9-2d08-431a-b17c-9949dc4fa2f9"/>
          <resource>
            <Task>
              <id value="4f25fce9-2d08-431a-b17c-9949dc4fa2f9"/>
              <meta>
                <profile
                         value="http://prescribeit.ca/fhir/StructureDefinition/task-p160-m"/>
              </meta>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-Task.groupIdentifier">
                <valueIdentifier>
                  <system value="urn:oid:1.2.0.9.9.8.0998.3"/>
                  <value value="grp-ecce7422-72e9-4b69-aeda-ed90c9c483f6"/>
                </valueIdentifier>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-task-message">
                <valueReference>
                  <reference
                             value="Communication/6b766de0-f5dc-455d-a7c7-f4e8c6ce6ce1"/>
                </valueReference>
              </extension>
              <type>
                <coding>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/prescriptiontasktype"/>
                  <code value="p160-m"/>
                </coding>
              </type>
              <priority value="high"/>
              <status value="requested"/>
              <subject>
                <reference
                           value="MedicationOrder/84d01718-0ddc-47eb-8cfd-a5e979c7c2de"/>
              </subject>
              <for>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </for>
              <created value="2021-01-28T23:48:27.0755-05:00"/>
              <lastModified value="2021-01-28T23:48:27.0755-05:00"/>
              <creator>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/190000024"/>
              </creator>
              <owner>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </owner>
              <input>
                <name value="daysSinceLastDispense"/>
                <valueInteger value="1"/>
              </input>
              <input>
                <name value="lastDispense"/>
                <valueReference>
                  <reference
                             value="MedicationDispense/1ebef60d-fb21-4501-9bc8-331bd46d8c88"/>
                </valueReference>
              </input>
              <input>
                <name value="instruction"/>
                <valueString value="instruction 13.1.1.18.rx"/>
              </input>
            </Task>
          </resource>
        </entry>
      <!--  No.19  -->
        <entry>
          <fullUrl value="urn:uuid:44a67b36-034e-4a16-99fc-35d5d54c058d"/>
          <resource>
            <MedicationOrder>
              <id value="44a67b36-034e-4a16-99fc-35d5d54c058d"/>
              <text>
                <status value="empty"/>
                <div xmlns="http://www.w3.org/1999/xhtml">No narrative provided</div>
              </text>
              <contained>
                <Medication>
                  <id value="med"/>
                  <code>
                    <text value="Nicoderm 21"/>
                  </code>
                </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-treatment-type">
                <valueCode value="CHRON"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString
                             value="1 (One) Patch(es), Once daily for 28 days via Both arms. Put the patch on in the morning, on a clean, dry, and relatively hairless part of the body between the neck and the waist. Switch around the location of the patch each day to reduce the chance of skin irritation.. Route: Transdermal"/>
              </extension>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-MedicationRequest.supportingInfo">
                <valueReference>
                  <reference value="List/871d7a2f-e5c8-41a9-b4a6-bf81bfcfac8a"/>
                </valueReference>
              </extension>
              <identifier>
                <type>
                  <coding>
                    <system value="http://hl7.org/fhir/identifier-type"/>
                    <code value="PLAC"/>
                  </coding>
                </type>
                <system value="urn:oid:1.2.0.9.9.4.0994.2"/>
                <value value="EMR-12982^98EE54E7-B155-4C08-B86A-2C5E4A10F342"/>
              </identifier>
              <status value="active"/>
              <medicationReference>
                <reference value="#med"/>
              </medicationReference>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </patient>
              <dateWritten value="2018-02-20T11:09:16.0009-08:00"/>
              <prescriber>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </prescriber>
              <reasonCode>
                <text value="Is a Smoker"/>
              </reasonCode>
              <dosageInstruction>
                <extension
                           url="http://hl7.org/fhir/StructureDefinition/extension-Dosage.sequence">
                  <valueInteger value="1"/>
                </extension>
                <text
                      value="1 (One) Patch(es), Once daily for 28 days via Both arms. Put the patch on in the morning, on a clean, dry, and relatively hairless part of the body between the neck and the waist. Switch around the location of the patch each day to reduce the chance of skin irritation."/>
                <additionalInstructions>
                  <text
                        value="Put the patch on in the morning, on a clean, dry, and relatively hairless part of the body between the neck and the waist. Switch around the location of the patch each day to reduce the chance of skin irritation."/>
                </additionalInstructions>
                <timing>
                  <repeat>
                    <boundsPeriod>
                      <start value="2018-02-20"/>
                      <end value="2018-03-20"/>
                    </boundsPeriod>
                    <duration value="28"/>
                    <durationUnit value="d"/>
                    <frequency value="1"/>
                    <period value="1"/>
                    <periodUnit value="d"/>
                  </repeat>
                </timing>
                <siteCodeableConcept>
                  <coding>
                    <system
                            value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                    <code value="69273007"/>
                    <display value="Both arms"/>
                  </coding>
                  <text value="Both arms"/>
                </siteCodeableConcept>
                <route>
                  <coding>
                    <system value="http://hl7.org/fhir/v3/RouteOfAdministration"/>
                    <code value="TRNSDERM"/>
                  </coding>
                  <text value="Transdermal"/>
                </route>
                <doseQuantity>
                  <value value="1"/>
                  <unit value="Patch(es)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="419702001"/>
                </doseQuantity>
              </dosageInstruction>
              <dispenseRequest>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-quantity">
                  <valueQuantity>
                    <value value="28"/>
                    <unit value="Patch(es)"/>
                    <system
                            value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                    <code value="419702001"/>
                  </valueQuantity>
                </extension>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-days-supply">
                  <valueQuantity>
                    <value value="28"/>
                    <unit value="day"/>
                    <system value="http://unitsofmeasure.org"/>
                    <code value="d"/>
                  </valueQuantity>
                </extension>
                <validityPeriod>
                  <start value="2018-02-20"/>
                  <end value="2019-02-20"/>
                </validityPeriod>
                <quantity>
                  <value value="28"/>
                  <unit value="Patch(es)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="419702001"/>
                </quantity>
                <expectedSupplyDuration>
                  <value value="28"/>
                  <system value="http://unitsofmeasure.org"/>
                  <code value="d"/>
                </expectedSupplyDuration>
              </dispenseRequest>
            </MedicationOrder>
          </resource>
        </entry>
      <!--  no.19 -->
        <entry>
          <fullUrl value="urn:uuid:588ee6ae-0e05-44d9-801a-b31bbea48e18"/>
          <resource>
            <MedicationDispense>
              <id value="588ee6ae-0e05-44d9-801a-b31bbea48e18"/>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/pharmacy-core-refillsRemaining">
                <valueInteger value="0"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString
                             value="apply to either arm 1 patch every day for 28 days"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-dispense-quantity-remaining">
                <valueQuantity>
                  <value value="0"/>
                  <unit value="Patch(es)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="419702001"/>
                </valueQuantity>
              </extension>
              <identifier>
                <system value="urn:oid:1.2.0.9.9.8.0998.4"/>
                <value value="PMSDISPno19-588ee6ae-0e05-44d9-801a-b31bbea48e18"/>
              </identifier>
              <status value="completed"/>
              <medicationCodeableConcept>
                <coding>
                  <system value="http://hl7.org/fhir/NamingSystem/ca-hc-din"/>
                  <code value="02247348"/>
                  <display value="Nicoderm patch. 7 mg. 7"/>
                </coding>
                <text value="Nicoderm patch. 7 mg. 7"/>
              </medicationCodeableConcept>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </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/190000024"/>
                  </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.0.9.9.4.0994.2"/>
                    <value
                           value="EMR-12982^98EE54E7-B155-4C08-B86A-2C5E4A10F342"/>
                  </valueIdentifier>
                </extension>
              </authorizingPrescription>
              <quantity>
                <value value="28"/>
                <unit value="Patch(es)"/>
                <system
                        value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                <code value="419702001"/>
              </quantity>
              <daysSupply>
                <value value="28"/>
                <system value="http://unitsofmeasure.org"/>
                <code value="d"/>
              </daysSupply>
              <whenPrepared value="2021-01-28"/>
            </MedicationDispense>
          </resource>
        </entry>
      <!--  no.19 -->
        <entry>
          <fullUrl value="urn:uuid:4d8bdff8-dc47-498a-bf18-76b331acd7df"/>
          <resource>
            <Task>
              <id value="4d8bdff8-dc47-498a-bf18-76b331acd7df"/>
              <meta>
                <profile
                         value="http://prescribeit.ca/fhir/StructureDefinition/task-p160-m"/>
              </meta>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-Task.groupIdentifier">
                <valueIdentifier>
                  <system value="urn:oid:1.2.0.9.9.8.0998.3"/>
                  <value value="grp-ecce7422-72e9-4b69-aeda-ed90c9c483f6"/>
                </valueIdentifier>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-task-message">
                <valueReference>
                  <reference
                             value="Communication/6b766de0-f5dc-455d-a7c7-f4e8c6ce6ce1"/>
                </valueReference>
              </extension>
              <type>
                <coding>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/prescriptiontasktype"/>
                  <code value="p160-m"/>
                </coding>
              </type>
              <priority value="high"/>
              <status value="requested"/>
              <subject>
                <reference
                           value="MedicationOrder/44a67b36-034e-4a16-99fc-35d5d54c058d"/>
              </subject>
              <for>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </for>
              <created value="2021-01-28T23:48:27.0766-05:00"/>
              <lastModified value="2021-01-28T23:48:27.0767-05:00"/>
              <creator>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/190000024"/>
              </creator>
              <owner>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </owner>
              <input>
                <name value="daysSinceLastDispense"/>
                <valueInteger value="1"/>
              </input>
              <input>
                <name value="lastDispense"/>
                <valueReference>
                  <reference
                             value="MedicationDispense/588ee6ae-0e05-44d9-801a-b31bbea48e18"/>
                </valueReference>
              </input>
              <input>
                <name value="instruction"/>
                <valueString value="instruction 13.1.1.19.rx"/>
              </input>
            </Task>
          </resource>
        </entry>
      <!--  No.20  -->
        <entry>
          <fullUrl value="urn:uuid:1ed81bc1-58b7-481e-b2b3-50140e686f8b"/>
          <resource>
            <MedicationOrder>
              <id value="1ed81bc1-58b7-481e-b2b3-50140e686f8b"/>
              <text>
                <status value="empty"/>
                <div xmlns="http://www.w3.org/1999/xhtml">No narrative provided</div>
              </text>
              <contained>
                <Medication>
                  <id value="med"/>
                  <extension
                             url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-strength-description">
                    <valueString value="100 MCG"/>
                  </extension>
                  <code>
                    <coding>
                      <extension
                                 url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-code-representative">
                        <valueBoolean value="true"/>
                      </extension>
                      <system value="http://hl7.org/fhir/NamingSystem/ca-hc-din"/>
                      <code value="02244914"/>
                      <display
                               value="SALBUTAMOL SULPHATE 100 mcg HFA AEROSOL WITH ADAPTER (GRAM)"/>
                    </coding>
                    <text
                          value="SALBUTAMOL SULPHATE 100 mcg HFA AEROSOL WITH ADAPTER (GRAM)"/>
                  </code>
                </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-treatment-type">
                <valueCode value="CHRON"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString
                             value="1 (One) - 2 (Two) Puffs, Every 4 to 6 hours PRN for 40 days. Route: Inhalation, oral"/>
              </extension>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-MedicationRequest.supportingInfo">
                <valueReference>
                  <reference value="List/871d7a2f-e5c8-41a9-b4a6-bf81bfcfac8a"/>
                </valueReference>
              </extension>
              <identifier>
                <type>
                  <coding>
                    <system value="http://hl7.org/fhir/identifier-type"/>
                    <code value="PLAC"/>
                  </coding>
                </type>
                <system value="urn:oid:1.2.0.9.9.4.0994.2"/>
                <value value="EMR-12955^8531F1EF-A00B-4B91-8218-FD79BC98133A"/>
              </identifier>
              <status value="active"/>
              <medicationReference>
                <reference value="#med"/>
              </medicationReference>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </patient>
              <dateWritten value="2018-02-20T11:09:16.0009-08:00"/>
              <prescriber>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </prescriber>
              <dosageInstruction>
                <extension
                           url="http://hl7.org/fhir/StructureDefinition/extension-Dosage.sequence">
                  <valueInteger value="1"/>
                </extension>
                <text
                      value="1 (One) - 2 (Two) Puffs, Every 4 to 6 hours PRN for 40 days"/>
                <timing>
                  <repeat>
                    <boundsPeriod>
                      <start value="2018-02-20"/>
                      <end value="2018-07-30"/>
                    </boundsPeriod>
                    <duration value="40"/>
                    <durationUnit value="d"/>
                    <frequency value="1"/>
                    <period value="4"/>
                    <periodMax value="6"/>
                    <periodUnit value="h"/>
                  </repeat>
                </timing>
                <asNeededBoolean value="true"/>
                <route>
                  <coding>
                    <system value="http://hl7.org/fhir/v3/RouteOfAdministration"/>
                    <code value="IPINHL"/>
                  </coding>
                  <text value="Inhalation, oral"/>
                </route>
                <doseRange>
                  <low>
                    <value value="1"/>
                    <unit value="Puffs"/>
                    <system
                            value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                    <code value="415215001"/>
                  </low>
                  <high>
                    <value value="2"/>
                    <unit value="Puffs"/>
                    <system
                            value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                    <code value="415215001"/>
                  </high>
                </doseRange>
              </dosageInstruction>
              <dispenseRequest>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-quantity">
                  <valueQuantity>
                    <value value="4"/>
                    <unit value="Inhaler(s)"/>
                    <system
                            value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                    <code value="334980009"/>
                  </valueQuantity>
                </extension>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-days-supply">
                  <valueQuantity>
                    <value value="160"/>
                    <unit value="day"/>
                    <system value="http://unitsofmeasure.org"/>
                    <code value="d"/>
                  </valueQuantity>
                </extension>
                <validityPeriod>
                  <start value="2018-02-20"/>
                  <end value="2019-02-20"/>
                </validityPeriod>
                <numberOfRepeatsAllowed value="3"/>
                <quantity>
                  <value value="1"/>
                  <unit value="Inhaler(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="334980009"/>
                </quantity>
                <expectedSupplyDuration>
                  <value value="40"/>
                  <system value="http://unitsofmeasure.org"/>
                  <code value="d"/>
                </expectedSupplyDuration>
              </dispenseRequest>
            </MedicationOrder>
          </resource>
        </entry>
      <!--  no.20 -->
        <entry>
          <fullUrl value="urn:uuid:13bae647-81eb-4108-b257-a1dc276a78a5"/>
          <resource>
            <MedicationDispense>
              <id value="13bae647-81eb-4108-b257-a1dc276a78a5"/>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/pharmacy-core-refillsRemaining">
                <valueInteger value="0"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString
                             value="1 (One) - 2 (Two) Puffs, Every 4 to 6 hours PRN for 40 days"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-dispense-quantity-remaining">
                <valueQuantity>
                  <value value="0"/>
                  <unit value="Inhaler(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="334980009"/>
                </valueQuantity>
              </extension>
              <identifier>
                <system value="urn:oid:1.2.0.9.9.8.0998.4"/>
                <value value="PMSDISPno20-13bae647-81eb-4108-b257-a1dc276a78a5"/>
              </identifier>
              <status value="completed"/>
              <medicationCodeableConcept>
                <coding>
                  <system value="http://hl7.org/fhir/NamingSystem/ca-hc-din"/>
                  <code value="02244914"/>
                  <display value="RATIO-SALBUTAMOL HFA 100MCG"/>
                </coding>
                <text value="RATIO-SALBUTAMOL HFA 100MCG"/>
              </medicationCodeableConcept>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </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/190000024"/>
                  </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.0.9.9.4.0994.2"/>
                    <value
                           value="EMR-12955^8531F1EF-A00B-4B91-8218-FD79BC98133A"/>
                  </valueIdentifier>
                </extension>
              </authorizingPrescription>
              <quantity>
                <value value="1"/>
                <unit value="Inhaler(s)"/>
                <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="2021-01-28"/>
            </MedicationDispense>
          </resource>
        </entry>
      <!--  no.20 -->
        <entry>
          <fullUrl value="urn:uuid:fcab7b00-75ca-434f-bbb8-a492d02d363e"/>
          <resource>
            <Task>
              <id value="fcab7b00-75ca-434f-bbb8-a492d02d363e"/>
              <meta>
                <profile
                         value="http://prescribeit.ca/fhir/StructureDefinition/task-p160-m"/>
              </meta>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-Task.groupIdentifier">
                <valueIdentifier>
                  <system value="urn:oid:1.2.0.9.9.8.0998.3"/>
                  <value value="grp-ecce7422-72e9-4b69-aeda-ed90c9c483f6"/>
                </valueIdentifier>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-task-message">
                <valueReference>
                  <reference
                             value="Communication/6b766de0-f5dc-455d-a7c7-f4e8c6ce6ce1"/>
                </valueReference>
              </extension>
              <type>
                <coding>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/prescriptiontasktype"/>
                  <code value="p160-m"/>
                </coding>
              </type>
              <priority value="high"/>
              <status value="requested"/>
              <subject>
                <reference
                           value="MedicationOrder/1ed81bc1-58b7-481e-b2b3-50140e686f8b"/>
              </subject>
              <for>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </for>
              <created value="2021-01-28T23:48:27.0780-05:00"/>
              <lastModified value="2021-01-28T23:48:27.0781-05:00"/>
              <creator>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/190000024"/>
              </creator>
              <owner>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </owner>
              <input>
                <name value="daysSinceLastDispense"/>
                <valueInteger value="1"/>
              </input>
              <input>
                <name value="lastDispense"/>
                <valueReference>
                  <reference
                             value="MedicationDispense/13bae647-81eb-4108-b257-a1dc276a78a5"/>
                </valueReference>
              </input>
              <input>
                <name value="instruction"/>
                <valueString value="instruction 13.1.1.20x"/>
              </input>
            </Task>
          </resource>
        </entry>
      <!--  No.21  -->
        <entry>
          <fullUrl value="urn:uuid:db39a624-8783-4e63-a687-90001b4389ff"/>
          <resource>
            <MedicationOrder>
              <id value="db39a624-8783-4e63-a687-90001b4389ff"/>
              <text>
                <status value="empty"/>
                <div xmlns="http://www.w3.org/1999/xhtml">No narrative provided</div>
              </text>
              <contained>
                <Medication>
                  <id value="med"/>
                  <code>
                    <coding>
                      <system value="http://hl7.org/fhir/NamingSystem/ca-hc-din"/>
                      <code value="02370468"/>
                      <display value="SAMSCA 15 MG TABLET"/>
                    </coding>
                    <text value="SAMSCA 15 MG TABLET"/>
                  </code>
                </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-treatment-type">
                <valueCode value="CHRON"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString
                             value="1 (One) Tablet(s), Once daily for 21 days. Route: Oral"/>
              </extension>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-MedicationRequest.supportingInfo">
                <valueReference>
                  <reference value="List/871d7a2f-e5c8-41a9-b4a6-bf81bfcfac8a"/>
                </valueReference>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
                <valueReference>
                  <reference
                             value="DetectedIssue/A4FC823A-B77D-484F-976B-612DB7636531"/>
                </valueReference>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
                <valueReference>
                  <reference
                             value="DetectedIssue/9007D610-38FB-4941-BD02-1E83C43DFAFE"/>
                </valueReference>
              </extension>
              <identifier>
                <type>
                  <coding>
                    <system value="http://hl7.org/fhir/identifier-type"/>
                    <code value="PLAC"/>
                  </coding>
                </type>
                <system value="urn:oid:1.2.0.9.9.4.0994.2"/>
                <value value="EMR-12976^F463957B-161E-43B5-A767-9D2774B99760"/>
              </identifier>
              <status value="active"/>
              <medicationReference>
                <reference value="#med"/>
              </medicationReference>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </patient>
              <dateWritten value="2018-02-20T11:09:16.0009-08:00"/>
              <prescriber>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </prescriber>
              <dosageInstruction>
                <extension
                           url="http://hl7.org/fhir/StructureDefinition/extension-Dosage.sequence">
                  <valueInteger value="1"/>
                </extension>
                <text value="1 (One) Tablet(s), Once daily for 21 days"/>
                <timing>
                  <repeat>
                    <boundsPeriod>
                      <start value="2018-02-20"/>
                      <end value="2018-03-13"/>
                    </boundsPeriod>
                    <duration value="3"/>
                    <durationUnit value="wk"/>
                    <frequency value="1"/>
                    <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>
                <doseQuantity>
                  <value value="1"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </doseQuantity>
              </dosageInstruction>
              <dispenseRequest>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-quantity">
                  <valueQuantity>
                    <value value="21"/>
                    <unit value="Tablet(s)"/>
                    <system
                            value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                    <code value="428673006"/>
                  </valueQuantity>
                </extension>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-days-supply">
                  <valueQuantity>
                    <value value="21"/>
                    <unit value="day"/>
                    <system value="http://unitsofmeasure.org"/>
                    <code value="d"/>
                  </valueQuantity>
                </extension>
                <validityPeriod>
                  <start value="2018-02-20"/>
                  <end value="2019-02-20"/>
                </validityPeriod>
                <quantity>
                  <value value="21"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </quantity>
                <expectedSupplyDuration>
                  <value value="21"/>
                  <system value="http://unitsofmeasure.org"/>
                  <code value="d"/>
                </expectedSupplyDuration>
              </dispenseRequest>
            </MedicationOrder>
          </resource>
        </entry>
      <!--  no.21 -->
        <entry>
          <fullUrl value="urn:uuid:0b074b93-d482-45ba-b601-a60bd311f64e"/>
          <resource>
            <MedicationDispense>
              <id value="0b074b93-d482-45ba-b601-a60bd311f64e"/>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/pharmacy-core-refillsRemaining">
                <valueInteger value="0"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString value="1 (One) tablet 1 times daily for 21 days"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-dispense-quantity-remaining">
                <valueQuantity>
                  <value value="0"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </valueQuantity>
              </extension>
              <identifier>
                <system value="urn:oid:1.2.0.9.9.8.0998.4"/>
                <value value="PMSDISPno21-0b074b93-d482-45ba-b601-a60bd311f64e"/>
              </identifier>
              <status value="completed"/>
              <medicationCodeableConcept>
                <coding>
                  <system value="http://hl7.org/fhir/NamingSystem/ca-hc-din"/>
                  <code value="02370468"/>
                  <display value="SAMSCA 15 MG TABLET"/>
                </coding>
                <text value="SAMSCA 15 MG TABLET"/>
              </medicationCodeableConcept>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </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/190000024"/>
                  </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.0.9.9.4.0994.2"/>
                    <value
                           value="EMR-12976^F463957B-161E-43B5-A767-9D2774B99760"/>
                  </valueIdentifier>
                </extension>
              </authorizingPrescription>
              <quantity>
                <value value="21"/>
                <unit value="Tablet(s)"/>
                <system
                        value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                <code value="428673006"/>
              </quantity>
              <daysSupply>
                <value value="21"/>
                <system value="http://unitsofmeasure.org"/>
                <code value="d"/>
              </daysSupply>
              <whenPrepared value="2021-01-28"/>
            </MedicationDispense>
          </resource>
        </entry>
      <!--  no.21 -->
        <entry>
          <fullUrl value="urn:uuid:2ee668c6-8def-4b43-aa7e-5209b3b8efab"/>
          <resource>
            <Task>
              <id value="2ee668c6-8def-4b43-aa7e-5209b3b8efab"/>
              <meta>
                <profile
                         value="http://prescribeit.ca/fhir/StructureDefinition/task-p160-m"/>
              </meta>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-Task.groupIdentifier">
                <valueIdentifier>
                  <system value="urn:oid:1.2.0.9.9.8.0998.3"/>
                  <value value="grp-ecce7422-72e9-4b69-aeda-ed90c9c483f6"/>
                </valueIdentifier>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-task-message">
                <valueReference>
                  <reference
                             value="Communication/6b766de0-f5dc-455d-a7c7-f4e8c6ce6ce1"/>
                </valueReference>
              </extension>
              <type>
                <coding>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/prescriptiontasktype"/>
                  <code value="p160-m"/>
                </coding>
              </type>
              <priority value="high"/>
              <status value="requested"/>
              <subject>
                <reference
                           value="MedicationOrder/db39a624-8783-4e63-a687-90001b4389ff"/>
              </subject>
              <for>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </for>
              <created value="2021-01-28T23:48:27.0795-05:00"/>
              <lastModified value="2021-01-28T23:48:27.0795-05:00"/>
              <creator>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/190000024"/>
              </creator>
              <owner>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </owner>
              <input>
                <name value="daysSinceLastDispense"/>
                <valueInteger value="1"/>
              </input>
              <input>
                <name value="lastDispense"/>
                <valueReference>
                  <reference
                             value="MedicationDispense/0b074b93-d482-45ba-b601-a60bd311f64e"/>
                </valueReference>
              </input>
              <input>
                <name value="instruction"/>
                <valueString value="instruction 13.1.1.21x"/>
              </input>
            </Task>
          </resource>
        </entry>
      <!--  No.22  -->
        <entry>
          <fullUrl value="urn:uuid:2a4f9033-55ac-4ebb-9357-2075dc16d9ee"/>
          <resource>
            <MedicationOrder>
              <id value="2a4f9033-55ac-4ebb-9357-2075dc16d9ee"/>
              <text>
                <status value="empty"/>
                <div xmlns="http://www.w3.org/1999/xhtml">No narrative provided</div>
              </text>
              <contained>
                <Medication>
                  <id value="med"/>
                  <code>
                    <text value="Sling"/>
                  </code>
                </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-treatment-type">
                <valueCode value="CHRON"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString
                             value="1 sling. Route: Not specified. Should allow: Active Range of Motion Exercises: Wrists, Elbows, Forearms and Shoulders
Devrait permettre:Séries d&#39;exercices de mouvements actifs: poignets, coudes, avant-bras et épaules"/>
              </extension>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-MedicationRequest.supportingInfo">
                <valueReference>
                  <reference value="List/871d7a2f-e5c8-41a9-b4a6-bf81bfcfac8a"/>
                </valueReference>
              </extension>
              <identifier>
                <type>
                  <coding>
                    <system value="http://hl7.org/fhir/identifier-type"/>
                    <code value="PLAC"/>
                  </coding>
                </type>
                <system value="urn:oid:1.2.0.9.9.4.0994.2"/>
                <value value="EMR-12959^3F12B6A6-16BF-4BD1-B500-8C0DEBAB4F8B"/>
              </identifier>
              <status value="active"/>
              <medicationReference>
                <reference value="#med"/>
              </medicationReference>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </patient>
              <dateWritten value="2018-02-20T11:09:16.0009-08:00"/>
              <prescriber>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </prescriber>
              <note>
                <text
                      value="Do not use quantity value but what is indicated in Sig"/>
              </note>
              <dosageInstruction>
                <extension
                           url="http://hl7.org/fhir/StructureDefinition/extension-Dosage.sequence">
                  <valueInteger value="1"/>
                </extension>
                <text
                      value="1 sling. Should allow: Active Range of Motion Exercises: Wrists, Elbows, Forearms and Shoulders
Devrait permettre:Séries d&#39;exercices de mouvements actifs: poignets, coudes, avant-bras et épaules"/>
                <additionalInstructions>
                  <text
                        value="1 sling. Should allow: Active Range of Motion Exercises: Wrists, Elbows, Forearms and Shoulders
Devrait permettre:Séries d&#39;exercices de mouvements actifs: poignets, coudes, avant-bras et épaules"/>
                </additionalInstructions>
              </dosageInstruction>
              <dispenseRequest>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-quantity">
                  <valueQuantity>
                    <value value="0"/>
                    <unit value="Unit(s)"/>
                    <system value="http://unitsofmeasure.org"/>
                    <code value="U"/>
                  </valueQuantity>
                </extension>
                <validityPeriod>
                  <start value="2018-02-20"/>
                  <end value="2019-02-20"/>
                </validityPeriod>
                <quantity>
                  <value value="0"/>
                  <unit value="Unit(s)"/>
                  <system value="http://unitsofmeasure.org"/>
                  <code value="U"/>
                </quantity>
              </dispenseRequest>
            </MedicationOrder>
          </resource>
        </entry>
      <!--  no.22 -->
        <entry>
          <fullUrl value="urn:uuid:cf506871-9dd0-43d8-99eb-6457c91d181c"/>
          <resource>
            <MedicationDispense>
              <id value="cf506871-9dd0-43d8-99eb-6457c91d181c"/>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/pharmacy-core-refillsRemaining">
                <valueInteger value="0"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString
                             value="1 sling. Route: Not specified. Should allow: Active Range of Motion Exercises: Wrists, Elbows, Forearms and Shoulders
Devrait permettre:Séries d&#39;exercices de mouvements actifs: poignets, coudes, avant-bras et épaules"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-dispense-quantity-remaining">
                <valueQuantity>
                  <value value="0"/>
                  <unit value="Unit(s)"/>
                  <system value="http://unitsofmeasure.org"/>
                  <code value="U"/>
                </valueQuantity>
              </extension>
              <identifier>
                <system value="urn:oid:1.2.0.9.9.8.0998.4"/>
                <value value="PMSDISPno22-cf506871-9dd0-43d8-99eb-6457c91d181c"/>
              </identifier>
              <status value="completed"/>
              <medicationCodeableConcept>
                <text value="Sling"/>
              </medicationCodeableConcept>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </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/190000024"/>
                  </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.0.9.9.4.0994.2"/>
                    <value
                           value="EMR-12959^3F12B6A6-16BF-4BD1-B500-8C0DEBAB4F8B"/>
                  </valueIdentifier>
                </extension>
              </authorizingPrescription>
              <quantity>
                <value value="1"/>
                <unit value="Unit(s)"/>
                <system value="http://unitsofmeasure.org"/>
                <code value="U"/>
              </quantity>
              <daysSupply>
                <value value="42"/>
                <system value="http://unitsofmeasure.org"/>
                <code value="d"/>
              </daysSupply>
              <whenPrepared value="2021-01-28"/>
            </MedicationDispense>
          </resource>
        </entry>
      <!--  no.22 -->
        <entry>
          <fullUrl value="urn:uuid:e13afd42-3090-4f17-88d2-0895fdaf1e81"/>
          <resource>
            <Task>
              <id value="e13afd42-3090-4f17-88d2-0895fdaf1e81"/>
              <meta>
                <profile
                         value="http://prescribeit.ca/fhir/StructureDefinition/task-p160-m"/>
              </meta>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-Task.groupIdentifier">
                <valueIdentifier>
                  <system value="urn:oid:1.2.0.9.9.8.0998.3"/>
                  <value value="grp-ecce7422-72e9-4b69-aeda-ed90c9c483f6"/>
                </valueIdentifier>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-task-message">
                <valueReference>
                  <reference
                             value="Communication/6b766de0-f5dc-455d-a7c7-f4e8c6ce6ce1"/>
                </valueReference>
              </extension>
              <type>
                <coding>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/prescriptiontasktype"/>
                  <code value="p160-m"/>
                </coding>
              </type>
              <priority value="high"/>
              <status value="requested"/>
              <subject>
                <reference
                           value="MedicationOrder/2a4f9033-55ac-4ebb-9357-2075dc16d9ee"/>
              </subject>
              <for>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </for>
              <created value="2021-01-28T23:48:27.0808-05:00"/>
              <lastModified value="2021-01-28T23:48:27.0808-05:00"/>
              <creator>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/190000024"/>
              </creator>
              <owner>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </owner>
              <input>
                <name value="daysSinceLastDispense"/>
                <valueInteger value="1"/>
              </input>
              <input>
                <name value="lastDispense"/>
                <valueReference>
                  <reference
                             value="MedicationDispense/cf506871-9dd0-43d8-99eb-6457c91d181c"/>
                </valueReference>
              </input>
              <input>
                <name value="instruction"/>
                <valueString value="instruction 13.1.1.22.rx"/>
              </input>
            </Task>
          </resource>
        </entry>
      <!--  No.23  -->
        <entry>
          <fullUrl value="urn:uuid:e921018e-154a-4e76-8b5d-df2f606b3fe8"/>
          <resource>
            <MedicationOrder>
              <id value="e921018e-154a-4e76-8b5d-df2f606b3fe8"/>
              <text>
                <status value="empty"/>
                <div xmlns="http://www.w3.org/1999/xhtml">No narrative provided</div>
              </text>
              <contained>
                <Medication>
                  <id value="med"/>
                  <code>
                    <coding>
                      <system value="http://hl7.org/fhir/NamingSystem/ca-hc-din"/>
                      <code value="02239886"/>
                      <display value="SUSTIVA 50 MG CAPSULE"/>
                    </coding>
                    <text value="SUSTIVA 50 MG CAPSULE"/>
                  </code>
                </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-treatment-type">
                <valueCode value="CHRON"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString
                             value="1 (One) Capsule(s), Two times daily for 7 days. Route: Oral"/>
              </extension>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-MedicationRequest.supportingInfo">
                <valueReference>
                  <reference value="List/871d7a2f-e5c8-41a9-b4a6-bf81bfcfac8a"/>
                </valueReference>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
                <valueReference>
                  <reference
                             value="DetectedIssue/D681BCBD-941D-43D8-8495-B5D52EA0B904"/>
                </valueReference>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
                <valueReference>
                  <reference
                             value="DetectedIssue/93EA31A3-DF9A-4D4A-9147-47F4C95760AF"/>
                </valueReference>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
                <valueReference>
                  <reference
                             value="DetectedIssue/B1A15346-440C-4818-91E6-547F28079BBE"/>
                </valueReference>
              </extension>
              <identifier>
                <type>
                  <coding>
                    <system value="http://hl7.org/fhir/identifier-type"/>
                    <code value="PLAC"/>
                  </coding>
                </type>
                <system value="urn:oid:1.2.0.9.9.4.0994.2"/>
                <value value="EMR-12975^97B15BCD-783B-44DC-B581-0AEC8A95907B"/>
              </identifier>
              <status value="active"/>
              <medicationReference>
                <reference value="#med"/>
              </medicationReference>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </patient>
              <dateWritten value="2018-02-20T11:09:16.0009-08:00"/>
              <prescriber>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </prescriber>
              <dosageInstruction>
                <extension
                           url="http://hl7.org/fhir/StructureDefinition/extension-Dosage.sequence">
                  <valueInteger value="1"/>
                </extension>
                <text value="1 (One) Capsule(s), Two times daily for 7 days"/>
                <timing>
                  <repeat>
                    <boundsPeriod>
                      <start value="2018-02-20"/>
                      <end value="2018-02-27"/>
                    </boundsPeriod>
                    <duration value="1"/>
                    <durationUnit value="wk"/>
                    <frequency value="2"/>
                    <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>
                <doseQuantity>
                  <value value="1"/>
                  <unit value="Capsule(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428641000"/>
                </doseQuantity>
              </dosageInstruction>
              <dispenseRequest>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-quantity">
                  <valueQuantity>
                    <value value="14"/>
                    <unit value="Capsule(s)"/>
                    <system
                            value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                    <code value="428641000"/>
                  </valueQuantity>
                </extension>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-days-supply">
                  <valueQuantity>
                    <value value="7"/>
                    <unit value="day"/>
                    <system value="http://unitsofmeasure.org"/>
                    <code value="d"/>
                  </valueQuantity>
                </extension>
                <validityPeriod>
                  <start value="2018-02-20"/>
                  <end value="2019-02-20"/>
                </validityPeriod>
                <quantity>
                  <value value="14"/>
                  <unit value="Capsule(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428641000"/>
                </quantity>
                <expectedSupplyDuration>
                  <value value="7"/>
                  <system value="http://unitsofmeasure.org"/>
                  <code value="d"/>
                </expectedSupplyDuration>
              </dispenseRequest>
            </MedicationOrder>
          </resource>
        </entry>
      <!--  no.23 -->
        <entry>
          <fullUrl value="urn:uuid:bd2eb76c-90c1-4563-9084-d5e0869d90b0"/>
          <resource>
            <MedicationDispense>
              <id value="bd2eb76c-90c1-4563-9084-d5e0869d90b0"/>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/pharmacy-core-refillsRemaining">
                <valueInteger value="0"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString value="1 cap two times daily for 7 days"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-dispense-quantity-remaining">
                <valueQuantity>
                  <value value="0"/>
                  <unit value="Capsule(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428641000"/>
                </valueQuantity>
              </extension>
              <identifier>
                <system value="urn:oid:1.2.0.9.9.8.0998.4"/>
                <value value="PMSDISPno23-bd2eb76c-90c1-4563-9084-d5e0869d90b0"/>
              </identifier>
              <status value="completed"/>
              <medicationCodeableConcept>
                <coding>
                  <system value="http://hl7.org/fhir/NamingSystem/ca-hc-din"/>
                  <code value="02239886"/>
                  <display value="SUSTIVA 50 MG CAPSULE"/>
                </coding>
                <text value="SUSTIVA 50 MG CAPSULE"/>
              </medicationCodeableConcept>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </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/190000024"/>
                  </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.0.9.9.4.0994.2"/>
                    <value
                           value="EMR-12975^97B15BCD-783B-44DC-B581-0AEC8A95907B"/>
                  </valueIdentifier>
                </extension>
              </authorizingPrescription>
              <quantity>
                <value value="14"/>
                <unit value="Capsule(s)"/>
                <system
                        value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                <code value="428641000"/>
              </quantity>
              <daysSupply>
                <value value="7"/>
                <system value="http://unitsofmeasure.org"/>
                <code value="d"/>
              </daysSupply>
              <whenPrepared value="2021-01-28"/>
            </MedicationDispense>
          </resource>
        </entry>
      <!--  no.23 -->
        <entry>
          <fullUrl value="urn:uuid:4d0db512-cc09-4239-8cf1-c567a26a4800"/>
          <resource>
            <Task>
              <id value="4d0db512-cc09-4239-8cf1-c567a26a4800"/>
              <meta>
                <profile
                         value="http://prescribeit.ca/fhir/StructureDefinition/task-p160-m"/>
              </meta>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-Task.groupIdentifier">
                <valueIdentifier>
                  <system value="urn:oid:1.2.0.9.9.8.0998.3"/>
                  <value value="grp-ecce7422-72e9-4b69-aeda-ed90c9c483f6"/>
                </valueIdentifier>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-task-message">
                <valueReference>
                  <reference
                             value="Communication/6b766de0-f5dc-455d-a7c7-f4e8c6ce6ce1"/>
                </valueReference>
              </extension>
              <type>
                <coding>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/prescriptiontasktype"/>
                  <code value="p160-m"/>
                </coding>
              </type>
              <priority value="high"/>
              <status value="requested"/>
              <subject>
                <reference
                           value="MedicationOrder/e921018e-154a-4e76-8b5d-df2f606b3fe8"/>
              </subject>
              <for>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </for>
              <created value="2021-01-28T23:48:27.0820-05:00"/>
              <lastModified value="2021-01-28T23:48:27.0820-05:00"/>
              <creator>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/190000024"/>
              </creator>
              <owner>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </owner>
              <input>
                <name value="daysSinceLastDispense"/>
                <valueInteger value="1"/>
              </input>
              <input>
                <name value="lastDispense"/>
                <valueReference>
                  <reference
                             value="MedicationDispense/bd2eb76c-90c1-4563-9084-d5e0869d90b0"/>
                </valueReference>
              </input>
              <input>
                <name value="instruction"/>
                <valueString value="instruction 13.1.1.23.rx"/>
              </input>
            </Task>
          </resource>
        </entry>
      <!--  No.24  -->
        <entry>
          <fullUrl value="urn:uuid:a5a1e043-fd97-46d6-9ed9-8a9fc82b6ce5"/>
          <resource>
            <MedicationOrder>
              <id value="a5a1e043-fd97-46d6-9ed9-8a9fc82b6ce5"/>
              <text>
                <status value="empty"/>
                <div xmlns="http://www.w3.org/1999/xhtml">No narrative provided</div>
              </text>
              <contained>
                <Medication>
                  <id value="med"/>
                  <code>
                    <text value="Test Strips"/>
                  </code>
                </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-treatment-type">
                <valueCode value="CHRON"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString
                             value="Route: Not specified. Take readings 4 times per day prior to Breakfast, Lunch, Supper and Night time snack. 90 days supply, 360 strips"/>
              </extension>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-MedicationRequest.supportingInfo">
                <valueReference>
                  <reference value="List/871d7a2f-e5c8-41a9-b4a6-bf81bfcfac8a"/>
                </valueReference>
              </extension>
              <identifier>
                <type>
                  <coding>
                    <system value="http://hl7.org/fhir/identifier-type"/>
                    <code value="PLAC"/>
                  </coding>
                </type>
                <system value="urn:oid:1.2.0.9.9.4.0994.2"/>
                <value value="EMR-12971^BDEE2B0C-03D6-4AEA-90EB-B2ABC8842321"/>
              </identifier>
              <status value="active"/>
              <medicationReference>
                <reference value="#med"/>
              </medicationReference>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </patient>
              <dateWritten value="2018-02-20T11:09:16.0009-08:00"/>
              <prescriber>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </prescriber>
              <note>
                <text
                      value="Do not use quantity value but what is indicated in Sig"/>
              </note>
              <dosageInstruction>
                <extension
                           url="http://hl7.org/fhir/StructureDefinition/extension-Dosage.sequence">
                  <valueInteger value="1"/>
                </extension>
                <text
                      value="Take readings 4 times per day prior to Breakfast, Lunch, Supper and Night time snack. 90 days supply, 360 strips"/>
                <additionalInstructions>
                  <text
                        value="Take readings 4 times per day prior to Breakfast, Lunch, Supper and Night time snack. 90 days supply, 360 strips"/>
                </additionalInstructions>
              </dosageInstruction>
              <dispenseRequest>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-quantity">
                  <valueQuantity>
                    <value value="0"/>
                    <unit value="Unit(s)"/>
                    <system value="http://unitsofmeasure.org"/>
                    <code value="U"/>
                  </valueQuantity>
                </extension>
                <validityPeriod>
                  <start value="2018-02-20"/>
                  <end value="2019-02-20"/>
                </validityPeriod>
                <quantity>
                  <value value="0"/>
                  <unit value="Unit(s)"/>
                  <system value="http://unitsofmeasure.org"/>
                  <code value="U"/>
                </quantity>
              </dispenseRequest>
              <priorPrescription>
                <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.0.9.9.4.0994.2"/>
                    <value value="EMR-12970"/>
                  </valueIdentifier>
                </extension>
              </priorPrescription>
            </MedicationOrder>
          </resource>
        </entry>
      <!--  no.24 -->
        <entry>
          <fullUrl value="urn:uuid:01617744-bf79-43bf-b6cb-fe2f59275954"/>
          <resource>
            <MedicationDispense>
              <id value="01617744-bf79-43bf-b6cb-fe2f59275954"/>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/pharmacy-core-refillsRemaining">
                <valueInteger value="0"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString
                             value="Take readings 4 times per day prior to Breakfast, Lunch, Supper and Night time snack. 90 days supply, 360 strips"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-dispense-quantity-remaining">
                <valueQuantity>
                  <value value="0"/>
                  <unit value="Strip(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="1671000175104"/>
                </valueQuantity>
              </extension>
              <identifier>
                <system value="urn:oid:1.2.0.9.9.8.0998.4"/>
                <value value="PMSDISPno24-01617744-bf79-43bf-b6cb-fe2f59275954"/>
              </identifier>
              <status value="completed"/>
              <medicationCodeableConcept>
                <text value="Sling"/>
              </medicationCodeableConcept>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </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/190000024"/>
                  </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.0.9.9.4.0994.2"/>
                    <value
                           value="EMR-12971^BDEE2B0C-03D6-4AEA-90EB-B2ABC8842321"/>
                  </valueIdentifier>
                </extension>
              </authorizingPrescription>
              <quantity>
                <value value="100"/>
                <unit value="Strip(s)"/>
                <system
                        value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                <code value="1671000175104"/>
              </quantity>
              <daysSupply>
                <value value="25"/>
                <system value="http://unitsofmeasure.org"/>
                <code value="d"/>
              </daysSupply>
              <whenPrepared value="2021-01-28"/>
            </MedicationDispense>
          </resource>
        </entry>
      <!--  no.24 -->
        <entry>
          <fullUrl value="urn:uuid:bec2a01d-35f5-4751-b569-2c3e3fd303d7"/>
          <resource>
            <Task>
              <id value="bec2a01d-35f5-4751-b569-2c3e3fd303d7"/>
              <meta>
                <profile
                         value="http://prescribeit.ca/fhir/StructureDefinition/task-p160-m"/>
              </meta>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-Task.groupIdentifier">
                <valueIdentifier>
                  <system value="urn:oid:1.2.0.9.9.8.0998.3"/>
                  <value value="grp-ecce7422-72e9-4b69-aeda-ed90c9c483f6"/>
                </valueIdentifier>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-task-message">
                <valueReference>
                  <reference
                             value="Communication/6b766de0-f5dc-455d-a7c7-f4e8c6ce6ce1"/>
                </valueReference>
              </extension>
              <type>
                <coding>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/prescriptiontasktype"/>
                  <code value="p160-m"/>
                </coding>
              </type>
              <priority value="high"/>
              <status value="requested"/>
              <subject>
                <reference
                           value="MedicationOrder/a5a1e043-fd97-46d6-9ed9-8a9fc82b6ce5"/>
              </subject>
              <for>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </for>
              <created value="2021-01-28T23:48:27.0833-05:00"/>
              <lastModified value="2021-01-28T23:48:27.0833-05:00"/>
              <creator>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/190000024"/>
              </creator>
              <owner>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </owner>
              <input>
                <name value="daysSinceLastDispense"/>
                <valueInteger value="1"/>
              </input>
              <input>
                <name value="lastDispense"/>
                <valueReference>
                  <reference
                             value="MedicationDispense/01617744-bf79-43bf-b6cb-fe2f59275954"/>
                </valueReference>
              </input>
              <input>
                <name value="instruction"/>
                <valueString value="instruction 13.1.1.24.rx"/>
              </input>
            </Task>
          </resource>
        </entry>
      <!--  No.25  -->
        <entry>
          <fullUrl value="urn:uuid:bc3d95f2-a9f8-4d35-93f8-03c5dc670cb2"/>
          <resource>
            <MedicationOrder>
              <id value="bc3d95f2-a9f8-4d35-93f8-03c5dc670cb2"/>
              <text>
                <status value="empty"/>
                <div xmlns="http://www.w3.org/1999/xhtml">No narrative provided</div>
              </text>
              <contained>
                <Medication>
                  <id value="med"/>
                  <code>
                    <coding>
                      <system value="http://hl7.org/fhir/NamingSystem/ca-hc-din"/>
                      <code value="02238441"/>
                      <display value="ZYBAN 150 MG TABLET"/>
                    </coding>
                    <text value="ZYBAN 150 MG TABLET"/>
                  </code>
                </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-treatment-type">
                <valueCode value="CHRON"/>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-rendered-dosage">
                <valueString
                             value="1 (One) Tablet(s), Two times daily for 14 days. Route: Oral"/>
              </extension>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/extension-MedicationRequest.supportingInfo">
                <valueReference>
                  <reference value="List/871d7a2f-e5c8-41a9-b4a6-bf81bfcfac8a"/>
                </valueReference>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
                <valueReference>
                  <reference
                             value="DetectedIssue/E6443D62-305C-476C-8853-42EAB98A5E6C"/>
                </valueReference>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
                <valueReference>
                  <reference
                             value="DetectedIssue/2EE03524-6CD9-404C-B1B8-269902A342EE"/>
                </valueReference>
              </extension>
              <extension
                         url="http://prescribeit.ca/fhir/StructureDefinition/ext-request-detectedissue">
                <valueReference>
                  <reference
                             value="DetectedIssue/974DB5DE-BC62-4439-8CD8-BD298F7F30BA"/>
                </valueReference>
              </extension>
              <identifier>
                <type>
                  <coding>
                    <system value="http://hl7.org/fhir/identifier-type"/>
                    <code value="PLAC"/>
                  </coding>
                </type>
                <system value="urn:oid:1.2.0.9.9.4.0994.2"/>
                <value value="EMR-12967^94B49B33-4D5E-41B6-984B-C30B4550F970"/>
              </identifier>
              <status value="active"/>
              <medicationReference>
                <reference value="#med"/>
              </medicationReference>
              <patient>
                <reference value="Patient/6f7e2059-2a42-40a9-a21d-0fe4323dadad"/>
              </patient>
              <dateWritten value="2018-02-20T11:09:16.0009-08:00"/>
              <prescriber>
                <reference
                           value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/190020085"/>
              </prescriber>
              <dosageInstruction>
                <extension
                           url="http://hl7.org/fhir/StructureDefinition/extension-Dosage.sequence">
                  <valueInteger value="1"/>
                </extension>
                <text value="1 (One) Tablet(s), Two times daily for 14 days"/>
                <timing>
                  <repeat>
                    <boundsPeriod>
                      <start value="2018-02-20"/>
                      <end value="2018-03-06"/>
                    </boundsPeriod>
                    <duration value="2"/>
                    <durationUnit value="wk"/>
                    <frequency value="2"/>
                    <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>
                <doseQuantity>
                  <value value="1"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </doseQuantity>
              </dosageInstruction>
              <dispenseRequest>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-quantity">
                  <valueQuantity>
                    <value value="28"/>
                    <unit value="Tablet(s)"/>
                    <system
                            value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                    <code value="428673006"/>
                  </valueQuantity>
                </extension>
                <extension
                           url="http://prescribeit.ca/fhir/StructureDefinition/ext-medicationorder-total-days-supply">
                  <valueQuantity>
                    <value value="14"/>
                    <unit value="day"/>
                    <system value="http://unitsofmeasure.org"/>
                    <code value="d"/>
                  </valueQuantity>
                </extension>
                <validityPeriod>
                  <start value="2018-02-20"/>
                  <end value="2019-02-20"/>
                </validityPeriod>
                <quantity>
                  <value value="28"/>
                  <unit value="Tablet(s)"/>
                  <system
                          value="https://fhir.infoway-inforoute.ca/CodeSystem/snomedctcaextension"/>
                  <code value="428673006"/>
                </quantity>
                <expectedSupplyDuration>
                  <