department-of-veterans-affairs / PseudoVet

PseudoVet is an automated patient data fabrication engine. It will provide a set of active synthetic patients and clinical data that can be used for healthcare software development
Apache License 2.0
2 stars 0 forks source link

VistA Errors - ZERROR is thrown in multiple areas. #11

Open bciv opened 8 years ago

bciv commented 8 years ago

This occurs on the clone of the eHMP Kodak VistA pseudovista.vaftl.us which runs the eHMP Silver VistA Image. 1) It is triggered when running LOAD A PATIENT and MVI is supposed to be called. 2) It also occurs when checking-out a patient and attempting to enter an ICD-10 Diagnosis Code.

whitten commented 8 years ago

Where is the Error trap ? knowing an error (but not even which error) is thrown is not useful. It's also useful to know what the line of code was, etc.

bciv commented 8 years ago

The first error is when using the LOAD A PATIENT routine under eHMP Silver VistA from eHMP.

MOTHER'S MAIDEN NAME: PSEUDOMOM<RETURN>
PLACE OF BIRTH [CITY]: PORTSMOUTH<RETURN>
PLACE OF BIRTH [STATE]: VIRGINIA<RETURN>
Select ALIAS: 

Attempting to connect to the Master Patient Index in Austin...
If no SSN or inexact DOB or common name, this request
may take some time, please be patient...

Could not connect to MPI or Timed Out, assigning local ICN (if not already assigned)...

RECORDING THAT AN ERROR OCCURRED ---

               Sorry 'bout that

          $ZERROR=
UNWIND^ZU
^
<SYNTAX>^MPIFAPI
VISTA 2d1>

Here is more detailed info from the VistA side:

Process ID:  9824  (9824)               OCT 17, 2015 17:34:38
UCI/VOL: [ROU:CACHE]                   
$ZA:   0                                $ZB: \013
Current $IO: /dev/pts/0                 Current $ZIO: 72.186.7.134^87^70^/dev/pt
s/0
$ZE= <UNDEFINED>AGN2+3^MPIFAPI *Y(0)
Last Global Ref: ^MPIF(984.1,"B")
 S MPINUM1=$P(Y(0),"^",4),MPICHK=$P(Y(0),"^",5),MPINNM=MPINUM1+1

Which symbol? >