Corrections to my previous response to Kevin:
>>6. I then tried to "submit data" and got this error message:
>
>The first part of that is debugging info confirming what data fields are to be 
>processed,
>how the posted data matched the expected fields, and then the progress through 
>Validation
>with VALS^DIE and hopefully on to saving the data with either FILE^DIE or 
>UPDATE^DIE. The
>debugging info is optional (from flag["e") and separate from the error that 
>you encountered.

I meant to write "d" instead of "e". These are flags used by the generic 
utility (^htDIQ)
that presents and processes the forms using the API's GETS^DIQ, FIND^DIC, 
VALS^DIE,
FILE^DIE, UPDATE^DIE, etc)

flag "e" instructs it to present data in an editable form rather than in a 
view-only table.

flag "d" instructs it to display debugging info like the following.

>
>>file=2
>>iens="+1,"
>>fields=".01;.02;.03;.09;391;1901;.301;994"
>>fields(0)="Name;Sex;DtOfBrth;SclScrNm;Type;VtYNQstn;SrvCnnQs;MltBrtIn"
>>flags="Hde"
>>
>>Match
>>inputFDA(2,"+1,",.01)="TEST,KILLME DON'T"
>>inputFDA(2,"+1,",.02)="M"
>>inputFDA(2,"+1,",.03)="18Apr06"
>>inputFDA(2,"+1,",.09)="p"
>>inputFDA(2,"+1,",.301)="N"
>>inputFDA(2,"+1,",391)="NON-VETERAN (OTHER)"
>>inputFDA(2,"+1,",994)="N"
>>inputFDA(2,"+1,",1901)="N"
>>
>>Validate
>>
>>Server Error - Log: 155 Global variable undefined: ^DPT("+1",0)
>>at PSEU+1^DGRPDD1

I haven't researched this one yet. I think Kevin has programmer access to this 
database,
so he would have seen a link on the error number above to a detailed listing of 
the state
of his GTM process at the time the error was encountered.

One of the effects of this project that should be helpful to people developing 
other
interfaces to VistA (such as Delphi or the Eclipse RCP that was mentioned 
recently) will
be the exposure and illumination of errors, glitches, and quirks in the database
definitions that would affect any attempt to edit the data via the DBS API's.


>>
>>Aside from the specifics of this particular error/bug, there needs to
>>be a more user-friendly method of describing errors.
>>
>>But here, it says "Match", then has my input parameters.  Is it trying
>>to FIND a patient with that info? I was trying to ADD this patient.
>
>"Match" is part of the debugging info. It should not be shown to 
>non-programmer users.
>
>
>>I can't tell, but it seems you are mixing searching and editing
>>functions together unnecessarily fashion.  In fact, it would even be
>>easier to understand if on the front page there were two options: Edit
>>existing patient, or Add New Patient.
>
>Yes. I hope you will find that it is much clearer already in the new version.
>
>>If I fill in data in a field set,and then select a second page, the
>>data is lost that I entered.  Could you set logic that if data hasn't
>>been posted, then popup a box asking the user if they want to post
>>before continuing?
>
>How about if we disable all links to other pages until either an existing 
>patient is
>selected or a new one is created?
>
>>These all are tweaks.  Overall, this is a fantastic set of code and
>>I'm glad you did it.  I was starting to consider making my next
>>"small" job to make a GUI registration module with Delphi and RPC
>>Broker.  It is a relief not to have to do it now!

Thanks again, I do think it would be productive to put your energies into 
helping make
Patient Registration and other essential support functions viable with M2Web. 

---------------------------------------
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)
(http://vista.vmth.ucdavis.edu/)
(http://openforum.worldvista.org/~forum/m.cgi)


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to