1 <table border
=0 cellpadding
=1 cellspacing
=1 width
=100%
class="frame">
5 $fields=&$obj->coreFieldNames();
7 while(list($z,$x)=each($fields)){
8 if($x=='status') break;
9 if(empty($birth[$x])||
stristr('nr,encounter_nr,delivery_date,pid',$x)) continue;
13 <tr bgcolor
="#fefefe">
14 <td
><FONT color
="#006600"><b
><?php
echo $LD[$x]; ?
></b
></td
>
18 // header('Location:aufnahme_daten_zeigen.php'.URL_REDIRECT_APPEND.'&encounter_nr='.$encounter_nr.'&origin=admit&sem=isadmitted&target=entry');
20 case 'parent_encounter_nr': echo'<a href="aufnahme_daten_zeigen.php'.URL_APPEND
.'&encounter_nr='.$birth[$x].'&origin=admit&target='.$target.'">'.$birth[$x].'</a>'; break;
21 case 'delivery_date': echo formatDate2Local($birth[$x],$date_format); break;
22 case 'c_s_reason': echo nl2br($birth[$x]); break;
24 $buf=&$obj->getDeliveryMode($birth[$x]);
25 if(isset($
$buf['LD_var'])&&$
$buf['LD_var']) echo $
$buf['LD_var'];
26 else echo $buf['name'];
29 $buf=&$obj->getFeedingType($birth[$x]);
30 if(isset($
$buf['LD_var'])&&$
$buf['LD_var']) echo $
$buf['LD_var'];
31 else echo $buf['name'];
33 case 'disease_category':
34 $buf=&$obj->getDiseaseCategory($birth[$x]);
35 if(isset($
$buf['LD_var'])&&$
$buf['LD_var']) echo $
$buf['LD_var'];
36 else echo $buf['name'];
39 $buf=&$obj->getOutcome($birth[$x]);
40 if(isset($
$buf['LD_var'])&&$
$buf['LD_var']) echo $
$buf['LD_var'];
41 else echo $buf['name'];
43 case 'born_before_arrival':
44 if($birth[$x]) echo $LDYes;
47 case 'posterio_occipital_position':
48 if($birth[$x]) echo $LDYes;
51 case 'face_presentation':
52 if($birth[$x]) echo $LDYes;
55 case 'classification': echo nl2br($birth[$x]); break;
56 default: echo $birth[$x];
67 if($parent_admit&&$edit) {
70 <img
<?php
echo createComIcon($root_path,'bul_arrowgrnlrg.gif','0','absmiddle'); ?
>>
71 <a href
="<?php echo $thisfile.URL_APPEND.'&pid='.$HTTP_SESSION_VARS['sess_pid'].'&target='.$target.'&mode=new&allow_update='.$allow_update; ?>">
73 if($rows) echo $LD['update_bd'];
74 else echo $LDEnterNewRecord; ?
>