Skip to content

Commit

Permalink
Strict SQL Syntax cleanup in fee sheet queries
Browse files Browse the repository at this point in the history
  • Loading branch information
yehster committed May 9, 2014
1 parent 05ed65e commit 1215291
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions interface/forms/fee_sheet/review/fee_sheet_queries.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,11 @@ function update_issues($pid,$encounter,$diags)
function create_diags($req_pid,$req_encounter,$diags)
{
$authorized=1;// Need to fix this. hard coded for now
$provid="";
$provid=0;
$rowParams="(NOW(), ?, ?, ?, ?,". // date, encounter, code_type,code, code_text
" ?, ?, ?, ?,". // pid, authorized, user, groupname
"1, 0, ?," . // activity, billed, provider_id
" '', '', '0.00', '', '', '')"; // modifier, units,fee,ndc_info,justify,notecodes
" '', NULL, '0.00', '', '', '')"; // modifier, units,fee,ndc_info,justify,notecodes
$sqlCreateDiag = "insert into billing (date, encounter, code_type, code, code_text, " .
"pid, authorized, user, groupname, activity, billed, provider_id, " .
"modifier, units, fee, ndc_info, justify, notecodes) values ";
Expand Down Expand Up @@ -196,7 +196,7 @@ function create_diags($req_pid,$req_encounter,$diags)
function create_procs($req_pid,$req_encounter,$procs)
{
$authorized=1;// Need to fix this. hard coded for now
$provid="";
$provid=0;
$sql = "insert into billing (".
"date, encounter, code_type, code,".
"code_text, pid, authorized, user,".
Expand Down

0 comments on commit 1215291

Please sign in to comment.