Initial import.
[openemr.git] / interface / forms / note / view.php
blob0d08996cf74ddbea4f490aa15d67047d28d2ade4
1 <!-- Work/School Note Form created by Nikolai Vitsyn: 2004/02/13 and update 2005/03/30
2 Copyright (C) Open Source Medical Software
4 This program is free software; you can redistribute it and/or
5 modify it under the terms of the GNU General Public License
6 as published by the Free Software Foundation; either version 2
7 of the License, or (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -->
18 <?php
19 include_once("../../globals.php");
21 <html><head>
22 <link rel=stylesheet href="<?echo $css_header;?>" type="text/css">
23 </head>
24 <body <?echo $top_bg_line;?> topmargin=0 rightmargin=0 leftmargin=2 bottommargin=0 marginwidth=2 marginheight=0>
25 <?php
26 include_once("$srcdir/api.inc");
27 $obj = formFetch("form_note", $_GET["id"]);
31 <form method=post action="<?echo $rootdir?>/forms/note/save.php?mode=update&id=<?echo $_GET["id"];?>" name="my_form">
32 <span class="title">Work/School Note</span><br></br>
34 <a href="javascript:document.my_form.submit();" class="link_submit">[Save]</a>
35 <br>
36 <a href="<?echo "$rootdir/patient_file/encounter/patient_encounter.php";?>" class="link" target=Main>[Don't Save Changes]</a>
37 </br>
39 <tr>
40 <td>
41 <input type=entry name="note_type" value="<?echo
42 stripslashes($obj{"note_type"});?>" size="50">
43 </td>
44 </tr>
46 <span class="text">Message:</span></br>
47 <textarea name="message" cols ="67" rows="4" wrap="virtual name">
48 <?echo stripslashes($obj{"message"});?></textarea>
49 <br></br>
51 <span class=text>Doctor: </span><input type=entry name="doctor" value="<?echo stripslashes($obj{"doctor"});?>">
52 <br></br>
55 <span class=text>Date: </span><input type=entry name="date_of_signature" value="<?echo stripslashes($obj{"date_of_signature"});?>" >
56 <br></br>
58 <a href="javascript:document.my_form.submit();" class="link_submit">[Save]</a>
59 <br>
60 <a href="<?echo "$rootdir/patient_file/encounter/patient_encounter.php";?>" class="link" target=Main>[Don't Save Changes]</a>
61 </form>
62 <?php
63 formFooter();