belongsTo(DiseaseCategoryProperties::class , 'category_id' , 'id'); } public static function getLables($label = '') { $labels = [ 'Disease' => '西医科室疾病', 'SickNess' => '西医科普疾病', 'Symptom' => '症状体征', 'MedicineProduction' => '药品', 'Inspection' => '检查', 'Identity' => '鉴别诊断', 'ClinicalPathway' => '临床路径', 'zySickNess' => '中医疾病', 'CnMedicinalCrop' => '中药', 'CnPatentMedicine' => '中成药', 'Prescription' => '方剂', 'TonicDiet' => '药膳', 'ChannelCollateral' => '经络', 'Acupoint' => '穴位', 'Nursing' => '护理', 'Operation' => '手术操作' ]; return $label ? $labels[$label] : $labels; } }