VistALink

Information for running the VistALink tester including an install script for Linux and easy instructions for Windows can be found here. This has not been verified to allow use of any of the Java Applications, however. The instructions that follow from Minto Tsai will likely allow it.

http://opensourcevista.net:8888/NancysVistAServer/VistALinkFiles/

Setup VistALink 1.5
on VistA Office EHR SemiViva 2.3.1 by Minto Tsai

Background:
VistALink is a utility provided by the VA to allow JAVA Applications to execute Remote Procedure Calls (RPC) on the VistA/M server.

Environment:
Ubuntu 7.04 (Feisty Fawn) JDK 1.5.0_12 J2EE SDK 5.02 VistA Office EHR SemiViva 2.3.1 VistALink 1.5 (Listener is already installed on VistA Office EHR SemiViva 2.3.1) Sea Island Systems' modified VistALink routines

Setup VistALink 1.5 on VistA Office EHR SemiViva 2.3.1 by Minto Tsai

Background: VistALink is a utility provided by the VA to allow JAVA Applications to execute Remote Procedure Calls (RPC) on the VistA/M server.

Environment: Ubuntu 7.04 (Feisty Fawn) JDK 1.5.0_12 J2EE SDK 5.02 VistA Office EHR SemiViva 2.3.1 VistALink 1.5 (Listener is already installed on VistA Office EHR SemiViva 2.3.1) Sea Island Systems' modified VistALink routines

Setup Steps:
1. Install VistA Office EHR SemiViva 2.3.1 2. Verify VistALink 1.5 is already installed: GTM> D ^XUP Terminal Type set to: C-VT100 Select OPTION NAME: eve CHOOSE 1-5: 1 Select Systems Manager Menu Option: programmer Select Programmer Options Option: kids Select Kernel Installation & Distribution System Option: utilities Select Utilities Option: display Select PACKAGE NAME: vistalink CHOOSE 1-2: 1 Select VERSION: 1.5// Do you want to see the Descriptions? NO// DEVICE: HOME//

Output should be: PACKAGE: VISTALINK    Jul 15, 2007 10:03 pm                          PAGE 1 PATCH #            INSTALLED                     INSTALLED BY  --- VERSION: 1.5       OCT 08, 2006                  SCHLEHUBER,CAMERON 1               NOV 06, 2006@15:11:19         SCHLEHUBER,CAMERON

3. Save original ^XOB* routines (See ReadMe.txt from Sea Island Systems', see references below) GTM> D ^%RO Routine: ^XOB* Routine: Output device: : /tmp/xob_orig.ro    Header Label: String comments ?: 4. Restore modified routines from xobv-gtm.ro (download from Sea Island Systems', see references below) GTM> D ^%RI Formfeed delimited ? Input device: : /tmp/xobv-gtm.ro    Output directory: /gtm_V5.2-000/r/     <-- don't forget the last slash 5. Verify modified routines installed GTM> ZLINK "XOBVTCPL" WRITE $TEXT(+5^XOBVTCPL) Output should be: ; SIS/LM - Modified for GT.M - Mar 23, 2004

6. Start the listener GTM> JOB LISTENER^XOBVTCPL(8001)

7. Verify listener has started GTM>  $ lke show all Output should be:

DEFAULT ^%ZIS(8994.171,RPCB Listener,ROU,VAH,ROU:KLW133,9210) Owned by PID= 32102 which is an existing process ^XOB(18.01,VistALink Listener,ROU,VAH,ROU:KLW133,8001) Owned by PID= 18338 which is an existing process $ fg

8. Telnet test to listener telnet localhost 8001 you should connect if the listener is up

9. Create a user (or use existing user) User's Access/Verify Code must use capital letters

10. Grant Kernel Access to Sample Application In User Edit, for Primary/Secondary Menu Options, assign “XOBV VISTALINK TESTER” 11. Installing VistALink sample Application files unzip XOB_1_5.ZIP cd vlj-1.5.0.026/samples/J2SE

copy VistALink libraries (under vlj-1.5.0.026/jars dir) vljConnector-1.5.0.026.jar vljFoundationsLib-1.5.0.026.jar vljSecurity-1.5.0.026.jar

copy supporting library files j2ee.jar (get from J2EE SDK) jaxen-dom.jar (under vlj-1.5.0.026/rar/ExplodedVistaLinkRAR/lib dir) jaxen-core.jar saxpath.jar log4j-1.2.8.jar

create setVistaLinkEnvironment.sh from setVistaLinkEnvironment.bat create runSwingTester.sh from runSwingTester.bat

Running SwingTester sample Application
source setVistaLinkEnvironment.sh . ./setVistaLinkEnvironment.sh

launch SwingTester ./runSwingTester.sh'

connect to M server enter IP: localhost enter Port: 8001 click Connect enter Access/Verify code

References:

VistALink VA Documentation - Vistapedia Documentation (see item 14)- Sea Island Systems' modified VistALink routines -