<?php

declare(strict_types=1);

namespace Kylin\Medical\Facades;

use Illuminate\Support\Facades\Facade;
use Kylin\Medical\Models\Appointment;
use Kylin\Medical\Models\MedicalRecord;
use Kylin\Medical\Models\Prescription;

/**
 * KylinMedical Facade
 *
 * @method static Appointment createAppointment(array $data)
 * @method static Appointment cancelAppointment(int $appointmentId, string $reason = '')
 * @method static Prescription createPrescription(array $data)
 * @method static Prescription reviewPrescription(int $prescriptionId, int $pharmacistId, bool $approved, string $reason = '')
 * @method static MedicalRecord signMedicalRecord(int $recordId, int $doctorId)
 * @method static array getPatientRecords(int $patientId, int $currentUserId, bool $isAuthorized = false)
 */
class KylinMedical extends Facade
{
    protected static function getFacadeAccessor(): string
    {
        return 'kylin-medical';
    }
}
