Highway to PSR2
[openemr.git] / library / classes / rulesets / Cqm / reports / NFQ_0038 / Denominator.php
blob7b187473d6a76ab0369bf726ef6ea35d58107abf
1 <?php
2 // Copyright (C) 2011 Ken Chapple <ken@mi-squared.com>
3 //
4 // This program is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU General Public License
6 // as published by the Free Software Foundation; either version 2
7 // of the License, or (at your option) any later version.
8 //
9 class NFQ_0038_Denominator implements CqmFilterIF
11 public function getTitle()
13 return "Denominator";
16 public function test(CqmPatient $patient, $beginDate, $endDate)
18 $oneEncounter = array( Encounter::OPTION_ENCOUNTER_COUNT => 1 );
19 if (Helper::check(ClinicalType::ENCOUNTER, Encounter::ENC_OUT_PCP_OBGYN, $patient, $beginDate, $endDate, $oneEncounter)) {
20 return true;
23 return false;