mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-12 11:11:31 +00:00
resolved conflicts
This commit is contained in:
+36
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\ClinicalData\Services\Investigations;
|
||||
|
||||
use Illuminate\Support\Facades\DB;
|
||||
|
||||
class InvestigationsService
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
}
|
||||
|
||||
public function getInvestigationCategoriesBySuper(): array
|
||||
{
|
||||
return DB::table('investigation_categories')
|
||||
->pluck('super_category_id', 'id')->toArray();
|
||||
}
|
||||
|
||||
public function getInvestigationSuperCategories(): array
|
||||
{
|
||||
return DB::table('investigation_super_categories')
|
||||
->pluck('name', 'id')->toArray();
|
||||
}
|
||||
|
||||
public function getInvestigationsByName(): array
|
||||
{
|
||||
return DB::table('investigations')
|
||||
->pluck('name', 'id')->toArray();
|
||||
}
|
||||
|
||||
public function getInvestigationsByCategory(): array
|
||||
{
|
||||
return DB::table('investigations')
|
||||
->pluck('category', 'id')->toArray();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user