From 1daecba08cd11d97399566ab985416ad68b2404f Mon Sep 17 00:00:00 2001 From: stephen waite Date: Mon, 20 May 2024 21:36:34 -0400 Subject: [PATCH] fix: billing manager To Encounter button to load proper person (#7420) * fix: fix billing manager To Encounter button to load proper person * better to edit the person so it loads the dashboard tab if missing * change button name --- interface/billing/billing_report.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/interface/billing/billing_report.php b/interface/billing/billing_report.php index fe2ccb60c62..fd2f92bfbbd 100644 --- a/interface/billing/billing_report.php +++ b/interface/billing/billing_report.php @@ -347,9 +347,11 @@ function toencounter(pid, pubpid, pname, enc, datestr, dobstr) { top.restoreSession(); encurl = 'patient_file/encounter/encounter_top.php?set_encounter=' + encodeURIComponent(enc) + '&pid=' + encodeURIComponent(pid); + paturl = 'patient_file/summary/demographics_full.php?pid=' + encodeURIComponent(pid); parent.left_nav.setPatient(pname, pid, pubpid, '', dobstr); parent.left_nav.setEncounter(datestr, enc, 'enc'); parent.left_nav.loadFrame('enc2', 'enc', encurl); + parent.left_nav.loadFrame('dem1', 'pat', paturl); } // Process a click to go to an patient. @@ -1081,7 +1083,7 @@ function criteriaSelectHasValue(select) { // Changed "To xxx" buttons to allow room for encounter date display 2/17/09 JCH $lhtml .= "" . xlt('Patient') . ""; + top.window.parent.left_nav.setPatientEncounter(EncounterIdArray[" . attr($iter['enc_pid']) . "],EncounterDateArray[" . attr($iter['enc_pid']) . "], CalendarCategoryArray[" . attr($iter['enc_pid']) . "])\">" . xlt('Insurance') . ""; $is_edited = $iter['mboid'] ? 'btn-success' : 'btn-secondary'; $title = $iter['mboid'] ? xlt("This claim has HCFA 1500 miscellaneous billing options") : xlt("Click to add HCFA 1500 miscellaneous billing options"); $lhtml .= "" . xlt('MBO ') . "";