added ability to delete documents
[openemr.git] / interface / patient_file / patient_file.php
blobe48809f9b9a75fdc833ab03f4222d4b4f93dd235
1 <?
2 include_once("../globals.php");
3 include_once("$srcdir/pid.inc");
4 setpid($_GET["set_pid"]);
5 ?>
6 <HTML>
7 <HEAD>
8 <TITLE>
9 OpenEMR
10 </TITLE>
11 <script type="text/javascript" src="../../library/topdialog.js"></script>
12 </HEAD>
13 <frameset rows="<?echo "$GLOBALS[navBarHeight],$GLOBALS[titleBarHeight]" ?>,*"
14 cols="*" frameborder="0" border="0" framespacing="0" onunload="imclosing()">
16 if (isset($_GET["calenc"])) {
18 <frame src="navigation.php" name="Navigation" scrolling="NO" noresize frameborder="0">
19 <frame src="encounter/encounter_title.php" name="Title" scrolling="no" noresize frameborder="0">
20 <frame src="encounter/patient_encounter.php?mode=new&calenc=<?echo $_GET["calenc"];?>" name="Main" scrolling="AUTO" noresize frameborder="0">
22 } elseif ($_GET['go'] == "encounter"){
24 <frame src="navigation.php?pid=<?=$_GET['pid']?>&set_pid=<?=$_GET['pid']?>" name="Navigation" scrolling="NO" noresize frameborder="0">
25 <frame src="encounter/encounter_title.php?pid=<?=$_GET['pid']?>&set_pid=<?=$_GET['pid']?>" name="Title" scrolling="no" noresize frameborder="0">
26 <frame src="encounter/patient_encounter.php?mode=new&pid=<?=$_GET['pid']?>&set_pid=<?=$_GET['pid']?>" name="Main" scrolling="AUTO" noresize frameborder="0">
28 } elseif ($_GET['noteid']){
30 <frame src="navigation.php" name="Navigation" scrolling="NO" noresize frameborder="0">
31 <frame src="summary/summary_title.php" name="Title" scrolling="no" noresize frameborder="0">
32 <frame src="summary/pnotes_full.php?noteid=<?php echo $_GET['noteid'] ?>&active=1" name="Main" scrolling="AUTO" noresize frameborder="0">
34 } else {
36 <frame src="navigation.php" name="Navigation" scrolling="NO" noresize frameborder="0">
37 <frame src="summary/summary_title.php" name="Title" scrolling="no" noresize frameborder="0">
38 <frame src="summary/patient_summary.php" name="Main" scrolling="AUTO" noresize frameborder="0">
42 </frameset>
44 <noframes><body bgcolor="#FFFFFF">
46 </body></noframes>
48 </HTML>