MAG*3.0*393 30.393.1.8435 VIX Clinical Display Sensitivity Fixes is to be applied to 
a VIX server only with MAG*3.0*365 30.365.4.8433 already installed.

This hotfix updates VIX to support viewing Restricted/Sensitive Patients in Clinical Display:

Problem: A MAG*3.0*365 logging change unintentionally affected how Clinical 
Display handled restricted/sensitive patients, which could prevent users from being 
prompted again when viewing those patients at remote sites.

Resolution: The handling was corrected so Clinical Display receives the expected 
response and properly prompts users to acknowledge restricted/sensitive patient 
access when needed.

The components listed below may be updated via either an automated script or manual
deployment process that is included in the delivery package:

C:\Program Files\Apache Software Foundation\Tomcat 9.0\lib\
   * ImagingRouter-0.1.jar

Automated script steps:

1.   Create a new folder: C:\temp\MAG3_0393_1_8435_VIX_Clinical_Display_Sensitivity_Patch

2.   Place the MAG3_0393_1_8435_VIX_Clinical_Display_Sensitivity.zip file in the folder created in 
     step #1 (C:\temp\MAG3_0393_1_8435_VIX_Clinical_Display_Sensitivity_Patch).

3.   Extract the contents of MAG3_0393_1_8435_VIX_Clinical_Display_Sensitivity.zip into the folder 
     created in step #1 (C:\temp\MAG3_0393_1_8435_VIX_Clinical_Display_Sensitivity_Patch).

4.   Run pwsh (PowerShell 7) as an administrator.

5.   If prompted with  Do you want to allow the following program from an 
     unknown publisher to make changes to this computer? , click Yes.

6.   Once pwsh launches, type the command:
        cd "C:\temp\MAG3_0393_1_8435_VIX_Clinical_Display_Sensitivity_Patch"
		
        Then press [ENTER] to change the working directory to this folder.

7.   Type the command:
        .\MAG3_0393_1_8435_VIX_Clinical_Display_Sensitivity_Deployer.ps1
        
       And press [ENTER] to execute the automated script.

       NOTE: If encountering an error running the script, in pwsh type the
             command:
             Set-ExecutionPolicy Unrestricted
             Press [ENTER] to set the policy to allow scripts to run.

8. When prompted to Select File to Upload choose the zip file from the 
   folder in step #2.

9. When prompted with Confirm you want to proceed (Y), backout (B), (Q) to Quit,
   or (A) for advanced answer yes by entering [Y] and press [ENTER].

10. Answer yes by entering [Y] and press [ENTER] to each of the questions 
    that appear:

        Continue to update sites

        Do you want to copy the hotfix zip file

        Do you want to stop the Tomcat9 service

        Do you want to unpack the hotfix zip file

        Do you want to proceed with applying the hotfix

        Do you want to start the Tomcat9 service   

NOTE: Starting and stopping Tomcat can take several minutes.

Manual steps:

1. Create two new folders:
    a. C:\temp\MAG3_0393_1_8435_VIX_Clinical_Display_Sensitivity_Patch
    b. C:\temp\MAG3_0393_1_8435_VIX_Clinical_Display_Sensitivity_Patch\Backup

2. Extract the contents of the "MAG3_0393_1_8435_VIX_Clinical_Display_Sensitivity_Patch.zip" file to the folder
   created in step #1a (C:\temp\MAG3_0393_1_8435_VIX_Clinical_Display_Sensitivity_Patch)

3. Stop the Tomcat service (Apache Tomcat 9.0 Tomcat9) in Windows
   Services. Wait for the Tomcat service to stop completely (this may take
   several minutes and potentially over five minutes).

4. Copy and paste (to create a backup of) the following files located in
   C:\Program Files\Apache Software Foundation\Tomcat 9.0\lib to the folder created in
   step #1b (C:\temp\MAG3_0393_1_8435_VIX_Clinical_Display_Sensitivity_Patch\Backup):

   a. ImagingRouter-0.1.jar

5. Copy and paste the following files located in C:\temp\MAG3_0393_1_8435_VIX_Clinical_Display_Sensitivity_Patch
   to the folder C:\Program Files\Apache Software Foundation\Tomcat 9.0\lib:

   a. ImagingRouter-0.1.jar

6. Open the file ViXConfig.xml in the folder C:\VixConfig using Notepad 
   or Notepad++ as an administrator and perform the following:

     a. In ViXConfig.xml, after the line with
        <void property="vixSoftwareVersion"> change the number inside the
        opening and closing string tags to 30.393.1.8435.

     b. Save ViXConfig.xml after updating.

7. Start the Tomcat service (Apache Tomcat 9.0 Tomcat9) in Windows
   Services. Wait for the Tomcat service to start completely (this may
   take several minutes)