parent
05c8b4ced5
commit
e34eea86e1
@ -1120,6 +1120,8 @@ class UserDoctorService extends BaseService
|
|||||||
return fail(HttpEnumCode::HTTP_ERROR, $res);
|
return fail(HttpEnumCode::HTTP_ERROR, $res);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// 获取患者病例表
|
// 获取患者病例表
|
||||||
$fields = [
|
$fields = [
|
||||||
'inquiry_case_id',
|
'inquiry_case_id',
|
||||||
@ -1150,6 +1152,14 @@ class UserDoctorService extends BaseService
|
|||||||
return fail();
|
return fail();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 获取问诊订单信息
|
||||||
|
$params = array();
|
||||||
|
$params['order_inquiry_id'] = $order_inquiry_id;
|
||||||
|
$order_inquiry = OrderInquiry::getOne($params);
|
||||||
|
if (empty($order_inquiry)) {
|
||||||
|
return fail();
|
||||||
|
}
|
||||||
|
|
||||||
// 订单-商品订单列表
|
// 订单-商品订单列表
|
||||||
$OrderPrescriptionService = new OrderPrescriptionService();
|
$OrderPrescriptionService = new OrderPrescriptionService();
|
||||||
$order_prescription_product = $OrderPrescriptionService->getproductList($order_prescription_id);
|
$order_prescription_product = $OrderPrescriptionService->getproductList($order_prescription_id);
|
||||||
@ -1166,6 +1176,7 @@ class UserDoctorService extends BaseService
|
|||||||
}
|
}
|
||||||
|
|
||||||
$result = array();
|
$result = array();
|
||||||
|
$result['is_transfer_order'] = ($order_inquiry['doctor_id'] == $order_prescription['doctor_id']) ? 0 : 1;//判断是否为抄方订单
|
||||||
$result['inquiry_case_product'] = $inquiry_case_product;// 用药意向
|
$result['inquiry_case_product'] = $inquiry_case_product;// 用药意向
|
||||||
$result['prescription_product'] = $order_prescription_product ?? [];// 开方药品
|
$result['prescription_product'] = $order_prescription_product ?? [];// 开方药品
|
||||||
$result['case'] = $order_inquiry_case;// 病例数据
|
$result['case'] = $order_inquiry_case;// 病例数据
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user