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

<Provenance xmlns="http://hl7.org/fhir">
  <id value="alertsReviewed"/>
  <meta>
    <profile value="http://resmed.com/fhir/core/StructureDefinition/patient-alerts-reviewed"/>
  </meta>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative: Provenance</b><a name="alertsReviewed"> </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;alertsReviewed&quot; </p><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-patient-alerts-reviewed.html">Patient Alerts Reviewed Provenance</a></p></div><p><b>target</b>: <a href="Patient-patient-ECN1234.html">Patient/patient-ECN1234</a></p><p><b>recorded</b>: Jan 1, 2021, 9:34:00 AM</p><p><b>location</b>: <a href="Location-airview-location-example.html">Location/airview-location-example</a> &quot;Sleepy Location&quot;</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>: Marked As Read <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="CodeSystem-resmed-provenance-activity-type-code-system.html">ResMed Provenance activity type CodeSystem</a>#REVIEWED)</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><blockquote><p><b>entity</b></p><p><b>role</b>: source</p><p><b>what</b>: <a name="containedAHIAlert"> </a></p><blockquote><p/><p><a name="containedAHIAlert"> </a></p><p><b>identifier</b>: id: DetectedIssue/patient-ECN1234/TherapyNotification_AHI</p><p><b>status</b>: preliminary</p><p><b>code</b>: TherapyNotification_AHI <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="CodeSystem-resmed-detected-issue-code-code-system.html">ResMed DetectedIssue code CodeSystem</a>#TherapyNotification_AHI)</span></p><p><b>detail</b>: {&quot;Leak&quot;: 1234}</p></blockquote></blockquote><blockquote><p><b>entity</b></p><p><b>role</b>: source</p><p><b>what</b>: <a name="containedUsageAlert"> </a></p><blockquote><p/><p><a name="containedUsageAlert"> </a></p><p><b>identifier</b>: id: DetectedIssue/patient-ECN1234/Usage</p><p><b>status</b>: preliminary</p><p><b>code</b>: Usage <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="CodeSystem-resmed-detected-issue-code-code-system.html">ResMed DetectedIssue code CodeSystem</a>#Usage)</span></p><p><b>detail</b>: {&quot;Usage&quot;: 4567}</p></blockquote></blockquote><hr/><blockquote><p><b>Generated Narrative: DetectedIssue #containedAHIAlert</b><a name="containedAHIAlert"> </a></p><p><b>identifier</b>: id: DetectedIssue/patient-ECN1234/TherapyNotification_AHI</p><p><b>status</b>: preliminary</p><p><b>code</b>: TherapyNotification_AHI <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="CodeSystem-resmed-detected-issue-code-code-system.html">ResMed DetectedIssue code CodeSystem</a>#TherapyNotification_AHI)</span></p><p><b>detail</b>: {&quot;Leak&quot;: 1234}</p></blockquote><hr/><blockquote><p><b>Generated Narrative: DetectedIssue #containedUsageAlert</b><a name="containedUsageAlert"> </a></p><p><b>identifier</b>: id: DetectedIssue/patient-ECN1234/Usage</p><p><b>status</b>: preliminary</p><p><b>code</b>: Usage <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="CodeSystem-resmed-detected-issue-code-code-system.html">ResMed DetectedIssue code CodeSystem</a>#Usage)</span></p><p><b>detail</b>: {&quot;Usage&quot;: 4567}</p></blockquote></div>
  </text>
  <contained>
    <DetectedIssue>
      <id value="containedAHIAlert"/>
      <meta>
        <profile value="http://resmed.com/fhir/core/StructureDefinition/contained-detected-issue"/>
      </meta>
      <identifier>
        <value value="DetectedIssue/patient-ECN1234/TherapyNotification_AHI"/>
      </identifier>
      <status value="preliminary"/>
      <code>
        <coding>
          <system value="http://terminology.resmed.com/CodeSystem/detectedissue-category"/>
          <code value="TherapyNotification_AHI"/>
        </coding>
      </code>
      <detail value="{&quot;Leak&quot;: 1234}"/>
    </DetectedIssue>
  </contained>
  <contained>
    <DetectedIssue>
      <id value="containedUsageAlert"/>
      <meta>
        <profile value="http://resmed.com/fhir/core/StructureDefinition/contained-detected-issue"/>
      </meta>
      <identifier>
        <value value="DetectedIssue/patient-ECN1234/Usage"/>
      </identifier>
      <status value="preliminary"/>
      <code>
        <coding>
          <system value="http://terminology.resmed.com/CodeSystem/detectedissue-category"/>
          <code value="Usage"/>
        </coding>
      </code>
      <detail value="{&quot;Usage&quot;: 4567}"/>
    </DetectedIssue>
  </contained>
  <target>
    <reference value="Patient/patient-ECN1234"/>
  </target>
  <recorded value="2021-01-01T09:34:00Z"/>
  <location>
    <reference value="Location/airview-location-example"/>
  </location>
  <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/provenance-activity-type"/>
      <code value="REVIEWED"/>
    </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"/>
      <type value="Practitioner"/>
    </who>
  </agent>
  <entity>
    <role value="source"/>
    <what>
      <reference value="#containedAHIAlert"/>
    </what>
  </entity>
  <entity>
    <role value="source"/>
    <what>
      <reference value="#containedUsageAlert"/>
    </what>
  </entity>
</Provenance>