1 / 2

web browser Upload Interface

Client. http request. WEBrick Ruby Web Server. web browser Upload Interface. http response. Html as result from rhtml. forward http request. generate. Process the request and redirect to appropriate view. Rails Controller. View: rhtml. DICOM files. HL7 files.

reed
Télécharger la présentation

web browser Upload Interface

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Client http request WEBrick Ruby Web Server web browser Upload Interface http response Html as result from rhtml forward http request generate Process the request and redirect to appropriate view Rails Controller View: rhtml DICOM files HL7 files Forward to corresponding view page EvaluationManager Controller Joela HL7 Java tool Evaluate User uploaded HL7/DCM Ruby system() method Clunie tool Parse/Render output from tool Web/Ruby components as part of Gazelle/Linux Rails AWS - uses SOAP/XML-RPC Web Services Gazelle on Linux computer call Java Object Separate computer with Web server and DVTK Windows computer for DVTK Execute command DVTK

  2. Ruby on Rails will be used for building web interface for uploading HL7/DICOM file that needs to be validated. Upload file interface will be part of Gazelle’s System Functionality Manager. This involves necessary HTML code in the “form” part of the view, appropriate code in controller to handle file upload and necessary code in the model to save filename/file in the database. The Rails Wiki has a good page that discusses file uploads in more depth. We will use Ruby’s system calls with the system () method: to invoke Clunie/Joela validation tool Invoking Clunie/Joela tool itself happens within the Evaluation Manager which manages the evaluation by verifying conformance of the messages with the standard using third party validation tools. Within Rails EvaluationManager controller we will have the following code to invoke software validation tool image_filename = "fileToBeValidated.dcm" check_results = system("<validation Tool> #{ fileToBeValidated.dcm }") puts check_results # => 'OK!' The results from Clunie/Joela tool will be parsed by Rails EvaluationManager controller with the aid of Ruby code/scripts and the results will be displayed to the user. For validating DCM files using DVTK tool, we will use Rails’s AWS (Action Web Service – Rails come preloaded with AWS and AWS provides support for the SOAP and XML-RPC protocols) which will be part of Gazelle’ Evaluation Manager. DICOM object validation with the Clunie/Joela/DVTK tool

More Related