<Bundle xmlns="http://hl7.org/fhir">
  <id value="Bundle1Example" />
  <meta>
    <profile value="http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/bundle-ca-ps" />
  </meta>
  <identifier>
    <system value="urn:oid:2.16.724.4.8.10.200.10" />
    <value value="269efaf3-2dbf-44fe-9561-c9ce27801c6f" />
  </identifier>
  <type value="document" />
  <timestamp value="2022-12-11T14:30:00+01:00" />
  <entry>
    <fullUrl value="https://exampleFHIRserver.org/Composition/Composition1Example" />
    <resource>
      <Composition>
        <id value="Composition1Example" />
        <meta>
          <profile value="http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/composition-ca-ps" />
        </meta>
        <identifier>
          <system value="http://example.org" />
          <value value="12345678" />
        </identifier>
        <status value="final" />
        <type>
          <coding>
            <system value="http://loinc.org" />
            <code value="60591-5" />
            <display value="Patient summary Document" />
          </coding>
        </type>
        <subject>
          <reference value="https://exampleFHIRserver.org/Patient/patient1-example" />
        </subject>
        <date value="2021-09-11T16:30:00+01:00" />
        <author>
          <reference value="https://exampleFHIRserver.org/PractitionerRole/practitionerrole1-example" />
        </author>
        <title value="Patient Summary as of January 5, 2022 16:30" />
        <confidentiality value="N" />
        <attester>
          <mode value="legal" />
          <time value="2020-12-11T14:30:00+01:00" />
          <party>
            <reference value="https://exampleFHIRserver.org/PractitionerRole/practitionerrole1-example" />
          </party>
        </attester>
        <custodian>
          <reference value="https://exampleFHIRserver.org/Organization/organization1-example" />
        </custodian>
        <event>
          <code>
            <coding>
              <system value="http://terminology.hl7.org/CodeSystem/v3-ActClass" />
              <code value="PCPR" />
            </coding>
          </code>
          <period>
            <end value="2020-12-11T14:30:00+01:00" />
          </period>
        </event>
        <section>
          <title value="Active Problems" />
          <code>
            <coding>
              <system value="http://loinc.org" />
              <code value="11450-4" />
              <display value="Problem list Reported" />
            </coding>
          </code>
          <text>
            <status value="generated" />
            <div xmlns="http://www.w3.org/1999/xhtml">
              <p>
                <b>Generated Narrative</b>
              </p>
              <div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%">
                <p style="margin-bottom: 0px">Resource "heart-condition-example" </p>
                <p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-condition-ca-ps.html">Condition (PS-CA)</a></p>
              </div>
              <p>
                <b>clinicalStatus</b>: Active <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/3.0.0/CodeSystem-condition-clinical.html">Condition Clinical Status Codes</a>#active)</span></p>
              <p>
                <b>verificationStatus</b>: Confirmed <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/3.0.0/CodeSystem-condition-ver-status.html">ConditionVerificationStatus</a>#confirmed)</span></p>
              <p>
                <b>category</b>: Problem List Item <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/3.0.0/CodeSystem-condition-category.html">Condition Category Codes</a>#problem-list-item)</span></p>
              <p>
                <b>severity</b>: Moderate <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="https://browser.ihtsdotools.org/">SNOMED CT</a>#6736007)</span></p>
              <p>
                <b>code</b>: Disorder of heart valve <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="https://browser.ihtsdotools.org/">SNOMED CT</a>#368009 "Heart valve disorder")</span></p>
              <p>
                <b>bodySite</b>: heart structure <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="https://browser.ihtsdotools.org/">SNOMED CT</a>#40768004 "Left thorax")</span></p>
              <p>
                <b>subject</b>: <a href="Patient-patient1-example.html">Patient/patient1-example: Donald Duck</a> " DONALD"</p>
              <p>
                <b>onset</b>: 2021-08-05</p>
              <p>
                <b>asserter</b>: <a href="Patient-patient1-example.html">Patient/patient1-example: Donald Duck</a> " DONALD"</p>
            </div>
          </text>
          <entry>
            <reference value="https://exampleFHIRserver.org/Condition/heart-condition-example" />
          </entry>
        </section>
        <section>
          <title value="Medication Summary section" />
          <code>
            <coding>
              <system value="http://loinc.org" />
              <code value="10160-0" />
              <display value="History of Medication use Narrative" />
            </coding>
          </code>
          <text>
            <status value="generated" />
            <div xmlns="http://www.w3.org/1999/xhtml">
              <p>
                <b>Generated Narrative</b>
              </p>
              <div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%">
                <p style="margin-bottom: 0px">Resource "simvastatin-request-example" </p>
                <p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-medicationrequest-ca-ps.html">Medication Request (PS-CA)</a></p>
              </div>
              <p>
                <b>status</b>: active</p>
              <p>
                <b>intent</b>: order</p>
              <p>
                <b>medication</b>: Fluspiral 50 mcg <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/3.0.0/CodeSystem-atc.html">WHO ATC</a>#C10AA01 "simvastatin")</span></p>
              <p>
                <b>subject</b>: <a href="Patient-patient1-example.html">Patient/patient1-example: Donald Duck</a> " DONALD"</p>
              <p>
                <b>authoredOn</b>: 2021-10-10</p>
              <p>
                <b>requester</b>: <a href="Practitioner-practitioner1-example.html">Practitioner/practitioner1-example: Patrick Pump</a> " PUMP"</p>
              <h3>DispenseRequests</h3>
              <table class="grid">
                <tr>
                  <td>-</td>
                  <td>
                    <b>ValidityPeriod</b>
                  </td>
                </tr>
                <tr>
                  <td>*</td>
                  <td>2021-01-01 --&gt; (ongoing)</td>
                </tr>
              </table>
            </div>
          </text>
          <entry>
            <reference value="https://exampleFHIRserver.org/MedicationRequest/simvastatin-request-example" />
          </entry>
        </section>
        <section>
          <title value="Allergies and Intolerances" />
          <code>
            <coding>
              <system value="http://loinc.org" />
              <code value="48765-2" />
              <display value="Allergies and adverse reactions Document" />
            </coding>
          </code>
          <text>
            <status value="generated" />
            <div xmlns="http://www.w3.org/1999/xhtml">
              <p>
                <b>Generated Narrative</b>
              </p>
              <div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%">
                <p style="margin-bottom: 0px">Resource "cashew-allergy-example" </p>
                <p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-allergyintolerance-ca-ps.html">Allergy Intolerance (PS-CA)</a></p>
              </div>
              <p>
                <b>clinicalStatus</b>: Active <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/3.0.0/CodeSystem-allergyintolerance-clinical.html">AllergyIntolerance Clinical Status Codes</a>#active)</span></p>
              <p>
                <b>verificationStatus</b>: Confirmed present <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/3.0.0/CodeSystem-allergyintolerance-verification.html">AllergyIntolerance Verification Status</a>#confirmed; <a href="https://browser.ihtsdotools.org/">SNOMED CT</a>#410605003)</span></p>
              <p>
                <b>type</b>: allergy</p>
              <p>
                <b>criticality</b>: high</p>
              <p>
                <b>code</b>: Cashew nut (substance)<span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="https://browser.ihtsdotools.org/">SNOMED CT</a>#227493005)</span></p>
              <p>
                <b>patient</b>: <a href="Patient-patient1-example.html">Patient/patient1-example: Donald Duck</a> " DONALD"</p>
              <p>
                <b>onset</b>: 2004</p>
              <p>
                <b>asserter</b>: <a href="Patient-patient1-example.html">Patient/patient1-example: Donald Duck</a> " DONALD"</p>
              <h3>Reactions</h3>
              <table class="grid">
                <tr>
                  <td>-</td>
                  <td>
                    <b>Manifestation</b>
                  </td>
                  <td>
                    <b>Onset</b>
                  </td>
                  <td>
                    <b>Severity</b>
                  </td>
                </tr>
                <tr>
                  <td>*</td>
                  <td>Anaphylactic reaction <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="https://browser.ihtsdotools.org/">SNOMED CT</a>#39579001)</span></td>
                  <td>2004-06-12</td>
                  <td>severe</td>
                </tr>
              </table>
            </div>
          </text>
          <entry>
            <reference value="https://exampleFHIRserver.org/AllergyIntolerance/cashew-allergy-example" />
          </entry>
        </section>
      </Composition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="https://exampleFHIRserver.org/Patient/patient1-example" />
    <resource>
      <Patient>
        <id value="patient1-example" />
        <meta>
          <profile value="http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/patient-ca-ps" />
        </meta>
        <identifier>
          <use value="usual" />
          <type>
            <coding>
              <system value="http://terminology.hl7.org/CodeSystem/v2-0203" />
              <code value="MR" />
            </coding>
          </type>
          <system value="urn:oid:0.1.2.3.4.5.6.7" />
          <value value="654321" />
        </identifier>
        <identifier>
          <type>
            <coding>
              <system value="http://terminology.hl7.org/CodeSystem/v2-0203" />
              <code value="JHN" />
            </coding>
          </type>
          <system value="https://fhir.infoway-inforoute.ca/NamingSystem/ca-on-patient-hcn" />
          <value value="5584486647" />
        </identifier>
        <active value="true" />
        <name>
          <use value="official" />
          <family value="Donald" />
          <given value="Duck" />
        </name>
        <gender value="male" />
        <birthDate value="1952-08-01" />
      </Patient>
    </resource>
  </entry>
  <entry>
    <fullUrl value="https://exampleFHIRserver.org/PractitionerRole/practitionerrole1-example" />
    <resource>
      <PractitionerRole>
        <id value="practitionerrole1-example" />
        <identifier>
          <system value="http://www.example.org/practitioners" />
          <value value="874635264" />
        </identifier>
        <practitioner>
          <reference value="https://exampleFHIRserver.org/Practitioner/practitioner1-example" />
          <display value="Patrick Pump" />
        </practitioner>
        <organization>
          <reference value="https://exampleFHIRserver.org/Organization/organization1-example" />
        </organization>
        <code>
          <coding>
            <system value="https://fhir.infoway-inforoute.ca/CodeSystem/scptype" />
            <code value="MD" />
            <display value="Medical Doctor" />
          </coding>
        </code>
        <telecom>
          <system value="phone" />
          <value value="(03) 5555 6473" />
          <use value="work" />
        </telecom>
        <telecom>
          <system value="email" />
          <value value="patrick.pump@example.org" />
          <use value="work" />
        </telecom>
      </PractitionerRole>
    </resource>
  </entry>
  <entry>
    <fullUrl value="https://exampleFHIRserver.org/Organization/organization1-example" />
    <resource>
      <Organization>
        <id value="organization1-example" />
        <meta>
          <profile value="http://hl7.org/fhir/ca/baseline/StructureDefinition/profile-organization" />
        </meta>
        <identifier>
          <system value="http://www.example.org/organizations" />
          <value value="44445555" />
        </identifier>
        <name value="XYZ Organization" />
      </Organization>
    </resource>
  </entry>
  <entry>
    <fullUrl value="https://exampleFHIRserver.org/Condition/heart-condition-example" />
    <resource>
      <Condition>
        <id value="heart-condition-example" />
        <meta>
          <profile value="http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/condition-ca-ps" />
        </meta>
        <clinicalStatus>
          <coding>
            <system value="http://terminology.hl7.org/CodeSystem/condition-clinical" />
            <code value="active" />
          </coding>
        </clinicalStatus>
        <verificationStatus>
          <coding>
            <system value="http://terminology.hl7.org/CodeSystem/condition-ver-status" />
            <code value="confirmed" />
          </coding>
        </verificationStatus>
        <category>
          <coding>
            <system value="http://terminology.hl7.org/CodeSystem/condition-category" />
            <code value="problem-list-item" />
            <display value="Problem List Item" />
          </coding>
        </category>
        <severity>
          <coding>
            <system value="http://snomed.info/sct" />
            <version value="http://snomed.info/sct/20611000087101" />
            <code value="6736007" />
            <display value="Moderate" />
          </coding>
        </severity>
        <code>
          <coding>
            <system value="http://snomed.info/sct" />
            <version value="http://snomed.info/sct/20611000087101" />
            <code value="368009" />
            <display value="Heart valve disorder" />
          </coding>
          <text value="Disorder of heart valve" />
        </code>
        <bodySite>
          <coding>
            <system value="http://snomed.info/sct" />
            <version value="http://snomed.info/sct/20611000087101" />
            <code value="40768004" />
            <display value="Left thorax" />
          </coding>
          <text value="heart structure" />
        </bodySite>
        <subject>
          <reference value="https://exampleFHIRserver.org/Patient/patient1-example" />
          <display value="Donald Duck" />
        </subject>
        <onsetDateTime value="2021-08-05" />
        <asserter>
          <reference value="https://exampleFHIRserver.org/Patient/patient1-example" />
          <display value="Donald Duck" />
        </asserter>
      </Condition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="https://exampleFHIRserver.org/MedicationRequest/simvastatin-request-example" />
    <resource>
      <MedicationRequest>
        <id value="simvastatin-request-example" />
        <meta>
          <profile value="http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/medicationrequest-ca-ps" />
        </meta>
        <status value="active" />
        <intent value="order" />
        <medicationCodeableConcept>
          <coding>
            <system value="http://www.whocc.no/atc" />
            <code value="C10AA01" />
            <display value="simvastatin" />
          </coding>
          <text value="Fluspiral 50 mcg" />
        </medicationCodeableConcept>
        <subject>
          <reference value="https://exampleFHIRserver.org/Patient/patient1-example" />
          <display value="Donald Duck" />
        </subject>
        <authoredOn value="2021-10-10" />
        <requester>
          <reference value="https://exampleFHIRserver.org/Practitioner/practitioner1-example" />
          <display value="Patrick Pump" />
        </requester>
        <dosageInstruction>
          <text value="40 mg/day" />
          <timing>
            <repeat>
              <frequency value="1" />
              <period value="1" />
              <periodUnit value="d" />
            </repeat>
          </timing>
          <route>
            <coding>
              <system value="http://snomed.info/sct" />
              <version value="http://snomed.info/sct/20611000087101" />
              <code value="26643006" />
              <display value="Oral use" />
            </coding>
          </route>
          <doseAndRate>
            <doseQuantity>
              <value value="40" />
              <unit value="mg" />
              <system value="http://unitsofmeasure.org" />
              <code value="mg" />
            </doseQuantity>
          </doseAndRate>
        </dosageInstruction>
        <dispenseRequest>
          <validityPeriod>
            <start value="2021-01-01" />
          </validityPeriod>
        </dispenseRequest>
      </MedicationRequest>
    </resource>
  </entry>
  <entry>
    <fullUrl value="https://exampleFHIRserver.org/AllergyIntolerance/cashew-allergy-example" />
    <resource>
      <AllergyIntolerance>
        <id value="cashew-allergy-example" />
        <meta>
          <profile value="http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/allergyintolerance-ca-ps" />
        </meta>
        <clinicalStatus>
          <coding>
            <system value="http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" />
            <code value="active" />
          </coding>
        </clinicalStatus>
        <verificationStatus>
          <coding>
            <system value="http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" />
            <code value="confirmed" />
          </coding>
          <coding>
            <system value="http://snomed.info/sct" />
            <version value="http://snomed.info/sct/20611000087101" />
            <code value="410605003" />
            <display value="Confirmed present" />
          </coding>
        </verificationStatus>
        <type value="allergy" />
        <criticality value="high" />
        <code>
          <coding>
            <system value="http://snomed.info/sct" />
            <version value="http://snomed.info/sct/20611000087101" />
            <code value="227493005" />
            <display value="Cashew nut (substance)" />
          </coding>
          <text value="Cashew nut (substance)" />
        </code>
        <patient>
          <reference value="https://exampleFHIRserver.org/Patient/patient1-example" />
          <display value="Donald Duck" />
        </patient>
        <onsetDateTime value="2004" />
        <asserter>
          <reference value="Patient/patient1-example" />
          <display value="Donald Duck" />
        </asserter>
        <reaction>
          <manifestation>
            <coding>
              <system value="http://snomed.info/sct" />
              <version value="http://snomed.info/sct/20611000087101" />
              <code value="39579001" />
              <display value="Anaphylactic reaction" />
            </coding>
          </manifestation>
          <onset value="2004-06-12" />
          <severity value="severe" />
        </reaction>
      </AllergyIntolerance>
    </resource>
  </entry>
  <entry>
    <fullUrl value="https://exampleFHIRserver.org/Practitioner/practitioner1-example" />
    <resource>
      <Practitioner>
        <id value="practitioner1-example" />
        <meta>
          <profile value="http://hl7.org/fhir/ca/baseline/StructureDefinition/profile-practitioner" />
        </meta>
        <identifier>
          <system value="http://www.example.org/practitioners" />
          <value value="874635264" />
        </identifier>
        <name>
          <use value="official" />
          <family value="Pump" />
          <given value="Patrick" />
          <suffix value="MD" />
        </name>
        <telecom>
          <system value="phone" />
          <value value="020556936" />
          <use value="work" />
        </telecom>
        <telecom>
          <system value="email" />
          <value value="example@eg.com" />
          <use value="work" />
        </telecom>
      </Practitioner>
    </resource>
  </entry>
</Bundle>