Tutorial: Connecting the Sample Database to the LEAD HTML5 Medical Viewer

Step 1: Configure the HTML5 Medical Viewer to work with the shipping database schema

This should already be configured, as it is part of the Configure the LEAD Storage Server with the shipping database schema step in the Changing the LEAD Medical Storage Server to Use a Different Database Schema tutorial. 

If you have not already done this, you must restore the globalPacs.config file to reference the shipping database:

Step 2: Modify GlobalPacs.config to use the tutorial custom database

This should already be configured if you have finished the Changing the LEAD Medical Storage Server to Use a Different Database Schema tutorial.

If you have not already done this, follow Step 4: Modify GlobalPacs.config to use the New Database of the Changing the LEAD Medical Storage Server to Use a Different Database Schema tutorial.

Step 3: Modify the web.config to use the storage catalog and the DataSet Schema

Step 4: Modify the Leadtools.Medical.WebViewer.WCF Assembly

Note that any code modifications that you make as part of this tutorial have already been included in the shipping version of the source code, wrapped in directives, as shown below:

#if TUTORIAL_CUSTOM_DATABASE  
// Begin of Tutorial Source Code Modifications 
// ... 
// ...  
// End of Tutorial Source Code Modifications 
#endif 

   Build the project to generate the new Leadtools.Medical.WebViewer.WCF assembly. 

Step 5: Modify the Leadtools.Medical.WebViewer.Addins Assembly

Step 6: Copy the modified assemblies to the Medical Viewer Service Bin folder

Step 7: Verify the HTML5 Medical Web Viewer Demo is using the Custom Database

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Imaging, Medical, and Document