3 // presents a blank form to upload an image file
4 // this file made by andres@paglayan.com on 2004-04-23
5 // custom from for uploading scanned documents into the emr.
6 include_once("../../globals.php");
7 include_once("../../../library/api.inc");
8 formHeader("Scanned Documents Input");
12 <link rel
=stylesheet href
="<?echo $css_header;?>" type
="text/css">
14 <body
<?
echo $top_bg_line;?
> topmargin
=0 rightmargin
=0 leftmargin
=2 bottommargin
=0 marginwidth
=2 marginheight
=0>
16 <!--REM note that every input method has the same name
as a valid column
, this will make things easier in save
.php
-->
19 <form method
='post' action
="<?echo $rootdir;?>/forms/documents/save.php?mode=new" name
='document_form' target
='Main' enctype
="multipart/form-data">
20 <span
class=title
>Scanned Documents Input
</span
>
23 <span
class=text
>Document
:</span
><br
>
24 <input type
="file" name
="document_image"><br
>
27 <span
class=text
>Description
:</span
> <input type
=text name
="document_description">
30 <span
class=text
>Who sent it?
:</span
> <input type
=text name
="document_source">
33 <!--REM note our nifty jscript submit
-->
34 <input type
="hidden" name
="action" value
="submit">
35 <a href
="javascript:document.document_form.submit();" class="link_submit">[Save
]</a
>
38 <a href
="<?echo "$rootdir/patient_file
/encounter
/patient_encounter
.php
";?>" class="link">[Don
't Save]</a>