Open Osimis url request

477 views
Skip to first unread message

sheikh

unread,
Nov 6, 2017, 7:12:43 AM11/6/17
to Orthanc Users
Dear All,

I had stored dicom data in orthanc successfully, but i want to give access to physicians using another web application, dont want to give access of orthanc to view images.So let me know how to launch osimis viewer ?
currently check with this http://localhost:8042/osimis-viewer/app/index.html but having all study list.
Let me know for open specific study using http://localhost:8042/osimis-viewer/app/index.html=[1.3.455.2343434.56556] passing studyinstanceuid.?
How ever i also check inbuilt url of osimis to open specific study it passing uuid of orthanc, so let me know how to get uuid to open viewer with particular study from other application.?
Thanks

Thibault Nélis

unread,
Nov 6, 2017, 9:26:06 AM11/6/17
to orthan...@googlegroups.com
On Mon, 2017-11-06 at 04:12 -0800, sheikh wrote:
> I had stored dicom data in orthanc successfully, but i want to give
> access to physicians using another web application, dont want to give
> access of orthanc to view images.So let me know how to launch osimis
> viewer ?

Usually we use the Orthanc authorization plugin for this. You can have
the backend of your web application implement access control
internally.

http://book.orthanc-server.com/plugins/authorization.html

Sample:
https://bitbucket.org/osimis/orthanc-setup-samples/src/master/docker/au
thorization-plugin/

Another approach is to intercept requests via a reverse-proxy which
does access control based on the URIs (we've used it in the past, but
it is in general less convenient).

> currently check with this http://localhost:8042/osimis-
> viewer/app/index.html but having all study list.
> Let me know for open specific study using
> http://localhost:8042/osimis-
> viewer/app/index.html=[1.3.455.2343434.56556] passing
> studyinstanceuid.?

Use the "study" parameter in the query string.

http://viewer-basic.osimis.io/osimis-viewer/app/index.html?study=494c80
37-b237f263-d8f15075-c8cb2280-daf39bd1

> How ever i also check inbuilt url of osimis to open specific study it
> passing uuid of orthanc, so let me know how to get uuid to open
> viewer with particular study from other application.?

The accepted values are Orthanc IDs. Use tools/lookup to map study
instance UIDs to Orthanc IDs.

$ http --verbose sandbox.local/tools/lookup Content-Type:text/plain
<<<2.16.840.1.113669.632.20.1211.10000315526
POST /tools/lookup HTTP/1.1
Accept: application/json
Accept-Encoding: gzip, deflate
Connection: keep-alive
Content-Length: 42
Content-Type: text/plain
Host: sandbox.local
User-Agent: HTTPie/0.9.4

2.16.840.1.113669.632.20.1211.10000315526

HTTP/1.1 200 OK
Content-Encoding: gzip
Content-Length: 119
Content-Type: application/json; charset=utf-8

[
{
"ID": "0dff9280-2375f586-1297870c-4cbd6d1c-527e36e5",
"Path": "/studies/0dff9280-2375f586-1297870c-4cbd6d1c-
527e36e5",
"Type": "Study"
}
]
--
Thibault Nélis <t...@osimis.io>
Osimis
Reply all
Reply to author
Forward
0 new messages