4 <table border
=0 cellpadding
=1 cellspacing
=0 width
=100%
>
5 <tr bgcolor
="#f6f6f6" valign
="top">
6 <td
<?php
echo $tbg; ?
>><FONT SIZE
=-1 FACE
="Arial" color
="#000066"> 
;</td
>
7 <td
<?php
echo $tbg; ?
>><FONT SIZE
=-1 FACE
="Arial" color
="#000066"><?php
echo $LDDate; ?
></td
>
8 <td
<?php
echo $tbg; ?
>><FONT SIZE
=-1 FACE
="Arial" color
="#000066"><?php
echo $LDEncounterNr; ?
></td
>
9 <td
<?php
echo $tbg; ?
>><FONT SIZE
=-1 FACE
="Arial" color
="#000066"><?php
echo $LDDiagnosis2; ?
></td
>
10 <td
<?php
echo $tbg; ?
>><FONT SIZE
=-1 FACE
="Arial" color
="#000066"><?php
echo $LDShow; ?
></td
>
13 while($row=$med_obj->FetchRow()){
15 if($row['is_discharged']) $buf=0;
16 $aref=$root_path.'modules/medocs/show_medocs.php'.URL_APPEND
.'&edit='.$buf.'&encounter_nr='.$row['encounter_nr'].'&is_discharged='.$row['is_discharged'];
18 <tr bgcolor
="#fefefe" valign
="top">
19 <td
><FONT SIZE
=-1 FACE
="Arial"><?php
if($buf) echo '<img '.createComIcon($root_path,'check2.gif','0','',TRUE).'>'; else echo ' '; ?
></td
>
20 <td
><FONT SIZE
=-1 FACE
="Arial"><?php
if($row['date']) echo @formatDate2Local
($row['date'],$date_format); else echo '?'; ?
></td
>
21 <td
><FONT SIZE
=-1 FACE
="Arial"><a href
="<?php echo $aref; ?>"><?php
echo $row['encounter_nr']; ?
></a
></td
>
22 <td
><FONT SIZE
=-1 FACE
="Arial"><a href
="<?php echo $aref; ?>"><?php
echo nl2br(substr($row['notes'],0,50)); ?
></a
></td
>
23 <td
><a href
="<?php echo $aref ?>"><img
<?php
echo createComIcon($root_path,'info2.gif','0','',TRUE); ?
>></a
></td
>