minor fix
This commit is contained in:
parent
1a97f96b5d
commit
ab91230dfa
@ -163,7 +163,7 @@ public function getReportStatusLedAttribute(): string
|
|||||||
public function getArchiveLink(): ?string
|
public function getArchiveLink(): ?string
|
||||||
{
|
{
|
||||||
if (me()->may(Permission::StudyDownload)) {
|
if (me()->may(Permission::StudyDownload)) {
|
||||||
return PacsUrlGen::archive($this->orthancHost, $this->study_instance_uid);
|
return PacsUrlGen::archive($this->orthancHost, $this);
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
@ -172,7 +172,7 @@ public function getArchiveLink(): ?string
|
|||||||
public function getStoneLink(): ?string
|
public function getStoneLink(): ?string
|
||||||
{
|
{
|
||||||
if (me()->may(Permission::StudyDownload)) {
|
if (me()->may(Permission::StudyDownload)) {
|
||||||
return PacsUrlGen::stoneViewer($this->orthancHost, $this->study_instance_uid);
|
return PacsUrlGen::stoneViewer($this->orthancHost, $this);
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
@ -181,7 +181,7 @@ public function getStoneLink(): ?string
|
|||||||
public function getOhifLink(): ?string
|
public function getOhifLink(): ?string
|
||||||
{
|
{
|
||||||
if (me()->may(Permission::StudyDownload)) {
|
if (me()->may(Permission::StudyDownload)) {
|
||||||
return PacsUrlGen::ohifViewer($this->orthancHost, $this->study_instance_uid);
|
return PacsUrlGen::ohifViewer($this->orthancHost, $this);
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
@ -190,7 +190,7 @@ public function getOhifLink(): ?string
|
|||||||
public function getOhifSegmentationLink(): ?string
|
public function getOhifSegmentationLink(): ?string
|
||||||
{
|
{
|
||||||
if (me()->may(Permission::StudyDownload)) {
|
if (me()->may(Permission::StudyDownload)) {
|
||||||
return PacsUrlGen::ohifSegmentation($this->orthancHost, $this->study_instance_uid);
|
return PacsUrlGen::ohifSegmentation($this->orthancHost, $this);
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
@ -199,7 +199,7 @@ public function getOhifSegmentationLink(): ?string
|
|||||||
public function getOhifMprLink(): ?string
|
public function getOhifMprLink(): ?string
|
||||||
{
|
{
|
||||||
if (me()->may(Permission::StudyDownload)) {
|
if (me()->may(Permission::StudyDownload)) {
|
||||||
return PacsUrlGen::ohifViewerMpr($this->orthancHost, $this->study_instance_uid);
|
return PacsUrlGen::ohifViewerMpr($this->orthancHost, $this);
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
|
Loading…
Reference in New Issue
Block a user