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

<ActivityDefinition xmlns="http://hl7.org/fhir">
  <id value="chf-report-bodyweight"/>
  <meta>
    <profile value="http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-computableactivity"/>
  </meta>
  <language value="en"/>
  <text>
    <status value="extensions"/><div xmlns="http://www.w3.org/1999/xhtml">
  <table class="narrative-table">
    <tbody>
<tr>


<th colspan="2" scope="row" class="row-header">Metadata</th>


</tr>



<tr>


<th scope="row" class="row-header">Version</th>



<td class="content-container">2.0.0</td>


</tr>







  
<tr>


<th scope="row" class="row-header">Identifier</th>



<td class="content-container">urn:oid:2.16.840.1.113883.4.642.40.48.11.34</td>


</tr>








<tr>


<th scope="row" class="row-header">Experimental</th>



<td class="content-container">true</td>


</tr>





<tr>


<th scope="row" class="row-header">Jurisdiction</th>



<td class="content-container">
    World


</td>


</tr>








<tr>


<th scope="row" class="row-header">Steward (Publisher)</th>



<td class="content-container">HL7 International / Clinical Decision Support</td>


</tr>



<tr>


<th scope="row" class="row-header">Steward Contact</th>



<td class="content-container">HL7 International / Clinical Decision Support</td>


</tr>







<tr>


<th scope="row" class="row-header">Description</th>



<td class="content-container"><div><p>Record body weight metric</p>
</div></td>


</tr>









<tr>


<th scope="row" class="row-header">Resource Kind</th>



<td class="content-container">Task</td>


</tr>


<tr>


<th scope="row" class="row-header">Resource Profile</th>



<td class="content-container"><a href="StructureDefinition-cpg-generatereporttask.html">CPG Generate Report Task</a></td>


</tr>


<tr>


<th scope="row" class="row-header">Code</th>



<td class="content-container">
    Generate a metric or case report


</td>


</tr>


<tr>


<th scope="row" class="row-header">Intent</th>



<td class="content-container">Proposal</td>


</tr>












<tr>
  <th scope="row" class="row-header">Dynamic Value</th>
  <td class="content-container">
    
    <em>Path</em>: input.type
    
    
    <br/>
    <em>Expression</em>: code
    
  </td>
</tr>

<tr>
  <th scope="row" class="row-header">Dynamic Value</th>
  <td class="content-container">
    
    <em>Path</em>: input.value
    
    
    <br/>
    <em>Expression</em>: extension('http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-reportWith').value
    
  </td>
</tr>

<tr>
  <th colspan="2" scope="row" class="row-header">Generated using version 0.5.4 of the sample-content-ig Liquid templates</th>
</tr>

    </tbody>
  </table>
</div>
  </text>
  <extension url="http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability">
    <valueCode value="shareable"/>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability">
    <valueCode value="computable"/>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability">
    <valueCode value="publishable"/>
  </extension>
  <extension url="http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-reportWith">
    <valueCanonical value="http://hl7.org/fhir/uv/cpg/Measure/chf-bodyweight-measure"/>
  </extension>
  <url value="http://hl7.org/fhir/uv/cpg/ActivityDefinition/chf-report-bodyweight"/>
  <identifier>
    <system value="urn:ietf:rfc:3986"/>
    <value value="urn:oid:2.16.840.1.113883.4.642.40.48.11.34"/>
  </identifier>
  <version value="2.0.0"/>
  <name value="CHFReportBodyWeight"/>
  <status value="active"/>
  <experimental value="true"/>
  <date value="2026-04-29T15:06:55+00:00"/>
  <publisher value="HL7 International / Clinical Decision Support"/>
  <contact>
    <name value="HL7 International / Clinical Decision Support"/>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/dss"/>
    </telecom>
  </contact>
  <description value="Record body weight metric"/>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="001"/>
      <display value="World"/>
    </coding>
  </jurisdiction>
  <kind value="Task"/>
  <profile value="http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-generatereporttask"/>
  <code>
    <coding>
      <system value="http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs"/>
      <code value="generate-report"/>
      <display value="Generate a metric or case report"/>
    </coding>
  </code>
  <intent value="proposal"/>
  <doNotPerform value="false"/>
  <dynamicValue>
    <path value="input.type"/>
    <expression>
      <language value="text/cql"/>
      <expression value="code"/>
    </expression>
  </dynamicValue>
  <dynamicValue>
    <path value="input.value"/>
    <expression>
      <language value="text/cql"/>
      <expression value="extension('http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-reportWith').value"/>
    </expression>
  </dynamicValue>
</ActivityDefinition>