|
![]() |
||||||
PREV NEXT | FRAMES NO FRAMES |
Merge DICOM WS Java Toolkit is an upper layer of Merge DICOM Java Toolkit developed to facilitate Http DICOM WADO usage. This section describes how to use the toolkit and configure it for the processing of Http DICOM WADO requests/responses with user's defined DICOM services.
To start using Merge DICOM WS Java Toolkit it should be first initialized. The toolkit initialization will internally bootstrap the initialization of Merge DICOM Java Toolkit as well, so this operation is needed only once. To initialized Merge DICOM WS Java Toolkit the user has to call the MCwado.init(java.io.File mergeIniFile, java.lang.String license) static method of MCwado singleton static class, which has the same syntax as MC.initialize(java.io.File mergeIniFile, java.lang.String license) method of Merge DICOM Java Toolkit.
The user might define various configuration settings of the toolkit in the "mergecom.wado.config" file in the following Xml format:
The configuration parameters are read on the toolkit bootstrap and aftrewards could be accessed through Java Map interface using a MCwado.Configuration.getSettings() static method.
Merge DICOM WS Java Toolkit parses Http DICOM WADO requests and translates them into a set of DICOM toolkit objects. Theses objects are used as the input for the user registered DICOM services. The DICOM service returns the results of DICOM operations as a set of DICOM toolkit objects, which in its turn are converted into Http WADO response.
The next figure shows the dynamic model of the Merge DICOM WS Java Toolkit workflow.
To allow the toolkit to access DICOM service for WADO request the user has to register the instances of DICOM service interfaces in MCwado container using MCwado.setService(IMCservice service) and MCwado.setCache(IMCcache cache) static methods. Interfaces com.merge.mcws.interfaces.IMCservice and com.merge.mcws.interfaces.IMCcache are designed to provide a full information of DICOM WADO request to the user defined DICOM service and retrieve a service response as a set of the DICOM toolkit objects.
DICOM WADO request might require to render or convert the DICOM data of the service to specific format or different DICOM Transfer Syntax. To perfom this operation the user might register the instance of com.merge.mcws.interfaces.IMCdicomRenderer in the toolkit container using MCwado.setDicomRenderer(IMCdicomRenderer renderer) method, otherwise MCdicomRenderer will be used by default.
The final operation of DICOM WADO request is the conversion of rendered DICOM data from the service into Http response, which will be sent to the client. For that operation the user might register com.merge.mcws.interfaces.IMChttpConverter instance using MCwado.setHttpConverter(IMChttpConverter converter) method or use default MChttpConverter.
The following diagram shows the workflow from the DICOM service to the Http client with users defined com.merge.mcws.interfaces.IMCdicomRenderer and com.merge.mcws.interfaces.IMChttpConverter.
|
Copyright © 2024 Merge Healthcare Solutions Inc. All Rights Reserved. | ||||||
PREV NEXT | FRAMES NO FRAMES |