Implementing Weasis with Orthanc

Hi,

I feel that orthanc is a great mini-PACS and have an urge to contribute something. However, please forgive my very limited programming skills.

I want to share my (very basic) method of implementing Weasis with Orthanc using PHP and XML.

Summary:

  1. Orthanc Patient UUID is passed to loadWeasisX.php (eg http://webserver:80/pacs/loadWeasisX.php?PatientUUID=2c713ae2-c924aea4-c86e9306-f7873fb5-fd8444d0)
  2. loadWeasisX.php using file_get_contents from http://orthanc:8042/, parses the data using raw PHP, and writes a Weasis-compatible XML file (weasisX.xml)
  3. loadWeasisX.php returns a link to weasisX.jnlp, which is hard-coded to load weasisX.xml

Note:

  1. The local addresses in the files attached are 10.1.20.127 (webserver with PHP) and 10.2.150.33:8042 (orthanc with default 8042 port for webserver).
  2. Weasis is installed into the webserver/pacs/weasis (which is where the jnlp points to).

Hope this helps with anybody who needs it.

Regards,
Em

weasisX.jnlp (3.31 KB)

loadWeasisX.php (5.48 KB)

Wow~This is really interesting!

在 2014年8月19日星期二UTC+8上午10时16分03秒,Emsy Chan写道:

Dear Em,

Many thanks for this great contribution!

I have just added your code to the official GitHub repository for user-contributed code:
https://github.com/jodogne/OrthancContributed/tree/master/Applications/Php/Weasis

Thanks again,
Sébastien-

please sir , iam a new with orthanc and very interested with your work
but can you provide a step by step turtorial for this implantation
thanks in advance

بتاريخ الثلاثاء، 19 أغسطس، 2014 4:16:03 ص UTC+2، كتب Emsy Chan:

please sir , iam a new with orthanc and very interested with your work
but can you provide a step by step turtorial for this implantation
thanks in advance

A tutorial is available at the following location:
http://www.orthanc-server.com/resources/2015-02-09-emsy-tutorial/index.html

Hi

This is excellent though I'm new to Orthanc and am failing to make this work. The tutorial you pointed to is for installing Orthanc for windows only. It doesn't look at installing the Wado plugin and then this contribution... I've done all this, but all in getting is just a continuous loading of the page as if the script is in a Infinite loop at the server.

I'm thinking maybe I'm requesting it wrong.

A step by step torturously from installation of Orthanc to the actual wado request would be wonderful.

Sorry to add a me 2. But I have come to the exact same problem. I've got Orthanc to run but I'm now looking to get a web based viewer connected to it.

So any help would be greatly appreciated!
Best regards,
Erik

Sorry to add a me 2. But I have come to the exact same problem. I've got Orthanc to run but I'm now looking to get a web based viewer connected to it.

So any help would be greatly appreciated!
Best regards,
Erik

Posting to my own question... 1 minute extra googling showed me what I was looking for... see this page (Orthanc - DICOM Server) on the Orthanc website on how to use webviewer in combination with Orthanc.

Best regards,
Erik