<?php

namespace App\Enums;

enum ToothState: string
{
    case Existing = 'existing';   // finding observed on examination
    case Planned = 'planned';     // treatment proposed (from a plan item)
    case Completed = 'completed'; // treatment done

    public function label(): string
    {
        return __(match ($this) {
            self::Existing => 'Existing',
            self::Planned => 'Planned',
            self::Completed => 'Completed',
        });
    }
}
