急诊医生端

main
鹿和sa0ChunLuyu 5 days ago
parent bfd22a923c
commit b23b340cac

@ -23,7 +23,8 @@ public function CheckAppointment()
$dev = intval(request('dev', 0)); //调试模式
$patientTypeMapping = ['03' => 0, '01' => 1, '02' => 2, '04' => 3];
$patientType = $patientTypeMapping[$visitTypeCode] ?? 9; $is_redirect = false;
$patientType = $patientTypeMapping[$visitTypeCode] ?? 9;
$is_redirect = false;
$url = "";
$entrust_ids = [];
$termCodes = [];
@ -31,6 +32,11 @@ public function CheckAppointment()
if (!is_array($requestNoList)) {
return \Yz::JsonReturn(false, 'requestNoList 参数必须是数组', []);
}
//急诊患者直接返回不调ROC、不写库
if ($visitTypeCode === '02') {
return \Yz::JsonReturn(true, '查询成功', ['is_redirect' => false, 'url' => '', 'room_names' => []]);
}
foreach ($requestNoList as $requestNo) {
//1.查询his获取申请单全部检查项目
$data = [

Loading…
Cancel
Save