clinic/netforce_clinic/templates/report_cycle_item.hbs

106 lines
4.7 KiB
Handlebars
Raw Normal View History

2015-03-06 05:15:19 +00:00
<center>
2015-03-13 16:31:58 +00:00
<h3>{{company_name}}</h3>
2015-03-06 05:15:19 +00:00
<h4>
2015-06-17 15:27:15 +00:00
รายชื่อผู้ป่วยระหว่างวันที่ {{date_from}} ถึง {{date_to}}
2015-03-06 05:15:19 +00:00
</h4>
</center>
2015-05-04 10:35:11 +00:00
<table class="table table-condensed table-striped" style="margin-bottom:0px;">
2015-05-06 11:25:15 +00:00
<thead class="scroll-header">
2015-03-06 05:15:19 +00:00
<th>วันที่</th>
<th>รอบ</th>
2015-08-20 10:21:02 +00:00
<th>No.</th>
<th>HDC/</th>
2015-03-13 16:31:58 +00:00
<th>ชื่อ-สกุล</th>
2015-03-06 05:15:19 +00:00
<th>แพทย์</th>
2015-03-13 16:31:58 +00:00
<th>สิทธ์</th>
2015-08-08 15:34:21 +00:00
<th style="text-align:left">EPO</th>
<th style="text-align:left">Iron</th>
2018-01-22 08:47:06 +00:00
<!-- <th>HCT</th> --!>
2015-03-13 16:31:58 +00:00
<th>DZ</th>
<th>N/U</th>
<th>พยาบาล</th>
2015-03-06 05:15:19 +00:00
</thead>
<tbody>
{{#each lines }}
2015-03-18 10:35:49 +00:00
{{#if cancel}}
2015-05-04 10:35:11 +00:00
<tr class="active">
2015-03-18 10:35:49 +00:00
{{else}}
2015-03-06 05:15:19 +00:00
<tr>
2015-03-18 10:35:49 +00:00
{{/if}}
2015-05-04 10:35:11 +00:00
{{#ifeq sub "show"}}
<tr class="info" style="font-weight:bold;">
{{/ifeq}}
{{#if cseq_txt}}
<th>{{date_txt}}</th>
2015-08-20 10:21:02 +00:00
<th style="width:2%;text-align:center">{{cseq_txt}}</th>
2015-05-04 10:35:11 +00:00
<td style="text-align:center">{{no}}</td>
2015-07-03 02:48:25 +00:00
<td style="width:6%"><a href="/ui#name=clinic_hd_case&active_id={{hdcase_id}}&mode=form">{{hdcase_number}}</a></td>
2015-05-04 10:35:11 +00:00
<td><a href="/ui#name=clinic_patient&active_id={{pid}}&mode=form">{{pname}}</a></td>
<td><a href="/ui#name=clinic_staff&active_id={{did}}&mode=form">{{dname}}</a></td>
<td><a href="/ui#name=clinic_patient_type&active_id={{tid}}&mode=form">{{tname}}</a></td>
2016-08-31 13:15:46 +00:00
<td style="text-align:left">{{mdc_desc}}</td>
2015-08-08 15:34:21 +00:00
<td style="text-align:left">{{iron_name}}</td>
2018-01-22 08:47:06 +00:00
<!-- <td style="text-align:right">{{hct}}</td> --!>
2015-05-04 10:35:11 +00:00
<td><a href="/ui#name=clinic_dialyzer&active_id={{dlz_id}}&mode=form">{{dlz_name}}</a></td>
<td>{{dlz_use}}</td>
<td><a href="/ui#name=clinic_cycle_item&active_id={{ctid}}&mode=form">{{nfirst_name}}</a></td>
{{else}}
{{#ifeq sub "show"}}
2015-08-07 04:16:57 +00:00
<td>รวม</td>
2015-07-30 12:10:49 +00:00
<td></td>
<td style="text-align:center">{{no}}</td>
<td colspan="10">
2015-07-30 12:10:49 +00:00
{{#each epo_items}}
2015-08-07 04:16:57 +00:00
{{name}} = {{qty}} &nbsp;&nbsp;&nbsp;
2015-07-30 12:10:49 +00:00
{{/each}}
</td>
2015-05-04 10:35:11 +00:00
{{else}}
<td></td>
2015-07-30 12:10:49 +00:00
<td></td>
<td style="text-align:center">{{no}}</td>
<td style="width:6%"><a href="/ui#name=clinic_hd_case&active_id={{hdcase_id}}&mode=form">{{hdcase_number}}</a></td>
<td><a href="/ui#name=clinic_patient&active_id={{pid}}&mode=form">{{pname}}</a></td>
<td><a href="/ui#name=clinic_staff&active_id={{did}}&mode=form">{{dname}}</a></td>
<td><a href="/ui#name=clinic_patient_type&active_id={{tid}}&mode=form">{{tname}}</a></td>
2016-08-31 13:15:46 +00:00
<td style="text-align:left">{{mdc_desc}}</td>
2015-08-08 15:34:21 +00:00
<td style="text-align:left">{{iron_name}}</td>
2018-01-22 08:47:06 +00:00
<!-- <td style="text-align:right">{{hct}}</td> --!>
2015-07-30 12:10:49 +00:00
<td><a href="/ui#name=clinic_dialyzer&active_id={{dlz_id}}&mode=form">{{dlz_name}}</a></td>
<td>{{dlz_use}}</td>
<td><a href="/ui#name=clinic_cycle_item&active_id={{ctid}}&mode=form">{{nfirst_name}}</a></td>
2015-05-04 10:35:11 +00:00
{{/ifeq}}
{{/if}}
</tr>
2015-03-06 05:15:19 +00:00
{{/each}}
2015-07-30 12:10:49 +00:00
<tr>
<th class="active">ผู้ป่วยทั้งหมด</th>
<th class="active"></th>
<th class="active">{{total_pt}}</th>
2015-08-08 15:34:21 +00:00
<th colspan="10" class="active">
2015-07-30 12:10:49 +00:00
<p>
{{#each ptype_lines}}
{{name}} : {{qty}} &nbsp;&nbsp;&nbsp;
{{/each}}
</p>
<p>
{{#each vscl_lines}}
{{description}} = {{qty}} &nbsp;&nbsp;&nbsp;
{{/each}}
</p>
</th>
</tr>
<tr>
2015-08-07 04:16:57 +00:00
<th class="active">ยาทั้งหมด</th>
2015-07-30 12:10:49 +00:00
<th class="active"></th>
<th class="active">{{total_epo}}</th>
2015-08-08 15:34:21 +00:00
<th colspan="10" class="active">
2015-07-30 12:10:49 +00:00
<p>
{{#each total_epo_items}}
{{name}} = {{qty}} &nbsp;&nbsp;&nbsp;
2015-05-06 11:25:15 +00:00
{{/each}}
2015-07-30 12:10:49 +00:00
</p>
</th>
</tr>
</tbody>
2015-03-06 05:15:19 +00:00
</table>