{** * Prescription edit (templates/prescription/general_edit.html) * edited to allow auto-completion of count, sig, refill and generic fields. * Multiple formatting changes to vertically compress page so it fits without scrolling. * Other functionalities (weight loss clinic, non-simplified rx, etc.) removed as I use * only faxing. Enabling of simplified prescriptions (Globals->Appearance) required. * Requires modified prescriptions table with spanish field (if not already done). * ALTER TABLE prescriptions ADD COLUMN spanish TINYINT(1) NOT NULL DEFAULT 0; * * @package OpenEMR * @link http://www.open-emr.org * @author Brady Miller * @copyright Copyright (c) 2017-2018 Brady Miller * @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3 *} {headerTemplate assets='jquery-ui|jquery-ui-base|datetime-picker|select2'} {literal} {/literal}
{xlt t='Add'}/{xlt t='Edit'}  {xlt t='Save'} {if !empty($DRUG_ARRAY_VALUES)}         {if $prescription->get_refills() >= $prescription->get_dispensation_count()} units, {$GBL_CURRENCY_SYMBOL|text} {else}   {xlt t='prescription has reached its limit of'} {$prescription->get_refills()|text} {xlt t='refills'}. {/if} {/if} {xlt t='Back'}
{if $GLOBALS.enable_amc_prompting}
{amcCollect amc_id='e_prescribe_amc' patient_id=$prescription->patient->id object_category='prescriptions' object_id=$prescription->id} {if not $amcCollectReturn} {else} {/if} {xlt t='E-Prescription/Fax?'}
{amcCollect amc_id='e_prescribe_chk_formulary_amc' patient_id=$prescription->patient->id object_category='prescriptions' object_id=$prescription->id} {if not $amcCollectReturn} {else} {/if} {xlt t='Checked Drug Formulary?'}
{amcCollect amc_id='e_prescribe_cont_subst_amc' patient_id=$prescription->patient->id object_category='prescriptions' object_id=$prescription->id} {if not $amcCollectReturn} {else} {/if} {xlt t='Controlled Substance?'}
{/if}
get_active() > 0} checked{/if} />      {html_options class="input-sm" name="substitute" options=$prescription->substitute_array selected=$prescription->substitute}      get_spanish() > 0} checked{/if} />
      {html_radios class="input-sm" name="medication" options=$prescription->medication_array selected=$prescription->medication}
{html_options class="input-sm" name="provider_id" options=$prescription->provider->utility_provider_array() selected=$prescription->provider->get_id()}
{html_options name="refills" options=$prescription->refills_array selected=$prescription->refills}
{literal} {/literal}