'主诉' , 2 => '现病史' , 3 => '其他史' , 4 => '查体']; public function getCategoryAttribute($value) { return $this->options[$value]; } public function getOptions() { return $this->options; } }