{** * Prescription list * * @package OpenEMR * @link http://www.open-emr.org * @author Brady Miller * @copyright Copyright (c) 2017 Brady Miller * @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3 *} {headerShow} {literal} {/literal} {if $prescriptions} {xl t='List'|escape:'html'}
{if $GLOBALS.weno_rx_enable} {/if} {foreach from=$prescriptions item=prescription} {if $prescription->erx_source==0} {else} {/if} {if $prescription->erx_source==0} {else} {/if} {if $GLOBALS.weno_rx_enable} {/if} {/foreach}
    {xl t='Drug'|escape:'html'} {xl t='RxNorm'|escape:'html'} {xl t='Created'|escape:'html'}
{xl t='Changed'|escape:'html'}
{xl t='Dosage'|escape:'html'} {xl t='Qty'|escape:'html'}. {xl t='Unit'|escape:'html'} {xl t='Refills'|escape:'html'} {xl t='Provider'|escape:'html'}{xl t='Send'|escape:'html'}
{xl t='NewRx'|escape:'html'}
{xl t='Refill'|escape:'html'}
{xl t='Rx'|escape:'html'}
{xl t='Last'|escape:'html'}
{xl t='Tx Date'|escape:'html'}
encounter == $prescription->get_encounter() && $prescription->active > 0}checked="checked" {/if}onclick="changeLinkHref('multiprint',this.checked, this.value);changeLinkHref('multiprintcss',this.checked, this.value);changeLinkHref('multiprintToFax',this.checked, this.value)" title="{xl t='Select for printing'|escape:'html'}"> {xl t='Edit'|escape:'html'} {if $prescription->active > 0}{/if}{$prescription->drug|escape:'html'}{if $prescription->active > 0}{/if} 
{$prescription->note|escape:'html'}
  {if $prescription->active > 0}{/if}{$prescription->drug|escape:'html'}{if $prescription->active > 0}{/if} 
{$prescription->note|escape:'html'}
{$prescription->rxnorm_drugcode|escape:'html'}  {$prescription->date_added|escape:'html'}
{$prescription->date_modified|escape:'html'} 
{$prescription->get_dosage_display()|escape:'html'}   {$prescription->quantity|escape:'html'}   {$prescription->quantity|escape:'html'}   {$prescription->get_size()|escape:'html'} {$prescription->get_unit_display()|escape:'html'}  {$prescription->refills|escape:'html'}   {$prescription->provider->get_name_display()|escape:'html'}  {if $prescription->ntx == 0} active < 1}disabled="disabled" {/if} value="{$prescription->id|escape:'html'}" {if $prescription->ntx > 0 && $prescription->active > 0}checked="checked" {/if} onClick="markTx(this,'NewRx-{$prescription->id|escape:'html'}'); changeLinkHrefAll(this.checked, this.value);" title={xl t="Select to transmit"|escape:'html'}> {/if} {if $prescription->ntx == 1} active < 1}disabled="disabled" {/if} value="{$prescription->id|escape:'html'}" {if $prescription->ntx > 0 && $prescription->active > 0}checked="checked" {/if} onClick="markTx(this,'RefillRx-{$prescription->id|escape:'html'}'); changeLinkHrefAll(this.checked, this.value);" title={xl t="Select to transmit"|escape:'html'}> {/if} {$prescription->txDate|escape:'html'}
{else}
{xl t='There are currently no prescriptions'|escape:'html'}.
{/if} {literal} {/literal}