2014-11-25 10:26:10 +00:00
|
|
|
<center>
|
2014-12-20 09:48:29 +00:00
|
|
|
<!--
|
2014-11-25 10:26:10 +00:00
|
|
|
<h2>ตารางนัดผู้ป่วย</h2>
|
|
|
|
<h3>
|
|
|
|
{{parent_company_name}} {{company_name}}<br/>
|
|
|
|
</h3>
|
|
|
|
<h4>
|
|
|
|
{{#if has_duration}}
|
|
|
|
ระหว่างวันที่ {{date_from}} ถึง {{date_to}}
|
|
|
|
{{else}}
|
|
|
|
{{date}}
|
|
|
|
{{/if}}
|
|
|
|
</h4>
|
2014-12-20 09:48:29 +00:00
|
|
|
-->
|
2014-11-25 10:26:10 +00:00
|
|
|
</center>
|
|
|
|
<table class="table table-condensed table-striped">
|
|
|
|
<thead>
|
|
|
|
<th>รอบ</th>
|
|
|
|
<th>#</th>
|
2014-12-20 10:54:34 +00:00
|
|
|
<th>ใบนัดแพทย์</th>
|
2014-12-20 10:09:27 +00:00
|
|
|
<th>HN</th>
|
2014-11-25 10:26:10 +00:00
|
|
|
<th>ผู้ป่วย</th>
|
|
|
|
<th>สิทธ์</th>
|
|
|
|
<th>แพทย์</th>
|
2014-12-20 09:48:29 +00:00
|
|
|
<th>เตียง</th>
|
|
|
|
<th>บันทึกการรักษา</th>
|
2014-11-25 10:26:10 +00:00
|
|
|
<th>หมายเหตุ</th>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{{#each lines }}
|
2014-12-20 09:48:29 +00:00
|
|
|
{{#if footer}}
|
|
|
|
<tr>
|
2015-01-09 07:48:01 +00:00
|
|
|
<td rowspan="3" align="middle" style="vertical-align:middle; background-color:#4183c4;color:white"><span><b>TOTAL</b></span></td>
|
|
|
|
<td colspan="10" style="text-align:right; background-color:#dbdbdb"><b>{{details1}}</b></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td colspan="10" style="text-align:right; background-color:#dbdbdb"><b>{{details2}}</b></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td colspan="10" style="text-align:right; background-color:#dbdbdb"><b>{{details3}}</b></td>
|
2014-12-20 09:48:29 +00:00
|
|
|
</tr>
|
|
|
|
{{else}}
|
|
|
|
<tr style="background-color:{{visit_color}}">
|
|
|
|
{{#if title}}
|
|
|
|
<td style="background-color:#ddddff"><b>{{cycle_name}}</b></td>
|
2014-12-20 10:09:27 +00:00
|
|
|
<td style="background-color:#ddddff" colspan="10"></td>
|
2014-12-20 09:48:29 +00:00
|
|
|
{{else}}
|
|
|
|
<td style="background-color:{{cycle_color}}">{{cycle_name}}</td>
|
|
|
|
<td style="background-color:{{visit_color}}">{{no}}</td>
|
|
|
|
<td style="background-color:{{visit_color}}"><a href="/ui#name=clinic_visit&active_id={{visit_id}}&mode=form">{{number}}</a></td>
|
2014-12-20 10:09:27 +00:00
|
|
|
<td style="background-color:{{visit_color}}">{{hn_name}}</td>
|
2014-12-20 09:48:29 +00:00
|
|
|
<td style="background-color:{{visit_color}}"><a href="/ui#name=clinic_patient&active_id={{patient_id}}&mode=form">{{patient_name}}</a></td>
|
|
|
|
<td style="background-color:{{visit_color}}">{{patient_type}}</td>
|
|
|
|
<td style="background-color:{{visit_color}}"><a href="/ui#name=clinic_staff&active_id={{doctor_id}}&mode=form">{{doctor_name}}</a></td>
|
2014-12-21 02:54:45 +00:00
|
|
|
{{#if sickbed_id}}
|
|
|
|
<td style="background-color:{{visit_color}}"><a href="/ui#name=clinic_sickbed&active_id={{sickbed_id}}&mode=form">{{sickbed_name}}</a></td>
|
|
|
|
{{else}}
|
|
|
|
<td style="background-color:{{visit_color}}">{{sickbed_name}}</td>
|
|
|
|
{{/if}}
|
2014-12-20 09:48:29 +00:00
|
|
|
<td style="background-color:{{visit_color}}"><a href="/ui#name=clinic_hd_case&active_id={{hd_case_id}}&mode=form">{{hd_case_number}}</a></td>
|
|
|
|
<td style="background-color:{{visit_color}}">{{note}}</td>
|
|
|
|
{{/if}}
|
|
|
|
</tr>
|
|
|
|
{{/if}}
|
2014-11-25 10:26:10 +00:00
|
|
|
{{/each}}
|
|
|
|
</tbody>
|
|
|
|
<tfoot>
|
|
|
|
</tfoot>
|
|
|
|
</table>
|