Commit f681b292 by 赵增煜

诊断修改

parent e1d73956
......@@ -137,8 +137,10 @@ public function create(Request $request)
$prescription->patient_gender = $patient->gender; // 问诊人性别
// 诊断信息
$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 = [];
$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