diff --git a/app/Services/Pacs/OrthancRestClient.php b/app/Services/Pacs/OrthancRestClient.php index 84529ef..91b9ec0 100644 --- a/app/Services/Pacs/OrthancRestClient.php +++ b/app/Services/Pacs/OrthancRestClient.php @@ -20,6 +20,27 @@ public function getStudyStatistics(string $study_id): array 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 { $query = [