修改患者问诊病例民族问题
This commit is contained in:
@@ -689,6 +689,8 @@ class DetectionService extends BaseService
|
||||
$data['age'] = $patient_family['age'] ?? null; // 患者年龄
|
||||
$data['height'] = $patient_family['height'] ?: null; // 身高(cm)
|
||||
$data['weight'] = $patient_family['weight'] ?: null;; // 体重(kg)
|
||||
$data['nation_id'] = $order_detection_case['nation_id'] ?: $patient_family['nation_id'] ?: null;; // 民族
|
||||
$data['nation_name'] = $order_detection_case['nation_id'] ?: $patient_family['nation_name'] ?: null;; // 民族名称
|
||||
$order_inquiry_case = OrderInquiryCase::addOrderInquiryCase($data);
|
||||
if (empty($order_inquiry_case)) {
|
||||
Db::rollBack();
|
||||
|
||||
@@ -413,7 +413,9 @@ class InquiryService extends BaseService
|
||||
if (!empty($patient_family['nation_name'])){
|
||||
$nation_name = $patient_family['nation_name'];
|
||||
}else{
|
||||
// if (!empty($order_inquiry_case['']))
|
||||
if (!empty($order_inquiry_case['nation_name'])){
|
||||
$nation_name = $order_inquiry_case['nation_name'];
|
||||
}
|
||||
}
|
||||
}
|
||||
$order_inquiry_case['height'] = $order_inquiry_case['height'] ?: $patient_family['height'] ?: NULL;
|
||||
|
||||
Reference in New Issue
Block a user