5 * AMC 314g_1_2_14 STAGE1 Denominator
7 * Copyright (C) 2015 Ensoftek, Inc
8 * Copyright (C) 2015 Brady Miller <brady.g.miller@gmail.com>
10 * LICENSE: This program is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License
12 * as published by the Free Software Foundation; either version 2
13 * of the License, or (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program. If not, see <http://opensource.org/licenses/gpl-license.php>;.
23 * @author Brady Miller <brady.g.miller@gmail.com>
24 * @link http://www.open-emr.org
27 class AMC_314g_1_2_14_Denominator
implements AmcFilterIF
29 public function getTitle()
31 return "AMC_314g_1_2_14 Denominator";
34 public function test(AmcPatient
$patient, $beginDate, $endDate)
37 // (basically needs an encounter within the report dates)
38 $options = array( Encounter
::OPTION_ENCOUNTER_COUNT
=> 1 );
39 if (Helper
::checkAnyEncounter($patient, $beginDate, $endDate, $options)) {