{** * Prescription list * * @package OpenEMR * @link http://www.open-emr.org * @author Brady Miller * @author Sherwin Gaddis * @copyright Copyright (c) 2017-2018 Brady Miller * @copyright Copyright (c) 2018 Sherwin Gaddis * @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3 *} {headerTemplate assets='no_textformat|no_dialog'} {literal} {/literal}
{if $prescriptions}

{xlt t='List'}

{if $GLOBALS.rx_zend_pdf_template} {xlt t='Download'} ({xlt t='PDF'}) {else} {xlt t='Download'} ({xl t='PDF'}) {/if} {if $GLOBALS.rx_zend_html_template} {xl t='View Printable Version'|text} ({xlt t='HTML'}) {else} {xlt t='View Printable Version'} ({xlt t='HTML'}) {/if} {if $GLOBALS.rx_use_fax_template} {xlt t='Download'} ({xlt t='Fax'}) {/if} {if $GLOBALS.weno_rx_enable} {xlt t='Transmit'} {xlt t='Rx'} {/if} {if $CAMOS_FORM == true} {xlt t='View Four Panel'} {/if}
{if $GLOBALS.weno_rx_enable} {/if} {foreach from=$prescriptions item=prescription} {if empty($prescription->erx_source) || $prescription->erx_source==0} {else} {/if} {if empty($prescription->erx_source) || $prescription->erx_source==0} {else} {/if} {if $GLOBALS.weno_rx_enable} {/if} {/foreach}
    {xlt t='Drug'} {xlt t='RxNorm'} {xlt t='Created'}
{xlt t='Changed'}
{xlt t='Dosage'} {xlt t='Qty'}. {xlt t='Unit'} {xlt t='Refills'} {xlt t='Provider'}{xlt t='Send NewRx'} {xlt t='Refill Rx'} {xlt t='Last Tx Date'}
encounter) && $prescription->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="{xla t='Select for printing'}"> {xlt t='Edit'} {if $prescription->active > 0}{/if}{$prescription->drug|text}{if $prescription->active > 0}{/if} 
{$prescription->note|text}
  {if $prescription->active > 0}{/if}{$prescription->drug|text}{if $prescription->active > 0}{/if} 
{$prescription->note|text}
{$prescription->rxnorm_drugcode|text}  {$prescription->date_added|oeFormatShortDate|text}
{$prescription->date_modified|oeFormatShortDate|text} 
{$prescription->get_dosage_display()|text}   {$prescription->quantity|text}   {$prescription->quantity|text}   {$prescription->get_size()|text} {$prescription->get_unit_display()|text}  {$prescription->refills|text}   {$prescription->provider->get_name_display()|text}  {if $prescription->ntx == 0} active < 1}disabled="disabled" {/if} value="{$prescription->id|attr}" {if $prescription->ntx > 0 && $prescription->active > 0}checked="checked" {/if} onClick="markTx(this,'NewRx-{$prescription->id|attr}'); changeLinkHrefAll(this.checked, this.value);" title="{xla t="Select to transmit"}"> {/if} {if $prescription->ntx == 1} active < 1}disabled="disabled" {/if} value="{$prescription->id|attr}" {if $prescription->ntx > 0 && $prescription->active > 0}checked="checked" {/if} onClick="markTx(this,'RefillRx-{$prescription->id|attr}'); changeLinkHrefAll(this.checked, this.value);" title="{xla t="Select to transmit"}"> {/if} {$prescription->txDate|text} {xlt t='Delete'}
{if $GLOBALS.rx_show_drug_drug}

{xlt t='Drug-Drug Interaction'}

*{xlt t='Notice'}

{$INTERACTION}

{/if} {else}
{xlt t='There are currently no prescriptions'}.
{/if}
{literal} {/literal}