|
|
<!DOCTYPE html>
|
|
|
<html>
|
|
|
<head>
|
|
|
<meta charset="UTF-8">
|
|
|
<title>检查预约回执单</title>
|
|
|
<style>
|
|
|
body {
|
|
|
margin: 0;
|
|
|
padding: 0;
|
|
|
font-family: 'Microsoft YaHei', '微软雅黑', 'SimHei', '黑体', sans-serif;
|
|
|
font-size: 14px;
|
|
|
color: #333;
|
|
|
}
|
|
|
.page {
|
|
|
page-break-after: always;
|
|
|
height: 100vh;
|
|
|
padding: 20px;
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
.page:last-child {
|
|
|
page-break-after: auto;
|
|
|
}
|
|
|
.PrintShenQingDan {
|
|
|
height: 100%;
|
|
|
}
|
|
|
</style>
|
|
|
</head>
|
|
|
<body>
|
|
|
@foreach ($groups as $typeKey => $typeGroup)
|
|
|
@foreach ($typeGroup['patients'] as $patientKey => $patient)
|
|
|
@foreach ($patient['rooms'] as $roomKey => $room)
|
|
|
<div class="page">
|
|
|
<div class="PrintShenQingDan">
|
|
|
<div style="padding-bottom: 20px; position: relative;">
|
|
|
<div style="width: 100%; text-align: center; font-size: 26px;">秦皇岛市中医医院</div>
|
|
|
<div style="width: 100%; text-align: center; font-size: 18px; font-weight: bold;">检查预约回执单</div>
|
|
|
<div style="width: 200px; height: 50px; position: absolute; right: 10px; top: 0;">
|
|
|
<img src="data:image/png;base64,{{ $patient['barcode'] }}" style="display: block; margin: 0 auto; max-width: 100%; height: auto;" />
|
|
|
<div style="text-align: center;">{{ $patient['barcode_text'] }}</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<div style="border-top: 1px solid #333; border-bottom: 1px solid #333; padding-left: 4px; padding-top: 10px; padding-bottom: 10px;">
|
|
|
<table style="border: none; font-size: 18px; width: 100%;">
|
|
|
<tr style="border: none;">
|
|
|
<td style="border: none; width: 23%; text-align: left;"><span style="display: inline-block; width: 3em; letter-spacing: 0.5em;">姓名</span>:{{ $patient['patient_name'] }}</td>
|
|
|
<td style="border: none; width: 37%; text-align: left;"><span style="display: inline-block; width: 3em; letter-spacing: 0.5em;">性别</span>:{{ $patient['user_sex_label'] }}</td>
|
|
|
<td style="border: none; width: 16%; text-align: left;"><span style="display: inline-block; width: 3em; letter-spacing: 0.5em;">年龄</span>:{{ $patient['age'] }}</td>
|
|
|
<td style="border: none; width: 24%; text-align: left;"><span style="display: inline-block; width: 4em;">病人类型</span>:{{ $patient['patient_type_label'] }}</td>
|
|
|
</tr>
|
|
|
<tr style="border: none;">
|
|
|
<td style="border: none; width: 23%; text-align: left;"><span style="display: inline-block; width: 3em;">{{ $patient['patient_type_label'] }}号</span>:{{ $patient['patient_id'] }}</td>
|
|
|
@if ($patient['patient_type'] == 0)
|
|
|
<td style="border: none; width: 35%; text-align: left;"><span style="display: inline-block; width: 3em; letter-spacing: 0.5em;">病区</span>:{{ $patient['warddesc'] }}</td>
|
|
|
<td style="border: none; width: 16%; text-align: left;"><span style="display: inline-block; width: 3em; letter-spacing: 0.5em;">床号</span>:{{ $patient['bedno'] }}</td>
|
|
|
<td style="border: none; width: 26%; text-align: left;"><span style="display: inline-block; width: 4em;">联系电话</span>:{{ $patient['user_phone'] }}</td>
|
|
|
@else
|
|
|
<td style="border: none; width: 39%; text-align: left;"><span style="display: inline-block; width: 4em;">联系电话</span>:{{ $patient['user_phone'] }}</td>
|
|
|
<td style="border: none; width: 16%; text-align: left;"></td>
|
|
|
<td style="border: none; width: 24%; text-align: left;"></td>
|
|
|
@endif
|
|
|
</tr>
|
|
|
</table>
|
|
|
</div>
|
|
|
|
|
|
<div style="border-bottom: 1px solid #333; padding-left: 4px; padding-top: 10px; padding-bottom: 10px;">
|
|
|
<table style="border: none;">
|
|
|
<tr style="border: none; vertical-align: top;">
|
|
|
<td style="width: 15%; border: none; font-size: 20px; font-weight: 900; text-align: left; white-space: nowrap;">检查项目:</td>
|
|
|
<td style="border: none; font-size: 20px; text-align: left;">{{ $room['items_str'] }}</td>
|
|
|
</tr>
|
|
|
<tr style="border: none; vertical-align: top;">
|
|
|
<td style="width: 15%; border: none; font-size: 20px; font-weight: 900; text-align: left; white-space: nowrap;">预约时间:</td>
|
|
|
<td style="border: none; font-size: 20px; text-align: left;">{{ str_replace('-', '/', $room['reservation_date']) }}
|
|
|
@if ($room['period_begin'] && $room['period_end'])
|
|
|
{{ $room['period_begin'] }}-{{ $room['period_end'] }}
|
|
|
@endif
|
|
|
{{ $room['weekday_label'] }}</td>
|
|
|
</tr>
|
|
|
<tr style="border: none; vertical-align: top;">
|
|
|
<td style="width: 15%; border: none; font-size: 20px; font-weight: 900; text-align: left; white-space: nowrap;">检查地点:</td>
|
|
|
<td style="border: none; font-size: 20px; text-align: left;">{{ $room['room_addr'] }}</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
</div>
|
|
|
|
|
|
<div style="padding-left: 4px; padding-top: 10px; padding-bottom: 10px;">
|
|
|
<table style="border: none;">
|
|
|
<tr style="border: none;">
|
|
|
<td style="width: 15%; border: none; font-size: 20px; font-weight: 900; text-align: left; vertical-align: top;">温馨提示:</td>
|
|
|
<td style="text-align: left; border: none; font-size: 18px;">
|
|
|
<div>1、预约后请您及时缴费,门诊患者预约成功后60分钟内不缴费,系统会自动取消您的预约申请。自动取消后,如需继续预约,请到相关检查科室重新预约。</div>
|
|
|
<div>2、预约时间为8点~10点的,请8点到登记处签到,预约时间为10点~12点的,请10点前到登记处签到,便于工作人员进行检查评估和准备。</div>
|
|
|
<div>3、预约时间不是实际检查时间,以现场登记后排队号为准。</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
</div>
|
|
|
|
|
|
<div style="border-top: 1px solid #333; padding-left: 8px; padding-top: 10px; padding-bottom: 10px;">
|
|
|
<div style="font-size: 20px; font-weight: 900;">检查须知:</div>
|
|
|
<div style="font-size: 18px;">
|
|
|
腹部检查禁食4小时,腹部、盆腔、泌尿系统检查请尽量饮水,充盈肠道及膀胱;危重病人需由家属陪同;孕妇及婴幼儿请慎行检查。
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<div style="text-align: right; border-top: 1px solid #333; font-size: 18px; padding-top: 10px; padding-bottom: 10px;">
|
|
|
申请时间:{{ $room['entrust_date_time'] }}
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
@endforeach
|
|
|
@endforeach
|
|
|
@endforeach
|
|
|
</body>
|
|
|
</html> |