From 5365a5f0bb3fd3c825e1826b6aa0b1eb03355ced Mon Sep 17 00:00:00 2001 From: bradymiller Date: Sat, 16 Apr 2016 00:53:48 -0700 Subject: [PATCH] AMC rule fix for MU2 --- sql/4_2_1-to-4_3_1_upgrade.sql | 3 +++ sql/database.sql | 2 +- version.php | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/sql/4_2_1-to-4_3_1_upgrade.sql b/sql/4_2_1-to-4_3_1_upgrade.sql index a16095149..c15f21d3b 100644 --- a/sql/4_2_1-to-4_3_1_upgrade.sql +++ b/sql/4_2_1-to-4_3_1_upgrade.sql @@ -157,3 +157,6 @@ INSERT INTO list_options (list_id,option_id,title) VALUES ('lists','issue_subtyp INSERT INTO list_options (list_id, option_id,title, seq) VALUES ('issue_subtypes', 'eye', 'Eye',10); #EndIf +UPDATE `clinical_rules` SET `amc_2014_stage1_flag` = 1, `amc_2014_stage2_flag` = 1 WHERE `id` = 'med_reconc_amc' AND `pid` = 0; +UPDATE `clinical_rules` SET `amc_2014_stage1_flag` = 1, `amc_2014_stage2_flag` = 1 WHERE `id` = 'med_reconc_amc' AND `pid` = 0; + diff --git a/sql/database.sql b/sql/database.sql index 1201f4517..2fc3b550f 100644 --- a/sql/database.sql +++ b/sql/database.sql @@ -462,7 +462,7 @@ INSERT INTO `clinical_rules` ( `id`, `pid`, `active_alert_flag`, `passive_alert_ -- MU 170.302(j) The EP, eligible hospital or CAH who receives a patient from another -- setting of care or provider of care or believes an encounter is relevant -- should perform medication reconciliation -INSERT INTO `clinical_rules` ( `id`, `pid`, `active_alert_flag`, `passive_alert_flag`, `cqm_flag`, `cqm_nqf_code`, `cqm_pqri_code`, `amc_flag`, `amc_2011_flag`, `amc_code`, `amc_2014_flag`, `amc_code_2014`, `patient_reminder_flag` ) VALUES ('med_reconc_amc', 0, 0, 0, 0, '', '', 1, 1, '170.302(j)', 1, '170.314(g)(1)/(2)–17', 0); +INSERT INTO `clinical_rules` ( `id`, `pid`, `active_alert_flag`, `passive_alert_flag`, `cqm_flag`, `cqm_nqf_code`, `cqm_pqri_code`, `amc_flag`, `amc_2011_flag`, `amc_code`, `amc_2014_flag`, `amc_code_2014`, `patient_reminder_flag`, `amc_2014_stage1_flag`, `amc_2014_stage2_flag` ) VALUES ('med_reconc_amc', 0, 0, 0, 0, '', '', 1, 1, '170.302(j)', 1, '170.314(g)(1)/(2)–17', 0, 1, 1); -- MU 170.302(m) Use certified EHR technology to identify patient-specific education resources -- and provide those resources to the patient if appropriate INSERT INTO `clinical_rules` ( `id`, `pid`, `active_alert_flag`, `passive_alert_flag`, `cqm_flag`, `cqm_nqf_code`, `cqm_pqri_code`, `amc_flag`, `amc_2011_flag`, `amc_code`, `patient_reminder_flag`, `amc_2014_flag`, `amc_code_2014`, `amc_2014_stage1_flag` ) VALUES ('patient_edu_amc', 0, 0, 0, 0, '', '', 1, 1, '170.302(m)', 0, 1, '170.314(g)(1)/(2)–16', 1); diff --git a/version.php b/version.php index 3a1f0bb88..b77374e37 100644 --- a/version.php +++ b/version.php @@ -17,7 +17,7 @@ $v_realpatch = '0'; // is a database change in the course of development. It is used // internally to determine when a database upgrade is needed. // -$v_database = 163; +$v_database = 164; // Access control version identifier, this is to be incremented whenever there // is a access control change in the course of development. It is used -- 2.11.4.GIT