--
You received this message because you are subscribed to the Google Groups "VistA Emergency Room" group.
To post to this group, send email to vista-emer...@googlegroups.com.
To unsubscribe from this group, send email to vista-emergency-...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/vista-emergency-room?hl=en.
--
Nancy Anthracite
Sun Oct 16 20:46:02 EDT 2011
%GTM-E-SOCKWRITE, Write to a TCP/IP socket failed
%GTM-I-TEXT, Broken pipe
So if you could do that solomon, and I will disable that xinetd
entry, maybe that would help. Can you set the port of the VistALink
listener, etc?
On Sunday, October 16, 2011, Nancy Anthracite wrote:
> Solomon, I am clueless. Can you call me and show me how to make
this
> all work and then maybe Skip and I can work together to see what
the
> problem is.
>
> 240-246-0123
> 240-793-7436
>
--
Nancy Anthracite
Well, I see in the documentation that XINETD is used on Linux
machines even by Cache, and the protocol is tcp, so I changed it all
back and tried it with no luck
Now I noticed there is a user configured for VistALink, and that is
not the same user as for the CONNECTOR proxy. Should it be? The
Person Class is APPLICATION PROXY for VistALink and CONNECTOR Proxy
for EDIS. Is that right also? You will see I added a lot of doctor
stuff and more to the EDIS user to see if that would help and it did
nothing. I will take it out.
Select OPTION: 5 INQUIRE TO FILE ENTRIES
OUTPUT FROM WHAT FILE: NEW PERSON//
Select NEW PERSON NAME: `14 CONNECTOR,EDIS
ANOTHER ONE: `10000000058 XOBVTESTER,APPLICATION PROXY
ANOTHER ONE:
STANDARD CAPTIONED OUTPUT? Yes// (Yes)
Include COMPUTED fields: (N/Y/R/B): NO// BOTH Computed Fields and
Record Number
(IEN)
DISPLAY AUDIT TRAIL? No// YES
NUMBER: 14 NAME: CONNECTOR,EDIS
ACCESS CODE: <Hidden> DISUSER: NO
VERIFY CODE never expires: Yes
DATE VERIFY CODE LAST CHANGED: APR 10,2005
VERIFY CODE: <Hidden>
Created on Sep 25, 2011@18:37:12 by User #10000000020 (XOBU SITE
SETUP MENU
Option) (XOBV LISTENER CONNECTOR PROXY Protocol)
DATE ENTERED: SEP 25, 2011 CREATOR: ANTHRACITE,NANCY
LAST SIGN-ON DATE/TIME: OCT 16, 2011@22:27:52
XUS Logon Attempt Count: 0 XUS Active User: Yes
Entry Last Edit Date: OCT 16, 2011 NAME COMPONENTS: 200
SIGNATURE BLOCK PRINTED NAME: EDIS CONNECTOR
KEY: XUPROG GIVEN BY: ANTHRACITE,NANCY
DATE GIVEN: OCT 16, 2011
KEY: XUMGR GIVEN BY: ANTHRACITE,NANCY
DATE GIVEN: OCT 16, 2011
KEY: XUPROGMODE GIVEN BY: ANTHRACITE,NANCY
DATE GIVEN: OCT 16, 2011
KEY: DG SENSITIVITY GIVEN BY: ANTHRACITE,NANCY
DATE GIVEN: OCT 16, 2011
KEY: PROVIDER GIVEN BY: ANTHRACITE,NANCY
DATE GIVEN: OCT 16, 2011
KEY: ORES GIVEN BY: ANTHRACITE,NANCY
Enter RETURN to continue or '^' to exit:
DATE GIVEN: OCT 16, 2011
RESTRICT PATIENT SELECTION: NO MULTIPLE SIGN-ON: ALLOWED
SECONDARY MENU OPTIONS: OR CPRS GUI CHART
SECONDARY MENU OPTIONS: XOBV VISTALINK TESTER
SECONDARY MENU OPTIONS: XOBV LISTENER STARTUP
SECONDARY MENU OPTIONS: XOBU SITE SETUP MENU
TIMESTAMP: 62380,73923
CPRS TAB: COR EFFECTIVE DATE: OCT 16, 2011
CPRS TAB: RPT EFFECTIVE DATE: OCT 16, 2011
Person Class: Physicians (M.D. and D.O.)
Effective Date: OCT 16, 2011
User Class: CONNECTOR PROXY ISPRIMARY: Yes
DATE ACCESS CODE LAST CHANGED (c): SEP 25,2011
PROVIDER KEY (c): 1
NUMBER: 10000000058 NAME: XOBVTESTER,APPLICATION
PROXY
ACCESS CODE: <Hidden>
DATE VERIFY CODE LAST CHANGED: APR 10,2005
VERIFY CODE: <Hidden>
Created on Oct 16, 2011@21:23:05 by User #10000000020
DATE ENTERED: SEP 22, 2006 CREATOR: ANTHRACITE,NANCY
LAST SIGN-ON DATE/TIME: OCT 16, 2011@21:27:39
XUS Logon Attempt Count: 0 XUS Active User: Yes
Entry Last Edit Date: OCT 16, 2011
SECONDARY MENU OPTIONS: XOBV VISTALINK TESTER
TIMESTAMP: 60530,28811
User Class: APPLICATION PROXY ISPRIMARY: Yes
DATE ACCESS CODE LAST CHANGED (c): OCT 16,2011
PROVIDER KEY (c): 0
And I see that the same error comes up whether I use the VISTA LINK
user or the EDIS user in the log for the connection through XINETD
that captures Linux errors. I am just not sure if this is happening
when it is forcefully disconnected or before that.
vademo4-09@gtm:~/EHR$ cat VistALinkConnect.log
Sun Oct 16 21:46:56 EDT 2011
Sun Oct 16 21:52:54 EDT 2011
%GTM-E-SOCKWRITE, Write to a TCP/IP socket failed
%GTM-I-TEXT, Broken pipe
Sun Oct 16 21:57:23 EDT 2011
%GTM-E-SOCKWRITE, Write to a TCP/IP socket failed
%GTM-I-TEXT, Broken pipe
Sun Oct 16 21:59:44 EDT 2011
%GTM-E-SOCKWRITE, Write to a TCP/IP socket failed
%GTM-I-TEXT, Broken pipe
Sun Oct 16 22:05:50 EDT 2011
%GTM-E-SOCKWRITE, Write to a TCP/IP socket failed
%GTM-I-TEXT, Broken pipe
Sun Oct 16 22:19:05 EDT 2011
%GTM-E-SOCKWRITE, Write to a TCP/IP socket failed
%GTM-I-TEXT, Broken pipe
Sun Oct 16 22:25:42 EDT 2011
Sun Oct 16 22:27:48 EDT 2011
Here is the discription of the RPC
NUMBER: 171 NAME: ORQQVI VITALS
TAG: FASTVIT ROUTINE: ORQQVI
RETURN VALUE TYPE: ARRAY AVAILABILITY: RESTRICTED
DESCRIPTION:
Array of patient most recent vitals within start and stop
date/times. If
no start and stop dates are indicated, the most recent are returned.
If no start date is passed then the start date is 1 (i.e. before any
dates).
If no stop date is passed then the start date is also the stop date
and if
there is not start date then 9999999 is used as the stop date.
INPUT PARAMETER: PATIENT ID PARAMETER TYPE: LITERAL
MAXIMUM DATA LENGTH: 16 REQUIRED: YES
DESCRIPTION:
Patient id (DFN) from Patient File (#2).
INPUT PARAMETER: START DATE/TIME PARAMETER TYPE: LITERAL
MAXIMUM DATA LENGTH: 16
DESCRIPTION:
Start date/time for vital retrieval in Fileman format.
If none is passed then the start date is 1 (i.e. before any dates).
INPUT PARAMETER: STOP DATE/TIME PARAMETER TYPE: LITERAL
MAXIMUM DATA LENGTH: 16
DESCRIPTION:
Stop date/time for vital retrieval in Fileman format.
If none is passed then the Start date is also the stop date and if
there
is not start date then 9999999 is used as the stop date
Enter RETURN to continue or '^' to exit:
RETURN PARAMETER DESCRIPTION:
Array of patient most recent vitals within start and stop
date/times.
If no start and stop dates are indicated, the most recent are
returned.
Vitals are returned in the format:
vital ien^vital type^rate/value^date/time taken
Solomon, could you make a jar with the RPC XOBV TEST STRING with your
tester so we could compare apples to apples?
> > java -jar vistalink-tester-0.1.one-jar.jar -S=66.206.177.84 -
P=9314
> > -station-num=500 -DUZ=10000000020 -rpc-context="OR CPRS GUI
CHART"
> > -rpc-name="ORQQVI VITALS"
--
Nancy Anthracite
GTM>D VITALS^ORQQVI(.G,229)
%GTM-E-UNDEF, Undefined local variable: ORSDT
GTM>D VITALS^ORQQVI(.G,229,"T-900","T")
GTM>ZWR G
G(1)="^No vitals found."
On Mon, Oct 17, 2011 at 10:28 AM, Nancy Anthracite
GTM>D STRRP^XOBVLT(.G3,"TEST STRING")
GTM>ZWR G3
G3="Returned Input Value: TEST STRING"
If the patient has no vitals, the return variable is not set. If the
patient has vitals, and you pass in the start and end date, Vitals are
returned..
Patient 2 has vitals. Patient 229 does not. At least in the system I'm using.
gpl
GTM>D FASTVIT^ORQQVI(.G4,229)
GTM>ZWR G4
%GTM-E-UNDEF, Undefined local variable: G4
GTM>D FASTVIT^ORQQVI(.G4,229,"T-900","T")
GTM>ZWR G4
%GTM-E-UNDEF, Undefined local variable: G4
GTM>D FASTVIT^ORQQVI(.G4,2,"T-900","T")
GTM>ZWR G4
G4(1)="22^T^99^3050719.1558^99 F^(37.2 C)^"
G4(2)="24^P^32^3050719.1558^32^^"
G4(3)="23^R^23^3050719.1558^23^^"
G4(4)="21^BP^220/89^3050719.1558^220/89^^"
G4(5)="25^HT^72^3050719.1558^72 in^(182.9 cm)^"
G4(6)="26^WT^200^3050719.1558^200 lb^(90.7 kg)^"
G4(7)="27^PN^5^3050719.1558^5^^"
G4(8)="-1^BMI^27.18^3050719.1558^27.18^^"
nancy@gtm:~$ java -jar vistalink-tester-0.1.one-jar.jar -S=127.0.0.1 -P=9314 -
station-num=500 -DUZ=10000000020 -rpc-name="XOBV TEST STRING"
Access:
Verify:
RPC Context:
57 [main] INFO
gov.va.med.vistalink.adapter.spi.VistaLinkManagedConnectionFactory - Creating
managed connection factory, VistALink adapter version 1.5.0.026.
62 [main] WARN
gov.va.med.vistalink.adapter.spi.VistaLinkManagedConnectionFactory -
gov.va.med.environment.servertype is not defined for this JVM. For J2EE
systems only -- check this -D JVM arg; MBeans required for the VistaLink
console will not be loaded.
Enter RPC Parameters (^ when finished)
RPC Param 1: "Hello WORLD!"
RPC Param 2: ^
Executing vlink://5...@127.0.0.1:9314//XOBV TEST STRING?[1]="Hello WORLD!"
41964 [main] INFO
gov.va.med.vistalink.adapter.spi.VistaSocketConnection.AuditLog - Socket xfer
(milli-secs): 1022
43092 [main] INFO
gov.va.med.vistalink.adapter.spi.VistaSocketConnection.AuditLog - Socket xfer
(milli-secs): 1101
44190 [main] INFO
gov.va.med.vistalink.adapter.spi.VistaSocketConnection.AuditLog - Socket xfer
(milli-secs): 1082
44203 [main] INFO gov.va.med.vistalink.adapter.spi.VistaLinkManagedConnection
-
gov.va.med.vistalink.adapter.spi.VistaLinkManagedConnection[]127.0.0.1[]9314[]1[]J2EE[fdi]1[mdi]1
M $JOB=26668
getConnection(...) processing time = 3
44291 [main] INFO
gov.va.med.vistalink.adapter.spi.VistaSocketConnection.AuditLog - Socket xfer
(milli-secs): 70
45352 [main] INFO
gov.va.med.vistalink.adapter.spi.VistaSocketConnection.AuditLog - Socket xfer
(milli-secs): 1037
A system error occurred in M: STRRP+1^XOBVLT, Undefined local variable:
XOBSTR,150373850,-%GTM-E-UNDEF; nested exception is
gov.va.med.vistalink.adapter.record.VistaLinkFaultException:
Fault Code: 'Server'; Fault String: 'System Error'; Fault
Actor: '';
Code: '181001'; Type: 'system'; Message: 'A system error
occurred in M: STRRP+1^XOBVLT, Undefined local variable:
XOBSTR,150373850,-%GTM-E-UNDEF'
nancy@gtm:~$ sudo su
gtm:/home/nancy# tcpdump -vvvv port 9314 -w EDIS-10-17-2011-2.cap
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 65535
bytes
^C50 packets captured
50 packets received by filter
0 packets dropped by kernel
--
Nancy Anthracite