This commit is contained in:
Masroor Ehsan 2024-12-30 19:06:28 +06:00
parent e904856171
commit a1b6856fbc

View File

@ -20,6 +20,27 @@ public function getStudyStatistics(string $study_id): array
return json_decode($response->getBody()->getContents(), true); return json_decode($response->getBody()->getContents(), true);
} }
public function getServerStatistics(): array
{
$response = $this->getClient()->get('/statistics');
return json_decode($response->getBody()->getContents(), true);
}
public function getStudySeries(string $study_id): array
{
$response = $this->getClient()->get('/studies/'.$study_id.'/series?expand');
return json_decode($response->getBody()->getContents(), true);
}
public function getStudyInstances(string $study_id): array
{
$response = $this->getClient()->get('/studies/'.$study_id.'/instances?expand');
return json_decode($response->getBody()->getContents(), true);
}
public function getStudyDetails(string $study_id): array public function getStudyDetails(string $study_id): array
{ {
$query = [ $query = [