1 <table border
=0 cellpadding
=4 cellspacing
=1 width
=100%
class="frame">
3 <td
<?php
echo $tbg; ?
>></td
>
4 <td
<?php
echo $tbg; ?
>><FONT color
="#000066"><?php
echo $LDReportNr; ?
></td
>
5 <td
<?php
echo $tbg; ?
>><FONT color
="#000066"><?php
echo $LDReportingDept; ?
></td
>
6 <td
<?php
echo $tbg; ?
>><FONT color
="#000066"><?php
echo $LDAdmitNr; ?
></td
>
7 <td
<?php
echo $tbg; ?
>><FONT color
="#000066"><?php
echo $LDDate; ?
></td
>
8 <td
<?php
echo $tbg; ?
>><FONT color
="#000066"><?php
echo $LDTime; ?
></td
>
11 while($row=$result->FetchRow()){
13 $buf=$root_path.'modules/laboratory/'.(str_replace('?',URL_APPEND
.'&',$row['script_call'])).'&pn='.$row['encounter_nr'];
14 if($row['encounter_class_nr']==1) $full_en=$row['encounter_nr']+
$GLOBAL_CONFIG['patient_inpatient_nr_adder']; // inpatient admission
15 else $full_en=$row['encounter_nr']+
$GLOBAL_CONFIG['patient_outpatient_nr_adder']; // outpatient admission
19 <tr bgcolor
="#fefefe">
20 <td
><a href
="<?php echo $buf; ?>&user_origin=patreg" target
="_new"><img
<?php
echo createComIcon($root_path,'info3.gif','0','',TRUE); ?
>></a
></td
>
21 <td
><?php
echo $row['report_nr']; ?
></td
>
22 <td
><FONT color
="#006600"><b
>
25 while(list($x,$v)=each($depts_array)){
26 if($v['nr']==$row['reporting_dept_nr']){
33 if(isset($
$v['LD_var'])&&!empty($
$v['LD_var'])) echo $
$v['LD_var'];
34 else echo $v['name_formal'];
36 echo $row['reporting_dept'].$row['reporting_dept_nr'];
40 <td
><?php
echo $full_en; ?
></td
>
41 <td
><?php
echo @formatDate2Local
($row['report_date'],$date_format); ?
></td
>
42 <td
><?php
echo $row['report_time']; ?
></td
>