Ability to query more than one PACS server
alcir opened this issue · 3 comments
It should be not so difficult to have the ability to query multiple PACS using a single installation of weasis-pacs-connector.
I managed to run weasis-pacs-connector inside Tomcat. It works as expected.
In order to query many pacs server, I have deployed many weasis-pacs-connector with different names, each with a weasis-connector-default.properties file inside it, like a webapp for each PACS server I need to query.
Something like this:
/path/to/tomcat/webapps/weasis-pacs-connector-rx
/path/to/tomcat/webapps/weasis-pacs-connector-mr
I'm not a developer, but looking at the source code it should not be too difficult to read more than a configuration file. For instance, in order to query a specific server and read a specific configuration file, we can add a new property in the URL, like for instance
http://server:8080/weasis-pacs-connector/manifest?patientID=12345&**server**=PACS1
or
http://server:8080/weasis-pacs-connector/manifest?patientID=6789&**server**=PACS2
So, looking at the server value we can read the related properties file containing pacsAET, pacsHost, pacsPort, wadoQueriesURL, etc.
This is on-going development that will be in the next release.
It will be also possible to make a request to several PACS. That means the viewer will open images from different PACS with only one request.
This is awesome! Thanks.
On Feb 12, 2016 11:46 AM, "Nicolas Roduit" notifications@github.com wrote:
This is on-going development that will be in the next release.
It will be also possible to make a request to several PACS. That means the
viewer will open images from different PACS with only one request.—
Reply to this email directly or view it on GitHub
#6 (comment)
.
Implemented in weasis-pacs-connector 6