本文整理汇总了PHP中oeFormatShortDate函数的典型用法代码示例。如果您正苦于以下问题:PHP oeFormatShortDate函数的具体用法?PHP oeFormatShortDate怎么用?PHP oeFormatShortDate使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了oeFormatShortDate函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: showDocument
function showDocument(&$drow)
{
global $ISSUE_TYPES, $auth_med;
$docdate = $drow['docdate'];
echo "<tr class='text docrow' id='" . htmlspecialchars($drow['id'], ENT_QUOTES) . "' title='" . htmlspecialchars(xl('View document'), ENT_QUOTES) . "'>\n";
// show date
echo "<td>" . htmlspecialchars(oeFormatShortDate($docdate), ENT_NOQUOTES) . "</td>\n";
// show associated issue, if any
echo "<td>";
if ($auth_med) {
$irow = sqlQuery("SELECT type, title, begdate " . "FROM lists WHERE " . "id = ? " . "LIMIT 1", array($drow['list_id']));
if ($irow) {
$tcode = $irow['type'];
if ($ISSUE_TYPES[$tcode]) {
$tcode = $ISSUE_TYPES[$tcode][2];
}
echo htmlspecialchars("{$tcode}: " . $irow['title'], ENT_NOQUOTES);
}
} else {
echo "(" . htmlspecialchars(xl('No access'), ENT_NOQUOTES) . ")";
}
echo "</td>\n";
// show document name and category
echo "<td colspan='3'>" . htmlspecialchars(xl('Document') . ": " . basename($drow['url']) . ' (' . xl_document_category($drow['name']) . ')', ENT_NOQUOTES) . "</td>\n";
// skip billing and insurance columns
if (!$GLOBALS['athletic_team']) {
echo "<td colspan=5> </td>\n";
}
echo "</tr>\n";
}
示例2: writeDetailLine
function writeDetailLine($bgcolor, $class, $ptname, $invnumber, $code, $date, $description, $amount, $balance)
{
global $last_ptname, $last_invnumber, $last_code;
if ($ptname == $last_ptname) {
$ptname = ' ';
} else {
$last_ptname = $ptname;
}
if ($invnumber == $last_invnumber) {
$invnumber = ' ';
} else {
$last_invnumber = $invnumber;
}
if ($code == $last_code) {
$code = ' ';
} else {
$last_code = $code;
}
if ($amount) {
$amount = sprintf("%.2f", $amount);
}
if ($balance) {
$balance = sprintf("%.2f", $balance);
}
$dline = " <tr bgcolor='{$bgcolor}'>\n" . " <td class='{$class}'>{$ptname}</td>\n" . " <td class='{$class}'>{$invnumber}</td>\n" . " <td class='{$class}'>{$code}</td>\n" . " <td class='{$class}'>" . oeFormatShortDate($date) . "</td>\n" . " <td class='{$class}'>{$description}</td>\n" . " <td class='{$class}' align='right'>" . oeFormatMoney($amount) . "</td>\n" . " <td class='{$class}' align='right'>" . oeFormatMoney($balance) . "</td>\n" . " </tr>\n";
echo $dline;
}
示例3: thisLineItem
function thisLineItem($row)
{
$provname = $row['provider_lname'];
if (!empty($row['provider_fname'])) {
$provname .= ', ' . $row['provider_fname'];
if (!empty($row['provider_mname'])) {
$provname .= ' ' . $row['provider_mname'];
}
}
if ($_POST['form_csvexport']) {
echo '"' . addslashes($row['patient_name']) . '",';
echo '"' . addslashes($row['pubpid']) . '",';
echo '"' . addslashes(oeFormatShortDate($row['date_ordered'])) . '",';
echo '"' . addslashes($row['organization']) . '",';
echo '"' . addslashes($row['procedure_name']) . '",';
echo '"' . addslashes($provname) . '",';
echo '"' . addslashes($row['priority_name']) . '",';
echo '"' . addslashes($row['status_name']) . '"' . "\n";
} else {
?>
<tr>
<td class="detail"><?php
echo $row['patient_name'];
?>
</td>
<td class="detail"><?php
echo $row['pubpid'];
?>
</td>
<td class="detail"><?php
echo oeFormatShortDate($row['date_ordered']);
?>
</td>
<td class="detail"><?php
echo $row['organization'];
?>
</td>
<td class="detail"><?php
echo $row['procedure_name'];
?>
</td>
<td class="detail"><?php
echo $provname;
?>
</td>
<td class="detail"><?php
echo $row['priority_name'];
?>
</td>
<td class="detail"><?php
echo $row['status_name'];
?>
</td>
</tr>
<?php
}
// End not csv export
}
示例4: oeFormatPatientNote
function oeFormatPatientNote($note)
{
$i = 0;
while ($i !== false) {
if (preg_match('/^\\d\\d\\d\\d-\\d\\d-\\d\\d/', substr($note, $i))) {
$note = substr($note, 0, $i) . oeFormatShortDate(substr($note, $i, 10)) . substr($note, $i + 10);
}
$i = strpos("\n", $note, $i);
if ($i !== false) {
++$i;
}
}
return $note;
}
示例5: echoLine
function echoLine($iname, $date, $charges, $ptpaid, $inspaid, $duept)
{
$balance = bucks($charges - $ptpaid - $inspaid);
$getfrompt = $duept > 0 ? $duept : 0;
echo " <tr>\n";
echo " <td class='detail'>" . oeFormatShortDate($date) . "</td>\n";
echo " <td class='detail' align='right'>" . bucks($charges) . "</td>\n";
echo " <td class='detail' align='right'>" . bucks($ptpaid) . "</td>\n";
echo " <td class='detail' align='right'>" . bucks($inspaid) . "</td>\n";
echo " <td class='detail' align='right'>{$balance}</td>\n";
echo " <td class='detail' align='right'>" . bucks($duept) . "</td>\n";
echo " <td class='detail' align='right'><input type='text' name='{$iname}' " . "size='6' value='" . rawbucks($getfrompt) . "' onchange='calctotal()' " . "onkeyup='calctotal()' /></td>\n";
echo " </tr>\n";
}
示例6: printAmendment
function printAmendment($amendmentID, $lastAmendment)
{
$query = "SELECT lo.title AS 'amendmentFrom', lo1.title AS 'amendmentStatus',a.* FROM amendments a \n\t\tLEFT JOIN list_options lo ON a.amendment_by = lo.option_id AND lo.list_id = 'amendment_from' AND lo.activity = 1\n\t\tLEFT JOIN list_options lo1 ON a.amendment_status = lo1.option_id AND lo1.list_id = 'amendment_status' AND lo1.activity = 1\n\t\tWHERE a.amendment_id = ?";
$resultSet = sqlQuery($query, array($amendmentID));
echo "<table>";
echo "<tr class=text>";
echo "<td class=bold>" . xlt("Requested Date") . ":" . "</td>";
echo "<td>" . oeFormatShortDate($resultSet['amendment_date']) . "</td>";
echo "</tr>";
echo "<tr class=text>";
echo "<td class=bold>" . xlt("Requested By") . ":" . "</td>";
echo "<td>" . generate_display_field(array('data_type' => '1', 'list_id' => 'amendment_from'), $resultSet['amendment_by']) . "</td>";
echo "</tr>";
echo "<tr class=text>";
echo "<td class=bold>" . xlt("Request Status") . ":" . "</td>";
echo "<td>" . generate_display_field(array('data_type' => '1', 'list_id' => 'amendment_status'), $resultSet['amendment_status']) . "</td>";
echo "</tr>";
echo "<tr class=text>";
echo "<td class=bold>" . xlt("Request Description") . ":" . "</td>";
echo "<td>" . text($resultSet['amendment_desc']) . "</td>";
echo "</tr>";
echo "</table>";
echo "<hr>";
echo "<span class='bold'>" . xlt("History") . "</span><br>";
$pageBreak = $lastAmendment ? "" : "page-break-after:always";
echo "<table border='1' cellspacing=0 cellpadding=3 style='width:75%;margin-top:10px;margin-bottom:20px;" . $pageBreak . "'>";
echo "<tr class='text bold'>";
echo "<th align=left style='width:10%'>" . xlt("Date") . "</th>";
echo "<th align=left style='width:20%'>" . xlt("By") . "</th>";
echo "<th align=left >" . xlt("Comments") . "</th>";
echo "</tr>";
$query = "SELECT u.fname,u.lname,ah.* FROM amendments_history ah INNER JOIN users u ON ah.created_by = u.id WHERE ah.amendment_id = ?";
$resultSet = sqlStatement($query, array($amendmentID));
while ($row = sqlFetchArray($resultSet)) {
echo "<tr class=text>";
$created_date = date('Y-m-d', strtotime($row['created_time']));
echo "<td>" . oeFormatShortDate($created_date) . "</td>";
echo "<td>" . text($row['lname']) . ", " . text($row['fname']) . "</td>";
echo "<td>" . text($row['amendment_note']) . "</td>";
echo "</tr>";
}
echo "</table>";
}
示例7: echoLine
function echoLine($iname, $date, $charges, $ptpaid, $inspaid, $duept, $encounter = 0, $copay = 0, $patcopay = 0)
{
global $var_index;
$var_index++;
$balance = bucks($charges - $ptpaid - $inspaid - $copay * -1);
$balance = round($duept, 2) != 0 ? 0 : $balance;
//if balance is due from patient, then insurance balance is displayed as zero
$encounter = $encounter ? $encounter : '';
echo " <tr id='tr_" . attr($var_index) . "' >\n";
echo " <td class='detail'>" . text(oeFormatShortDate($date)) . "</td>\n";
echo " <td class='detail' id='" . attr($date) . "' align='center'>" . htmlspecialchars($encounter, ENT_QUOTES) . "</td>\n";
echo " <td class='detail' align='center' id='td_charges_{$var_index}' >" . htmlspecialchars(bucks($charges), ENT_QUOTES) . "</td>\n";
echo " <td class='detail' align='center' id='td_inspaid_{$var_index}' >" . htmlspecialchars(bucks($inspaid * -1), ENT_QUOTES) . "</td>\n";
echo " <td class='detail' align='center' id='td_ptpaid_{$var_index}' >" . htmlspecialchars(bucks($ptpaid * -1), ENT_QUOTES) . "</td>\n";
echo " <td class='detail' align='center' id='td_patient_copay_{$var_index}' >" . htmlspecialchars(bucks($patcopay), ENT_QUOTES) . "</td>\n";
echo " <td class='detail' align='center' id='td_copay_{$var_index}' >" . htmlspecialchars(bucks($copay), ENT_QUOTES) . "</td>\n";
echo " <td class='detail' align='center' id='balance_{$var_index}'>" . htmlspecialchars(bucks($balance), ENT_QUOTES) . "</td>\n";
echo " <td class='detail' align='center' id='duept_{$var_index}'>" . htmlspecialchars(bucks(round($duept, 2) * 1), ENT_QUOTES) . "</td>\n";
echo " <td class='detail' align='right'><input type='text' name='" . attr($iname) . "' id='paying_" . attr($var_index) . "' " . " value='" . '' . "' onchange='coloring();calctotal()' autocomplete='off' " . "onkeyup='calctotal()' style='width:50px'/></td>\n";
echo " </tr>\n";
}
示例8: generate_display_field
function generate_display_field($frow, $currvalue)
{
$data_type = $frow['data_type'];
$field_id = $frow['field_id'];
$list_id = $frow['list_id'];
$s = '';
// generic selection list or the generic selection list with add on the fly
// feature, or radio buttons
if ($data_type == 1 || $data_type == 26 || $data_type == 27) {
$lrow = sqlQuery("SELECT title FROM list_options " . "WHERE list_id = ? AND option_id = ?", array($list_id, $currvalue));
$s = htmlspecialchars(xl_list_label($lrow['title']), ENT_NOQUOTES);
} else {
if ($data_type == 2) {
$s = htmlspecialchars($currvalue, ENT_NOQUOTES);
} else {
if ($data_type == 3) {
$s = nl2br(htmlspecialchars($currvalue, ENT_NOQUOTES));
} else {
if ($data_type == 4) {
$s = htmlspecialchars(oeFormatShortDate($currvalue), ENT_NOQUOTES);
} else {
if ($data_type == 10 || $data_type == 11) {
$urow = sqlQuery("SELECT fname, lname, specialty FROM users " . "WHERE id = ?", array($currvalue));
$s = htmlspecialchars(ucwords($urow['fname'] . " " . $urow['lname']), ENT_NOQUOTES);
} else {
if ($data_type == 12) {
$pres = get_pharmacies();
while ($prow = sqlFetchArray($pres)) {
$key = $prow['id'];
if ($currvalue == $key) {
$s .= htmlspecialchars($prow['name'] . ' ' . $prow['area_code'] . '-' . $prow['prefix'] . '-' . $prow['number'] . ' / ' . $prow['line1'] . ' / ' . $prow['city'], ENT_NOQUOTES);
}
}
} else {
if ($data_type == 13) {
$squads = acl_get_squads();
if ($squads) {
foreach ($squads as $key => $value) {
if ($currvalue == $key) {
$s .= htmlspecialchars($value[3], ENT_NOQUOTES);
}
}
}
} else {
if ($data_type == 14) {
$urow = sqlQuery("SELECT fname, lname, specialty FROM users " . "WHERE id = ?", array($currvalue));
$uname = $urow['lname'];
if ($urow['fname']) {
$uname .= ", " . $urow['fname'];
}
$s = htmlspecialchars($uname, ENT_NOQUOTES);
} else {
if ($data_type == 15) {
$s = htmlspecialchars($currvalue, ENT_NOQUOTES);
} else {
if ($data_type == 21) {
$avalue = explode('|', $currvalue);
$lres = sqlStatement("SELECT * FROM list_options " . "WHERE list_id = ? ORDER BY seq, title", array($list_id));
$count = 0;
while ($lrow = sqlFetchArray($lres)) {
$option_id = $lrow['option_id'];
if (in_array($option_id, $avalue)) {
if ($count++) {
$s .= "<br />";
}
// Added 5-09 by BM - Translate label if applicable
$s .= htmlspecialchars(xl_list_label($lrow['title']), ENT_NOQUOTES);
}
}
} else {
if ($data_type == 22) {
$tmp = explode('|', $currvalue);
$avalue = array();
foreach ($tmp as $value) {
if (preg_match('/^([^:]+):(.*)$/', $value, $matches)) {
$avalue[$matches[1]] = $matches[2];
}
}
$lres = sqlStatement("SELECT * FROM list_options " . "WHERE list_id = ? ORDER BY seq, title", array($list_id));
$s .= "<table cellpadding='0' cellspacing='0'>";
while ($lrow = sqlFetchArray($lres)) {
$option_id = $lrow['option_id'];
if (empty($avalue[$option_id])) {
continue;
}
// Added 5-09 by BM - Translate label if applicable
$s .= "<tr><td class='bold' valign='top'>" . htmlspecialchars(xl_list_label($lrow['title']), ENT_NOQUOTES) . ": </td>";
$s .= "<td class='text' valign='top'>" . htmlspecialchars($avalue[$option_id], ENT_NOQUOTES) . "</td></tr>";
}
$s .= "</table>";
} else {
if ($data_type == 23) {
$tmp = explode('|', $currvalue);
$avalue = array();
foreach ($tmp as $value) {
if (preg_match('/^([^:]+):(.*)$/', $value, $matches)) {
$avalue[$matches[1]] = $matches[2];
}
}
$lres = sqlStatement("SELECT * FROM list_options " . "WHERE list_id = ? ORDER BY seq, title", array($list_id));
//.........这里部分代码省略.........
示例9: oeFormatShortDate
$user_info['patadj'][$k] = $us18_patadj;
$user_info['patpay'][$k] = $us18_patpay;
++$k;
}
if ($us19_fee != 0 || $us19_inspay != 0 || $us19_insadj != 0 || $us19_patadj != 0 || $us19_patpay != 0) {
$user_info['user'][$k] = $us19_user;
$user_info['fee'][$k] = $us19_fee;
$user_info['inspay'][$k] = $us19_inspay;
$user_info['insadj'][$k] = $us19_insadj;
$user_info['patadj'][$k] = $us19_patadj;
$user_info['patpay'][$k] = $us19_patpay;
++$k;
}
if ($totals_only == 1) {
$from_date = oeFormatShortDate(substr($query_part_day, 37, 10));
$to_date = oeFormatShortDate(substr($query_part_day, 63, 10));
print "<br><br>";
?>
<font size = 5 ><?php
echo xlt('Totals for ') . $from_date . ' ' . xlt('To') . ' ' . $to_date;
?>
</font><?php
}
for ($i = 1; $i < $k;) {
print "<table border=1><tr>\n";
print "<br><br>";
Printf("<td width=70><span class=text><b>" . xlt("User ") . "</center></b><center>" . text($user_info[user][$i])) . "</center>";
Printf("<td width=140><span class=text><b><center>" . xlt("Charges") . ' ' . "</center></b><center>" . " %1\$.2f", text($user_info[fee][$i])) . "</center>";
Printf("<td width=140><span class=text><b><center>" . xlt("Insurance Adj") . '. ' . "</center></b><center>" . "%1\$.2f", text($user_info[insadj][$i])) . "</center>";
Printf("<td width=140><span class=text><b><center>" . xlt("Insurance Payments") . ' ' . "</center></b><center>" . "%1\$.2f", text($user_info[inspay][$i])) . "</center>";
Printf("<td width=140><span class=text><b><center>" . xlt("Patient Adj") . '. ' . "</center></b><center>" . "%1\$.2f", text($user_info[patadj][$i])) . "</center>";
示例10: htmlspecialchars
?>
" ><a href="edit_payment.php?payment_id=<?php
echo htmlspecialchars($RowSearch['session_id']);
?>
" class='iframe medium_modal' ><?php
echo htmlspecialchars($RowSearch['session_id']);
?>
</a></td>
<td class="<?php
echo $StringClass;
?>
" ><a href="edit_payment.php?payment_id=<?php
echo htmlspecialchars($RowSearch['session_id']);
?>
" class='iframe medium_modal' ><?php
echo $RowSearch['check_date'] == '0000-00-00' ? ' ' : htmlspecialchars(oeFormatShortDate($RowSearch['check_date']));
?>
</a></td>
<td class="<?php
echo $StringClass;
?>
" ><a href="edit_payment.php?payment_id=<?php
echo htmlspecialchars($RowSearch['session_id']);
?>
" class='iframe medium_modal' ><?php
$frow['data_type'] = 1;
$frow['list_id'] = 'payment_type';
$PaymentType = '';
if ($RowSearch['payment_type'] == 'insurance' || $RowSearch['payer_id'] * 1 > 0) {
$PaymentType = 'insurance';
} elseif ($RowSearch['payment_type'] == 'patient' || $RowSearch['patient_id'] * 1 > 0) {
示例11: substr
<?php
echo $docname == $docrow['docname'] ? "" : $docname;
?>
</td>
<td>
<?php
/*****************************************************************
if ($form_to_date) {
echo $row['pc_eventDate'] . '<br>';
echo substr($row['pc_startTime'], 0, 5);
}
*****************************************************************/
if (empty($row['pc_eventDate'])) {
echo oeFormatShortDate(substr($row['encdate'], 0, 10));
} else {
echo oeFormatShortDate($row['pc_eventDate']) . ' ' . substr($row['pc_startTime'], 0, 5);
}
?>
</td>
<td>
<?php
echo $row['fname'] . " " . $row['lname'];
?>
</td>
<td>
<?php
echo $row['pubpid'];
?>
</td>
<td align='right'>
<?php
示例12: write_form_line
function write_form_line($code_type, $code, $id, $date, $description, $amount, $units, $taxrates)
{
global $lino;
$amount = sprintf("%01.2f", $amount);
if (empty($units)) {
$units = 1;
}
$price = $amount / $units;
// should be even cents, but ok here if not
if ($code_type == 'COPAY' && !$description) {
$description = xl('Payment');
}
echo " <tr>\n";
echo " <td>" . text(oeFormatShortDate($date));
echo "<input type='hidden' name='line[{$lino}][code_type]' value='" . attr($code_type) . "'>";
echo "<input type='hidden' name='line[{$lino}][code]' value='" . attr($code) . "'>";
echo "<input type='hidden' name='line[{$lino}][id]' value='" . attr($id) . "'>";
echo "<input type='hidden' name='line[{$lino}][description]' value='" . attr($description) . "'>";
echo "<input type='hidden' name='line[{$lino}][taxrates]' value='" . attr($taxrates) . "'>";
echo "<input type='hidden' name='line[{$lino}][price]' value='" . attr($price) . "'>";
echo "<input type='hidden' name='line[{$lino}][units]' value='" . attr($units) . "'>";
echo "</td>\n";
echo " <td>" . text($description) . "</td>";
echo " <td align='right'>" . text($units) . "</td>";
echo " <td align='right'><input type='text' name='line[{$lino}][amount]' " . "value='" . attr($amount) . "' size='6' maxlength='8'";
// Modifying prices requires the acct/disc permission.
// if ($code_type == 'TAX' || ($code_type != 'COPAY' && !acl_check('acct','disc')))
echo " style='text-align:right;background-color:transparent' readonly";
// else echo " style='text-align:right' onkeyup='computeTotals()'";
echo "></td>\n";
echo " </tr>\n";
++$lino;
}
示例13: xl
if ($insco_name) {
$html .= " {$insco_name}";
} else {
$html .= " <font color='red'><b>Missing Name</b></font>";
}
}
}
}
} else {
// IPPF wants a visit date box with the current date in it.
$html .= xl('Visit date', 'r');
$html .= ":<br />\n";
if (!empty($encdata)) {
$html .= substr($encdata['date'], 0, 10);
} else {
$html .= oeFormatShortDate(date('Y-m-d')) . "\n";
}
}
$html .= "</td>\n</tr>\n<tr>\n<td colspan='4' valign='top' class='fshead' style='height:{$lheight}pt'>";
$html .= xl('Prior Visit', 'r');
$html .= ":<br />\n</td>\n</tr>\n<tr>\n<td colspan='4' valign='top' class='fshead' style='height:{$lheight}pt'>";
$html .= xl('Today\'s Charges', 'r');
$html .= ":<br />\n</td>\n</tr>\n<tr>\n<td colspan='4' valign='top' class='fshead' style='height:{$lheight}pt'>";
$html .= xl('Today\'s Balance', 'r');
$html .= ":<br />\n</td>\n</tr>\n<tr>\n<td colspan='4' valign='top' class='fshead' style='height:{$lheight}pt'>";
$html .= xl('Notes', 'r');
$html .= ":<br />\n</td>\n</tr>";
}
// end if last page
$html .= "</table>\n</td>\n<td valign='top'>\n<table border='0' cellspacing='0' cellpadding='0' width='100%'>\n<tr>\n<td class='toprow' style='width:10%'></td>\n<td class='toprow' style='width:10%'></td>\n<td class='toprow' style='width:25%'></td>\n<td class='toprow' style='width:55%'></td>\n</tr>";
$cindex = genColumn($cindex);
示例14: duplicateVisit
Calendar.setup({inputField:"form_onset_date", ifFormat:"%Y-%m-%d", button:"img_form_onset_date"});
<?php
if (!$viewmode) {
?>
function duplicateVisit(enc, datestr) {
if (!confirm('<?php
echo xl("A visit already exists for this patient today. Click Cancel to open it, or OK to proceed with creating a new one.");
?>
')) {
// User pressed the cancel button, so re-direct to today's encounter
top.restoreSession();
parent.left_nav.setEncounter(datestr, enc, window.name);
parent.left_nav.setRadio(window.name, 'enc');
parent.left_nav.loadFrame('enc2', window.name, 'patient_file/encounter/encounter_top.php?set_encounter=' + enc);
return;
}
// otherwise just continue normally
}
<?php
// Search for an encounter from today
$erow = sqlQuery("SELECT fe.encounter, fe.date " . "FROM form_encounter AS fe, forms AS f WHERE " . "fe.pid = ? " . " AND fe.date >= ? " . " AND fe.date <= ? " . " AND " . "f.formdir = 'newpatient' AND f.form_id = fe.id AND f.deleted = 0 " . "ORDER BY fe.encounter DESC LIMIT 1", array($pid, date('Y-m-d 00:00:00'), date('Y-m-d 23:59:59')));
if (!empty($erow['encounter'])) {
// If there is an encounter from today then present the duplicate visit dialog
echo "duplicateVisit('" . $erow['encounter'] . "', '" . oeFormatShortDate(substr($erow['date'], 0, 10)) . "');\n";
}
}
?>
</script>
</html>
示例15: htmlspecialchars
</b></td>
<td><b><?php
echo htmlspecialchars(xl('Code'), ENT_NOQUOTES);
?>
</b></td>
<td><b><?php
echo htmlspecialchars(xl('Encounter ID'), ENT_NOQUOTES);
?>
</b></td>
<td colspan=8><b><?php
echo htmlspecialchars(xl('Code Text'), ENT_NOQUOTES);
?>
</b></td></tr>
<tr bgcolor="#FFFFFF">
<td><?php
echo htmlspecialchars(oeFormatShortDate($row['date']), ENT_NOQUOTES);
?>
</td>
<td><?php
echo htmlspecialchars($row['code'], ENT_NOQUOTES);
?>
</td>
<td><?php
echo htmlspecialchars($row['encounter'], ENT_NOQUOTES);
?>
</td>
<td colspan=8><?php
echo htmlspecialchars($row['code_text'], ENT_NOQUOTES);
?>
</td>
</tr>