initial support for multiple browser windows
[openemr.git] / interface / patient_file / patient_file.php
blob54928826beb3efe7cbe02defb3f7a7185c727800
1 <?php
2 include_once("../globals.php");
3 include_once("$srcdir/pid.inc");
4 setpid($_GET["set_pid"]);
5 ?>
6 <HTML>
7 <HEAD>
8 <TITLE>
9 <?php echo $openemr_name ?>
10 </TITLE>
11 <script type="text/javascript" src="../../library/topdialog.js"></script>
13 <script language="JavaScript">
14 <?php require($GLOBALS['srcdir'] . "/restoreSession.php"); ?>
15 </script>
17 </HEAD>
18 <frameset rows="<?echo "$GLOBALS[navBarHeight],$GLOBALS[titleBarHeight]" ?>,*"
19 cols="*" frameborder="0" border="0" framespacing="0" onunload="imclosing()">
21 if (isset($_GET["calenc"])) {
23 <frame src="navigation.php" name="Navigation" scrolling="NO" noresize frameborder="0">
24 <frame src="encounter/encounter_title.php" name="Title" scrolling="no" noresize frameborder="0">
25 <frame src="encounter/patient_encounter.php?mode=new&calenc=<?echo $_GET["calenc"];?>" name="Main" scrolling="AUTO" noresize frameborder="0">
27 } elseif ($_GET['go'] == "encounter"){
29 <frame src="navigation.php?pid=<?=$_GET['pid']?>&set_pid=<?=$_GET['pid']?>" name="Navigation" scrolling="NO" noresize frameborder="0">
30 <frame src="encounter/encounter_title.php?pid=<?=$_GET['pid']?>&set_pid=<?=$_GET['pid']?>" name="Title" scrolling="no" noresize frameborder="0">
31 <frame src="encounter/patient_encounter.php?mode=new&pid=<?=$_GET['pid']?>&set_pid=<?=$_GET['pid']?>" name="Main" scrolling="AUTO" noresize frameborder="0">
33 } elseif ($_GET['noteid']){
35 <frame src="navigation.php" name="Navigation" scrolling="NO" noresize frameborder="0">
36 <frame src="summary/summary_title.php" name="Title" scrolling="no" noresize frameborder="0">
37 <frame src="summary/pnotes_full.php?noteid=<?php echo $_GET['noteid'] ?>&active=1" name="Main" scrolling="AUTO" noresize frameborder="0">
39 } else {
41 <frame src="navigation.php" name="Navigation" scrolling="NO" noresize frameborder="0">
42 <frame src="summary/summary_title.php" name="Title" scrolling="no" noresize frameborder="0">
43 <frame src="summary/patient_summary.php" name="Main" scrolling="AUTO" noresize frameborder="0">
47 </frameset>
49 <noframes><body bgcolor="#FFFFFF">
51 </body></noframes>
53 </HTML>