From 1457ed7be542ef2f725d68fd2c85d98ff3f7fb7c Mon Sep 17 00:00:00 2001 From: sunsetsystems Date: Tue, 29 Jul 2008 17:08:09 +0000 Subject: [PATCH] added pubpid display to navigation area --- interface/billing/billing_report.php | 9 +++++---- interface/patient_file/summary/pnotes_full.php | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/interface/billing/billing_report.php b/interface/billing/billing_report.php index e20c54f87..4a2b63684 100644 --- a/interface/billing/billing_report.php +++ b/interface/billing/billing_report.php @@ -143,11 +143,11 @@ function set_button_states() { } // Process a click to go to an encounter. -function toencounter(pid, pname, enc, datestr) { +function toencounter(pid, pubpid, pname, enc, datestr) { top.restoreSession(); var othername = (window.name == 'RTop') ? 'RBot' : 'RTop'; - parent.left_nav.setPatient(pname,pid,''); + parent.left_nav.setPatient(pname,pid,pubpid,''); parent.left_nav.setEncounter(datestr, enc, othername); parent.left_nav.setRadio(othername, 'enc'); parent.frames[othername].location.href = @@ -499,7 +499,7 @@ if ($ret = getBillsBetween($from_date, } } - $name = getPatientData($iter['enc_pid'], "fname, mname, lname"); + $name = getPatientData($iter['enc_pid'], "fname, mname, lname, pubpid"); # Check if patient has primary insurance and a subscriber exists for it. # If not we will highlight their name in red. @@ -528,7 +528,8 @@ if ($ret = getBillsBetween($from_date, $lhtml .= "   [To Encounter]"; $lhtml .= "    - parent.left_nav.setPatient(); + parent.left_nav.setPatient(); parent.left_nav.setRadio(window.name, 'pno');