some more integration work for previous commit
authorbradymiller <bradymiller@users.sourceforge.net>
Wed, 1 May 2013 01:38:50 +0000 (30 18:38 -0700)
committerbradymiller <bradymiller@users.sourceforge.net>
Wed, 1 May 2013 01:38:50 +0000 (30 18:38 -0700)
library/classes/ClinicalTypes/Medication.php

index 6b41863..ebea3db 100644 (file)
@@ -56,7 +56,7 @@ class Medication extends ClinicalType
             $sqlQueryBind= array();
             $query = "SELECT * " .
                "FROM immunizations " .
-                "WHERE patient_id = ? " .
+                "WHERE patient_id = ? AND added_erroneously = '0' " .
                 "AND administered_date >= ? " .
                 "AND administered_date <= ? ";
             $query.= "AND ( ";