{** * Prescription General Fragment * * @package OpenEMR * @link http://www.open-emr.org * @author Brady Miller * @author Sherwin Gaddis * @copyright Copyright (c) 2017 Brady Miller * @copyright Copyright (c) 2019 Sherwin Gaddis * @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3 *} {if empty($prescriptions)} {xlt t='None'} {else}
{foreach from=$prescriptions item=prescription} {if $prescription->get_active() > 0} {/if} {/foreach}
{xlt t='Drug'} {xlt t='Details'} {xlt t='Qty'} {xlt t='Refills'} {xlt t='Filled'}
{$prescription->drug|text}  {$prescription->get_size()|text}{$prescription->get_unit_display()|text}  {$prescription->get_dosage_display()|text} {$prescription->get_quantity()|text} {$prescription->get_refills()|text} {$prescription->get_date_added()|text}
{/if}