Chronic Disease Surveillance
0.1.0 - CI Build International flag

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

: Chronic Disease Surveillance Reporting Specification for Seen Patients Cohort - XML Representation

Active as of 2025-09-25

Raw xml | Download


<PlanDefinition xmlns="http://hl7.org/fhir">
  <id value="ChronicDSSeenPatients"/>
  <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 Seen Patients Cohort</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 Seen Patients Cohort</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">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>: 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-SeenPatients.html">Seen Patients</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>: 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>: 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/>
  
    <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">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/>
  
    <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 (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-SeenPatients.html">Seen Patients</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/ChronicDSSeenPatients"/>
  <version value="0.1.0"/>
  <name value="ChronicDSSeenPatients"/>
  <title
         value="Chronic Disease Surveillance Reporting Specification for Seen Patients Cohort"/>
  <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.823-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 Seen Patients Cohort"/>
  <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/SeenPatients"/>
  <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="evaluate-measure"/>
      <relationship value="before-start"/>
      <offsetDuration>
        <value value="24"/>
        <system value="http://unitsofmeasure.org"/>
        <code value="h"/>
      </offsetDuration>
    </relatedAction>
  </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="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/SeenPatients"/>
  </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 = 'initial-population').exists() and count &gt; 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="mr">
        <type value="MedicationRequest"/>
      </input>
      <input id="obs">
        <type value="Observation"/>
      </input>
      <input id="measurereport">
        <type value="MeasureReport"/>
      </input>
      <output id="eicr-report-ChronicDSSeenPatients">
        <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-ChronicDSSeenPatients">
        <extension
                   url="http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-relateddata-extension">
          <valueString value="eicr-report-ChronicDSSeenPatients"/>
        </extension>
        <type value="Bundle"/>
      </input>
      <output id="validated-eicr-report">
        <type value="Bundle"/>
        <profile
                 value="http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-document-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>