Primary station '101XXX' of the request does not match the primary station '100' of the M/Kernel system.'

13 views
Skip to first unread message

Wasim

unread,
Aug 6, 2012, 6:29:46 AM8/6/12
to vista-emer...@googlegroups.com

Hi all,

I added a new division to the facility menu in the log-in page.
what i did is that i updated  vistalink-config.xml file and added the new division 101XXX as below:

<bean class="gov.va.med.edp.vistalink.locator.VistaLinkConnectorConfig">
            <property name="host" value="10.123.100.201"/>
            <property name="port" value="8030"/>
            <property name="name" value="YYY"/>
            <property name="primaryStation" value="100YYY"/>
            <property name="accessCode" value="********"/>
            <property name="verifyCode" value="********"/>
</bean>
 <bean class="gov.va.med.edp.vistalink.locator.VistaLinkConnectorConfig">
            <property name="host" value="10.123.100.201"/>
            <property name="port" value="8030"/>
            <property name="name" value="XXX"/>
            <property name="primaryStation" value="101XXX"/>
            <property name="accessCode" value="*****"/>
            <property name="verifyCode" value="**********"/>
</bean>


So, after i logon and selected this new division "101XXX" ,,, i got this error:
Primary station '101XXX' of the request does not match the primary station '100' of the M/Kernel system.'

Anyone has any idea.,,, help please,


Nancy Anthracite

unread,
Aug 6, 2012, 11:45:15 AM8/6/12
to vista-emer...@googlegroups.com, Wasim
I believe the division numbers get generated from the station number so the
first three digits of the division need to be 100 as well.

--
Nancy Anthracite

Wasim

unread,
Aug 12, 2012, 5:46:27 AM8/12/12
to vista-emer...@googlegroups.com, Wasim, nanth...@earthlink.net
Thanks Nancy,
Yes i know, but what i need is to identify a new division with a different prefix Number!!!
Anyway, i have a new idea and a different question, my question is:
How to stop SecurityPrimaryStationMismatchException validation??
needs "EDIS java developer" to answer, maybe Solomon can help.

Regrads,
Wasim

Nancy Anthracite

unread,
Aug 12, 2012, 9:10:52 AM8/12/12
to vista-emer...@googlegroups.com, Wasim
This is the guide for VistALink 1.6 (not 1.5 that you are using) but it talks
about stations and divisions a lot. Could you see if this helps?

--
Nancy Anthracite

On Sunday, August 12, 2012, Wasim wrote:
> Thanks Nancy,
> Yes i know, but what i need is to identify a new division with a different
> prefix Number!!!
> Anyway, i have a new idea and a different question, my question is:
> How to stop *SecurityPrimaryStationMismatchException* validation??
> needs "EDIS java developer" to answer, maybe Solomon can help.
>
> Regrads,
> Wasim
>
> On Monday, August 6, 2012 6:45:15 PM UTC+3, Nancy Anthracite wrote:
> > I believe the division numbers get generated from the station number so
> > the
> > first three digits of the division need to be 100 as well.
> >
vistalink_1_6_dg.doc

Wasim Naffar

unread,
Aug 13, 2012, 8:18:13 AM8/13/12
to nanth...@earthlink.net, vista-emer...@googlegroups.com
Nancy thanks again :)
I read the following paragraph many times, but i didn't understand clearly,

"The configured value should exactly match the DEFAULT INSTITUTION value in corresponding M system's KERNEL SYSTEM PARAMETERS file (#8989.3). VistALink uses primaryStation to confirm that a connector is accessing the correct M system: if the two values don't match, connections are rejected."

Please, someone can explain it for me! and why VistALink uses primaryStation to confirm a connector!! What is the problem if i want to connect EDIS to other division with different station number??? please explain!!


Regards,
Wasim

David Whitten

unread,
Aug 13, 2012, 9:42:48 AM8/13/12
to vista-emer...@googlegroups.com, nanth...@earthlink.net
Retry

On Mon, Aug 13, 2012 at 9:41 AM, David Whitten <whi...@worldvista.org> wrote:
Okay, I'll give my ideas of what is meant (with a little research on my own).

There is a file #8989.3 named KERNEL SYSTEM PARAMETERS File.
There is a field #217 named DEFAULT INSTITUTION

This is the data dictionary field definition:

STANDARD DATA DICTIONARY #8989.3 -- KERNEL SYSTEM PARAMETERS FILE
STORED IN ^XTV(8989.3,  (1 ENTRY)            (VERSION 8.0)

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-------------------------------------------------------------------------------

8989.3,217    DEFAULT INSTITUTION    XUS;17 POINTER TO INSTITUTION FILE (#4)
                                 (Required)

              LAST EDITED:      FEB 14, 1993
              HELP-PROMPT:      Enter the instutition to use as a default for
                                uses without one.
              DESCRIPTION:      This field is used to define a default
                                institution that will be assigned as the user's
                                institution (DUZ(2)) for any user that doesn't
                                have one.

This means you choose a particular institution on your system as
the value which will be used for institution if there isn't one defined already.


On Mon, Aug 13, 2012 at 8:18 AM, Wasim Naffar <w0795...@gmail.com> wrote:
Nancy thanks again :)
I read the following paragraph many times, but i didn't understand clearly,

"The configured value should exactly match the DEFAULT INSTITUTION value in corresponding M system's KERNEL SYSTEM PARAMETERS file (#8989.3). VistALink uses primaryStation to confirm that a connector is accessing the correct M system: if the two values don't match, connections are rejected."

Apparently there is a variable named primaryStation used somewhere in the VistAlink code to mean the connector's institution.

Please, someone can explain it for me! and why VistALink uses primaryStation to confirm a connector!! What is the problem if i want to connect EDIS to other division with different station number??? please explain!!


I don't have a good answer to how multi-divisional hospitals handle VistAlink and EDIS. I have a call in to a friend who works in a Multi-divisional hospital and will let you know what I find out.
 

--
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.


Wasim Naffar

unread,
Aug 14, 2012, 4:15:32 AM8/14/12
to vista-emer...@googlegroups.com, nanth...@earthlink.net
Many thanks David,
Waiting to hear from you about the EDIS Multi-divisional hospital.
Thanks in advance,


Regards,
Wasim

Wasim Naffar

unread,
Aug 14, 2012, 4:33:00 AM8/14/12
to vista-emer...@googlegroups.com, nanth...@earthlink.net
David, please if you can ask him this question too:
What is the problem if I stop the "SecurityPrimaryStationMismatch" validation from EDIS??
if no problem, how we can stop it from EDIS!!

Regards,
Wasim

On Mon, Aug 13, 2012 at 4:42 PM, David Whitten <whi...@netcom.com> wrote:

Nancy Anthracite

unread,
Aug 14, 2012, 8:22:17 AM8/14/12
to vista-emer...@googlegroups.com
Dos you ser the documentation about adding a letter to the number? If so, did it not work for you?
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

Solomon Blaz

unread,
Aug 16, 2012, 5:43:46 PM8/16/12
to vista-emer...@googlegroups.com
Nancy,

Sorry I haven't chimed in on this thread.  Um, the short answer is no, I don't know.  I usually deferred to others on multidivisional site stuff.  I know that it IS possible, as EDIS was running in several multidivisional sites, but the details in how to configure VistA and how to configure VistALink I don't know.  The SecurityPrimaryStationMismatch exception is thrown by VistALink.  Finding out how one of the multidivisional sites has set things is up is probably the best route to getting this resolved.

Thanks,
Solomon
Reply all
Reply to author
Forward
0 new messages