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 Preventive Care and Screening: Screening for Depression and Follow-Up Plan - XML Representation

Active as of 2025-09-25

Raw xml | Download


<PlanDefinition xmlns="http://hl7.org/fhir">
  <id value="ChronicDSDepressionScreeningandFollowUp"/>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
<div>
    <table class="grid dict">
        
        <tr>
            <th scope="row"><b>Id: </b></th>
            <td style="padding-left: 4px;">ChronicDSDepressionScreeningandFollowUp</td>
        </tr>
        

        
        <tr>
            <th scope="row"><b>Url: </b></th>
            <td style="padding-left: 4px;"><a href="PlanDefinition-ChronicDSDepressionScreeningandFollowUp.html">Chronic Disease Surveillance Reporting Specification for Preventive Care and Screening: Screening for Depression and Follow-Up Plan</a></td>
        </tr>
        

        
        <tr>
            <th scope="row"><b>Version: </b></th>
            <td style="padding-left: 4px;">0.1.0</td>
        </tr>
        

        

        
        <tr>
            <th scope="row"><b>Title: </b></th>
            <td style="padding-left: 4px;">Chronic Disease Surveillance Reporting Specification for Preventive Care and Screening: Screening for Depression and Follow-Up Plan</td>
        </tr>
        

        

        

        
        <tr>
            <th scope="row"><b>Experimental: </b></th>
            <td style="padding-left: 4px;">true</td>
        </tr>
        

        
        <tr>
            <th scope="row"><b>Type: </b></th>
            <td style="padding-left: 4px;">
                
                    
                        
                        <p style="margin-bottom: 5px;">
                            <b>system: </b> <span><a href="http://terminology.hl7.org/7.0.1/CodeSystem-plan-definition-type.html">http://terminology.hl7.org/CodeSystem/plan-definition-type</a></span>
                        </p>
                        
                        
                        <p style="margin-bottom: 5px;">
                            <b>code: </b> <span>workflow-definition</span>
                        </p>
                        
                        
                        <p style="margin-bottom: 5px;">
                            <b>display: </b> <span>Workflow Definition</span>
                        </p>
                        
                    
                
                
            </td>
        </tr>
        

        

        
        <tr>
            <th scope="row"><b>Date: </b></th>
            <td style="padding-left: 4px;">2025-09-25</td>
        </tr>
        

        
        <tr>
            <th scope="row"><b>Publisher: </b></th>
            <td style="padding-left: 4px;">Clinical Quality Framework</td>
        </tr>
        

        
        <tr>
            <th scope="row"><b>Description: </b></th>
            <td style="padding-left: 4px;"><div><p>Reporting specification for Chronic Disease Surveillance for Preventive Care and Screening: Screening for Depression and Follow-Up Plan</p>
</div></td>
        </tr>
        

        

        

        

        
        <tr>
            <th scope="row"><b>Jurisdiction: </b></th>
            <td style="padding-left: 4px;">001</td>
        </tr>
        

        

        

        

        

        

        
        <tr>
            <th scope="row"><b>Effective Period: </b></th>
            <td style="padding-left: 4px;">2024-01-01..</td>
        </tr>
        

        

        
        <tr>
            <th scope="row"><b>Libraries: </b></th>
            <td style="padding-left: 4px;">
                <table class="grid-dict">
                    
                    <tr>
                        <td><a href="Library-DepressionScreeningandFollowUp.html">DepressionScreeningandFollowUp</a></td>
                    </tr>
                    
                </table>
            </td>
        </tr>
        

        
        <tr>
            <th scope="row"><b>Actions: </b></th>
            <td style="padding-left: 4px;">
                <table class="grid-dict">
                    
                    <tr>
                        <td>
                            
                            Start the reporting workflow in response to an encounter-end event
                            
                            <br/>
                            
                            <b>When:</b>
                            
                            <i>Named Event:</i> encounter-close
                            <br/>
                            
                            
                            
                            
                            
                            
                        </td>
                    </tr>
                    
                    <tr>
                        <td>
                            
                            Check Reportable
                            
                            <br/>
                            
                            
                            
                            <b>Then:</b>
                            <table class="grid-dict">
                                
                                <tr>
                                    <td>
                                        
                                        Check Trigger Codes based on RCTC Value sets.
                                        
                                        <br/>
                                        
                                        
                                        <b>If:</b>
                                        
                                        <i>Applicability:</i>
                                        
                                        <i>(%observation.exists())</i>
                                        <br/>
                                        
                                        
                                        
                                        
                                        
                                    </td>
                                </tr>
                                
                            </table>
                            
                        </td>
                    </tr>
                    
                    <tr>
                        <td>
                            
                            Evaluate measure
                            
                            <br/>
                            
                            
                            
                            
                            <b>Then:</b> <i>Definition:</i> <a href="Measure-DepressionScreeningandFollowUp.html">Preventive Care and Screening: Screening for Depression and Follow-Up Plan</a><br/>
                            
                            
                            
                        </td>
                    </tr>
                    
                    <tr>
                        <td>
                            
                            Report Chronic Disease Surveillance
                            
                            <br/>
                            
                            
                            <b>If:</b>
                            
                            <i>Applicability:</i>
                            
                            <i>(%measurereport.exists() and %measurereport.group.select(population).where(code.coding.code = 'denominator' and count &gt; 0).exists())</i>
                            <br/>
                            
                            
                            
                            <b>Then:</b>
                            <table class="grid-dict">
                                
                                <tr>
                                    <td>
                                        
                                        <b> :</b>
                                        
                                        
                                        <br/>
                                        
                                        
                                        
                                        <b>Then:</b> <i>Additional sub-actions not displayed</i>
                                        
                                    </td>
                                </tr>
                                
                                <tr>
                                    <td>
                                        
                                        Validate eICR
                                        
                                        <br/>
                                        
                                        
                                        
                                        
                                        
                                    </td>
                                </tr>
                                
                                <tr>
                                    <td>
                                        
                                        Submit eICR
                                        
                                        <br/>
                                        
                                        
                                        
                                        
                                        
                                    </td>
                                </tr>
                                
                            </table>
                            
                        </td>
                    </tr>
                    
                </table>
            </td>
        </tr>
        
    </table>
</div>
</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/ChronicDSDepressionScreeningandFollowUp"/>
  <version value="0.1.0"/>
  <name value="ChronicDSDepressionScreeningandFollowUp"/>
  <title
         value="Chronic Disease Surveillance Reporting Specification for Preventive Care and Screening: Screening for Depression and Follow-Up Plan"/>
  <type>
    <coding>
      <system
              value="http://terminology.hl7.org/CodeSystem/plan-definition-type"/>
      <code value="workflow-definition"/>
      <display value="Workflow Definition"/>
    </coding>
    <text value="Workflow Definition"/>
  </type>
  <status value="active"/>
  <experimental value="true"/>
  <date value="2025-09-25"/>
  <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 Preventive Care and Screening: Screening for Depression and Follow-Up Plan"/>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="001"/>
    </coding>
  </jurisdiction>
  <effectivePeriod>
    <start value="2024-01-01"/>
  </effectivePeriod>
  <library
           value="http://fhir.org/guides/cqf/aphl/chronic-ds/Library/DepressionScreeningandFollowUp"/>
  <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-close">
      <extension
                 url="http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-named-eventtype-extension">
        <valueCodeableConcept>
          <coding>
            <system
                    value="http://hl7.org/fhir/us/ecr/CodeSystem/us-ph-triggerdefinition-namedevents"/>
            <code value="encounter-close"/>
            <display
                     value="Indicates the closure of an encounter, where in encounter.period.high is populated with the end time."/>
          </coding>
        </valueCodeableConcept>
      </extension>
      <type value="named-event"/>
      <name value="encounter-close"/>
    </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>
    <input id="observation">
      <type value="Observation"/>
      <codeFilter>
        <path value="code"/>
        <code>
          <system value="http://loinc.org"/>
          <code value="73831-0"/>
          <display value="Adolescent Depression Screening Assessment"/>
        </code>
      </codeFilter>
    </input>
    <input id="observation">
      <type value="Observation"/>
      <codeFilter>
        <path value="code"/>
        <code>
          <system value="http://loinc.org"/>
          <code value="73832-8"/>
          <display value="Adult Depression Screening Assessment"/>
        </code>
      </codeFilter>
    </input>
    <relatedAction>
      <actionId value="evaluate-measure"/>
      <relationship value="before-start"/>
    </relatedAction>
    <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="%observation.exists()"/>
        </expression>
      </condition>
      <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"/>
      <profile
               value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"/>
    </input>
    <input id="conditions">
      <type value="Condition"/>
      <profile
               value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition"/>
    </input>
    <input id="encounter">
      <type value="Encounter"/>
      <profile
               value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter"/>
    </input>
    <input id="mr">
      <type value="MedicationRequest"/>
      <profile
               value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest"/>
    </input>
    <input id="obs">
      <type value="Observation"/>
      <profile
               value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-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/DepressionScreeningandFollowUp"/>
  </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.code = 'denominator' and count &gt; 0).exists()"/>
      </expression>
    </condition>
    <action>
      <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"/>
          <profile
                   value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"/>
        </input>
        <input id="conditions">
          <type value="Condition"/>
          <profile
                   value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition"/>
        </input>
        <input id="encounter">
          <type value="Encounter"/>
          <profile
                   value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter"/>
        </input>
        <input id="mr">
          <type value="MedicationRequest"/>
          <profile
                   value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest"/>
        </input>
        <input id="obs">
          <type value="Observation"/>
          <profile
                   value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation"/>
        </input>
        <input id="generatedmeasurereport">
          <extension
                     url="http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-relateddata-extension">
            <valueString value="measurereport"/>
          </extension>
          <type value="MeasureReport"/>
          <profile value="http://hl7.org/fhir/MeasureReport"/>
        </input>
        <output id="eicrbundle">
          <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>
    <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="createdeicrbundle">
        <extension
                   url="http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-relateddata-extension">
          <valueString value="eicrbundle"/>
        </extension>
        <type value="Bundle"/>
        <profile
                 value="http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-document-bundle"/>
      </input>
      <output id="validated-eicr-bundle">
        <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-bundle-input">
        <extension
                   url="http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-relateddata-extension">
          <valueString value="validated-eicr-bundle"/>
        </extension>
        <type value="Bundle"/>
        <profile
                 value="http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-document-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>