Профиль хирургии

This commit is contained in:
brusnitsyn
2026-03-25 17:37:32 +09:00
parent 52a80ccd3b
commit f566ab96df
75 changed files with 3841 additions and 1009 deletions

View File

@@ -0,0 +1,9 @@
<?php
namespace App\Contracts;
interface MetricCalculatorInterface
{
public function calculate(array $departmentIds, string $startDate, string $endDate): array;
public function getMetricId(): int;
}

View File

@@ -0,0 +1,12 @@
<?php
namespace App\Contracts;
use App\Services\DateRange;
use Illuminate\Support\Collection;
interface PatientProviderInterface
{
public function getPatients(string $type, int $branchId, DateRange $dateRange, array $options = []): Collection;
public function getCount(string $type, int $branchId, DateRange $dateRange, array $options = []): int;
}