ResMed Core Implementation Guide
0.37.0 - ci-build
ResMed Core Implementation Guide - Local Development build (v0.37.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
<Provenance xmlns="http://hl7.org/fhir">
<id value="ruleChanged"/>
<meta>
<profile
value="http://resmed.com/fhir/core/StructureDefinition/patient-rule-changed"/>
</meta>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative: Provenance</b><a name="ruleChanged"> </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 "ruleChanged" </p><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-patient-rule-changed.html">Patient Rule Changed 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> "Sleepy Location"</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>: Rule change to <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>#RULECHANGED)</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 name="containedAHIRule"> </a><blockquote><p/><p><a name="containedAHIRule"> </a></p><p><b>identifier</b>: id: PlanDefinition/patient-ECN1234/TherapyNotification_AHI</p><p><b>version</b>: 1</p><p><b>name</b>: RuleAHI</p><p><b>type</b>: Rule Instance <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="CodeSystem-resmed-plandefinition-type-identifier-code-system.html">ResMed Plan Definition Type Identifier CodeSystem</a>#rule)</span></p><p><b>status</b>: active</p><h3>UseContexts</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Code</b></td><td><b>Value[x]</b></td></tr><tr><td style="display: none">*</td><td>Program (Details: http://terminology.hl7.org/CodeSystem/usage-context-type code program = 'Program', stated as 'null')</td><td>airview-compliance-engine <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="CodeSystem-resmed-rule-implementer-identifier-code-system.html">ResMed Rule Implementer Identifier CodeSystem</a>#ACE)</span></td></tr></table><blockquote><p><b>action</b></p><blockquote><p><b>trigger</b></p><p><b>type</b>: data-changed</p><blockquote><p><b>data</b></p><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/observation.html">Observation</a></td></tr></table></blockquote><blockquote><p><b>condition</b></p><p><span title="application/x.rmd-ace+json"><code>{"rule": 1234}</code></span></p></blockquote></blockquote></blockquote></blockquote></td></tr></table><hr/><blockquote><p><b>Generated Narrative: PlanDefinition #containedAHIRule</b><a name="containedAHIRule"> </a></p><p><b>identifier</b>: id: PlanDefinition/patient-ECN1234/TherapyNotification_AHI</p><p><b>version</b>: 1</p><p><b>name</b>: RuleAHI</p><p><b>type</b>: Rule Instance <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="CodeSystem-resmed-plandefinition-type-identifier-code-system.html">ResMed Plan Definition Type Identifier CodeSystem</a>#rule)</span></p><p><b>status</b>: active</p><h3>UseContexts</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Code</b></td><td><b>Value[x]</b></td></tr><tr><td style="display: none">*</td><td>Program (Details: http://terminology.hl7.org/CodeSystem/usage-context-type code program = 'Program', stated as 'null')</td><td>airview-compliance-engine <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="CodeSystem-resmed-rule-implementer-identifier-code-system.html">ResMed Rule Implementer Identifier CodeSystem</a>#ACE)</span></td></tr></table><blockquote><p><b>action</b></p><blockquote><p><b>trigger</b></p><p><b>type</b>: data-changed</p><blockquote><p><b>data</b></p><table class="grid"><tr><td colspan="2"><b>Type</b>: <a href="http://hl7.org/fhir/R4/observation.html">Observation</a></td></tr></table></blockquote><blockquote><p><b>condition</b></p><p><span title="application/x.rmd-ace+json"><code>{"rule": 1234}</code></span></p></blockquote></blockquote></blockquote></blockquote></div>
</text>
<contained>
<PlanDefinition>
<id value="containedAHIRule"/>
<meta>
<profile
value="http://resmed.com/fhir/core/StructureDefinition/rmd-rule-plandefinition"/>
</meta>
<identifier>
<value
value="PlanDefinition/patient-ECN1234/TherapyNotification_AHI"/>
</identifier>
<version value="1"/>
<name value="RuleAHI"/>
<type>
<coding>
<system
value="http://terminology.resmed.com/CodeSystem/resmed-plandefinition-type-identifier"/>
<code value="rule"/>
</coding>
</type>
<status value="active"/>
<useContext>
<code>
<system
value="http://terminology.hl7.org/CodeSystem/usage-context-type"/>
<code value="program"/>
</code>
<valueCodeableConcept>
<coding>
<system
value="http://terminology.resmed.com/CodeSystem/resmed-rule-implementer-identifier"/>
<code value="ACE"/>
</coding>
</valueCodeableConcept>
</useContext>
<action>
<trigger>
<type value="data-changed"/>
<data>
<type value="Observation"/>
</data>
<condition>
<language value="application/x.rmd-ace+json"/>
<expression value="{"rule": 1234}"/>
</condition>
</trigger>
</action>
</PlanDefinition>
</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="RULECHANGED"/>
<display value="Rule change to"/>
</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="#containedAHIRule"/>
</what>
</entity>
</Provenance>