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 Diabetes Hemoglobin A1c Poor Control - TTL Representation

Active as of 2025-09-25

Raw ttl | Download

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:PlanDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ChronicDSDiabetesPoorControl"] ; # 
  fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n  <table class=\"narrative-table\">\n    <tbody>\n<tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">Metadata</th>\n\n\n</tr>\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Title</th>\n\n\n\n<td class=\"content-container\">Chronic Disease Surveillance Reporting Specification for Diabetes Hemoglobin A1c Poor Control</td>\n\n\n</tr>\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Version</th>\n\n\n\n<td class=\"content-container\">0.1.0</td>\n\n\n</tr>\n\n\n\n\n\n\n\n\n  \n    \n    \n  \n\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Experimental</th>\n\n\n\n<td class=\"content-container\">true</td>\n\n\n</tr>\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Jurisdiction</th>\n\n\n\n<td class=\"content-container\">\n    001 from <a href=\"http://unstats.un.org/unsd/methods/m49/m49.htm\">http://unstats.un.org/unsd/methods/m49/m49.htm</a> \n\n\n</td>\n\n\n</tr>\n\n\n\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Steward (Publisher)</th>\n\n\n\n<td class=\"content-container\">Clinical Quality Framework</td>\n\n\n</tr>\n\n\n\n\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Description</th>\n\n\n\n<td class=\"content-container\"><div><p>Reporting specification for Chronic Disease Surveillance for Diabetes Hemoglobin A1c Poor Control</p>\n</div></td>\n\n\n</tr>\n\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Type</th>\n\n\n\n<td class=\"content-container\">\n    Workflow Definition\n\n\n</td>\n\n\n</tr>\n\n\n\n\n<tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">PlanDefinition Action</th>\n\n\n</tr>\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Id</th>\n\n\n\n<td class=\"content-container\">start</td>\n\n\n</tr>\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Description</th>\n\n\n\n<td class=\"content-container\">This action represents the start of the reporting workflow in response to the encounter-end event</td>\n\n\n</tr>\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Human-interpretable Description</th>\n\n\n\n<td class=\"content-container\">Start the reporting workflow in response to an encounter-end event</td>\n\n\n</tr>\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Code</th>\n\n\n\n<td class=\"content-container\">\n    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> \n\n\n</td>\n\n\n</tr>\n\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Trigger Type</th>\n\n\n\n<td class=\"content-container\">Named Event</td>\n\n\n</tr>\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Trigger Name</th>\n\n\n\n<td class=\"content-container\">encounter-end</td>\n\n\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">PlanDefinition Action</th>\n\n\n</tr>\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Id</th>\n\n\n\n<td class=\"content-container\">check-reportable</td>\n\n\n</tr>\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Description</th>\n\n\n\n<td class=\"content-container\">This action represents the check for reportability of the surveillance event.</td>\n\n\n</tr>\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Human-interpretable Description</th>\n\n\n\n<td class=\"content-container\">Check Reportable</td>\n\n\n</tr>\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Code</th>\n\n\n\n<td class=\"content-container\">\n    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> \n\n\n</td>\n\n\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n  \n    \n      \n      \n<tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">PlanDefinition Sub-Action (Parent Action ID: check-reportable)</th>\n\n\n</tr>\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Id</th>\n\n\n\n<td class=\"content-container\">ckr-is-encounter-reportable</td>\n\n\n</tr>\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Description</th>\n\n\n\n<td class=\"content-container\">This action represents the check for reportability to create the patients eICR.</td>\n\n\n</tr>\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Human-interpretable Description</th>\n\n\n\n<td class=\"content-container\">Check Trigger Codes based on RCTC Value sets.</td>\n\n\n</tr>\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Code</th>\n\n\n\n<td class=\"content-container\">\n    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> \n\n\n</td>\n\n\n</tr>\n\n\n\n\n\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Condition</th>\n  <td class=\"content-container\">\n  <em>Kind</em>: Applicability\n  \n    <br/>\n    \n   \n  </td>\n</tr>\n\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Input Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Condition\n    <br/>\n   \n   \n  \n    <em>Code Filter(s)</em>: \n    <br/>\n  \n  \n    <span class=\"tab-one\"><em>Path</em>: code</span>\n    <br/>\n  \n  \n  \n    <span class=\"tab-one\"><em>ValueSet</em>:</span> <a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.103.12.1001/expansion\">Diabetes</a>\n    <br/> \n  \n  \n  \n   \n  </td>\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n    \n    \n      \n<tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">PlanDefinition Sub-Action</th>\n\n\n</tr>\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Id</th>\n\n\n\n<td class=\"content-container\">ckr-is-encounter-reportable</td>\n\n\n</tr>\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Description</th>\n\n\n\n<td class=\"content-container\">This action represents the check for reportability to create the patients eICR.</td>\n\n\n</tr>\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Human-interpretable Description</th>\n\n\n\n<td class=\"content-container\">Check Trigger Codes based on RCTC Value sets.</td>\n\n\n</tr>\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Code</th>\n\n\n\n<td class=\"content-container\">\n    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> \n\n\n</td>\n\n\n</tr>\n\n\n\n\n\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Condition</th>\n  <td class=\"content-container\">\n  <em>Kind</em>: Applicability\n  \n    <br/>\n    \n   \n  </td>\n</tr>\n\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Input Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Condition\n    <br/>\n   \n   \n  \n    <em>Code Filter(s)</em>: \n    <br/>\n  \n  \n    <span class=\"tab-one\"><em>Path</em>: code</span>\n    <br/>\n  \n  \n  \n    <span class=\"tab-one\"><em>ValueSet</em>:</span> <a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.464.1003.103.12.1001/expansion\">Diabetes</a>\n    <br/> \n  \n  \n  \n   \n  </td>\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n    \n  \n\n\n\n<tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">PlanDefinition Action</th>\n\n\n</tr>\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Id</th>\n\n\n\n<td class=\"content-container\">evaluate-measure</td>\n\n\n</tr>\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Description</th>\n\n\n\n<td class=\"content-container\">This action represents the evaluation of the measure.</td>\n\n\n</tr>\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Human-interpretable Description</th>\n\n\n\n<td class=\"content-container\">Evaluate measure</td>\n\n\n</tr>\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Code</th>\n\n\n\n<td class=\"content-container\">\n    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> \n\n\n</td>\n\n\n</tr>\n\n\n\n\n\n\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Input Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Patient\n    <br/>\n   \n   \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Input Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Condition\n    <br/>\n   \n   \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Input Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Encounter\n    <br/>\n   \n   \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Input Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: MedicationRequest\n    <br/>\n   \n   \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Input Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Observation\n    <br/>\n   \n   \n   \n  </td>\n</tr>\n\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Output Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: MeasureReport\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <code>http://hl7.org/fhir/MeasureReport</code>\n    <br/>        \n  \n   \n   \n   \n  </td>\n</tr>\n\n\n\n\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Definition</th>\n\n\n\n<td class=\"content-container\"><a href=\"Measure-DiabetesHemoglobinA1cHbA1cPoorControl9FHIR.html\">Diabetes: Hemoglobin A1c (HbA1c) Poor Control (&gt; 9%)FHIR</a></td>\n\n\n</tr>\n\n\n\n\n\n\n\n<tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">PlanDefinition Action</th>\n\n\n</tr>\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Id</th>\n\n\n\n<td class=\"content-container\">report-ds</td>\n\n\n</tr>\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Description</th>\n\n\n\n<td class=\"content-container\">This action represents the reporting of the Chronic Disease Surveillance event.</td>\n\n\n</tr>\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Human-interpretable Description</th>\n\n\n\n<td class=\"content-container\">Report Chronic Disease Surveillance</td>\n\n\n</tr>\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Code</th>\n\n\n\n<td class=\"content-container\">\n    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> \n\n\n</td>\n\n\n</tr>\n\n\n\n\n\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Condition</th>\n  <td class=\"content-container\">\n  <em>Kind</em>: Applicability\n  \n    <br/>\n    \n   \n  </td>\n</tr>\n\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Input Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: MeasureReport\n    <br/>\n   \n   \n   \n  </td>\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n  \n    \n      \n      \n<tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">PlanDefinition Sub-Action (Parent Action ID: report-ds)</th>\n\n\n</tr>\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Id</th>\n\n\n\n<td class=\"content-container\">create-eicr</td>\n\n\n</tr>\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Description</th>\n\n\n\n<td class=\"content-container\">This action invokes the creation of the eICR report.</td>\n\n\n</tr>\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Human-interpretable Description</th>\n\n\n\n<td class=\"content-container\">Create eICR</td>\n\n\n</tr>\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Code</th>\n\n\n\n<td class=\"content-container\">\n    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> \n\n\n</td>\n\n\n</tr>\n\n\n\n\n\n\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Input Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Patient\n    <br/>\n   \n   \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Input Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Condition\n    <br/>\n   \n   \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Input Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Encounter\n    <br/>\n   \n   \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Input Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: MedicationRequest\n    <br/>\n   \n   \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Input Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Observation\n    <br/>\n   \n   \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Input Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: MeasureReport\n    <br/>\n   \n   \n   \n  </td>\n</tr>\n\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Output Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Bundle\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <code>http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-measurereport-bundle</code>\n    <br/>        \n  \n   \n   \n   \n  </td>\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n\n\n    \n    \n      \n<tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">PlanDefinition Sub-Action</th>\n\n\n</tr>\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Id</th>\n\n\n\n<td class=\"content-container\">create-eicr</td>\n\n\n</tr>\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Description</th>\n\n\n\n<td class=\"content-container\">This action invokes the creation of the eICR report.</td>\n\n\n</tr>\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Human-interpretable Description</th>\n\n\n\n<td class=\"content-container\">Create eICR</td>\n\n\n</tr>\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Code</th>\n\n\n\n<td class=\"content-container\">\n    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> \n\n\n</td>\n\n\n</tr>\n\n\n\n\n\n\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Input Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Patient\n    <br/>\n   \n   \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Input Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Condition\n    <br/>\n   \n   \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Input Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Encounter\n    <br/>\n   \n   \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Input Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: MedicationRequest\n    <br/>\n   \n   \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Input Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Observation\n    <br/>\n   \n   \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Input Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: MeasureReport\n    <br/>\n   \n   \n   \n  </td>\n</tr>\n\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Output Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Bundle\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <code>http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-measurereport-bundle</code>\n    <br/>        \n  \n   \n   \n   \n  </td>\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n\n\n    \n  \n    \n      \n      \n<tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">PlanDefinition Sub-Action (Parent Action ID: report-ds)</th>\n\n\n</tr>\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Id</th>\n\n\n\n<td class=\"content-container\">validate-eicr</td>\n\n\n</tr>\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Description</th>\n\n\n\n<td class=\"content-container\">This action represents the validation of the eICR.</td>\n\n\n</tr>\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Human-interpretable Description</th>\n\n\n\n<td class=\"content-container\">Validate eICR</td>\n\n\n</tr>\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Code</th>\n\n\n\n<td class=\"content-container\">\n    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> \n\n\n</td>\n\n\n</tr>\n\n\n\n\n\n\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Input Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Bundle\n    <br/>\n   \n   \n   \n  </td>\n</tr>\n\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Output Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Bundle\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <a href=\"http://hl7.org/fhir/us/ecr/2021Jan/StructureDefinition-eicr-document-bundle.html\">eICR Document Bundle</a>\n    <br/>        \n  \n   \n   \n   \n  </td>\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n\n\n    \n    \n      \n<tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">PlanDefinition Sub-Action</th>\n\n\n</tr>\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Id</th>\n\n\n\n<td class=\"content-container\">validate-eicr</td>\n\n\n</tr>\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Description</th>\n\n\n\n<td class=\"content-container\">This action represents the validation of the eICR.</td>\n\n\n</tr>\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Human-interpretable Description</th>\n\n\n\n<td class=\"content-container\">Validate eICR</td>\n\n\n</tr>\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Code</th>\n\n\n\n<td class=\"content-container\">\n    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> \n\n\n</td>\n\n\n</tr>\n\n\n\n\n\n\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Input Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Bundle\n    <br/>\n   \n   \n   \n  </td>\n</tr>\n\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Output Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Bundle\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <a href=\"http://hl7.org/fhir/us/ecr/2021Jan/StructureDefinition-eicr-document-bundle.html\">eICR Document Bundle</a>\n    <br/>        \n  \n   \n   \n   \n  </td>\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n\n\n    \n  \n    \n      \n      \n<tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">PlanDefinition Sub-Action (Parent Action ID: report-ds)</th>\n\n\n</tr>\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Id</th>\n\n\n\n<td class=\"content-container\">submit-eicr</td>\n\n\n</tr>\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Description</th>\n\n\n\n<td class=\"content-container\">This action represents the validation of the eICR.</td>\n\n\n</tr>\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Human-interpretable Description</th>\n\n\n\n<td class=\"content-container\">Submit eICR</td>\n\n\n</tr>\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Code</th>\n\n\n\n<td class=\"content-container\">\n    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> \n\n\n</td>\n\n\n</tr>\n\n\n\n\n\n\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Input Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Bundle\n    <br/>\n   \n   \n   \n  </td>\n</tr>\n\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Output Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Bundle\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <a href=\"http://hl7.org/fhir/us/ecr/2021Jan/StructureDefinition-eicr-document-bundle.html\">eICR Document Bundle</a>\n    <br/>        \n  \n   \n   \n   \n  </td>\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n\n\n    \n    \n      \n<tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">PlanDefinition Sub-Action</th>\n\n\n</tr>\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Id</th>\n\n\n\n<td class=\"content-container\">submit-eicr</td>\n\n\n</tr>\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Description</th>\n\n\n\n<td class=\"content-container\">This action represents the validation of the eICR.</td>\n\n\n</tr>\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Human-interpretable Description</th>\n\n\n\n<td class=\"content-container\">Submit eICR</td>\n\n\n</tr>\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Code</th>\n\n\n\n<td class=\"content-container\">\n    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> \n\n\n</td>\n\n\n</tr>\n\n\n\n\n\n\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Input Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Bundle\n    <br/>\n   \n   \n   \n  </td>\n</tr>\n\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Output Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Bundle\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <a href=\"http://hl7.org/fhir/us/ecr/2021Jan/StructureDefinition-eicr-document-bundle.html\">eICR Document Bundle</a>\n    <br/>        \n  \n   \n   \n   \n  </td>\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n\n\n    \n  \n\n\n\n<tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">PlanDefinition Logic</th>\n\n\n</tr>\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Primary Library</th>\n\n\n\n<td class=\"content-container\"><a href=\"Library-DiabetesHemoglobinA1cHbA1cPoorControl9FHIR.html\">DiabetesHemoglobinA1cHbA1cPoorControl9FHIR</a></td>\n\n\n</tr>\n\n\n\n\n  \n  \n\n<tr>\n  \n  \n  \n  \n  \n\n<th scope=\"row\" class=\"row-header\">Dependency</th>\n\n\n  \n  \n  <td class=\"content-container\">\n    \n    <em>Description</em>: FHIR model information\n    \n    <br/>\n    \n    \n    \n    \n    \n    \n    <em>Resource</em>: <code>http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1</code>\n    <br/>\n    <em>Canonical URL</em>: <tt>http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1</tt>\n    \n    \n    \n  </td>\n</tr>\n\n\n  \n  \n  \n  \n  \n  <tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n</tr>\n<tr>\n\n</tr>\n\n  \n\n<tr>\n  <th colspan=\"2\" scope=\"row\" class=\"row-header\">Generated using version 0.5.1-cibuild of the sample-content-ig Liquid templates</th>\n</tr>\n\n    </tbody>\n  </table>\n</div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:contained ( [
a fhir:Library ;
fhir:id [ fhir:v "effective-data-requirements" ] ;
fhir:name [ fhir:v "EffectiveDataRequirements" ] ;
fhir:status [ fhir:v "active" ] ;
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/library-type"^^xsd:anyURI ] ;
fhir:code [ fhir:v "module-definition" ]       ] )     ] ;
    ( fhir:relatedArtifact [
fhir:type [ fhir:v "depends-on" ] ;
fhir:display [ fhir:v "FHIR model information" ] ;
fhir:resource [
fhir:v "http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1"^^xsd:anyURI ;
fhir:link <http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1>       ]     ] )
  ] ) ; # 
  fhir:extension ( [
fhir:id [ fhir:v "effective-data-requirements" ] ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-effectiveDataRequirements"^^xsd:anyURI ] ;
fhir:value [
a fhir:canonical ;
fhir:v "#effective-data-requirements"^^xsd:anyURI     ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-softwaresystem"^^xsd:anyURI ] ;
fhir:value [
a fhir:Reference ;
fhir:reference [ fhir:v "Device/cqf-tooling" ]     ]
  ] ) ; # 
  fhir:url [ fhir:v "http://fhir.org/guides/cqf/aphl/chronic-ds/PlanDefinition/ChronicDSDiabetesPoorControl"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "0.1.0"] ; # 
  fhir:name [ fhir:v "ChronicDSDiabetesPoorControl"] ; # 
  fhir:title [ fhir:v "Chronic Disease Surveillance Reporting Specification for Diabetes Hemoglobin A1c Poor Control"] ; # 
  fhir:type [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/plan-definition-type"^^xsd:anyURI ] ;
fhir:code [ fhir:v "workflow-definition" ] ;
fhir:display [ fhir:v "Workflow Definition" ]     ] )
  ] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v true] ; # 
  fhir:date [ fhir:v "2025-09-25T08:40:03.823-05:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "Clinical Quality Framework"] ; # 
  fhir:contact ( [
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://cqframework.org" ]     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Reporting specification for Chronic Disease Surveillance for Diabetes Hemoglobin A1c Poor Control"] ; # 
  fhir:jurisdiction ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ;
fhir:code [ fhir:v "001" ]     ] )
  ] ) ; # 
  fhir:effectivePeriod [
fhir:start [ fhir:v "2021-06-01"^^xsd:date ]
  ] ; # 
  fhir:library ( [
fhir:v "http://fhir.org/guides/cqf/aphl/chronic-ds/Library/DiabetesHemoglobinA1cHbA1cPoorControl9FHIR"^^xsd:anyURI ;
fhir:link <http://fhir.org/guides/cqf/aphl/chronic-ds/Library/DiabetesHemoglobinA1cHbA1cPoorControl9FHIR>
  ] ) ; # 
  fhir:action ( [
fhir:id [ fhir:v "start" ] ;
fhir:description [ fhir:v "This action represents the start of the reporting workflow in response to the encounter-end event" ] ;
fhir:textEquivalent [ fhir:v "Start the reporting workflow in response to an encounter-end event" ] ;
    ( fhir:code [
      ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"^^xsd:anyURI ] ;
fhir:code [ fhir:v "initiate-reporting-workflow" ]       ] )     ] ) ;
    ( fhir:trigger [
fhir:id [ fhir:v "encounter-end" ] ;
fhir:type [ fhir:v "named-event" ] ;
fhir:name [ fhir:v "encounter-end" ]     ] ) ;
    ( fhir:relatedAction [
fhir:actionId [ fhir:v "check-reportable" ] ;
fhir:relationship [ fhir:v "before-start" ] ;
fhir:offset [
a fhir:Duration ;
fhir:value [ fhir:v "24"^^xsd:decimal ] ;
fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "h" ]       ]     ] )
  ] [
fhir:id [ fhir:v "check-reportable" ] ;
fhir:description [ fhir:v "This action represents the check for reportability of the surveillance event." ] ;
fhir:textEquivalent [ fhir:v "Check Reportable" ] ;
    ( fhir:code [
      ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"^^xsd:anyURI ] ;
fhir:code [ fhir:v "execute-reporting-workflow" ]       ] )     ] ) ;
    ( fhir:action [
fhir:id [ fhir:v "ckr-is-encounter-reportable" ] ;
fhir:description [ fhir:v "This action represents the check for reportability to create the patients eICR." ] ;
fhir:textEquivalent [ fhir:v "Check Trigger Codes based on RCTC Value sets." ] ;
      ( fhir:code [
        ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"^^xsd:anyURI ] ;
fhir:code [ fhir:v "check-trigger-codes" ]         ] )       ] ) ;
      ( fhir:condition [
fhir:kind [ fhir:v "applicability" ] ;
fhir:expression [
fhir:language [ fhir:v "text/fhirpath" ] ;
fhir:expression [ fhir:v "%conditions.exists()" ]         ]       ] ) ;
      ( fhir:input [
fhir:id [ fhir:v "conditions" ] ;
fhir:type [ fhir:v "Condition" ] ;
        ( fhir:codeFilter [
fhir:path [ fhir:v "code" ] ;
fhir:valueSet [
fhir:v "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.103.12.1001"^^xsd:anyURI ;
fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.103.12.1001>           ]         ] )       ] ) ;
      ( fhir:relatedAction [
fhir:actionId [ fhir:v "evaluate-measure" ] ;
fhir:relationship [ fhir:v "before-start" ]       ] )     ] )
  ] [
fhir:id [ fhir:v "evaluate-measure" ] ;
fhir:description [ fhir:v "This action represents the evaluation of the measure." ] ;
fhir:textEquivalent [ fhir:v "Evaluate measure" ] ;
    ( fhir:code [
      ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"^^xsd:anyURI ] ;
fhir:code [ fhir:v "evaluate-measure" ]       ] )     ] ) ;
    ( fhir:input [
fhir:id [ fhir:v "patient" ] ;
fhir:type [ fhir:v "Patient" ]     ] [
fhir:id [ fhir:v "conditions" ] ;
fhir:type [ fhir:v "Condition" ]     ] [
fhir:id [ fhir:v "encounter" ] ;
fhir:type [ fhir:v "Encounter" ]     ] [
fhir:id [ fhir:v "mr" ] ;
fhir:type [ fhir:v "MedicationRequest" ]     ] [
fhir:id [ fhir:v "obs" ] ;
fhir:type [ fhir:v "Observation" ]     ] ) ;
    ( fhir:output [
fhir:id [ fhir:v "measurereport" ] ;
fhir:type [ fhir:v "MeasureReport" ] ;
      ( fhir:profile [
fhir:v "http://hl7.org/fhir/MeasureReport"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/MeasureReport>       ] )     ] ) ;
    ( fhir:relatedAction [
fhir:actionId [ fhir:v "report-ds" ] ;
fhir:relationship [ fhir:v "before-start" ]     ] ) ;
fhir:definition [
a fhir:canonical ;
fhir:v "http://fhir.org/guides/cqf/aphl/chronic-ds/Measure/DiabetesHemoglobinA1cHbA1cPoorControl9FHIR"^^xsd:anyURI ;
fhir:link <http://fhir.org/guides/cqf/aphl/chronic-ds/Measure/DiabetesHemoglobinA1cHbA1cPoorControl9FHIR>     ]
  ] [
fhir:id [ fhir:v "report-ds" ] ;
fhir:description [ fhir:v "This action represents the reporting of the Chronic Disease Surveillance event." ] ;
fhir:textEquivalent [ fhir:v "Report Chronic Disease Surveillance" ] ;
    ( fhir:code [
      ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"^^xsd:anyURI ] ;
fhir:code [ fhir:v "execute-reporting-workflow" ]       ] )     ] ) ;
    ( fhir:condition [
fhir:kind [ fhir:v "applicability" ] ;
fhir:expression [
fhir:language [ fhir:v "text/fhirpath" ] ;
fhir:expression [ fhir:v "%measurereport.exists() and %measurereport.group.select(population).where(code.coding.where(code = 'denominator').exists() and count > 0).exists()" ]       ]     ] ) ;
    ( fhir:input [
fhir:id [ fhir:v "measurereport" ] ;
fhir:type [ fhir:v "MeasureReport" ]     ] ) ;
    ( fhir:action [
fhir:id [ fhir:v "create-eicr" ] ;
fhir:description [ fhir:v "This action invokes the creation of the eICR report." ] ;
fhir:textEquivalent [ fhir:v "Create eICR" ] ;
      ( fhir:code [
        ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"^^xsd:anyURI ] ;
fhir:code [ fhir:v "create-report" ]         ] )       ] ) ;
      ( fhir:input [
fhir:id [ fhir:v "patient" ] ;
fhir:type [ fhir:v "Patient" ]       ] [
fhir:id [ fhir:v "conditions" ] ;
fhir:type [ fhir:v "Condition" ]       ] [
fhir:id [ fhir:v "encounter" ] ;
fhir:type [ fhir:v "Encounter" ]       ] [
fhir:id [ fhir:v "mr" ] ;
fhir:type [ fhir:v "MedicationRequest" ]       ] [
fhir:id [ fhir:v "obs" ] ;
fhir:type [ fhir:v "Observation" ]       ] [
fhir:id [ fhir:v "measurereport" ] ;
fhir:type [ fhir:v "MeasureReport" ]       ] ) ;
      ( fhir:output [
fhir:id [ fhir:v "eicr-report-ChronicDSDiabetesPoorControl" ] ;
fhir:type [ fhir:v "Bundle" ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-measurereport-bundle"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-measurereport-bundle>         ] )       ] ) ;
      ( fhir:relatedAction [
fhir:actionId [ fhir:v "validate-eicr" ] ;
fhir:relationship [ fhir:v "before-start" ]       ] )     ] [
fhir:id [ fhir:v "validate-eicr" ] ;
fhir:description [ fhir:v "This action represents the validation of the eICR." ] ;
fhir:textEquivalent [ fhir:v "Validate eICR" ] ;
      ( fhir:code [
        ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"^^xsd:anyURI ] ;
fhir:code [ fhir:v "validate-report" ]         ] )       ] ) ;
      ( fhir:input [
fhir:id [ fhir:v "eicr-report-ChronicDSDiabetesPoorControl" ] ;
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-relateddata-extension"^^xsd:anyURI ] ;
fhir:value [
a fhir:string ;
fhir:v "eicr-report-ChronicDSDiabetesPoorControl"           ]         ] ) ;
fhir:type [ fhir:v "Bundle" ]       ] ) ;
      ( fhir:output [
fhir:id [ fhir:v "validated-eicr-report" ] ;
fhir:type [ fhir:v "Bundle" ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-document-bundle"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-document-bundle>         ] )       ] ) ;
      ( fhir:relatedAction [
fhir:actionId [ fhir:v "submit-eicr" ] ;
fhir:relationship [ fhir:v "before-start" ]       ] )     ] [
fhir:id [ fhir:v "submit-eicr" ] ;
fhir:description [ fhir:v "This action represents the validation of the eICR." ] ;
fhir:textEquivalent [ fhir:v "Submit eICR" ] ;
      ( fhir:code [
        ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions"^^xsd:anyURI ] ;
fhir:code [ fhir:v "submit-report" ]         ] )       ] ) ;
      ( fhir:input [
fhir:id [ fhir:v "validated-eicr-report" ] ;
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-relateddata-extension"^^xsd:anyURI ] ;
fhir:value [
a fhir:string ;
fhir:v "validated-eicr-report"           ]         ] ) ;
fhir:type [ fhir:v "Bundle" ]       ] ) ;
      ( fhir:output [
fhir:id [ fhir:v "eicr-report-submitted" ] ;
fhir:type [ fhir:v "Bundle" ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-document-bundle"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-document-bundle>         ] )       ] )     ] )
  ] ) . #