- 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_prescription.php
blobfb5d45b8d16bda0acc02bf7457b1c7e186c9338d
1 <table border=0 cellpadding=4 cellspacing=1 width=100% class="frame">
2 <?php
3 $toggle=0;
4 while($row=$result->FetchRow()){
5 if($toggle) $bgc='#f3f3f3';
6 else $bgc='#fefefe';
7 $toggle=!$toggle;
9 if($row['encounter_class_nr']==1) $full_en=$row['encounter_nr']+$GLOBAL_CONFIG['patient_inpatient_nr_adder']; // inpatient admission
10 else $full_en=$row['encounter_nr']+$GLOBAL_CONFIG['patient_outpatient_nr_adder']; // outpatient admission
14 <tr bgcolor="<?php echo $bgc; ?>" valign="top">
15 <td><FONT SIZE=-1 FACE="Arial"><?php echo @formatDate2Local($row['prescribe_date'],$date_format); ?></td>
16 <td><FONT SIZE=-1 FACE="Arial"><?php echo $row['article']; ?></td>
17 <td><FONT SIZE=-1 FACE="Arial" color="#006600"><?php echo $row['dosage']; ?></td>
18 <td><FONT SIZE=-1 FACE="Arial"><?php echo $row['application_type_nr']; ?></td>
19 </tr>
20 <tr bgcolor="<?php echo $bgc; ?>" valign="top">
21 <td><FONT SIZE=-1 FACE="Arial"><?php echo $full_en; ?></td>
22 <td rowspan=2><FONT SIZE=-1 FACE="Arial"><?php echo $row['add_notes']; ?></td>
23 <td><FONT SIZE=-1 FACE="Arial"><?php echo $row['drug_class']; ?></td>
24 <td><FONT SIZE=-1 FACE="Arial"><?php echo $row['order_nr']; ?></td>
25 </tr>
26 <tr bgcolor="<?php echo $bgc; ?>" valign="top">
27 <td><FONT SIZE=-1 FACE="Arial"><?php echo $row['prescription_type_nr']; ?></td>
29 <td><FONT SIZE=-1 FACE="Arial">&nbsp;</td>
30 <td><FONT SIZE=-1 FACE="Arial"><?php echo $row['prescriber']; ?></td>
31 </tr>
33 <?php
36 </table>
38 <?php
39 if($parent_admit&&!$is_discharged) {
41 <p>
42 <img <?php echo createComIcon($root_path,'bul_arrowgrnlrg.gif','0','absmiddle'); ?>>
43 <a href="<?php echo $thisfile.URL_APPEND.'&pid='.$HTTP_SESSION_VARS['sess_pid'].'&target='.$target.'&mode=new'; ?>">
44 <?php echo $LDEnterNewRecord; ?>
45 </a>
46 <?php