2 if (($_SESSION['encounter'] == '') && ($encounter == '')){
3 $_SESSION['encounter'] = '0';
5 if ( stristr($_SERVER['HTTP_USER_AGENT'], "Mozilla") && (!(stristr($_SERVER['HTTP_USER_AGENT'], "compatible"))) ){
6 $height_tag="min-height";
11 <div id="jtf" style="float: left; position: absolute; top: 10px; left:0;width:230px;margin-left:-214px;z-index:1;"
12 onMouseOver="MM_changeProp('jtf','','style.marginLeft','0px','DIV');" onMouseOut="getMouseXY;MM_changeProp('jtf','','style.marginLeft','-214px','DIV');">
13 <img src="../../pic/hdrjtoform.png" width="18" height="119" align="right">
14 <div style="padding: 2px; border: 2px solid black; border-left:none; border-right:1px solid black; margin-right: 17px; <? echo $height_tag; ?>: 111px; background-color: white;">
15 <h2 style="margin-bottom: 4px;"><img src="../../pic/menu/doc1.png" height="16" width="16" align="left"> Form navigator</h2>
16 <p><a href="<? echo $rootdir; ?>/patient_file/encounter/load_form.php?formname=physician_history">PHYSICIAN HISTORY </a> | <a href="<? echo $rootdir; ?>/patient_file/encounter/load_form.php?formname=medical_decision">MEDICAL DECISION</a> | <a href="<? echo $rootdir; ?>/patient_file/encounter/load_form.php?formname=physical_examination">PHYSICAL EXAMINATION </a> | <a href="<? echo $rootdir; ?>/patient_file/encounter/load_form.php?formname=patient_intake_history">PATIENT INTAKE HISTORY </a>| <a href="<? echo $rootdir; ?>/patient_file/encounter/load_form.php?formname=plist">PROBLEM LIST</a> | <a href="<? echo $rootdir; ?>/patient_file/encounter/load_form.php?formname=immunization_record">IMMUNIZATION RECORD </a>| <a href="<? echo $rootdir; ?>/patient_file/encounter/load_form.php?formname=routine_screening_record">ROUTINE SCREENING RECORD </a>|<a href="<? echo $rootdir; ?>/patient_file/encounter/load_form.php?formname=high_risk_screening_record"> HIGH-RISK SCREENING RECORD </a>
17 <? echo $addmenu; ?></p></div>
19 <div id="jtef" style="position: absolute; top: 115px; left:0;width:200px;margin-left:-184px;z-index:2;"
20 onMouseOver="MM_changeProp('jtef','','style.marginLeft','0px','DIV');" onMouseOut="MM_changeProp('jtef','','style.marginLeft','-184px','DIV');" ><img src="../../pic/hdrjtoeform.png" width="18" height="142" align="right">
21 <div style="padding: 2px; border: 2px solid black; border-left:none; border-right:1px solid black; margin-right: 17px; <? echo $height_tag; ?>: 134px; background-color: white;">
22 <h2 style="margin-bottom: 4px;"><img src="../../pic/menu/doc1.png" height="16" width="16" align="left"> Encounter</h2>
23 <small>Encounter for: <? echo $patient{'fname'}.' '.$patient{'mname'}.' '.$patient{'lname'}; ?></small>
24 <div style="width:98%; overflow: hidden;">
26 if ($result = getFormByEncounter($pid, $encounter, "id,date,form_id,form_name,formdir,user")) {
27 foreach ($result as $iter) {
28 $form_info = getFormInfoById($iter['id']);
29 $user = $iter['user'];
30 $user = getNameFromUsername($user);
31 echo "<p><a target=_self href='$rootdir/patient_file/encounter/view_form.php?formname=".$iter{"formdir"}."&id=".$iter{"form_id"}."'>".$iter{"form_name"}."</a> by <small>".$user['fname']." ".$user['lname'] ."</small></p>\n";
36 <style type="text/css">
45 font-size: 10px ! important;
46 text-transform: uppercase;
47 text-decoration: none;
50 background-color: #ccccff;
53 text-decoration: none;
57 <div id="atab" style="float: left; position: absolute; top: 242px; left:0;width:230px;margin-left:-214px;z-index:3;"
58 onMouseOver="MM_changeProp('atab','','style.marginLeft','0px','DIV');" onMouseOut="getMouseXY;MM_changeProp('atab','','style.marginLeft','-214px','DIV');">
59 <img src="../../pic/hdractions.png" width="18" height="89" align="right">
60 <div style="padding: 2px; border: 2px solid black; border-left:none; border-right:1px solid black; margin-right: 17px; <? echo $height_tag; ?>: 111px; background-color: white;">
61 <h2 style="margin-bottom: 4px;"><img src="../../pic/menu/doc1.png" height="16" width="16" align="left"> Form actions</h2>
62 <div class="tabmenu"><img src="../../pic/menu/save.png" height="16" width="16" align="left"> <a href="javascript:document.my_form.submit();">Save</a></div>
63 <div class="tabmenu"><img src="../../pic/menu/trash.png" height="16" width="16" align="left"> <a href="<?echo "$rootdir/patient_file/encounter/patient_encounter.php";?>">Cancel</a></div>
65 <hr width="90%" align="left">
66 <div class="tabmenu"><img src="../../pic/menu/print.png" height="16" width="16" align="left"> <a href="<? echo $rootdir; ?>/patient_file/encounter/print_form.php?id=<? echo $id; ?>&formname=<? echo $formname; ?>" target="_blank">Printable form</a></div>
67 <div class="tabmenu"><img src="../../pic/menu/mail.png" height="16" width="16" align="left"> <a href="<? echo $rootdir; ?>/patient_file/encounter/send_form.php?id=<? echo $id; ?>&formname=<? echo $formname; ?>">Email form</a></div>
68 <div class="tabmenu"><img src="../../pic/menu/pdf.png" height="16" width="16" align="left"> <a href="<? echo $rootdir; ?>/patient_file/encounter/pdf_form.php?id=<? echo $id; ?>&formname=<? echo $formname; ?>" target="_blank">Open as PDF</a></div>
71 Save filled form to make additional actions (printable, email, pdf) visible.