修复就诊人健康信息默认值
This commit is contained in:
@@ -184,6 +184,9 @@ class PatientController extends BaseAppController
|
||||
$HealthForm->attributes = $post;
|
||||
|
||||
$info = $HealthForm->info();
|
||||
$info['family_history'] = !empty($info['family_history']) ? explode(',', $info['family_history']) : [];
|
||||
$info['person_history'] = !empty($info['person_history']) ? explode(',', $info['person_history']) : [];
|
||||
$info['allergic_history'] = !empty($info['allergic_history']) ? explode(',', $info['allergic_history']) : [];
|
||||
|
||||
return $info;
|
||||
if (!empty($info['family_history'])) {
|
||||
|
||||
Reference in New Issue
Block a user