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!');
26 <body
<?php
echo $top_bg_line;?
> topmargin
='0' rightmargin
='0' leftmargin
='2'
27 bottommargin
='0' marginwidth
='2' marginheight
='0'
28 onload
="javascript:document.new_patient.fname.focus();">
30 <?php
if ($GLOBALS['concurrent_layout']) { ?
>
31 <form name
='new_patient' method
='post' action
="new_patient_save.php"
32 onsubmit
='return validate()'>
33 <span
class='title'><?php
xl('New Patient','e');?
></span
>
35 <form name
='new_patient' method
='post' action
="new_patient_save.php"
36 target
='_top' onsubmit
='return validate()'>
37 <a
class="title" href
="../main/main_screen.php" target
="_top"><?php
xl('New Patient','e');?
></a
>
44 <?php
if ($GLOBALS['omit_employers']) { ?
>
45 <input type
='hidden' name
='title' value
='' />
50 <?php
if (!$GLOBALS['omit_employers']) { ?
>
53 <span
class='bold'><?php
xl('Title','e');?
>: </span
>
57 <option value
="Mrs."><?php
xl('Mrs.','e');?
></option
>
58 <option value
="Ms."><?php
xl('Ms.','e');?
></option
>
59 <option value
="Mr."><?php
xl('Mr.','e');?
></option
>
60 <option value
="Dr."><?php
xl('Dr.','e');?
></option
>
68 <span
class='bold'><?php
xl('First Name','e');?
>: </span
>
71 <input type
='entry' size
='15' name
='fname'>
77 <span
class='bold'><?php
xl('Middle Name','e');?
>: </span
>
80 <input type
='entry' size
='15' name
='mname'>
86 <span
class='bold'><?php
xl('Last Name','e');?
>: </span
>
89 <input type
='entry' size
='15' name
='lname'>
93 <?php
if ($GLOBALS['inhouse_pharmacy']) { ?
>
96 <span
class='bold'><?php
xl('Referral Source','e'); ?
>: </span
>
99 <select name
='refsource'>
101 foreach (array('', 'Patient', 'Employee', 'Walk-In', 'Newspaper', 'Radio',
102 'T.V.', 'Direct Mail', 'Coupon', 'Referral Card', 'Other') as $rs)
104 echo " <option value='$rs'>$rs</option>\n";
114 <span
class='bold'><?php
xl('Patient Number','e');?
>: </span
>
117 <input type
='entry' size
='5' name
='pubpid'>
118 <span
class='text'><?php
xl('omit to autoassign','e');?
>  
;  
; </span
>
125 <input type
='submit' name
='form_create' value
=<?php
xl('Create New Patient','e'); ?
> />