コード例 #1
0
ファイル: billing_report.php プロジェクト: mi-squared/openemr
}
if ($unbilled == "on") {
    $unbilled = "0";
} else {
    $unbilled = "%";
}
if (isset($_POST["mode"]) && $_POST["mode"] == "bill") {
    billCodesList($list);
}
?>

<table border="0" cellspacing="0" cellpadding="0" width="100%">

<?php 
$divnos = 0;
if ($ret = getBillsBetween("%")) {
    if (is_array($ret)) {
        ?>
<tr ><td colspan='9' align="right" ><table width="250" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="100" id='ExpandAll'><a  onclick="expandcollapse('expand');" class='small'  href="JavaScript:void(0);"><?php 
        echo '(' . htmlspecialchars(xl('Expand All'), ENT_QUOTES) . ')';
        ?>
</a></td>
    <td width="100" id='CollapseAll'><a  onclick="expandcollapse('collapse');" class='small'  href="JavaScript:void(0);"><?php 
        echo '(' . htmlspecialchars(xl('Collapse All'), ENT_QUOTES) . ')';
        ?>
</a></td>
    <td width="50">&nbsp;</td>
  </tr>
</table>
コード例 #2
0
}
if ($unbilled == "on") {
    $unbilled = "0";
} else {
    $unbilled = "%";
}
if (isset($_POST["mode"]) && $_POST["mode"] == "bill") {
    billCodesList($list);
}
?>

<p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">

<?php 
if ($ret = getBillsBetween($from_date, empty($to_date) ? $from_date : $to_date, $my_authorized, $unbilled, "%")) {
    $loop = 0;
    $oldcode = "";
    $last_encounter_id = "";
    $lhtml = "";
    $rhtml = "";
    $lcount = 0;
    $rcount = 0;
    $bgcolor = "";
    $skipping = FALSE;
    $mmo_empty_mod = false;
    $mmo_num_charges = 0;
    foreach ($ret as $iter) {
        // We include encounters here that have never been billed.  However
        // if it had no selected billing items but does have non-selected
        // billing items, then it is not of interest.
コード例 #3
0
    $unbilled = "%";
}
if ($code_type == "all") {
    $code_type = "%";
}
$list = getBillsListBetween($from_date, $to_date, $my_authorized, $unbilled, $code_type);
?>

<?php 
if (isset($_GET["mode"]) && $_GET["mode"] == "bill") {
    billCodesList($list);
}
$res_count = 0;
$N = 1;
$itero = array();
if ($ret = getBillsBetween($from_date, $to_date, $my_authorized, $unbilled, $code_type)) {
    $old_pid = -1;
    $first_time = 1;
    $encid = 0;
    foreach ($ret as $iter) {
        if ($old_pid != $iter["pid"]) {
            $name = getPatientData($iter["pid"]);
            if (!$first_time) {
                print "</tr></table>\n";
                print "</td><td>";
                print "<table border=0><tr>\n";
                // small table
            } else {
                print "<table border=0><tr>\n";
                // small table
                $first_time = 0;
コード例 #4
0
    $unbilled = "%";
}
if ($code_type == "all") {
    $code_type = "%";
}
$list = getBillsListBetween($code_type);
?>

<?php 
if (isset($_GET["mode"]) && $_GET["mode"] == "bill") {
    billCodesList($list);
}
$res_count = 0;
$N = 1;
$itero = array();
if ($ret = getBillsBetween($code_type)) {
    $old_pid = -1;
    $first_time = 1;
    $encid = 0;
    foreach ($ret as $iter) {
        if ($old_pid != $iter["pid"]) {
            $name = getPatientData($iter["pid"]);
            if (!$first_time) {
                print "</tr></table>\n";
                print "</td><td>";
                print "<table border=0><tr>\n";
                // small table
            } else {
                print "<table border=0><tr>\n";
                // small table
                $first_time = 0;