Hello,
There is another possibility to integrate a web viewer with a PACS:
1.- You can install weasis-pacs-connector (more information at the end of this
page). That will allow you to do queries to your PACS. It is a bit more complicated, but the good news is that you will be able to query any PACS, not only dcm4che2.
2.- Your web viewer asks the connector about information for a given patient, study, etc, just as indicated
here.
3.- Your web application has a form to allow the user to introduce the patient id, then asks the connector, and finally has to process the returned XML. After having done that, you will have all the necessary information to obtain the images (either jpeg or dicom) via WADO.
It is more complicated than just integrating with the dcm4che2 web interface but you will have additional advantages.
You can see the final result
here (in our case, instead of using weasis-pacs-connector we developed our own gateway, a sort of cfind-pacs-connector).
It is still at a very early stage, but it works.
Regards,
José Antonio Pérez