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="ChronicDSDiabetesPoorControl"/>
<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;">ChronicDSDiabetesPoorControl</td>
</tr>
<tr>
<th scope="row"><b>Url: </b></th>
<td style="padding-left: 4px;"><a href="PlanDefinition-ChronicDSDiabetesPoorControl.html">Chronic Disease Surveillance Reporting Specification for Diabetes Hemoglobin A1c Poor Control</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 Diabetes Hemoglobin A1c Poor Control</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 08:40:03-0500</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 Diabetes Hemoglobin A1c Poor Control</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;">2021-06-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-DiabetesHemoglobinA1cHbA1cPoorControl9FHIR.html">DiabetesHemoglobinA1cHbA1cPoorControl9FHIR</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-end
<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>(%conditions.exists())</i>
<br/>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
Evaluate measure
<br/>
<b>Then:</b> <i>Definition:</i> <a href="Measure-DiabetesHemoglobinA1cHbA1cPoorControl9FHIR.html">Diabetes: Hemoglobin A1c (HbA1c) Poor Control (> 9%)FHIR</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.where(code = 'denominator').exists() and count > 0).exists())</i>
<br/>
<b>Then:</b>
<table class="grid-dict">
<tr>
<td>
Create eICR
<br/>
</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/ChronicDSDiabetesPoorControl"/>
<version value="0.1.0"/>
<name value="ChronicDSDiabetesPoorControl"/>
<title
value="Chronic Disease Surveillance Reporting Specification for Diabetes Hemoglobin A1c Poor Control"/>
<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 Diabetes Hemoglobin A1c Poor Control"/>
<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/DiabetesHemoglobinA1cHbA1cPoorControl9FHIR"/>
<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.103.12.1001"/>
</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="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/DiabetesHemoglobinA1cHbA1cPoorControl9FHIR"/>
</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="mr">
<type value="MedicationRequest"/>
</input>
<input id="obs">
<type value="Observation"/>
</input>
<input id="measurereport">
<type value="MeasureReport"/>
</input>
<output id="eicr-report-ChronicDSDiabetesPoorControl">
<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-ChronicDSDiabetesPoorControl">
<extension
url="http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-relateddata-extension">
<valueString value="eicr-report-ChronicDSDiabetesPoorControl"/>
</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>