当前位置: 首页>>代码示例>>PHP>>正文


PHP getPatientBillingEncounter函数代码示例

本文整理汇总了PHP中getPatientBillingEncounter函数的典型用法代码示例。如果您正苦于以下问题:PHP getPatientBillingEncounter函数的具体用法?PHP getPatientBillingEncounter怎么用?PHP getPatientBillingEncounter使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了getPatientBillingEncounter函数的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: xl

 print "</div>";
 print "<div id='superbill_billingdata'>";
 print "<h1>" . xl('Billing Information') . ":</h1>";
 if (count($patient) > 0) {
     $billings = array();
     echo "<table width='100%'>";
     echo "<tr>";
     echo "<td class='bold' width='10%'>" . xl('Date') . "</td>";
     echo "<td class='bold' width='20%'>" . xl('Provider') . "</td>";
     echo "<td class='bold' width='40%'>" . xl('Code') . "</td>";
     echo "<td class='bold' width='10%'>" . xl('Fee') . "</td></tr>\n";
     $total = 0.0;
     $copays = 0.0;
     //foreach ($patient as $be) {
     $ta = split(":", $patient);
     $billing = getPatientBillingEncounter($pids[$iCounter], $ta[1]);
     $billings[] = $billing;
     foreach ($billing as $b) {
         // grab the date to reformat it in the output
         $bdate = strtotime($b['date']);
         echo "<tr>\n";
         echo "<td class='text' style='font-size: 0.8em'>" . oeFormatShortDate(date("Y-m-d", $bdate)) . "<BR>" . date("h:i a", $bdate) . "</td>";
         echo "<td class='text'>" . $b['provider_name'] . "</td>";
         echo "<td class='text'>";
         echo $b['code_type'] . ":\t" . $b['code'] . "&nbsp;" . $b['modifier'] . "&nbsp;&nbsp;&nbsp;" . $b['code_text'] . "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
         echo "</td>\n";
         echo "<td class='text'>";
         echo oeFormatMoney($b['fee']);
         echo "</td>\n";
         echo "</tr>\n";
         $total += $b['fee'];
开发者ID:robonology,项目名称:openemr,代码行数:31,代码来源:custom_report_range.php

示例2: xl

     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;
             foreach ($billing as $b) {
                 echo "<tr>\n";
                 echo "<td class=text>";
                 echo $b['code_type'] . ":\t" . $b['code'] . "&nbsp;" . $b['modifier'] . "&nbsp;&nbsp;&nbsp;" . $b['code_text'] . "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
                 echo "</td>\n";
                 echo "<td class=text>";
                 echo oeFormatMoney($b['fee']);
                 echo "</td>\n";
                 echo "</tr>\n";
                 $total += $b['fee'];
                 if ($b['code_type'] == "COPAY") {
                     $copays += $b['fee'];
                 }
             }
开发者ID:ekuiperemr,项目名称:openemr,代码行数:31,代码来源:custom_report.php

示例3: 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


注:本文中的getPatientBillingEncounter函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。