2 // Copyright (C) 2011 Brady Miller <brady.g.miller@gmail.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.
11 class AMC_304b_Numerator
implements AmcFilterIF
13 public function getTitle()
15 return "AMC_304b Numerator";
18 public function test(AmcPatient
$patient, $beginDate, $endDate)
20 // Need a prescription escribed.
21 // (so basically an amc element needs to exist)
22 $amcElement = amcCollect('e_prescribe_amc', $patient->id
, 'prescriptions', $patient->object['id']);
23 if (!(empty($amcElement))) {