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
. -->
19 include_once("../../globals.php");
20 $returnurl = $GLOBALS['concurrent_layout'] ?
'encounter_top.php' : 'patient_encounter.php';
23 <link rel
=stylesheet href
="<?echo $css_header;?>" type
="text/css">
25 <body
<?
echo $top_bg_line;?
> topmargin
=0 rightmargin
=0 leftmargin
=2 bottommargin
=0 marginwidth
=2 marginheight
=0>
27 include_once("$srcdir/api.inc");
28 $obj = formFetch("form_note", $_GET["id"]);
32 <form method
=post action
="<?echo $rootdir?>/forms/note/save.php?mode=update&id=<?echo $_GET["id
"];?>" name
="my_form">
33 <span
class="title"><?php
xl('Work/School Note','e'); ?
></span
><br
></br
>
35 <a href
="javascript:document.my_form.submit();" class="link_submit">[<?php
xl('Save','e'); ?
>]</a
>
37 <a href
="<?echo "$rootdir/patient_file
/encounter
/$returnurl";?>" class="link">[<?php
xl('Don\'t Save Changes','e'); ?
>]</a
>
42 <input type
=entry name
="note_type" value
="<?echo
43 stripslashes($obj{"note_type
"});?>" size
="50">
47 <span
class="text"><?php
xl('Message:','e'); ?
></span
></br
>
48 <textarea name
="message" cols
="67" rows
="4" wrap
="virtual name">
49 <?
echo stripslashes($obj{"message"});?
></textarea
>
52 <span
class=text
><?php
xl('Doctor:','e'); ?
> </span
><input type
=entry name
="doctor" value
="<?echo stripslashes($obj{"doctor
"});?>">
56 <span
class=text
><?php
xl('Date:','e'); ?
> </span
><input type
=entry name
="date_of_signature" value
="<?echo stripslashes($obj{"date_of_signature
"});?>" >
59 <a href
="javascript:document.my_form.submit();" class="link_submit">[<?php
xl('Save','e'); ?
>]</a
>
61 <a href
="<?echo "$rootdir/patient_file
/encounter
/$returnurl";?>" class="link">[<?php
xl('Don\'t Save Changes','e'); ?
>]</a
>