You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
497 B
29 lines
497 B
6 days ago
|
<?php
|
||
|
|
||
|
declare(strict_types=1);
|
||
|
|
||
|
namespace App\Dictionary\Medical;
|
||
|
|
||
|
/**
|
||
|
* 病人性质
|
||
|
*/
|
||
|
enum PatientProperty: int
|
||
|
{
|
||
|
|
||
|
case OUTPATIENT_PLANNING = 6089; // 门诊统筹
|
||
|
|
||
|
case OUTPATIENT_MUTUAL_AID = 6095; // 门诊共济
|
||
|
|
||
|
/**
|
||
|
* Label string
|
||
|
* @return string
|
||
|
*/
|
||
|
public function label(): string
|
||
|
{
|
||
|
return match($this) {
|
||
|
self::OUTPATIENT_PLANNING => '门诊统筹',
|
||
|
self::OUTPATIENT_MUTUAL_AID => '门诊共济',
|
||
|
};
|
||
|
}
|
||
|
}
|