FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagecqf.aphl.chronic-ds
Resource TypePlanDefinition
IdPlanDefinition-ChronicDSDiabetesPoorControl.json
FHIR VersionR4
Sourcehttps://build.fhir.org/ig/cqframework/aphl-chronic-ig/PlanDefinition-ChronicDSDiabetesPoorControl.html
URLhttp://fhir.org/guides/cqf/aphl/chronic-ds/PlanDefinition/ChronicDSDiabetesPoorControl
Version0.1.0
Statusactive
Date2025-09-25T08:40:03.823-05:00
NameChronicDSDiabetesPoorControl
TitleChronic Disease Surveillance Reporting Specification for Diabetes Hemoglobin A1c Poor Control
Realmuv
DescriptionReporting specification for Chronic Disease Surveillance for Diabetes Hemoglobin A1c Poor Control

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

Note: links and images are rebased to the (stated) source

Id: ChronicDSDiabetesPoorControl
Url: Chronic Disease Surveillance Reporting Specification for Diabetes Hemoglobin A1c Poor Control
Version: 0.1.0
Title: Chronic Disease Surveillance Reporting Specification for Diabetes Hemoglobin A1c Poor Control
Experimental: true
Type:

system: http://terminology.hl7.org/CodeSystem/plan-definition-type

code: workflow-definition

display: Workflow Definition

Date: 2025-09-25 08:40:03-0500
Publisher: Clinical Quality Framework
Description:

Reporting specification for Chronic Disease Surveillance for Diabetes Hemoglobin A1c Poor Control

Jurisdiction: 001
Effective Period: 2021-06-01..
Libraries:
DiabetesHemoglobinA1cHbA1cPoorControl9FHIR
Actions:
Start the reporting workflow in response to an encounter-end event
When: Named Event: encounter-end
Check Reportable
Then:
Check Trigger Codes based on RCTC Value sets.
If: Applicability: (%conditions.exists())
Evaluate measure
Then: Definition: Diabetes: Hemoglobin A1c (HbA1c) Poor Control (> 9%)FHIR
Report Chronic Disease Surveillance
If: Applicability: (%measurereport.exists() and %measurereport.group.select(population).where(code.coding.where(code = 'denominator').exists() and count > 0).exists())
Then:
Create eICR
Validate eICR
Submit eICR

Source1

{
  "resourceType": "PlanDefinition",
  "id": "ChronicDSDiabetesPoorControl",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "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"
              ]
            }
          ]
        }
      ]
    }
  ]
}