{php}html_header_show();{/php} {literal} {/literal} {if $prescriptions} {xl t='List'}
{foreach from=$prescriptions item=prescription} {if $prescription->erx_source==0} {else} {/if} {if $prescription->erx_source==0} {else} {/if} {/foreach}
  {xl t='Drug'} {xl t='Created'}
{xl t='Changed'}
{xl t='Dosage'} {xl t='Qty'}. {xl t='Unit'} {xl t='Provider'}
{xl t='Edit'} {if $prescription->active > 0}{/if}{$prescription->drug}{if $prescription->active > 0}{/if}  {if $prescription->active > 0}{/if}{$prescription->drug}{if $prescription->active > 0}{/if}  {$prescription->date_added}
{$prescription->date_modified} 
{$prescription->get_dosage_display()}   {$prescription->quantity}   {$prescription->quantity}   {$prescription->get_size()} {$prescription->get_unit_display()}  {$prescription->provider->get_name_display()} 
{else}
{xl t='There are currently no prescriptions'}.
{/if} {literal} {/literal}