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

<Observation xmlns="http://hl7.org/fhir">
  <id value="ruleoutcome-daily-compliance-progress"/>
  <meta>
    <profile value="http://resmed.com/fhir/core/StructureDefinition/observation-rmd-patient-compliance-progress-outcome"/>
  </meta>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative: Observation</b><a name="ruleoutcome-daily-compliance-progress"> </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 Observation &quot;ruleoutcome-daily-compliance-progress&quot; </p><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-observation-rmd-patient-compliance-progress-outcome.html">ResMed Patient Compliance Progress Outcome Observation</a></p></div><p><b>basedOn</b>: <a href="ServiceRequest-sully-rule-instance2.html">ServiceRequest/sully-rule-instance2</a></p><p><b>status</b>: final</p><p><b>category</b>: Observations generated by rules engine software representing the outcome of the rule, e.g. initial usage compliance met <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="CodeSystem-resmed-observation-category-code-system.html">ResMed observation category CodeSystem</a>#rule-outcome)</span>, Therapy <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/5.0.0/CodeSystem-observation-category.html">Observation Category Codes</a>#therapy)</span></p><p><b>code</b>: Compliance Progress <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="CodeSystem-rmd-ruleOutcomeTypes-cs.html">ResMed Rule Outcome Types Code System</a>#patient-compliance-progress)</span></p><p><b>subject</b>: <a href="Patient-patient-example.html">Patient/patient-example</a></p><p><b>effective</b>: 2022-04-18 12:00:00+0000</p><p><b>issued</b>: Apr 17, 2022, 11:59:00 AM</p><p><b>interpretation</b>: In Compliance <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="CodeSystem-rmd-complianceRuleOutcomeInterpretations-cs.html">ResMed Compliance Rule Outcome Interpretation Code System</a>#compliance-met)</span></p><p><b>device</b>: <a href="Device-device-ACE-example.html">Device/device-ACE-example</a></p><blockquote><p><b>component</b></p><p><b>code</b>: Compliance Period <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="CodeSystem-rmd-ruleOutcomeComponent-cs.html">ResMed Rule Outcome Components Code System</a>#compliance-period)</span></p><p><b>value</b>: 2022-03-25 --&gt; 2022-04-21</p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: Average Daily Use <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="CodeSystem-rmd-ruleOutcomeComponent-cs.html">ResMed Rule Outcome Components Code System</a>#average-daily-use)</span></p><p><b>value</b>: 5.4 hour/day<span style="background: LightGoldenRodYellow"> (Details: UCUM code h/d = 'h/d')</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: Threshold <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="CodeSystem-rmd-ruleOutcomeComponent-cs.html">ResMed Rule Outcome Components Code System</a>#threshold)</span></p><p><b>value</b>: 4 hour/day<span style="background: LightGoldenRodYellow"> (Details: UCUM code h/d = 'h/d')</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: Recent Compliant Days <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="CodeSystem-rmd-ruleOutcomeComponent-cs.html">ResMed Rule Outcome Components Code System</a>#compliant-days-in-last-30)</span></p><p><b>value</b>: 23</p></blockquote></div>
  </text>
  <basedOn>
    <reference value="ServiceRequest/sully-rule-instance2"/>
  </basedOn>
  <status value="final"/>
  <category>
    <coding>
      <system value="http://terminology.resmed.com/CodeSystem/resmed-observation-category-code-system"/>
      <code value="rule-outcome"/>
    </coding>
  </category>
  <category>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/observation-category"/>
      <code value="therapy"/>
    </coding>
  </category>
  <code>
    <coding>
      <system value="http://resmed.com/fhir/core/CodeSystem/rmd-ruleOutcomeTypes-cs"/>
      <code value="patient-compliance-progress"/>
    </coding>
  </code>
  <subject>
    <reference value="Patient/patient-example"/>
  </subject>
  <effectiveDateTime value="2022-04-18T12:00:00Z"/>
  <issued value="2022-04-17T11:59:00Z"/>
  <interpretation>
    <coding>
      <system value="http://resmed.com/fhir/core/CodeSystem/rmd-complianceRuleOutcomeInterpretations-cs"/>
      <code value="compliance-met"/>
    </coding>
  </interpretation>
  <device>
    <reference value="Device/device-ACE-example"/>
  </device>
  <component>
    <code>
      <coding>
        <system value="http://resmed.com/fhir/core/CodeSystem/rmd-ruleOutcomeComponent-cs"/>
        <code value="compliance-period"/>
      </coding>
    </code>
    <valuePeriod>
      <start value="2022-03-25"/>
      <end value="2022-04-21"/>
    </valuePeriod>
  </component>
  <component>
    <code>
      <coding>
        <system value="http://resmed.com/fhir/core/CodeSystem/rmd-ruleOutcomeComponent-cs"/>
        <code value="average-daily-use"/>
      </coding>
    </code>
    <valueQuantity>
      <value value="5.4"/>
      <unit value="hour/day"/>
      <system value="http://unitsofmeasure.org"/>
      <code value="h/d"/>
    </valueQuantity>
  </component>
  <component>
    <code>
      <coding>
        <system value="http://resmed.com/fhir/core/CodeSystem/rmd-ruleOutcomeComponent-cs"/>
        <code value="threshold"/>
      </coding>
    </code>
    <valueQuantity>
      <value value="4"/>
      <unit value="hour/day"/>
      <system value="http://unitsofmeasure.org"/>
      <code value="h/d"/>
    </valueQuantity>
  </component>
  <component>
    <code>
      <coding>
        <system value="http://resmed.com/fhir/core/CodeSystem/rmd-ruleOutcomeComponent-cs"/>
        <code value="compliant-days-in-last-30"/>
      </coding>
    </code>
    <valueInteger value="23"/>
  </component>
</Observation>