2 * Prescription General Fragment
5 * @link http://www.open-emr.org
6 * @author Brady Miller
<brady.g.miller@gmail.com
>
7 * @author Sherwin Gaddis
<sherwingaddis@gmail.com
>
8 * @copyright Copyright (c)
2017 Brady Miller
<brady.g.miller@gmail.com
>
9 * @copyright Copyright (c)
2019 Sherwin Gaddis
<sherwingaddis@gmail.com
>
10 * @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License
3
12 {if empty($prescriptions)}
15 <div class=
"table-responsive">
16 <table class=
"table table-sm table-striped">
19 <th>{xlt t='Drug'}
</th>
20 <th>{xlt t='Details'}
</th>
21 <th>{xlt t='Qty'}
</th>
22 <th>{xlt t='Refills'}
</th>
23 <th>{xlt t='Filled'}
</th>
27 {foreach from=$prescriptions item=prescription}
28 {if $prescription-
>get_active()
> 0}
30 <td>{$prescription-
>drug|text}
</td>
31 <td>{$prescription-
>get_size()|text}{$prescription-
>get_unit_display()|text}
32 {$prescription-
>get_dosage_display()|text}
</td>
33 <td>{$prescription-
>get_quantity()|text}
</td>
34 <td>{$prescription-
>get_refills()|text}
</td>
35 <td>{$prescription-
>get_date_added()|text}
</td>