4 <style type=
"text/css" title=
"mystyles" media=
"all">
12 font-family:helvetica;
16 font-family:helvetica;
20 font-family:helvetica;
26 <body {$STYLE.BOTTOM_BG_LINE}
>
27 <form name=
"prescribe" method=
"post" action=
"{$FORM_ACTION}">
28 <table CELLSPACING=
"0" CELLPADDING=
"3">
30 <td COLSPAN=
"1" ALIGN=
"LEFT" VALIGN=
"MIDDLE" >Starting Date
</td>
31 <td COLSPAN=
"2" ALIGN=
"LEFT" VALIGN=
"MIDDLE" >
32 {html_select_date
start_year=
"-10" end_year=
"+5" time=$prescription-
>start_date
prefix=
"start_date_"}
36 <td COLSPAN=
"1" ALIGN=
"LEFT" VALIGN=
"MIDDLE" >Provider
</td>
37 <td COLSPAN=
"2" ALIGN=
"LEFT" VALIGN=
"MIDDLE" >
38 {html_options
name=
"provider_id" options=$prescription-
>provider-
>utility_provider_array() selected=$prescription-
>provider-
>get_id()}
42 <td COLSPAN=
"1" ALIGN=
"LEFT" VALIGN=
"MIDDLE" >Patient Name
</td>
43 <td COLSPAN=
"2" ALIGN=
"LEFT" VALIGN=
"MIDDLE" >{$prescription-
>patient-
>get_name_display()}
</td>
44 <input type=
"hidden" name=
"patient_id" value=
"{$prescription->patient->id}" />
47 <td COLSPAN=
"1" ALIGN=
"LEFT" VALIGN=
"MIDDLE" >Drug
</td>
48 <td COLSPAN=
"2" ALIGN=
"LEFT" VALIGN=
"MIDDLE" >
49 <input type=
"input" size=
"20" name=
"drug" value=
"{$prescription->drug}"/><input class=
"button" type=
"BUTTON" onClick=
"drugPopup=window.open('controller.php?prescription&lookup', 'drugPopup', 'width=400,height=50,menubar=no,titlebar=no,left = 825,top = 400'); drugPopup.opener=self; return true;" value=
"Drug Lookup"/>
53 <td COLSPAN=
"1" ALIGN=
"LEFT" VALIGN=
"MIDDLE" >Quantity
</td>
54 <td COLSPAN=
"2" ALIGN=
"LEFT" VALIGN=
"MIDDLE" >
55 <input TYPE=
"TEXT" NAME=
"quantity" SIZE=
"2" MAXLENGTH=
"10" VALUE=
"{$prescription->quantity}"/>
59 <td COLSPAN=
"1" ALIGN=
"LEFT" VALIGN=
"MIDDLE" >Medicine Units
</td>
60 <td COLSPAN=
"2" ALIGN=
"LEFT" VALIGN=
"MIDDLE" >
61 <input TYPE=
"TEXT" NAME=
"size" SIZE=
"11" MAXLENGTH=
"10" VALUE=
"{$prescription->size}"/>
62 <select name=
"unit">{html_options options=$prescription-
>unit_array selected=$prescription-
>unit}
</select>
66 <td COLSPAN=
"1" ALIGN=
"LEFT" VALIGN=
"MIDDLE" >Take
</td>
67 <td COLSPAN=
"2" ALIGN=
"LEFT" VALIGN=
"MIDDLE" >
68 <input TYPE=
"TEXT" NAME=
"dosage" SIZE=
"11" MAXLENGTH=
"10" VALUE=
"{$prescription->dosage}"/> in
69 <select name=
"form">{html_options options=$prescription-
>form_array selected=$prescription-
>form}
</select>
70 <select name=
"route">{html_options options=$prescription-
>route_array selected=$prescription-
>route}
</select>
71 <select name=
"interval">{html_options options=$prescription-
>interval_array selected=$prescription-
>interval}
</select>
75 <td COLSPAN=
"1" ALIGN=
"LEFT" VALIGN=
"MIDDLE" >Refill
</td>
76 <td COLSPAN=
"2" ALIGN=
"LEFT" VALIGN=
"MIDDLE" >
77 {html_options
name=
"refills" options=$prescription-
>refills_array selected=$prescription-
>refills}
78 <input TYPE=
"TEXT" NAME=
"per_refill" SIZE=
"2" MAXLENGTH=
"10" VALUE=
"{$prescription->per_refill}"/> units
</td>
81 <td COLSPAN=
"1" ALIGN=
"LEFT" VALIGN=
"MIDDLE" >Substitution
</td>
82 <td COLSPAN=
"2" ALIGN=
"LEFT" VALIGN=
"MIDDLE" >
83 {html_options
name=
"substitute" options=$prescription-
>substitute_array selected=$prescription-
>substitute}
87 <td COLSPAN=
"1" ALIGN=
"LEFT" VALIGN=
"MIDDLE" >Notes
</td>
88 <td COLSPAN=
"2" ALIGN=
"LEFT" VALIGN=
"MIDDLE" >
89 <textarea name=
"note" cols=
"30" rows=
"3" wrap=
"virtual">{$prescription-
>note}
</textarea>
93 <td><input type=
"submit" value=
"Prescribe" /></td>
96 <input type=
"hidden" name=
"id" value=
"{$prescription->id}" />
97 <input type=
"hidden" name=
"process" value=
"{$PROCESS}" />