clinic/netforce_clinic/templates/report_hdcase_summary.hbs

87 lines
3.1 KiB
Handlebars

<style>
.text-right{
text-align: right,
}
.text-center{
text-align: center,
}
</style>
<center>
<h2>
HDCase Summary (V2)
</h2>
<h3>
{{company_name}}
<span> {{department_name}} </span>
</h3>
<h4>
ประจำเดือน {{month_thai}} {{year_thai}}
</h4>
</center>
<table class="table table-hover">
<thead>
</thead>
<tbody>
<tr>
<td>จำนวนครั้งการทำ Hemodialysis</td><td>{{month_thai}}</td><td>เท่ากับ</td><td class="text-right">{{total_hdcase}}</td><td class="text-center">ครั้ง</td>
</tr>
<tr>
<td>จำนวนผู้ป่วยยกมาจากเดือน</td><td>{{prev_month_thai}}</td><td>เท่ากับ</td><td class="text-right">{{prev_month}}</td><td class="text-center">ครั้ง</td>
</tr>
<tr>
<td>จำนวนผู้ป่วยรับใหม่เดือน</td><td>{{current_month_thai}}</td><td>เท่ากับ</td><td class="text-right">{{current_month}}</td><td class="text-center">ครั้ง</td>
</tr>
<tr>
<td>จำนวนผู้ป่วยจำหน่ายเดือน</td><td>{{dispose_month_thai}}</td><td>เท่ากับ</td><td class="text-right">{{dispose_month}}</td><td class="text-center">ครั้ง</td>
</tr>
<tr>
<td>จำนวนผู้ป่วยยกไปเดือน</td><td>{{next_month_thai}}</td><td>เท่ากับ</td><td class="text-right">{{next_month}}</td><td class="text-center">ครั้ง</td>
</tr>
</tbody>
<tfoot>
</tfoot>
</table>
<div class="row">
<div class="col-sm-6">
<h4 style="text-align:center;text-decoration: underline">รายชื่อผู้ป่วยรับใหม่</h4>
<table class="table table-hover">
<thead>
<th>No.</th>
<th>วันที่</th>
<th>ชื่อ</th>
</thead>
<tbody>
{{#each current_items}}
<tr>
<td>{{no}}</td>
<td>{{date_move}}</td>
<td>{{patient_id.1.}}</td>
</tr>
{{/each}}
</tbody>
</table>
</div>
<div class="col-sm-6">
<h4 style="text-align:center;text-decoration: underline">รายชื่อผู้ป่วยจำหน่าย</h4>
<table class="table table-hover">
<thead>
<th>No.</th>
<th>วันที่</th>
<th>ชื่อ</th>
</thead>
<tbody>
{{#each dispose_items}}
<tr>
<td>{{no}}</td>
<td>{{date_move}}</td>
<td>{{patient_id.1.}}</td>
</tr>
{{/each}}
</tbody>
</table>
</div>
</div>