<?xml version="1.0" encoding="UTF-8"?>

<Provenance xmlns="http://hl7.org/fhir">
  <id value="templateChanged1"/>
  <meta>
    <profile value="http://resmed.com/fhir/core/StructureDefinition/rules-template-changed"/>
  </meta>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative: Provenance</b><a name="templateChanged1"> </a></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 Provenance &quot;templateChanged1&quot; </p><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-rules-template-changed.html">Rules Template Changed Provenance</a></p></div><p><b>target</b>: <a href="Patient-0da6f814-8696-4474-bded-e204d281e209.html">Patient/0da6f814-8696-4474-bded-e204d281e209</a> &quot; JONES&quot;</p><p><b>recorded</b>: Jan 1, 2021, 9:34:00 AM</p><p><b>reason</b>: coordination of care <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/5.0.0/CodeSystem-v3-ActReason.html">ActReason</a>#COC)</span></p><p><b>activity</b>: Template applied <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="CodeSystem-resmed-provenance-template-change-identifier-code-system.html">ResMed Provenance Template Change Identifier CodeSystem</a>#template-applied)</span></p><h3>Agents</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Type</b></td><td><b>Role</b></td><td><b>Who</b></td></tr><tr><td style="display: none">*</td><td>performer <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/5.0.0/CodeSystem-v3-ParticipationType.html">ParticipationType</a>#PRF)</span></td><td>healthcare provider <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/5.0.0/CodeSystem-v3-RoleClass.html">RoleClass</a>#PROV)</span></td><td><a href="Practitioner-practitioner-airview-user.html">Practitioner/practitioner-airview-user</a></td></tr></table><h3>Entities</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Role</b></td><td><b>What</b></td></tr><tr><td style="display: none">*</td><td>source</td><td><a href="CarePlan-patient-careplan-with-template.html">CarePlan/patient-careplan-with-template</a></td></tr></table></div>
  </text>
  <target>
    <reference value="Patient/0da6f814-8696-4474-bded-e204d281e209"/>
  </target>
  <recorded value="2021-01-01T09:34:00Z"/>
  <reason>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/>
      <code value="COC"/>
    </coding>
  </reason>
  <activity>
    <coding>
      <system value="http://terminology.resmed.com/CodeSystem/resmed-provenance-template-change-identifier"/>
      <code value="template-applied"/>
      <display value="Template applied"/>
    </coding>
  </activity>
  <agent>
    <type>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/>
        <code value="PRF"/>
      </coding>
    </type>
    <role>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v3-RoleClass"/>
        <code value="PROV"/>
      </coding>
    </role>
    <who>
      <reference value="Practitioner/practitioner-airview-user"/>
    </who>
  </agent>
  <entity>
    <role value="source"/>
    <what>
      <reference value="CarePlan/patient-careplan-with-template"/>
    </what>
  </entity>
</Provenance>