minor immunization fix in previous CCR Import commit
authorbradymiller <bradymiller@users.sourceforge.net>
Thu, 1 Aug 2013 04:59:49 +0000 (31 21:59 -0700)
committerbradymiller <bradymiller@users.sourceforge.net>
Thu, 1 Aug 2013 04:59:49 +0000 (31 21:59 -0700)
interface/patient_file/ccr_review_approve.php

index ce86df1..9b79756 100644 (file)
@@ -370,7 +370,7 @@ function submit_form(val){
                                <table border="0" width="95%" >
                                        <tr>
                                                <?php
-                                                       $query_existing_immunizations = sqlStatement("SELECT * FROM immunizations WHERE patient_id = ?",array($_REQUEST['pid']));
+                                                       $query_existing_immunizations = sqlStatement("SELECT * FROM immunizations WHERE patient_id = ? AND added_erroneously = 0",array($_REQUEST['pid']));
                                                        $result = array();
                                                        while($res_existing_immunizations = sqlFetchArray($query_existing_immunizations)){
                                                                array_push($result,$res_existing_immunizations);