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 - JSON Representation

Active as of 2025-09-25

Raw json | Download

{
  "resourceType" : "PlanDefinition",
  "id" : "ChronicDSDiabetesPoorControl",
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n<div>\n    <table class=\"grid dict\">\n        \n        <tr>\n            <th scope=\"row\"><b>Id: </b></th>\n            <td style=\"padding-left: 4px;\">ChronicDSDiabetesPoorControl</td>\n        </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Url: </b></th>\n            <td style=\"padding-left: 4px;\"><a href=\"PlanDefinition-ChronicDSDiabetesPoorControl.html\">Chronic Disease Surveillance Reporting Specification for Diabetes Hemoglobin A1c Poor Control</a></td>\n        </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Version: </b></th>\n            <td style=\"padding-left: 4px;\">0.1.0</td>\n        </tr>\n        \n\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Title: </b></th>\n            <td style=\"padding-left: 4px;\">Chronic Disease Surveillance Reporting Specification for Diabetes Hemoglobin A1c Poor Control</td>\n        </tr>\n        \n\n        \n\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Experimental: </b></th>\n            <td style=\"padding-left: 4px;\">true</td>\n        </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Type: </b></th>\n            <td style=\"padding-left: 4px;\">\n                \n                    \n                        \n                        <p style=\"margin-bottom: 5px;\">\n                            <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>\n                        </p>\n                        \n                        \n                        <p style=\"margin-bottom: 5px;\">\n                            <b>code: </b> <span>workflow-definition</span>\n                        </p>\n                        \n                        \n                        <p style=\"margin-bottom: 5px;\">\n                            <b>display: </b> <span>Workflow Definition</span>\n                        </p>\n                        \n                    \n                \n                \n            </td>\n        </tr>\n        \n\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Date: </b></th>\n            <td style=\"padding-left: 4px;\">2025-09-25 08:40:03-0500</td>\n        </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Publisher: </b></th>\n            <td style=\"padding-left: 4px;\">Clinical Quality Framework</td>\n        </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Description: </b></th>\n            <td style=\"padding-left: 4px;\"><div><p>Reporting specification for Chronic Disease Surveillance for Diabetes Hemoglobin A1c Poor Control</p>\n</div></td>\n        </tr>\n        \n\n        \n\n        \n\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Jurisdiction: </b></th>\n            <td style=\"padding-left: 4px;\">001</td>\n        </tr>\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Effective Period: </b></th>\n            <td style=\"padding-left: 4px;\">2021-06-01..</td>\n        </tr>\n        \n\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Libraries: </b></th>\n            <td style=\"padding-left: 4px;\">\n                <table class=\"grid-dict\">\n                    \n                    <tr>\n                        <td><a href=\"Library-DiabetesHemoglobinA1cHbA1cPoorControl9FHIR.html\">DiabetesHemoglobinA1cHbA1cPoorControl9FHIR</a></td>\n                    </tr>\n                    \n                </table>\n            </td>\n        </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Actions: </b></th>\n            <td style=\"padding-left: 4px;\">\n                <table class=\"grid-dict\">\n                    \n                    <tr>\n                        <td>\n                            \n                            Start the reporting workflow in response to an encounter-end event\n                            \n                            <br/>\n                            \n                            <b>When:</b>\n                            \n                            <i>Named Event:</i> encounter-end\n                            <br/>\n                            \n                            \n                            \n                            \n                            \n                            \n                        </td>\n                    </tr>\n                    \n                    <tr>\n                        <td>\n                            \n                            Check Reportable\n                            \n                            <br/>\n                            \n                            \n                            \n                            <b>Then:</b>\n                            <table class=\"grid-dict\">\n                                \n                                <tr>\n                                    <td>\n                                        \n                                        Check Trigger Codes based on RCTC Value sets.\n                                        \n                                        <br/>\n                                        \n                                        \n                                        <b>If:</b>\n                                        \n                                        <i>Applicability:</i>\n                                        \n                                        <i>(%conditions.exists())</i>\n                                        <br/>\n                                        \n                                        \n                                        \n                                        \n                                        \n                                    </td>\n                                </tr>\n                                \n                            </table>\n                            \n                        </td>\n                    </tr>\n                    \n                    <tr>\n                        <td>\n                            \n                            Evaluate measure\n                            \n                            <br/>\n                            \n                            \n                            \n                            \n                            <b>Then:</b> <i>Definition:</i> <a href=\"Measure-DiabetesHemoglobinA1cHbA1cPoorControl9FHIR.html\">Diabetes: Hemoglobin A1c (HbA1c) Poor Control (&gt; 9%)FHIR</a><br/>\n                            \n                            \n                            \n                        </td>\n                    </tr>\n                    \n                    <tr>\n                        <td>\n                            \n                            Report Chronic Disease Surveillance\n                            \n                            <br/>\n                            \n                            \n                            <b>If:</b>\n                            \n                            <i>Applicability:</i>\n                            \n                            <i>(%measurereport.exists() and %measurereport.group.select(population).where(code.coding.where(code = 'denominator').exists() and count &gt; 0).exists())</i>\n                            <br/>\n                            \n                            \n                            \n                            <b>Then:</b>\n                            <table class=\"grid-dict\">\n                                \n                                <tr>\n                                    <td>\n                                        \n                                        Create eICR\n                                        \n                                        <br/>\n                                        \n                                        \n                                        \n                                        \n                                        \n                                    </td>\n                                </tr>\n                                \n                                <tr>\n                                    <td>\n                                        \n                                        Validate eICR\n                                        \n                                        <br/>\n                                        \n                                        \n                                        \n                                        \n                                        \n                                    </td>\n                                </tr>\n                                \n                                <tr>\n                                    <td>\n                                        \n                                        Submit eICR\n                                        \n                                        <br/>\n                                        \n                                        \n                                        \n                                        \n                                        \n                                    </td>\n                                </tr>\n                                \n                            </table>\n                            \n                        </td>\n                    </tr>\n                    \n                </table>\n            </td>\n        </tr>\n        \n    </table>\n</div>\n</div>"
  },
  "contained" : [
    {
      "resourceType" : "Library",
      "id" : "effective-data-requirements",
      "name" : "EffectiveDataRequirements",
      "status" : "active",
      "type" : {
        "coding" : [
          {
            "system" : "http://terminology.hl7.org/CodeSystem/library-type",
            "code" : "module-definition"
          }
        ]
      },
      "relatedArtifact" : [
        {
          "type" : "depends-on",
          "display" : "FHIR model information",
          "resource" : "http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1"
        }
      ]
    }
  ],
  "extension" : [
    {
      "id" : "effective-data-requirements",
      "url" : "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-effectiveDataRequirements",
      "valueCanonical" : "#effective-data-requirements"
    },
    {
      "url" : "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-softwaresystem",
      "valueReference" : {
        "reference" : "Device/cqf-tooling"
      }
    }
  ],
  "url" : "http://fhir.org/guides/cqf/aphl/chronic-ds/PlanDefinition/ChronicDSDiabetesPoorControl",
  "version" : "0.1.0",
  "name" : "ChronicDSDiabetesPoorControl",
  "title" : "Chronic Disease Surveillance Reporting Specification for Diabetes Hemoglobin A1c Poor Control",
  "type" : {
    "coding" : [
      {
        "system" : "http://terminology.hl7.org/CodeSystem/plan-definition-type",
        "code" : "workflow-definition",
        "display" : "Workflow Definition"
      }
    ]
  },
  "status" : "active",
  "experimental" : true,
  "date" : "2025-09-25T08:40:03.823-05:00",
  "publisher" : "Clinical Quality Framework",
  "contact" : [
    {
      "telecom" : [
        {
          "system" : "url",
          "value" : "http://cqframework.org"
        }
      ]
    }
  ],
  "description" : "Reporting specification for Chronic Disease Surveillance for Diabetes Hemoglobin A1c Poor Control",
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code" : "001"
        }
      ]
    }
  ],
  "effectivePeriod" : {
    "start" : "2021-06-01"
  },
  "library" : [
    🔗 "http://fhir.org/guides/cqf/aphl/chronic-ds/Library/DiabetesHemoglobinA1cHbA1cPoorControl9FHIR"
  ],
  "action" : [
    {
      "id" : "start",
      "description" : "This action represents the start of the reporting workflow in response to the encounter-end event",
      "textEquivalent" : "Start the reporting workflow in response to an encounter-end event",
      "code" : [
        {
          "coding" : [
            {
              "system" : "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions",
              "code" : "initiate-reporting-workflow"
            }
          ]
        }
      ],
      "trigger" : [
        {
          "id" : "encounter-end",
          "type" : "named-event",
          "name" : "encounter-end"
        }
      ],
      "relatedAction" : [
        {
          "actionId" : "check-reportable",
          "relationship" : "before-start",
          "offsetDuration" : {
            "value" : 24,
            "system" : "http://unitsofmeasure.org",
            "code" : "h"
          }
        }
      ]
    },
    {
      "id" : "check-reportable",
      "description" : "This action represents the check for reportability of the surveillance event.",
      "textEquivalent" : "Check Reportable",
      "code" : [
        {
          "coding" : [
            {
              "system" : "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions",
              "code" : "execute-reporting-workflow"
            }
          ]
        }
      ],
      "action" : [
        {
          "id" : "ckr-is-encounter-reportable",
          "description" : "This action represents the check for reportability to create the patients eICR.",
          "textEquivalent" : "Check Trigger Codes based on RCTC Value sets.",
          "code" : [
            {
              "coding" : [
                {
                  "system" : "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions",
                  "code" : "check-trigger-codes"
                }
              ]
            }
          ],
          "condition" : [
            {
              "kind" : "applicability",
              "expression" : {
                "language" : "text/fhirpath",
                "expression" : "%conditions.exists()"
              }
            }
          ],
          "input" : [
            {
              "id" : "conditions",
              "type" : "Condition",
              "codeFilter" : [
                {
                  "path" : "code",
                  "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.103.12.1001"
                }
              ]
            }
          ],
          "relatedAction" : [
            {
              "actionId" : "evaluate-measure",
              "relationship" : "before-start"
            }
          ]
        }
      ]
    },
    {
      "id" : "evaluate-measure",
      "description" : "This action represents the evaluation of the measure.",
      "textEquivalent" : "Evaluate measure",
      "code" : [
        {
          "coding" : [
            {
              "system" : "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions",
              "code" : "evaluate-measure"
            }
          ]
        }
      ],
      "input" : [
        {
          "id" : "patient",
          "type" : "Patient"
        },
        {
          "id" : "conditions",
          "type" : "Condition"
        },
        {
          "id" : "encounter",
          "type" : "Encounter"
        },
        {
          "id" : "mr",
          "type" : "MedicationRequest"
        },
        {
          "id" : "obs",
          "type" : "Observation"
        }
      ],
      "output" : [
        {
          "id" : "measurereport",
          "type" : "MeasureReport",
          "profile" : [
            "http://hl7.org/fhir/MeasureReport"
          ]
        }
      ],
      "relatedAction" : [
        {
          "actionId" : "report-ds",
          "relationship" : "before-start"
        }
      ],
      "definitionCanonical" : "http://fhir.org/guides/cqf/aphl/chronic-ds/Measure/DiabetesHemoglobinA1cHbA1cPoorControl9FHIR"
    },
    {
      "id" : "report-ds",
      "description" : "This action represents the reporting of the Chronic Disease Surveillance event.",
      "textEquivalent" : "Report Chronic Disease Surveillance",
      "code" : [
        {
          "coding" : [
            {
              "system" : "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions",
              "code" : "execute-reporting-workflow"
            }
          ]
        }
      ],
      "condition" : [
        {
          "kind" : "applicability",
          "expression" : {
            "language" : "text/fhirpath",
            "expression" : "%measurereport.exists() and %measurereport.group.select(population).where(code.coding.where(code = 'denominator').exists() and count > 0).exists()"
          }
        }
      ],
      "input" : [
        {
          "id" : "measurereport",
          "type" : "MeasureReport"
        }
      ],
      "action" : [
        {
          "id" : "create-eicr",
          "description" : "This action invokes the creation of the eICR report.",
          "textEquivalent" : "Create eICR",
          "code" : [
            {
              "coding" : [
                {
                  "system" : "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions",
                  "code" : "create-report"
                }
              ]
            }
          ],
          "input" : [
            {
              "id" : "patient",
              "type" : "Patient"
            },
            {
              "id" : "conditions",
              "type" : "Condition"
            },
            {
              "id" : "encounter",
              "type" : "Encounter"
            },
            {
              "id" : "mr",
              "type" : "MedicationRequest"
            },
            {
              "id" : "obs",
              "type" : "Observation"
            },
            {
              "id" : "measurereport",
              "type" : "MeasureReport"
            }
          ],
          "output" : [
            {
              "id" : "eicr-report-ChronicDSDiabetesPoorControl",
              "type" : "Bundle",
              "profile" : [
                "http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-measurereport-bundle"
              ]
            }
          ],
          "relatedAction" : [
            {
              "actionId" : "validate-eicr",
              "relationship" : "before-start"
            }
          ]
        },
        {
          "id" : "validate-eicr",
          "description" : "This action represents the validation of the eICR.",
          "textEquivalent" : "Validate eICR",
          "code" : [
            {
              "coding" : [
                {
                  "system" : "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions",
                  "code" : "validate-report"
                }
              ]
            }
          ],
          "input" : [
            {
              "id" : "eicr-report-ChronicDSDiabetesPoorControl",
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-relateddata-extension",
                  "valueString" : "eicr-report-ChronicDSDiabetesPoorControl"
                }
              ],
              "type" : "Bundle"
            }
          ],
          "output" : [
            {
              "id" : "validated-eicr-report",
              "type" : "Bundle",
              "profile" : [
                🔗 "http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-document-bundle"
              ]
            }
          ],
          "relatedAction" : [
            {
              "actionId" : "submit-eicr",
              "relationship" : "before-start"
            }
          ]
        },
        {
          "id" : "submit-eicr",
          "description" : "This action represents the validation of the eICR.",
          "textEquivalent" : "Submit eICR",
          "code" : [
            {
              "coding" : [
                {
                  "system" : "http://hl7.org/fhir/us/medmorph/CodeSystem/us-ph-plandefinition-actions",
                  "code" : "submit-report"
                }
              ]
            }
          ],
          "input" : [
            {
              "id" : "validated-eicr-report",
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-relateddata-extension",
                  "valueString" : "validated-eicr-report"
                }
              ],
              "type" : "Bundle"
            }
          ],
          "output" : [
            {
              "id" : "eicr-report-submitted",
              "type" : "Bundle",
              "profile" : [
                🔗 "http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-document-bundle"
              ]
            }
          ]
        }
      ]
    }
  ]
}