2 include_once("../globals.php");
7 <link rel
=stylesheet href
="<?php echo xl($css_header,'e');?>" type
="text/css">
9 <script LANGUAGE
="JavaScript">
12 <?php
if ($GLOBALS['inhouse_pharmacy']) { ?
>
13 var f
= document
.forms
[0];
14 if (f
.refsource
.selectedIndex
<= 0) {
15 alert('Please select a referral source!');
27 <body
<?php
echo $top_bg_line;?
> topmargin
='0' rightmargin
='0' leftmargin
='2'
28 bottommargin
='0' marginwidth
='2' marginheight
='0'
29 onload
="javascript:document.new_patient.fname.focus();">
31 <?php
if ($GLOBALS['concurrent_layout']) { ?
>
32 <form name
='new_patient' method
='post' action
="new_patient_save.php"
33 onsubmit
='return validate()'>
34 <span
class='title'><?php
xl('New Patient','e');?
></span
>
36 <form name
='new_patient' method
='post' action
="new_patient_save.php"
37 target
='_top' onsubmit
='return validate()'>
38 <a
class="title" href
="../main/main_screen.php" target
="_top" onclick
="top.restoreSession()">
39 <?php
xl('New Patient','e');?
></a
>
46 <?php
if ($GLOBALS['omit_employers']) { ?
>
47 <input type
='hidden' name
='title' value
='' />
52 <?php
if (!$GLOBALS['omit_employers']) { ?
>
55 <span
class='bold'><?php
xl('Title','e');?
>: </span
>
59 <option value
="Mrs."><?php
xl('Mrs.','e');?
></option
>
60 <option value
="Ms."><?php
xl('Ms.','e');?
></option
>
61 <option value
="Mr."><?php
xl('Mr.','e');?
></option
>
62 <option value
="Dr."><?php
xl('Dr.','e');?
></option
>
70 <span
class='bold'><?php
xl('First Name','e');?
>: </span
>
73 <input type
='entry' size
='15' name
='fname'>
79 <span
class='bold'><?php
xl('Middle Name','e');?
>: </span
>
82 <input type
='entry' size
='15' name
='mname'>
88 <span
class='bold'><?php
xl('Last Name','e');?
>: </span
>
91 <input type
='entry' size
='15' name
='lname'>
95 <?php
if ($GLOBALS['inhouse_pharmacy']) { ?
>
98 <span
class='bold'><?php
xl('Referral Source','e'); ?
>: </span
>
101 <select name
='refsource'>
103 foreach (array('', 'Patient', 'Employee', 'Walk-In', 'Newspaper', 'Radio',
104 'T.V.', 'Direct Mail', 'Coupon', 'Referral Card', 'Other') as $rs)
106 echo " <option value='$rs'>$rs</option>\n";
116 <span
class='bold'><?php
xl('Patient Number','e');?
>: </span
>
119 <input type
='entry' size
='5' name
='pubpid'>
120 <span
class='text'><?php
xl('omit to autoassign','e');?
>  
;  
; </span
>
127 <input type
='submit' name
='form_create' value
=<?php
xl('Create New Patient','e'); ?
> />