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

FHIR IG analytics

Packagecqf.aphl.chronic-ds
Resource TypePlanDefinition
IdPlanDefinition-ChronicDSSeenPatients.json
FHIR VersionR4
Sourcehttps://build.fhir.org/ig/cqframework/aphl-chronic-ig/PlanDefinition-ChronicDSSeenPatients.html
URLhttp://fhir.org/guides/cqf/aphl/chronic-ds/PlanDefinition/ChronicDSSeenPatients
Version0.1.0
Statusactive
Date2025-09-25T08:40:03.823-05:00
NameChronicDSSeenPatients
TitleChronic Disease Surveillance Reporting Specification for Seen Patients Cohort
Realmuv
DescriptionReporting specification for Chronic Disease Surveillance for Seen Patients Cohort

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: ChronicDSSeenPatients
Url: Chronic Disease Surveillance Reporting Specification for Seen Patients Cohort
Version: 0.1.0
Title: Chronic Disease Surveillance Reporting Specification for Seen Patients Cohort
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 Seen Patients Cohort

Jurisdiction: 001
Effective Period: 2021-06-01..
Libraries:
Seen Patients
Actions:
Start the reporting workflow in response to an encounter-end event
When: Named Event: encounter-end
Evaluate measure
Then: Definition: Seen Patients
Report Chronic Disease Surveillance
If: Applicability: (%measurereport.exists() and %measurereport.group.select(population).where(code.coding.where(code = 'initial-population').exists() and count > 0).exists())
Then:
Create eICR
Validate eICR
Submit eICR

Source1

{
  "resourceType": "PlanDefinition",
  "id": "ChronicDSSeenPatients",
  "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/ChronicDSSeenPatients",
  "version": "0.1.0",
  "name": "ChronicDSSeenPatients",
  "title": "Chronic Disease Surveillance Reporting Specification for Seen Patients Cohort",
  "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 Seen Patients Cohort",
  "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/SeenPatients"
  ],
  "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": "evaluate-measure",
          "relationship": "before-start",
          "offsetDuration": {
            "value": 24,
            "system": "http://unitsofmeasure.org",
            "code": "h"
          }
        }
      ]
    },
    {
      "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/SeenPatients"
    },
    {
      "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 = 'initial-population').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-ChronicDSSeenPatients",
              "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-ChronicDSSeenPatients",
              "extension": [
                {
                  "url": "http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-relateddata-extension",
                  "valueString": "eicr-report-ChronicDSSeenPatients"
                }
              ],
              "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"
              ]
            }
          ]
        }
      ]
    }
  ]
}