remove trailing whitespaces
[openemr.git] / library / classes / rulesets / Cqm / reports / NFQ_0038_2014 / Numerator.php
blob352c157123e37fb680ea3c85e7f313fd182d6a05
1 <?php
2 /**
4 * CQM NQF 0038(2014) Numerator
6 * Copyright (C) 2015 Ensoftek, Inc
8 * LICENSE: This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; either version 2
11 * of the License, or (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <http://opensource.org/licenses/gpl-license.php>;.
19 * @package OpenEMR
20 * @author Ensoftek
21 * @link http://www.open-emr.org
24 class NFQ_0038_2014_Numerator implements CqmFilterIF
26 public function getTitle() {
27 return "Numerator";
30 public function test( CqmPatient $patient, $beginDate, $endDate )
32 if ( (Immunizations::checkDtap( $patient, $beginDate, $endDate ) ) ||
33 ( Immunizations::checkIpv( $patient, $beginDate, $endDate ) ) ||
34 ( Immunizations::checkMmr( $patient, $beginDate, $endDate ) ) ||
35 ( Immunizations::checkHib( $patient, $beginDate, $endDate ) ) ||
36 ( Immunizations::checkHepB( $patient, $beginDate, $endDate ) ) ||
37 ( Immunizations::checkVzv( $patient, $beginDate, $endDate ) ) ||
38 ( Immunizations::checkPheumococcal( $patient, $beginDate, $endDate ) ) ||
39 ( Immunizations::checkHepA( $patient, $beginDate, $endDate ) ) ||
40 ( Immunizations::checkRotavirus_2014( $patient, $beginDate, $endDate ) ) ||
41 ( Immunizations::checkInfluenza( $patient, $beginDate, $endDate ) )
44 return true;
46 return false;