diff --git a/contrib/util/import_mi2xml.php b/contrib/util/import_mi2xml.php index df75cbf7378..bd96a243350 100644 --- a/contrib/util/import_mi2xml.php +++ b/contrib/util/import_mi2xml.php @@ -190,6 +190,7 @@ function create_patient( &$medics, &$errors ) { '', // genericval1 '', // genericname2 '', // genericval2 + '', //billing_note '', // phone_cell form2db($medics->hippa_notice), // hipaa_mail form2db($medics->hippa_notice), // hipaa_voice diff --git a/custom/export_xml.php b/custom/export_xml.php index 472123558a1..77ad599b7d7 100644 --- a/custom/export_xml.php +++ b/custom/export_xml.php @@ -206,6 +206,7 @@ function addInsurance($row, $seq) { Add("genericval1" , $row['genericval1']); Add("genericname2" , $row['genericname2']); Add("genericval2" , $row['genericval2']); + Add("billing_note" , $row['billing_note']); Add("hipaa_mail" , $row['hipaa_mail']); Add("hipaa_voice" , $row['hipaa_voice']); diff --git a/custom/import_xml.php b/custom/import_xml.php index b07e343cbd4..5940bb6b45e 100644 --- a/custom/import_xml.php +++ b/custom/import_xml.php @@ -159,6 +159,7 @@ function setInsurance($pid, $ainsurance, $asubscriber, $seq) { $apatient['genericval1'], $apatient['genericname2'], $apatient['genericval2'], + $apatient['billing_note'], $apatient['phone_cell'], $apatient['hipaa_mail'], $apatient['hipaa_voice'], diff --git a/interface/billing/billing_report.php b/interface/billing/billing_report.php index 6be73daff0f..3b4bfaadb7f 100644 --- a/interface/billing/billing_report.php +++ b/interface/billing/billing_report.php @@ -774,7 +774,7 @@ class='link_submit' > } } - $name = getPatientData($iter['enc_pid'], "fname, mname, lname, pubpid, DATE_FORMAT(DOB,'%Y-%m-%d') as DOB_YMD"); + $name = getPatientData($iter['enc_pid'], "fname, mname, lname, pubpid, billing_note, DATE_FORMAT(DOB,'%Y-%m-%d') as DOB_YMD"); # Check if patient has primary insurance and a subscriber exists for it. # If not we will highlight their name in red. @@ -795,7 +795,7 @@ class='link_submit' > $ptname = $name['fname'] . " " . $name['lname']; $raw_encounter_date = date("Y-m-d", strtotime($iter['enc_date'])); - + $billing_note = $name['billing_note']; // Add Encounter Date to display with "To Encounter" button 2/17/09 JCH $lhtml .= " ". text($ptname) . " (" . text($iter['enc_pid']) . "-" . @@ -847,7 +847,7 @@ class='link_submit' > "], CalendarCategoryArray[" . $iter['enc_pid'] . "])\">[" . xlt('To Dems') . "]"; $divnos=$divnos+1; $lhtml .= " (" . htmlspecialchars( xl('Expand'), ENT_QUOTES) . ")"; + "\">(" . htmlspecialchars( xl('Expand'), ENT_QUOTES) . ') '.text($billing_note).''; if ($iter['id']) { @@ -1065,7 +1065,7 @@ class='link_submit' > if ($iter['id']) $rhtml .= text(oeFormatSDFT(strtotime($iter{"date"}))); $rhtml .= "\n"; if ($iter['id'] && $iter['authorized'] != 1) { - $rhtml .= "