Chronic Disease Surveillance
            
            0.1.0 - CI Build
  
            
          
Chronic Disease Surveillance, published by Clinical Quality Framework. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/cqframework/aphl-chronic-ig/ and changes regularly. See the Directory of published versions
| Active as of 2025-09-25 | 
<PlanDefinition xmlns="http://hl7.org/fhir">
  <id value="ChronicDSControllingBloodPressure"/>
  <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">Title</th>
<td class="content-container">Chronic Disease Surveillance Reporting Specification for Controlling Blood Pressure</td>
</tr>
<tr>
<th scope="row" class="row-header">Version</th>
<td class="content-container">0.1.0</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">
    001 from <a href="http://unstats.un.org/unsd/methods/m49/m49.htm">http://unstats.un.org/unsd/methods/m49/m49.htm</a> 
</td>
</tr>
<tr>
<th scope="row" class="row-header">Steward (Publisher)</th>
<td class="content-container">Clinical Quality Framework</td>
</tr>
<tr>
<th scope="row" class="row-header">Description</th>
<td class="content-container"><div><p>Reporting specification for Chronic Disease Surveillance for Controlling Blood Pressure</p>
</div></td>
</tr>
<tr>
<th scope="row" class="row-header">Type</th>
<td class="content-container">
    Workflow Definition
</td>
</tr>
<tr>
<th colspan="2" scope="row" class="row-header">PlanDefinition Action</th>
</tr>
<tr>
<th scope="row" class="row-header">Id</th>
<td class="content-container">start</td>
</tr>
<tr>
<th scope="row" class="row-header">Description</th>
<td class="content-container">This action represents the start of the reporting workflow in response to the encounter-end event</td>
</tr>
<tr>
<th scope="row" class="row-header">Human-interpretable Description</th>
<td class="content-container">Start the reporting workflow in response to an encounter-end event</td>
</tr>
<tr>
<th scope="row" class="row-header">Code</th>
<td class="content-container">
    initiate-reporting-workflow from <a href="http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions">http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions</a> 
</td>
</tr>
<tr>
<th scope="row" class="row-header">Trigger Type</th>
<td class="content-container">Named Event</td>
</tr>
<tr>
<th scope="row" class="row-header">Trigger Name</th>
<td class="content-container">encounter-end</td>
</tr>
<tr>
<th colspan="2" scope="row" class="row-header">PlanDefinition Action</th>
</tr>
<tr>
<th scope="row" class="row-header">Id</th>
<td class="content-container">check-reportable</td>
</tr>
<tr>
<th scope="row" class="row-header">Description</th>
<td class="content-container">This action represents the check for reportability of the surveillance event.</td>
</tr>
<tr>
<th scope="row" class="row-header">Human-interpretable Description</th>
<td class="content-container">Check Reportable</td>
</tr>
<tr>
<th scope="row" class="row-header">Code</th>
<td class="content-container">
    execute-reporting-workflow from <a href="http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions">http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions</a> 
</td>
</tr>
  
    
      
      
<tr>
<th colspan="2" scope="row" class="row-header">PlanDefinition Sub-Action (Parent Action ID: check-reportable)</th>
</tr>
<tr>
<th scope="row" class="row-header">Id</th>
<td class="content-container">ckr-is-encounter-reportable</td>
</tr>
<tr>
<th scope="row" class="row-header">Description</th>
<td class="content-container">This action represents the check for reportability to create the patients eICR.</td>
</tr>
<tr>
<th scope="row" class="row-header">Human-interpretable Description</th>
<td class="content-container">Check Trigger Codes based on RCTC Value sets.</td>
</tr>
<tr>
<th scope="row" class="row-header">Code</th>
<td class="content-container">
    check-trigger-codes from <a href="http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions">http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions</a> 
</td>
</tr>
<tr>
  <th scope="row" class="row-header">Condition</th>
  <td class="content-container">
  <em>Kind</em>: Applicability
  
    <br/>
    
   
  </td>
</tr>
<tr>
  <th scope="row" class="row-header">Input Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Condition
    <br/>
   
   
  
    <em>Code Filter(s)</em>: 
    <br/>
  
  
    <span class="tab-one"><em>Path</em>: code</span>
    <br/>
  
  
  
    <span class="tab-one"><em>ValueSet</em>:</span> <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.104.12.1011/expansion">Essential Hypertension</a>
    <br/> 
  
  
  
   
  </td>
</tr>
    
    
      
<tr>
<th colspan="2" scope="row" class="row-header">PlanDefinition Sub-Action</th>
</tr>
<tr>
<th scope="row" class="row-header">Id</th>
<td class="content-container">ckr-is-encounter-reportable</td>
</tr>
<tr>
<th scope="row" class="row-header">Description</th>
<td class="content-container">This action represents the check for reportability to create the patients eICR.</td>
</tr>
<tr>
<th scope="row" class="row-header">Human-interpretable Description</th>
<td class="content-container">Check Trigger Codes based on RCTC Value sets.</td>
</tr>
<tr>
<th scope="row" class="row-header">Code</th>
<td class="content-container">
    check-trigger-codes from <a href="http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions">http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions</a> 
</td>
</tr>
<tr>
  <th scope="row" class="row-header">Condition</th>
  <td class="content-container">
  <em>Kind</em>: Applicability
  
    <br/>
    
   
  </td>
</tr>
<tr>
  <th scope="row" class="row-header">Input Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Condition
    <br/>
   
   
  
    <em>Code Filter(s)</em>: 
    <br/>
  
  
    <span class="tab-one"><em>Path</em>: code</span>
    <br/>
  
  
  
    <span class="tab-one"><em>ValueSet</em>:</span> <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.104.12.1011/expansion">Essential Hypertension</a>
    <br/> 
  
  
  
   
  </td>
</tr>
    
  
<tr>
<th colspan="2" scope="row" class="row-header">PlanDefinition Action</th>
</tr>
<tr>
<th scope="row" class="row-header">Id</th>
<td class="content-container">evaluate-measure</td>
</tr>
<tr>
<th scope="row" class="row-header">Description</th>
<td class="content-container">This action represents the evaluation of the measure.</td>
</tr>
<tr>
<th scope="row" class="row-header">Human-interpretable Description</th>
<td class="content-container">Evaluate measure</td>
</tr>
<tr>
<th scope="row" class="row-header">Code</th>
<td class="content-container">
    evaluate-measure from <a href="http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions">http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions</a> 
</td>
</tr>
<tr>
  <th scope="row" class="row-header">Input Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Patient
    <br/>
   
   
   
  </td>
</tr>
<tr>
  <th scope="row" class="row-header">Input Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Condition
    <br/>
   
   
   
  </td>
</tr>
<tr>
  <th scope="row" class="row-header">Input Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Encounter
    <br/>
   
   
   
  </td>
</tr>
<tr>
  <th scope="row" class="row-header">Input Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Procedure
    <br/>
   
   
   
  </td>
</tr>
<tr>
  <th scope="row" class="row-header">Input Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: MedicationRequest
    <br/>
   
   
   
  </td>
</tr>
<tr>
  <th scope="row" class="row-header">Input Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Observation
    <br/>
   
   
   
  </td>
</tr>
<tr>
  <th scope="row" class="row-header">Output Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: MeasureReport
    <br/>
  
    <em>Profile(s)</em>: 
  
    <code>http://hl7.org/fhir/MeasureReport</code>
    <br/>        
  
   
   
   
  </td>
</tr>
<tr>
<th scope="row" class="row-header">Definition</th>
<td class="content-container"><a href="Measure-ControllingHighBloodPressureFHIR.html">Controlling High Blood Pressure</a></td>
</tr>
<tr>
<th colspan="2" scope="row" class="row-header">PlanDefinition Action</th>
</tr>
<tr>
<th scope="row" class="row-header">Id</th>
<td class="content-container">report-ds</td>
</tr>
<tr>
<th scope="row" class="row-header">Description</th>
<td class="content-container">This action represents the reporting of the Chronic Disease Surveillance event.</td>
</tr>
<tr>
<th scope="row" class="row-header">Human-interpretable Description</th>
<td class="content-container">Report Chronic Disease Surveillance</td>
</tr>
<tr>
<th scope="row" class="row-header">Code</th>
<td class="content-container">
    execute-reporting-workflow from <a href="http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions">http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions</a> 
</td>
</tr>
<tr>
  <th scope="row" class="row-header">Condition</th>
  <td class="content-container">
  <em>Kind</em>: Applicability
  
    <br/>
    
   
  </td>
</tr>
<tr>
  <th scope="row" class="row-header">Input Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: MeasureReport
    <br/>
   
   
   
  </td>
</tr>
  
    
      
      
<tr>
<th colspan="2" scope="row" class="row-header">PlanDefinition Sub-Action (Parent Action ID: report-ds)</th>
</tr>
<tr>
<th scope="row" class="row-header">Id</th>
<td class="content-container">create-eicr</td>
</tr>
<tr>
<th scope="row" class="row-header">Description</th>
<td class="content-container">This action invokes the creation of the eICR report.</td>
</tr>
<tr>
<th scope="row" class="row-header">Human-interpretable Description</th>
<td class="content-container">Create eICR</td>
</tr>
<tr>
<th scope="row" class="row-header">Code</th>
<td class="content-container">
    create-report from <a href="http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions">http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions</a> 
</td>
</tr>
<tr>
  <th scope="row" class="row-header">Input Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Patient
    <br/>
   
   
   
  </td>
</tr>
<tr>
  <th scope="row" class="row-header">Input Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Condition
    <br/>
   
   
   
  </td>
</tr>
<tr>
  <th scope="row" class="row-header">Input Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Encounter
    <br/>
   
   
   
  </td>
</tr>
<tr>
  <th scope="row" class="row-header">Input Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Procedure
    <br/>
   
   
   
  </td>
</tr>
<tr>
  <th scope="row" class="row-header">Input Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: MedicationRequest
    <br/>
   
   
   
  </td>
</tr>
<tr>
  <th scope="row" class="row-header">Input Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Observation
    <br/>
   
   
   
  </td>
</tr>
<tr>
  <th scope="row" class="row-header">Input Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: MeasureReport
    <br/>
   
   
   
  </td>
</tr>
<tr>
  <th scope="row" class="row-header">Output Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Bundle
    <br/>
  
    <em>Profile(s)</em>: 
  
    <code>http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-measurereport-bundle</code>
    <br/>        
  
   
   
   
  </td>
</tr>
    
    
      
<tr>
<th colspan="2" scope="row" class="row-header">PlanDefinition Sub-Action</th>
</tr>
<tr>
<th scope="row" class="row-header">Id</th>
<td class="content-container">create-eicr</td>
</tr>
<tr>
<th scope="row" class="row-header">Description</th>
<td class="content-container">This action invokes the creation of the eICR report.</td>
</tr>
<tr>
<th scope="row" class="row-header">Human-interpretable Description</th>
<td class="content-container">Create eICR</td>
</tr>
<tr>
<th scope="row" class="row-header">Code</th>
<td class="content-container">
    create-report from <a href="http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions">http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions</a> 
</td>
</tr>
<tr>
  <th scope="row" class="row-header">Input Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Patient
    <br/>
   
   
   
  </td>
</tr>
<tr>
  <th scope="row" class="row-header">Input Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Condition
    <br/>
   
   
   
  </td>
</tr>
<tr>
  <th scope="row" class="row-header">Input Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Encounter
    <br/>
   
   
   
  </td>
</tr>
<tr>
  <th scope="row" class="row-header">Input Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Procedure
    <br/>
   
   
   
  </td>
</tr>
<tr>
  <th scope="row" class="row-header">Input Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: MedicationRequest
    <br/>
   
   
   
  </td>
</tr>
<tr>
  <th scope="row" class="row-header">Input Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Observation
    <br/>
   
   
   
  </td>
</tr>
<tr>
  <th scope="row" class="row-header">Input Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: MeasureReport
    <br/>
   
   
   
  </td>
</tr>
<tr>
  <th scope="row" class="row-header">Output Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Bundle
    <br/>
  
    <em>Profile(s)</em>: 
  
    <code>http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-measurereport-bundle</code>
    <br/>        
  
   
   
   
  </td>
</tr>
    
  
    
      
      
<tr>
<th colspan="2" scope="row" class="row-header">PlanDefinition Sub-Action (Parent Action ID: report-ds)</th>
</tr>
<tr>
<th scope="row" class="row-header">Id</th>
<td class="content-container">validate-eicr</td>
</tr>
<tr>
<th scope="row" class="row-header">Description</th>
<td class="content-container">This action represents the validation of the eICR.</td>
</tr>
<tr>
<th scope="row" class="row-header">Human-interpretable Description</th>
<td class="content-container">Validate eICR</td>
</tr>
<tr>
<th scope="row" class="row-header">Code</th>
<td class="content-container">
    validate-report from <a href="http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions">http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions</a> 
</td>
</tr>
<tr>
  <th scope="row" class="row-header">Input Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Bundle
    <br/>
   
   
   
  </td>
</tr>
<tr>
  <th scope="row" class="row-header">Output Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Bundle
    <br/>
   
   
   
  </td>
</tr>
    
    
      
<tr>
<th colspan="2" scope="row" class="row-header">PlanDefinition Sub-Action</th>
</tr>
<tr>
<th scope="row" class="row-header">Id</th>
<td class="content-container">validate-eicr</td>
</tr>
<tr>
<th scope="row" class="row-header">Description</th>
<td class="content-container">This action represents the validation of the eICR.</td>
</tr>
<tr>
<th scope="row" class="row-header">Human-interpretable Description</th>
<td class="content-container">Validate eICR</td>
</tr>
<tr>
<th scope="row" class="row-header">Code</th>
<td class="content-container">
    validate-report from <a href="http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions">http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions</a> 
</td>
</tr>
<tr>
  <th scope="row" class="row-header">Input Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Bundle
    <br/>
   
   
   
  </td>
</tr>
<tr>
  <th scope="row" class="row-header">Output Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Bundle
    <br/>
   
   
   
  </td>
</tr>
    
  
    
      
      
<tr>
<th colspan="2" scope="row" class="row-header">PlanDefinition Sub-Action (Parent Action ID: report-ds)</th>
</tr>
<tr>
<th scope="row" class="row-header">Id</th>
<td class="content-container">submit-eicr</td>
</tr>
<tr>
<th scope="row" class="row-header">Description</th>
<td class="content-container">This action represents the validation of the eICR.</td>
</tr>
<tr>
<th scope="row" class="row-header">Human-interpretable Description</th>
<td class="content-container">Submit eICR</td>
</tr>
<tr>
<th scope="row" class="row-header">Code</th>
<td class="content-container">
    submit-report from <a href="http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions">http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions</a> 
</td>
</tr>
<tr>
  <th scope="row" class="row-header">Input Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Bundle
    <br/>
   
   
   
  </td>
</tr>
<tr>
  <th scope="row" class="row-header">Output Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Bundle
    <br/>
  
    <em>Profile(s)</em>: 
  
    <a href="http://hl7.org/fhir/us/ecr/2021Jan/StructureDefinition-eicr-document-bundle.html">eICR Document Bundle</a>
    <br/>        
  
   
   
   
  </td>
</tr>
    
    
      
<tr>
<th colspan="2" scope="row" class="row-header">PlanDefinition Sub-Action</th>
</tr>
<tr>
<th scope="row" class="row-header">Id</th>
<td class="content-container">submit-eicr</td>
</tr>
<tr>
<th scope="row" class="row-header">Description</th>
<td class="content-container">This action represents the validation of the eICR.</td>
</tr>
<tr>
<th scope="row" class="row-header">Human-interpretable Description</th>
<td class="content-container">Submit eICR</td>
</tr>
<tr>
<th scope="row" class="row-header">Code</th>
<td class="content-container">
    submit-report from <a href="http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions">http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions</a> 
</td>
</tr>
<tr>
  <th scope="row" class="row-header">Input Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Bundle
    <br/>
   
   
   
  </td>
</tr>
<tr>
  <th scope="row" class="row-header">Output Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Bundle
    <br/>
  
    <em>Profile(s)</em>: 
  
    <a href="http://hl7.org/fhir/us/ecr/2021Jan/StructureDefinition-eicr-document-bundle.html">eICR Document Bundle</a>
    <br/>        
  
   
   
   
  </td>
</tr>
    
  
<tr>
<th colspan="2" scope="row" class="row-header">PlanDefinition Logic</th>
</tr>
<tr>
<th scope="row" class="row-header">Primary Library</th>
<td class="content-container"><a href="Library-ControllingHighBloodPressureFHIR.html">ControllingHighBloodPressureFHIR</a></td>
</tr>
  
  
<tr>
  
  
  
  
  
<th scope="row" class="row-header">Dependency</th>
  
  
  <td class="content-container">
    
    <em>Description</em>: FHIR model information
    
    <br/>
    
    
    
    
    
    
    <em>Resource</em>: <code>http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1</code>
    <br/>
    <em>Canonical URL</em>: <tt>http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1</tt>
    
    
    
  </td>
</tr>
  
  
  
  
  
  <tr>
  <th scope="row" rowspan="2" class="row-header">
    Logic Definition
  </th>
</tr>
<tr>
</tr>
  
<tr>
  <th colspan="2" scope="row" class="row-header">Generated using version 0.5.1-cibuild of the sample-content-ig Liquid templates</th>
</tr>
    </tbody>
  </table>
</div>
  </text>
  <contained>
    <Library>
      <id value="effective-data-requirements"/>
      <name value="EffectiveDataRequirements"/>
      <status value="active"/>
      <type>
        <coding>
          <system value="http://terminology.hl7.org/CodeSystem/library-type"/>
          <code value="module-definition"/>
        </coding>
      </type>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="FHIR model information"/>
        <resource
                  value="http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1"/>
      </relatedArtifact>
    </Library>
  </contained>
  <extension
             url="http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-effectiveDataRequirements" id="effective-data-requirements">
    <valueCanonical value="#effective-data-requirements"/>
  </extension>
  <extension
             url="http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-softwaresystem">
    <valueReference>
      <reference value="Device/cqf-tooling"/>
    </valueReference>
  </extension>
  <url
       value="http://fhir.org/guides/cqf/aphl/chronic-ds/PlanDefinition/ChronicDSControllingBloodPressure"/>
  <version value="0.1.0"/>
  <name value="ChronicDSControllingBloodPressure"/>
  <title
         value="Chronic Disease Surveillance Reporting Specification for Controlling Blood Pressure"/>
  <type>
    <coding>
      <system
              value="http://terminology.hl7.org/CodeSystem/plan-definition-type"/>
      <code value="workflow-definition"/>
      <display value="Workflow Definition"/>
    </coding>
  </type>
  <status value="active"/>
  <experimental value="true"/>
  <date value="2025-09-25T08:40:03.821-05:00"/>
  <publisher value="Clinical Quality Framework"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://cqframework.org"/>
    </telecom>
  </contact>
  <description
               value="Reporting specification for Chronic Disease Surveillance for Controlling Blood Pressure"/>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="001"/>
    </coding>
  </jurisdiction>
  <effectivePeriod>
    <start value="2021-06-01"/>
  </effectivePeriod>
  <library
           value="http://fhir.org/guides/cqf/aphl/chronic-ds/Library/ControllingHighBloodPressureFHIR"/>
  <action id="start">
    <description
                 value="This action represents the start of the reporting workflow in response to the encounter-end event"/>
    <textEquivalent
                    value="Start the reporting workflow in response to an encounter-end event"/>
    <code>
      <coding>
        <system
                value="http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"/>
        <code value="initiate-reporting-workflow"/>
      </coding>
    </code>
    <trigger id="encounter-end">
      <type value="named-event"/>
      <name value="encounter-end"/>
    </trigger>
    <relatedAction>
      <actionId value="check-reportable"/>
      <relationship value="before-start"/>
      <offsetDuration>
        <value value="24"/>
        <system value="http://unitsofmeasure.org"/>
        <code value="h"/>
      </offsetDuration>
    </relatedAction>
  </action>
  <action id="check-reportable">
    <description
                 value="This action represents the check for reportability of the surveillance event."/>
    <textEquivalent value="Check Reportable"/>
    <code>
      <coding>
        <system
                value="http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"/>
        <code value="execute-reporting-workflow"/>
      </coding>
    </code>
    <action id="ckr-is-encounter-reportable">
      <description
                   value="This action represents the check for reportability to create the patients eICR."/>
      <textEquivalent value="Check Trigger Codes based on RCTC Value sets."/>
      <code>
        <coding>
          <system
                  value="http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"/>
          <code value="check-trigger-codes"/>
        </coding>
      </code>
      <condition>
        <kind value="applicability"/>
        <expression>
          <language value="text/fhirpath"/>
          <expression value="%conditions.exists()"/>
        </expression>
      </condition>
      <input id="conditions">
        <type value="Condition"/>
        <codeFilter>
          <path value="code"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.104.12.1011"/>
        </codeFilter>
      </input>
      <relatedAction>
        <actionId value="evaluate-measure"/>
        <relationship value="before-start"/>
      </relatedAction>
    </action>
  </action>
  <action id="evaluate-measure">
    <description
                 value="This action represents the evaluation of the measure."/>
    <textEquivalent value="Evaluate measure"/>
    <code>
      <coding>
        <system
                value="http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"/>
        <code value="evaluate-measure"/>
      </coding>
    </code>
    <input id="patient">
      <type value="Patient"/>
    </input>
    <input id="conditions">
      <type value="Condition"/>
    </input>
    <input id="encounter">
      <type value="Encounter"/>
    </input>
    <input id="procedure">
      <type value="Procedure"/>
    </input>
    <input id="mr">
      <type value="MedicationRequest"/>
    </input>
    <input id="obs">
      <type value="Observation"/>
    </input>
    <output id="measurereport">
      <type value="MeasureReport"/>
      <profile value="http://hl7.org/fhir/MeasureReport"/>
    </output>
    <relatedAction>
      <actionId value="report-ds"/>
      <relationship value="before-start"/>
    </relatedAction>
    <definitionCanonical
                         value="http://fhir.org/guides/cqf/aphl/chronic-ds/Measure/ControllingHighBloodPressureFHIR"/>
  </action>
  <action id="report-ds">
    <description
                 value="This action represents the reporting of the Chronic Disease Surveillance event."/>
    <textEquivalent value="Report Chronic Disease Surveillance"/>
    <code>
      <coding>
        <system
                value="http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"/>
        <code value="execute-reporting-workflow"/>
      </coding>
    </code>
    <condition>
      <kind value="applicability"/>
      <expression>
        <language value="text/fhirpath"/>
        <expression
                    value="%measurereport.exists() and %measurereport.group.select(population).where(code.coding.where(code = 'denominator').exists() and count > 0).exists()"/>
      </expression>
    </condition>
    <input id="measurereport">
      <type value="MeasureReport"/>
    </input>
    <action id="create-eicr">
      <description
                   value="This action invokes the creation of the eICR report."/>
      <textEquivalent value="Create eICR"/>
      <code>
        <coding>
          <system
                  value="http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"/>
          <code value="create-report"/>
        </coding>
      </code>
      <input id="patient">
        <type value="Patient"/>
      </input>
      <input id="conditions">
        <type value="Condition"/>
      </input>
      <input id="encounter">
        <type value="Encounter"/>
      </input>
      <input id="procedure">
        <type value="Procedure"/>
      </input>
      <input id="mr">
        <type value="MedicationRequest"/>
      </input>
      <input id="obs">
        <type value="Observation"/>
      </input>
      <input id="measurereport">
        <type value="MeasureReport"/>
      </input>
      <output id="eicr-report-ChronicDSControllingBloodPressure">
        <type value="Bundle"/>
        <profile
                 value="http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-measurereport-bundle"/>
      </output>
      <relatedAction>
        <actionId value="validate-eicr"/>
        <relationship value="before-start"/>
      </relatedAction>
    </action>
    <action id="validate-eicr">
      <description
                   value="This action represents the validation of the eICR."/>
      <textEquivalent value="Validate eICR"/>
      <code>
        <coding>
          <system
                  value="http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"/>
          <code value="validate-report"/>
        </coding>
      </code>
      <input id="eicr-report-ChronicDSControllingBloodPressure">
        <extension
                   url="http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-relateddata-extension">
          <valueString value="eicr-report-ChronicDSControllingBloodPressure"/>
        </extension>
        <type value="Bundle"/>
      </input>
      <output id="validated-eicr-report">
        <type value="Bundle"/>
      </output>
      <relatedAction>
        <actionId value="submit-eicr"/>
        <relationship value="before-start"/>
      </relatedAction>
    </action>
    <action id="submit-eicr">
      <description
                   value="This action represents the validation of the eICR."/>
      <textEquivalent value="Submit eICR"/>
      <code>
        <coding>
          <system
                  value="http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"/>
          <code value="submit-report"/>
        </coding>
      </code>
      <input id="validated-eicr-report">
        <extension
                   url="http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-relateddata-extension">
          <valueString value="validated-eicr-report"/>
        </extension>
        <type value="Bundle"/>
      </input>
      <output id="eicr-report-submitted">
        <type value="Bundle"/>
        <profile
                 value="http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-document-bundle"/>
      </output>
    </action>
  </action>
</PlanDefinition>