23 lines
645 B
PHP
23 lines
645 B
PHP
<?php
|
|
|
|
namespace App\Infrastructure\Reports\Services;
|
|
|
|
use App\Models\Department;
|
|
use App\Services\UnifiedPatientService;
|
|
use Illuminate\Support\Collection;
|
|
|
|
/**
|
|
* Search-фасад для клинических справочных выборок отчётного интерфейса.
|
|
*/
|
|
class ReportClinicalSearchService
|
|
{
|
|
public function __construct(
|
|
private readonly UnifiedPatientService $unifiedPatientService,
|
|
) {}
|
|
|
|
public function searchMisPatientsForDepartment(Department $department, string $query): Collection
|
|
{
|
|
return $this->unifiedPatientService->searchMisPatients($department, $query);
|
|
}
|
|
}
|