當前位置: 首頁>>代碼示例>>PHP>>正文


PHP printRecDataOne函數代碼示例

本文整理匯總了PHP中printRecDataOne函數的典型用法代碼示例。如果您正苦於以下問題:PHP printRecDataOne函數的具體用法?PHP printRecDataOne怎麽用?PHP printRecDataOne使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。


在下文中一共展示了printRecDataOne函數的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: getIncudes

    private function getIncudes($val)
    {
        global $pid;
        if ($val == "demographics") {
            ?>
	    <hr />
	    <div class='text demographics' id='DEM'>
	    <?php 
            // printRecDataOne($patient_data_array, getRecPatientData ($pid), $N);
            $result1 = getPatientData($pid);
            $result2 = getEmployerData($pid);
            ?>
	    <table>
	    <tr><td><h6><?php 
            echo htmlspecialchars(xl('Patient Data') . ":", ENT_QUOTES);
            ?>
</h6></td></tr>
	    <?php 
            display_layout_rows('DEM', $result1, $result2);
            ?>
	    </table>
	    </div>
	    <?php 
        } elseif ($val == "history") {
            ?>
	    <hr />
	    <div class='text history' id='HIS'>
		<?php 
            $result1 = getHistoryData($pid);
            ?>
		<table>
		<tr><td><h6><?php 
            echo htmlspecialchars(xl('History Data') . ":", ENT_QUOTES);
            ?>
</h6></td></tr>
		<?php 
            display_layout_rows('HIS', $result1);
            ?>
		</table>
		</div>
	<?php 
        } elseif ($val == "insurance") {
            ?>
	    <hr />
	    <div class='text insurance'>";
	    <h6><?php 
            echo htmlspecialchars(xl('Insurance Data') . ":", ENT_QUOTES);
            ?>
</h6>
	    <br><span class=bold><?php 
            echo htmlspecialchars(xl('Primary Insurance Data') . ":", ENT_QUOTES);
            ?>
</span><br>
	    <?php 
            printRecDataOne($insurance_data_array, getRecInsuranceData($pid, "primary"), $N);
            ?>
	    <span class=bold><?php 
            echo htmlspecialchars(xl('Secondary Insurance Data') . ":", ENT_QUOTES);
            ?>
</span><br>
	    <?php 
            printRecDataOne($insurance_data_array, getRecInsuranceData($pid, "secondary"), $N);
            ?>
	    <span class=bold><?php 
            echo htmlspecialchars(xl('Tertiary Insurance Data') . ":", ENT_QUOTES);
            ?>
</span><br>
	    <?php 
            printRecDataOne($insurance_data_array, getRecInsuranceData($pid, "tertiary"), $N);
            ?>
	    </div>
	    <?php 
        } elseif ($val == "billing") {
            ?>
	    <hr />
	    <div class='text billing'>
	    <h6><?php 
            echo htmlspecialchars(xl('Billing Information') . ":", ENT_QUOTES);
            ?>
</h6>
	    <?php 
            if (count($ar['newpatient']) > 0) {
                $billings = array();
                ?>
		<table>
		<tr><td width='400' class='bold'><?php 
                echo htmlspecialchars(xl('Code'), ENT_QUOTES);
                ?>
</td><td class='bold'><?php 
                echo htmlspecialchars(xl('Fee'), ENT_QUOTES);
                ?>
</td></tr>
		<?php 
                $total = 0.0;
                $copays = 0.0;
                foreach ($ar['newpatient'] as $be) {
                    $ta = split(":", $be);
                    $billing = getPatientBillingEncounter($pid, $ta[1]);
                    $billings[] = $billing;
                    foreach ($billing as $b) {
//.........這裏部分代碼省略.........
開發者ID:mi-squared,項目名稱:openemr,代碼行數:101,代碼來源:server_med_rec.php

示例2: elseif

         echo "   </table>\n";
     }
     echo "</div>";
     // } elseif ($val == "employer") {
     //   print "<br><span class='bold'>".xl('Employer Data').":</span><br>";
     //   printRecDataOne($employer_data_array, getRecEmployerData ($pid), $N);
 } elseif ($val == "insurance") {
     echo "<hr />";
     echo "<div class='text insurance'>";
     echo "<h1>" . xl('Insurance Data') . ":</h1>";
     print "<br><span class=bold>" . xl('Primary Insurance Data') . ":</span><br>";
     printRecDataOne($insurance_data_array, getRecInsuranceData($pid, "primary"), $N);
     print "<span class=bold>" . xl('Secondary Insurance Data') . ":</span><br>";
     printRecDataOne($insurance_data_array, getRecInsuranceData($pid, "secondary"), $N);
     print "<span class=bold>" . xl('Tertiary Insurance Data') . ":</span><br>";
     printRecDataOne($insurance_data_array, getRecInsuranceData($pid, "tertiary"), $N);
     echo "</div>";
 } elseif ($val == "billing") {
     echo "<hr />";
     echo "<div class='text billing'>";
     print "<h1>" . xl('Billing Information') . ":</h1>";
     if (count($ar['newpatient']) > 0) {
         $billings = array();
         echo "<table>";
         echo "<tr><td width='400' class='bold'>Code</td><td class='bold'>" . xl('Fee') . "</td></tr>\n";
         $total = 0.0;
         $copays = 0.0;
         foreach ($ar['newpatient'] as $be) {
             $ta = split(":", $be);
             $billing = getPatientBillingEncounter($pid, $ta[1]);
             $billings[] = $billing;
開發者ID:ekuiperemr,項目名稱:openemr,代碼行數:31,代碼來源:custom_report.php

示例3: text

                print "<table border=0><tr>\n";
                // small table
                $first_time = 0;
            }
            print "<tr><td colspan=5><hr><span class=bold>" . text($name["fname"]) . " " . text($name["lname"]) . "</span><br><br>\n";
            //==================================
            print "<font class=bold>" . xlt("Patient Data") . ":</font><br>";
            printRecDataOne($patient_data_array, getRecPatientData($iter["pid"]), $COLS);
            print "<font class=bold>" . xlt("Employer Data") . ":</font><br>";
            printRecDataOne($employer_data_array, getRecEmployerData($iter["pid"]), $COLS);
            print "<font class=bold>" . xlt("Primary Insurance Data") . ":</font><br>";
            printRecDataOne($insurance_data_array, getRecInsuranceData($iter["pid"], "primary"), $COLS);
            print "<font class=bold>" . xlt("Secondary Insurance Data") . ":</font><br>";
            printRecDataOne($insurance_data_array, getRecInsuranceData($iter["pid"], "secondary"), $COLS);
            print "<font class=bold>" . xlt("Tertiary Insurance Data") . ":</font><br>";
            printRecDataOne($insurance_data_array, getRecInsuranceData($iter["pid"], "tertiary"), $COLS);
            //==================================
            print "</td></tr><tr>\n";
            $old_pid = $iter["pid"];
        }
        print "<td width=100><span class=text>" . text($iter["code_type"]) . ": </span></td><td width=100><span class=text>" . text($iter["code"]) . "</span></td><td width=100><span class=small>(" . text(date("Y-m-d", strtotime($iter["date"]))) . ")</span></td>\n";
        $res_count++;
        if ($res_count == $N) {
            print "</tr><tr>\n";
            $res_count = 0;
        }
        $itero = $iter;
    }
    print "</tr></table>\n";
    // small table
}
開發者ID:rreddy70,項目名稱:openemr,代碼行數:31,代碼來源:print_billing_report.php


注:本文中的printRecDataOne函數示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。