Housekeeping stuff:
[openemr.git] / interface / patient_file / patient_file.php
blob515825dc7e5791745929f84784be793d6a078fd1
1 <?php
2 include_once("../globals.php");
3 include_once("$srcdir/pid.inc");
4 setpid($_GET["set_pid"]);
5 ?>
6 <HTML>
7 <head>
8 <?php html_header_show();?>
9 <TITLE>
10 <?php echo $openemr_name ?>
11 </TITLE>
12 <script type="text/javascript" src="../../library/topdialog.js"></script>
14 <script language="JavaScript">
15 <?php require($GLOBALS['srcdir'] . "/restoreSession.php"); ?>
16 </script>
18 </HEAD>
19 <frameset rows="<?php echo "$GLOBALS[navBarHeight],$GLOBALS[titleBarHeight]" ?>,*" cols="*" frameborder="0" border="0" framespacing="0" onunload="imclosing()">
21 <?php if (isset($_GET["calenc"])) { ?>
22 <frame src="navigation.php" name="Navigation" scrolling="NO" noresize frameborder="0">
23 <frame src="encounter/encounter_title.php" name="Title" scrolling="no" noresize frameborder="0">
24 <frame src="encounter/patient_encounter.php?mode=new&calenc=<?php echo $_GET["calenc"];?>" name="Main" scrolling="AUTO" noresize frameborder="0">
26 <?php } elseif ($_GET['go'] == "encounter"){ ?>
27 <frame src="navigation.php?pid=<?php echo $_GET['pid']?>&set_pid=<?php echo $_GET['pid']?>" name="Navigation" scrolling="NO" noresize frameborder="0">
28 <frame src="encounter/encounter_title.php?pid=<?php echo $_GET['pid']?>&set_pid=<?php echo $_GET['pid']?>" name="Title" scrolling="no" noresize frameborder="0">
29 <frame src="encounter/patient_encounter.php?mode=new&pid=<?php echo $_GET['pid']?>&set_pid=<?php echo $_GET['pid']?>" name="Main" scrolling="AUTO" noresize frameborder="0">
31 <?php } elseif ($_GET['noteid']){ ?>
32 <frame src="navigation.php" name="Navigation" scrolling="NO" noresize frameborder="0">
33 <frame src="summary/summary_title.php" name="Title" scrolling="no" noresize frameborder="0">
34 <frame src="summary/pnotes_full.php?noteid=<?php echo $_GET['noteid'] ?>&active=1" name="Main" scrolling="AUTO" noresize frameborder="0">
36 <?php } else { ?>
37 <frame src="navigation.php" name="Navigation" scrolling="NO" noresize frameborder="0">
38 <frame src="summary/summary_title.php" name="Title" scrolling="no" noresize frameborder="0">
39 <frame src="summary/patient_summary.php" name="Main" scrolling="AUTO" noresize frameborder="0">
40 <?php } ?>
41 </frameset>
43 <noframes><body bgcolor="#FFFFFF">
45 </body></noframes>
47 </HTML>