CPRS and the VistA VM

With the help of the members of this group I was able to set up the VistA VM.  I can connect to the VM via VistALink, but now I want to explore the other connection options.  I tried CPRS, but I get an error message about the version.  It informs me that the server is version 10.30.69 while the CPRS client is 10.28.24.  The latest version of CPRS I could find was provided by OSEHRA, but it's still not current enough (it's 10.30.16).  Does anyone know how I can obtain a version of CPRS that will work with the VM?

like0

Comments

CPRS Download

Joseph Snyder's picture

Hi again!

We do have a version of 1.0.30.69 available for download from the following page:

http://code.osehra.org/files/CPRS/1_0_30_69/CPRSChart.exe

This executable has a SHA1 hash of b0c2847c12f1e7cfbeacac0707d4abce04edbbf4.  This executable is built with the same XUSRB1.m file as the VistA-M repository and should be able to connect to your VistA instance.

Hope that helps!

- Joe

like0

Cipher Difference

Joseph Carneiro's picture

Joe,

Thanks for the quick response.  I tried using this executable, but the access/verify codes were rejected as invalid.  I think this is because I did change the cipher on the VM to match the one used by the VA's VistALink libraries.  One of my colleagues located the source code for CPRS 10.30.69, so we're going to try to build it with the changed cipher.  Thanks again for the help.

like0

Cipher Difference

Joseph Snyder's picture

Sorry that it wasn't more helpful.  One other option to allow the usage of an older CPRS version is to change the required version within VistA.  This is done by changing the "MENU TEXT" of the "OR CPRS GUI CHART" within Fileman.  A capture of this process is below, with the text that should be entered in red.

$ mumps -dir
VISTA>S DUZ=1 D Q^DI
 
 
VA Fileman 22.0
 
 
Select OPTION: 1  ENTER OR EDIT FILE ENTRIES
 
 
 
Input to what File: OPTION
     1   OPTION                           (10247 entries)
     2   OPTION SCHEDULING                (20 entries)
CHOOSE 1-2: 1  OPTION                     (10247 entries)
        (10247 entries)
EDIT WHICH FIELD: ALL// MENU TEXT
THEN EDIT FIELD: <enter>

Select OPTION NAME: OR CPRS GUI CHART       CPRSChart version 1.0.30.69
MENU TEXT: CPRSChart version 1.0.30.69  Replace 69 With 16
  Replace <enter>
   CPRSChart version 1.0.30.16
OUT OF ORDER MESSAGE: ^
 
 
Select OPTION NAME:

 

- Joe

like0

Cipher Difference

Joseph Carneiro's picture

I did a comparison and noticed there is a difference in the ciphers.  They are almost identical except for the last string.  The top is from the Hash.pas file included with the CPRS source, the bottom is from the VistaKernelHash class used by VistALink:

5:iar.{YU7mBZR@-K|2 "+~`M%8sq4JhPo<_X\Sg3WC;Tuxz,fvEQ1p9=w}FAI&j/keD0c?)LN6OHV]lGy''$*>nd[(tb!#
5:iar.{YU7mBZR@-K|2 "+~`M%8sq4JhPo<_X\Sg3WC;Tuxz,fvEQ1p9=w}FAI&j/keD0c?)LN6OHV]lGy'$*>nd[(tb!#')

It makes me wonder what the correct cipher is supposed to be for the VM.  Does anyone have any insight on why there is this difference?

like0

Thanks

Kevin Taylor's picture

Thanks Joe!

like0