Commit 26906dd7 by 赵增煜

Merge branch 'hotfix-1201' into develop

parents 6f2f0c9e f681b292
...@@ -137,8 +137,10 @@ public function create(Request $request) ...@@ -137,8 +137,10 @@ public function create(Request $request)
$prescription->patient_gender = $patient->gender; // 问诊人性别 $prescription->patient_gender = $patient->gender; // 问诊人性别
// 诊断信息 // 诊断信息
$prescription->diagnosis_id = $diagnosis_id; $prescription->diagnosis_id = $diagnosis_id;
$diagnosis = DiagnosiModel::find($diagnosis_id);
$prescription->diagnosis_name = $diagnosis->name; $diagnosis = DiagnosiModel::whereIn('id', explode(',',$diagnosis_id))->pluck('name')->toArray();
$diagnosis_name = implode(',', $diagnosis);
$prescription->diagnosis_name = $diagnosis_name;
// 问诊问题 // 问诊问题
$inquiry_info = []; $inquiry_info = [];
$is_abnormal = 0; // 是否异常处方单,只有一个问题回答是就是异常 $is_abnormal = 0; // 是否异常处方单,只有一个问题回答是就是异常
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment