From 2181cda989204dd1b4e167d24f0062a91f675db5 Mon Sep 17 00:00:00 2001 From: bradymiller Date: Mon, 7 Feb 2011 17:03:54 -0800 Subject: [PATCH] CDR module work on the CQM report requirements: 1) Added ability to report by plan. 2) Added ability to report by all providers in a cumulative and collated report. 3) Added ability to report pertinent clinician NPI numbers, clinician TIN numbers, measure group plan codes, rule codes (both PQRI and NQF) into the report (preparing for an xml out feature). 4) Added ability to record number of Exclusions in report. All of these features are in Reports=>Clinic=>Quality Measures. Now have the tools to build the xml report and to build the CQM rules. --- interface/reports/cqm.php | 127 +++++++++++++++++++++++++++---------- library/clinical_rules.php | 104 ++++++++++++++++++++---------- 2 files changed, 164 insertions(+), 67 deletions(-) diff --git a/interface/reports/cqm.php b/interface/reports/cqm.php index 9179b1da4be..a6365b3a440 100644 --- a/interface/reports/cqm.php +++ b/interface/reports/cqm.php @@ -26,7 +26,9 @@ // Collect parameters (set defaults if empty) $target_date = (isset($_POST['form_target_date'])) ? trim($_POST['form_target_date']) : date('Y-m-d H:i:s'); -$rule_filter = (isset($_POST['form_rule_filter'])) ? trim($_POST['form_rule_filter']) : $rule_filter = "cqm"; +$rule_filter = (isset($_POST['form_rule_filter'])) ? trim($_POST['form_rule_filter']) : ""; +$plan_filter = (isset($_POST['form_plan_filter'])) ? trim($_POST['form_plan_filter']) : ""; +$organize_method = (empty($plan_filter)) ? "default" : "plans"; $provider = trim($_POST['form_provider']); ?> @@ -132,7 +134,21 @@ function refreshme() { -   + + + + : + + + \n"; - echo "