- modules/fotolab updated imagej to current version & some cod fixes to make it work
[care2x.git] / Care2007 / modules / registration_admission / gui_bridge / default / gui_show_diagnostics_result.php
blobacc1dc6168d738b4a47c5487e80ceb59a89f771f
1 <table border=0 cellpadding=4 cellspacing=1 width=100% class="frame">
2 <tr bgcolor="#f6f6f6">
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>
9 </tr>
10 <?php
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>
23 <?php
24 $deptnr_ok=false;
25 while(list($x,$v)=each($depts_array)){
26 if($v['nr']==$row['reporting_dept_nr']){
27 $deptnr_ok=true;
28 break;
31 reset($depts_array);
32 if($deptnr_ok){
33 if(isset($$v['LD_var'])&&!empty($$v['LD_var'])) echo $$v['LD_var'];
34 else echo $v['name_formal'];
35 }else{
36 echo $row['reporting_dept'].$row['reporting_dept_nr'];
38 ?></b>
39 </td>
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>
43 </tr>
45 <?php
48 </table>