Commit 9ef1538e by 赵增煜

诊断名称异常修复

parent d9713bda
......@@ -133,7 +133,8 @@ public function create(Request $request)
$prescription->patient_gender = $patient->gender; // 问诊人性别
// 诊断信息
$prescription->diagnosis_id = $diagnosis_id;
$prescription->diagnosis_name = DiagnosiModel::find($diagnosis_id)->value('name');
$diagnosis = DiagnosiModel::find($diagnosis_id);
$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