2 // Copyright (C) 2011 Ken Chapple <ken@mi-squared.com>
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.
9 class NFQ_0043_InitialPatientPopulation
implements CqmFilterIF
11 public function getTitle()
13 return "Initial Patient Population";
16 public function test(CqmPatient
$patient, $beginDate, $endDate)
18 if ($patient->calculateAgeOnDate($beginDate) >= 65 && (Helper
::checkEncounter(Encounter
::ENC_OUTPATIENT
, $patient, $beginDate, $endDate))) {