Re: [Hardhats-members] Fileman tutorial on new-style indexes (was:A6AKIT.RTN)

2006-07-27 Thread Jim Self
Thanks, George.
Yes. The link on that page works correctly. The same fix is needed for 
links on the other pages.

George Timson wrote:
> Thanks, Jim.  I have edited that hardhats page,
> http://www.hardhats.org/fileman/Main/appendix_a.htm , so that clicking on
> the little icon should work correctly now -- I think.
>
> --George Timson
>
>
> Original Message-
> From:   Jim Self [mailto:[EMAIL PROTECTED]]
> Sent:   Sat 7/22/2006 7:59 PM
> To: hardhats-members@lists.sourceforge.net; K.S. Bhaskar; Bhaskar, KS
> Cc:Subject:
> Re: [Hardhats-members] A6AKIT.RTN
>
> Bhaskar, KS wrote:
>   Since I seem to have heard somewhere that VistA may have some sort of
> relationship to Fileman, and since I had a few minutes to spare, I
> started going through a Fileman tutorial
> (http://hardhats.org/fileman/Main/FMtut_frm.htm).  It seems to want me
> to install a set of routines in an A6AKIT.RTN file at
> http://vista.med.va.gov/fileman/fileMan_training/online_pres/routines/A6akit.rtn
> but this file does not seem to exist any more.  Any idea where I can
> get it?
>
> Or has this tutorial been superseded by another?
>
> Thank you very much.
>
> -- Bhaskar
>
> The tutorial web pages have hardcoded URL's to
> http://vista.med.va.gov/fileman/fileman_training/online_pres/
>
> These should all be replaced on the server with local references to make
> the tutorial work correctly at its current location of
> http://hardhats.org/fileman/Main/
>
> The correct URL therefore is
> http://hardhats.org/fileman/Main/routines/a6akit.rtn
>   This tutorial appears to be very well done. Unfortunately, much of its
> content is not immediately accessible due to this glitch with the URL's
> pointing to a different server that is inaccessible for those of us outside
> the VA. We can work around this by opening http://hardhats.org/fileman/Main/
> in a second tab (or a second window if you prefer or your browser doesn't
> support tabs) and navigating from there to the intended content.
>
> Don't click on any of the links in the content pages of the tutorial, just
> hover your mouse pointer over any link and observe its URL in the status bar
> at the bottom of your browser window then click on the corresponding links
> in the second tab/window.
>   


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] A6AKIT.RTN

2006-07-24 Thread Jim Self




This does not reinstall Fileman. It installs a practice file with some
data records to use for hands-on exercise in the tutorial. The tutorial
instructs you to create some new-style cross references on this file
and then to use them for listing and updating data records.

Kevin Toppenberg wrote:

  Bhaskar,

Doesn't the disks you create already have fileman ready to go?  Why
are you having to reinstall Fileman to run the tutorial?

Kevin

On 7/22/06, Bhaskar, KS <[EMAIL PROTECTED]> wrote:
  
  


Since I seem to have heard somewhere that VistA may have some sort of
relationship to Fileman,

  
  

LOL!

Kevin


 and since I had a few minutes to spare, I started
  
  
going through a Fileman tutorial
(http://hardhats.org/fileman/Main/FMtut_frm.htm).  It seems
to want me to install a set of routines in an A6AKIT.RTN file at
http://vista.med.va.gov/fileman/fileMan_training/online_pres/routines/A6akit.rtn
but this file does not seem to exist any more.  Any idea where I can get it?

 Or has this tutorial been superseded by another?

 Thank you very much.

 -- Bhaskar

  
  




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Fileman tutorial on new-style indexes (was:A6AKIT.RTN)

2006-07-22 Thread Jim Self




Bhaskar, KS wrote:

  Thank you very much, Jim.

Regards
-- Bhaskar

-Original Message-
From:   Jim Self [mailto:[EMAIL PROTECTED]]
Sent:   Sat 7/22/2006 7:59 PM
To: hardhats-members@lists.sourceforge.net; K.S. Bhaskar; Bhaskar, KS
Cc:	
Subject:Re: [Hardhats-members] A6AKIT.RTN

Bhaskar, KS wrote:
  
  
Since I seem to have heard somewhere that VistA may have some sort of 
relationship to Fileman, and since I had a few minutes to spare, I 
started going through a Fileman tutorial 
(http://hardhats.org/fileman/Main/FMtut_frm.htm).  It seems to want me 
to install a set of routines in an A6AKIT.RTN file at 
http://vista.med.va.gov/fileman/fileMan_training/online_pres/routines/A6akit.rtn 
but this file does not seem to exist any more.  Any idea where I can 
get it?

Or has this tutorial been superseded by another?

Thank you very much.

-- Bhaskar


  
  The tutorial web pages have hardcoded URL's to 
http://vista.med.va.gov/fileman/fileman_training/online_pres/

These should all be replaced on the server with local references to make 
the tutorial work correctly at its current location of 
http://hardhats.org/fileman/Main/

The correct URL therefore is 
http://hardhats.org/fileman/Main/routines/a6akit.rtn
  

This tutorial appears to be very well done. Unfortunately, much of its
content is not immediately accessible due to this glitch with the URL's
pointing to a different server that is inaccessible for those of us
outside the VA. We can work around this by opening
http://hardhats.org/fileman/Main/ in a second tab (or a second window
if you prefer or your browser doesn't support tabs) and navigating from
there to the intended content.

Don't click on any of the links in the content pages of the tutorial,
just hover your mouse pointer over any link and observe its URL in the
status bar at the bottom of your browser window then click on the
corresponding links in the second tab/window.



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] A6AKIT.RTN

2006-07-22 Thread Jim Self
Bhaskar, KS wrote:
>
> Since I seem to have heard somewhere that VistA may have some sort of 
> relationship to Fileman, and since I had a few minutes to spare, I 
> started going through a Fileman tutorial 
> (http://hardhats.org/fileman/Main/FMtut_frm.htm).  It seems to want me 
> to install a set of routines in an A6AKIT.RTN file at 
> http://vista.med.va.gov/fileman/fileMan_training/online_pres/routines/A6akit.rtn
>  
> but this file does not seem to exist any more.  Any idea where I can 
> get it?
>
> Or has this tutorial been superseded by another?
>
> Thank you very much.
>
> -- Bhaskar
>
The tutorial web pages have hardcoded URL's to 
http://vista.med.va.gov/fileman/fileman_training/online_pres/

These should all be replaced on the server with local references to make 
the tutorial work correctly at its current location of 
http://hardhats.org/fileman/Main/

The correct URL therefore is 
http://hardhats.org/fileman/Main/routines/a6akit.rtn




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Newbie help. on getting an Array2XML.

2006-07-14 Thread Jim Self
tespace
>indent for pretty viewing
>   ;"  otherwise, indent is string
>holding space to indent
>   ;"Result: none
>
>   new i,s
>   set indent=$get(indent)
>   set i=$order(@pArray@(""))
>   if i'="" for  do  quit:(i="")
>   . set s="" if indent'=-1 set s=indent
>   . set s=s_""_$get(@pArray@(i))
>   . if $data(@pArray@(i))>1 do
>   . . set @pResult@(0)=+$get(@pResult@(0))+1  ;"Increment maxline
>   . . set @pResult@(@pResult@(0))=s
>   . . new subIndent set subIndent=-1
>   . . if indent'=-1 set subIndent=indent_"  "
>   . . do A2XNode($name(@pArray@(i)),pResult,subIndent)
>   . . set s="" if indent'=-1 set s=indent
>   . . set s=s_""
>   . else  do
>   . . set s=s_""
>   . set @pResult@(0)=+$get(@pResult@(0))+1  ;"Increment maxline
>   . set @pResult@(@pResult@(0))=s
>   . set i=$order(@pArray@(i))
>
>   quit
>
>
>
>
>
>--
>Fred Trotter
>SynSeer, Consultant
>http://www.fredtrotter.com
>http://www.synseer.com

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)
---
M2Web Demonstration with VistA
(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


Re: [Hardhats-members] Delete notes in HUI OV4 and SemiVivA0.4

2006-06-27 Thread Jim Self
Usha,
The code that you have there is very different from what I see in older 
distributions of 
VistA such as this example from semiviva 0.4
(http://vista.vmth.ucdavis.edu/rtn/TIUXRC2.html). The reference to "AVSIT" for 
example
does not occur until TIUXRC2+20

The first line of your routine has a date and time that suggests that the 
routine was
generated or edited just today. Did you put that in when you commented the END 
label?

The GOTO ^TIUXRC2 is clearly a bug. I would guess it was intended to G 
^TIUXRC3, but not
tested carefully - and unfortunately, not commented either.

Usha wrote:
>After interrupting the process, the dump file created was
>
>
>$ZJOB=0
>$ZLEVEL=7
>$ZMAXTPTIME=0
>$ZMODE="INTERACTIVE"
>$ZPOSITION="END^TIUXRC2"
>$ZPROCESS=""
>$ZPROMPT="GTM>"
>
>
>
>On routine END^TIUXRC2 lookup,
>
> TIUXRC2 ; COMPILED XREF FOR FILE #8925 ; 6/27/06 6:09pm
>2;
> END G ^TIUXRC2
>4I X'="" I
>+$P($G(^TIU(8925,+DA,0)),U),+$P($G(^TIU(8925,+DA,0)),U,3),+
> $P($G(^TIU(8925,+DA,0)),U,5) K
>^TIU(8925,"AVSIT",+$P(^TIU(8925,+DA,0)
>
>,U,3),+$P(^TIU(8925,+DA,0),U),+$P(^TIU(8925,+DA,0),U,5),(999-X),D
> A)
>5S X=$P(DIKZ(13),U,1)
>..
>
>The first three lines indicate an infinite loop. After commenting the GOTO
>statement on the third line, the notes are being deleted.
>
>The END label the TIUXRC2 routine was directing to ^TIUXRC3 routine in VOE.
>What could this be doing?
>
>Are there any other differences like these in VOE and GT.M version of VistA?
>
>Regards
>Usha

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)
---
M2Web Demonstration with VistA
(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


Re: [Hardhats-members] VHA eyes open-source replacement for VistA

2006-06-20 Thread Jim Self
Chris, if you are interested in resurrecting this I could help you to get it on 
the web
pretty quickly. I imagine that the code for a Hypertext system based on 
HTML/HTTP could be
greatly simplified over what you had to write to make it work on VT100 
terminals.

Do you still have any of the code you wrote for this or design documents 
describing the
indexes and the algorithms for ranking by search patterns?

Chris Richardson wrote:
>This was the strength of the Hypertext system I built around VistA years
>ago.>We had an entity file which helped to manage the documents and the
>entities that they were attached to.   My basic model was used to build the
>library system of Belgium.  I built the hypertext system for the US Public
>Health Service.  Unfortunately, even though I delivered on time and had
>functionality that allowed for the assembly of "studies" which became
>collections of documents in the library.  It allowed for the researcher to
>annotate documents (like writing in the margins) and the annotations become
>separate documents in the library with links to the document that spawned
>that annotation.  This was a lot of text that was all cross-indexed in
>withing the document, but also between documents.  There was a predicate
>logic engine I was working on which would help locate the use of phrases
>anywhere in the text and evaluate the value of the document to the search
>criteria by the propinquityof the words of the phrases within the body of
>text.  The closer the words of the phrases in the text, the higher the score
>for the order of the documents.
>
>  Unfortunately, the US Publich Health Service didn't continue with the
>project.  It was a snap grant.
>
>- Original Message -
>From: "Jim Self" <[EMAIL PROTECTED]>
>To: 
>Sent: Tuesday, June 20, 2006 3:34 PM
>Subject: Re: [Hardhats-members] VHA eyes open-source replacement for VistA
>
>
>> This is also one of the historical strengths of VMACS and it is something
>that I could
>> help bring to VistA with M2Web.
>>
>>
>> Bhaskar wrote:
>> >What's interesting about all this is that searches through unstructured
>> >text are increasingly common.  That's what Google is all about.  That's
>> >what Google appliances do inside corporate Intranets.  That's what
>> >beagle does on file systems.  Presumably, it would be a minimal amount
>> >of extra work to have VistA index progress notes and other text fields.
>> >  Indeed, it's a near-trivial matter to also handle common spelling
>> >errors as well.
>> >
>> >-- Bhaskar
>> >
>> >VistA - a journey, not a destination
>> >
>> >On 06/20/2006 05:18 PM, Greg Woodhouse wrote:
>> >>
>> >>
>> >> --- Dan <[EMAIL PROTECTED]> wrote:
>> >>
>> >>  > "The VA needs to replace VistA because VHA needs a system that users
>> >>  > can
>> >>  > easily search instead of sifting through VistA's free text, Kolodner
>> >>  > said."
>> >>  >
>> >>  > Okay.
>> >>  >
>> >>
>> >> is that really so strange a thing to say? After all, progress notes are
>> >> just unstructured text and they do represent a big chunk of the patient
>> >> record. Then again, the quote may be taken out of context.
>> >>
>> >> ===
>> >> Gregory Woodhouse  <[EMAIL PROTECTED]>
>> >>
>> >> "Judge a man by his questions not his answers."
>> >> --Voltaire
>> >
>> >
>> >___
>> >Hardhats-members mailing list
>> >Hardhats-members@lists.sourceforge.net
>> >https://lists.sourceforge.net/lists/listinfo/hardhats-members
>> >
>>
>> ---
>> Jim Self
>> Systems Architect, Lead Developer
>> VMTH Computer Services, UC Davis
>> (http://www.vmth.ucdavis.edu/us/jaself)
>> ---
>> M2Web Demonstration with VistA
>> (http://vista.vmth.ucdavis.edu/)
>> (http://openforum.worldvista.org/~forum/m.cgi)
>> ---
>>
>>
>> ___
>> Hardhats-members mailing list
>> Hardhats-members@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/hardhats-members
>>
>>
>
>
>
>
>___
>Hardhats-members mailing list
>Hardhats-members@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/hardhats-members
>

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


___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] VHA eyes open-source replacement for VistA

2006-06-20 Thread Jim Self
This is also one of the historical strengths of VMACS and it is something that 
I could
help bring to VistA with M2Web.


Bhaskar wrote:
>What's interesting about all this is that searches through unstructured
>text are increasingly common.  That's what Google is all about.  That's
>what Google appliances do inside corporate Intranets.  That's what
>beagle does on file systems.  Presumably, it would be a minimal amount
>of extra work to have VistA index progress notes and other text fields.
>  Indeed, it's a near-trivial matter to also handle common spelling
>errors as well.
>
>-- Bhaskar
>
>VistA - a journey, not a destination
>
>On 06/20/2006 05:18 PM, Greg Woodhouse wrote:
>>
>>
>> --- Dan <[EMAIL PROTECTED]> wrote:
>>
>>  > "The VA needs to replace VistA because VHA needs a system that users
>>  > can
>>  > easily search instead of sifting through VistA's free text, Kolodner
>>  > said."
>>  >
>>  > Okay.
>>  >
>>
>> is that really so strange a thing to say? After all, progress notes are
>> just unstructured text and they do represent a big chunk of the patient
>> record. Then again, the quote may be taken out of context.
>>
>> ===
>> Gregory Woodhouse  <[EMAIL PROTECTED]>
>>
>> "Judge a man by his questions not his answers."
>> --Voltaire
>
>
>___
>Hardhats-members mailing list
>Hardhats-members@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/hardhats-members
>

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


___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] VHA eyes open-source replacement for VistA

2006-06-20 Thread Jim Self
Gregory wrote:
>--- Dan <[EMAIL PROTECTED]> wrote:
>
>> "The VA needs to replace VistA because VHA needs a system that users can
>> easily search instead of sifting through VistA's free text, Kolodner said."
>>
>> Okay.
>>
>
>is that really so strange a thing to say?

Yes, it strikes me that way also. I would like to see examples of the easy 
searches
envisioned and who would be permitted to run them.

>After all, progress notes are
>just unstructured text and they do represent a big chunk of the patient
>record.

KWIC searches on large bodies of text have always been one of MUMPS great 
strengths. Of
course, it's better if it's not entirely unstructured, but I doubt that it is, 
and
additional structure can generally be derived from analysis of the text.

>Then again, the quote may be taken out of context.

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


___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] WorldVistA wiki up

2006-06-15 Thread Jim Self
Bhaskar wrote:
>The WorldVistA wiki (http://openforum.worldvista.org/~forum) is once
>again available for use.  Thank you to Larry Landis and Dave Whitten for
>their tremendous effort in upgrading it and bringing it back up.
>
>Regards
>-- Bhaskar

Very good. There is still a little setup required to re-enable CGI so that the 
m2web demo
on openforum can be reactivated (http://openforum.worldvista.org/~forum/m.cgi). 
I think I
remember that this was an Apache configuration setting to allow execution of 
.cgi files.

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


___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Alternate databases?

2006-06-15 Thread Jim Self
hmmm?! So then, how exactly is the knowledge incorporated in the system but not 
in the
code? If it is not in the code, where is it? Gregory has made this claim 
before, but it
makes no sense to me.


Bill Walton wrote:
>Gregory Woodhouse wrote:
>
>> My point of view is that the real value of VistA is not
>> in the code, but the knowledge incorporated in the
>> system.
>
>Very nicely stated.

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


___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] 13th Community Meeting, RMU Role

2006-06-02 Thread Jim Self
Valerie J. Harvey wrote:
>Dear Hardhats,
>
>Please let me know if you have any questions about the 13th WorldVistA
>Community Meeting at RMU June 29-July 2

I will not be attending this upcoming meeting due to a conflict with family 
commitments.
I regret missing the opportunity to see you all there.

I will probably be available online much of the time so I may be able to 
participate
remotely in development activities or demonstrations related to M2Web.

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


___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Importance of Open Source Software Underscored

2006-06-02 Thread Jim Self
Gregory wrote:
>--- Chris Richardson <[EMAIL PROTECTED]> wrote:
>
>> Greg, the cost of ownership of commercial verses Open Source is a
>> poor comparision.
>
>Maybe. It could also be true that the cost of ownership for open source
>is lower. That's nothing to complain about!

That's not the complaint. The term "cost of ownership" simply does not apply to 
most
software. Comparisons based on it are inherently flawed because users of most 
software
licenses *own* nothing except perhaps the hardware it runs on. The true cost of 
a
proprietary software license may not become apparent until after the true owner 
gets
bought out or goes out of business or otherwise decides to substantially raise 
the rent or
to stop supporting and upgrading software that has become critical to the 
operation of
your hospital.

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


___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Are there gaps in the porting of OpenVistA/ GT.M

2006-06-02 Thread Jim Self
Joseph Puthooran wrote:
>Secondly I wonder what is the agenda of the exclusive OpenVistA
>R&D coding worshops. Is it to address some of these issues that
>were left out at the OpenVistA porting exercise?

The developer meetings that I have been involved with have been exclusive only 
in their
orientation towards programming and detailed examination of the source code and 
data
structures. I am not aware of any intention to exclude any persons from these 
meetings
except by their own judgement of their own interests, abilities, and desire to 
participate.

These separate meetings have often been very small with a half dozen 
individuals or so.
The agendas have been rather free-form and flexible, depending on the interests 
of the
persons attending. Porting issues were a significant part of earlier meetings, 
but were
not in my awareness in recent meetings.

The most recent meeting in Pittsburg was largely focused around integrating 
M2Web with
VistA and general problem of providing a complete user interface for VistA 
beyond telnet.

We spent some time looking at patient registration, web mail, VMACS menus, and 
a general
analysis of the VistA source code aimed at the possibility of generating a 
mapping of
inputs identified in the code to user interface elements.

Most of the weekend was devoted to the code analysis or to adapting the VMACS 
web based
menu system to the display of menus from the VistA Options file.

The most visible result is that we can now see and navigate all of our assigned 
VistA
menus on the web and that web enabled options, like the prototype patient 
registration can
be accessed from the menu. I will put this up on the openforum web site when 
the server is
restored. (David, I meant to bring this up at the meeting, but for the way the 
server used
to be configured, CGI in user directories needs to be reenabled and I no longer 
have the
password to do it myself.)

VMACS menus are based on a similar Options file that actually predates the 
VistA Options
file, so achieving this initial demonstration of functionality was relatively 
straight
forward. 

I did not participate directly in the code analysis.

These weekends generally leave me quite tired (and the others as well, I think) 
so that it
takes a couple of weeks or more to recover.

I hope that helps.

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


___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] vista flavors and development

2006-06-02 Thread Jim Self
Nancy wrote:
>The online VA Demo can be placed on your own machine by downloading it and
>following the instructions found in the same directory.  At the moment, it
>only runs on Cache and Windows.
>
>http://opensourcevista.net:/NancysVistAServer/VADemo12-5-06/

I don't think that that restriction is strictly true. Certainly, CPRS runs only 
on
M$Windows, but we have had a GT.M loadable version of this VistA version for 
quite a
while. I am pretty sure that someone has configured it to run CPRS.

I loaded it onto a private server for use with M2Web. I intended to put it up 
for
demonstration on the web because it has a more interesting database of demo 
patients than
any of the other VistA distributions, but I got sidetracked with other projects.

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


___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] vista flavors and development

2006-06-02 Thread Jim Self
Gregory wrote:
>On Jun 1, 2006, at 8:13 PM, K.S. Bhaskar wrote:
>
>>
>> You should plan to attend the VistA Community Meeting in Pittsburgh
>> (http://www.worldvista.org/Event_Calendar).  There will be an
>> opportunity to interact with many in the VistA community.  Bring a
>> laptop / PC and you can leave with VistA installed on it.
>>
>
>I'm pretty sure OS X isn't supported yet, but does it matter whether
>the laptop runs Linux or Windows?

It would be nice to be able to run GT.M directly on OS X and if there is a 
compatibility
layer for OS X on intel like there is for FreeBSD, it may be quite easy to do, 
but with
the virtualization capabilities of the new hardware, one can simply run Linux - 
with GT.M
- in a window on your MacBook.

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


___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Importance of Open Source Software Underscored

2006-06-02 Thread Jim Self
Gregory wrote:
>--- Valerie Harvey <[EMAIL PROTECTED]> wrote:
>
>> The news article at
>> http://www.hindu.com/2006/06/01/stories/2006060104180200.htm
>> my be useful for the Hardhats page.
>>
>> Valerie
>>
>
>Certainly, there must be some formal studies into cost of ownership. My
>own "back of the envelope" estimates indicate that maintaining a VistA
>system is by no means cheap. On the other hand, with a proprietary
>solution, you'll end up paying for the same thing in the form of
>licensing fees, support and upgrades. There doesn't seem to be any
>obvious way to estimate the difference in cost of ownership of
>comparable (whatever that means) open source and proprietary systems.

It's not like comparing apples and oranges. It's more like comparing grapes to 
garden or
better to a community garden or to the concept of community gardens.

One basic fallacy in the concept of "cost of ownership" is that with most 
software
licenses, the user *owns* nothing. Building or deploying essential enterprise 
software
like Hospital Information Systems or EMR on such proprietary foundations is 
like building
the actual hospital or clinic on ground for which you have only a short term 
lease. Once
the system is well established and has become integral to hospital operations, 
moving it
to a different foundation becomes almost unimaginably difficult and costly.

Much of VistA is built on public foundations, most notably MUMPS. Parts of it, 
like CPRS
and imaging are not - yet.

... I just looked ahead in my message queue and noticed that Chris Richardson 
has already
made some good points in this thread touching on the rental issue. The idea of 
investing
in the development and maintenance deep systems level knowledge is extremely 
important and
difficult to quantify.

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


___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Means Test

2006-05-31 Thread Jim Self
Gregory wrote:
>--- "K.S. Bhaskar" <[EMAIL PROTECTED]> wrote:
>
>> Greg --
>>
>> In India, at least when I was a child, and where health insurance
>> didn't
>> exist, physicians would frequently have tiered charges for patients
>> based on their ability to pay.  I suspect that is what Kishore is
>> attempting to implement in VistA.
>>
>> -- Bhaskar
>
>
>I can appreciate that, but I'd strongly recommend developing a new
>module (and adding an appropriate patient type). This is one time when
>trying to modify the existing code just isn't the right thing to do.

Why is that? What is the reasoning?

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


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] How to search for a ?

2006-05-28 Thread Jim Self
Kevin wrote:
>I just tried to look up the syntax on pattern matching again.  I have
>temporarily misplaced my M text and am trying to work off a web page.
>
>I know it goes [count][pattern[count[pattern]...
>
>so myvar?2U1"-"2N1"-"2U would be true for:
>  2U   1"-"   2N   1"-"   2U
>  2 upper case characters  (2U)
>  1 hyphen (1"-")
>  2 numbers (2N)
>  1 hyphen (1"-")
>  2 upper case characters  (2U)
>
>But this one is not clear to me:  0.E1"?"0.E
>
> I assume the divisions would be as follows:
>  0.E1"?"0.E
>  But what does the "." do here?

The "." allows a variable number of repetitions.

0.e is the same as simply .e - it accepts any number of repetitions of any 
character.

The general form of a repetition count is m.n where m and n are counting 
numbers, mhttp://www.vmth.ucdavis.edu/us/jaself)
---
M2Web Demonstration with VistA
(http://vista.vmth.ucdavis.edu/)
(http://openforum.worldvista.org/~forum/m.cgi)
---


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Re: Input transform question

2006-05-26 Thread Jim Self
This does not avoid the problem. Errors will occur during field validation 
since field
validation executes the input transforms. The input transforms should be fixed 
so that
CHK^DIE or VAL^DIE or VALS^DIE could be called to validate fields in new 
records.

Kevin wrote:
>Very nice.  I hadn't thought of bypassing the input transforms by
>specifying internal values.  A very elegant solution!
>
>Thanks
>Kevin
>
>
>On 5/25/06, Steven McPhelan <[EMAIL PROTECTED]> wrote:
>> As George stated, DA should be defined if you are editing an existing
>> record.  DA() is a documented Fileman variable.  If you are usig UPDATE^DIE
>> and you are absolutely sure that you want to add it, then why not use
>> UPDATE^DIE passing in Fileman internal entry values for the fields instead
>> of external values?  By using the internal values, UPDATE^DIE will not
>> execute the input transforms.  This procedure assumes that you have
>> validated all the data you are adding to the file prior to calling
>> UPDATE^DIE.
>>
>>
>>
>> On 5/25/06, Kevin Toppenberg <[EMAIL PROTECTED]> wrote:
>> > Dan,
>> >
>> > I have gone through several iterations since encountering this
>> > problem, but I initially thought that the UPDATE was all or nothing.
>> > But I am now working on another field, and it seems that the record
>> > was created, and just the filing in that one field failed.
>> >
>> > By the way, is there any formal call to test if one's values will pass
>> > the input transform for a given field before trying and potentially
>> > only partially succeeding--causing more mess?
>> >
>> > Thanks
>> > Kevin
>> >
>> >
>> > On 5/25/06, Dan <[EMAIL PROTECTED]> wrote:
>> > > Kevin,
>> > > Out of curiosity, was the UPDATE^DIE call erroring out or that field
>> just
>> > > wasn't getting set?  I'm guessing it wasn't getting set.
>> > >
>> > >  From my very brief tests it looks like DA is probably defined it just
>> > > isn't a valid numeric IEN.  It probably equals "?+" or whatever IEN
>> setting
>> > > you have in the FDA array.
>> > >
>> > > If you don't want to have to maintain a change to that Input Transform,
>> > > you'll probably want to do an UPDATE^DIE just to create the new record,
>> > > then do a FILE^DIE to insert the field info.
>> > >
>> > >
>> > > At 03:59 PM 5/25/2006, you wrote:
>> > > >George Timson wrote:
>> > > > >Here is the Input Transform from File 50, Field 901, that Kevin is
>> > > > >struggling with:
>> > > > >
>> > > >
>> >K:+X'=X!(X>)!(X<0)!(X?.E1"."5N.N)!('$P($G(^PSDRUG(DA,"DOS")),"^",2))
>> > > > >X
>> > > > >
>> > > > >Code like this was written without taking into account the DBS calls
>> like
>> > > > >UPDATE^DIE that Kevin is using.
>> > > > >
>> > > > >Here is how I think it should be re-written:
>> > > > >
>> > > > >K:+X'=X!(X>)!(X<0)!(X?.E1"."5N.N ) X I
>> > > > >$G(DA)>0,$D(X),'$P($G(^PSDRUG(DA,"DOS")),"^",2)) K X
>> > > > >
>> > > > >At Medsphere, we have had to re-write several Input Transforms (in
>> File 200,
>> > > > > e.g.) for this very reason -- DA doesn't yet exist as the IEN.
>> > > >
>> > > >Yes, that is very helpful George. I too have encountered this kind of
>> > > >error in working
>> > > >with VALS^DIE and UPDATE^DIE but I hadn't yet decided what to do about
>> it
>> > > >other than make
>> > > >notes and temporary workarounds.
>> > > >
>> > > >Could you list for us the problem transforms that you have found and
>> your
>> > > >fixes?
>> > > >
>> > > >I expect that there are many such input transforms that need to be
>> > > >reworked so that they
>> > > >can be used with the DBS calls. I think it would be helpful to put thus
>> > > >kind of
>> > > >information up as a resource on the wiki or on M2Web.
>> > > >
>> > > >
>> > > >Hmmm. I just did a quick scan of input transforms and found 1041 that
>

[Hardhats-members] RE: tacos and margaritas in Davis (was: My VistA won't fit...)

2006-05-26 Thread Jim Self
Alberto, Chris, Kevin, all,
Pittsburg (California) is about an hour driving from my house in Davis, UCDMC 
about 15
minutes, real tacos and margaritas less than 5 minutes... ;)

Actually, a number of VistA developers and myself got together just last 
weekend at
Chris's place in Pittsburg to focus on M2Web/VistA development. While we were 
there we had
some very nice guacamole, salsa, burritos, tacos, etc. at a little place just a 
couple of
minutes from Chris's house. Sharing good food like this is always one of my 
favorite parts
of these in-person developer weekends.


Alberto wrote:
>Yes Chris, I'm here. I'm not in Davis, but in Sacramento (UCD Medical
>Center). We should get together soon, maybe in front of some Margaritas and
>real tacos.
>
>Alberto
>
>-Original Message-
>From: Chris Richardson [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, May 24, 2006 8:49 PM
>To: hardhats-members@lists.sourceforge.net
>Subject: Re: [Hardhats-members] My Vista won't fit into larger hospital IT
>network
>
>Hey, Alberto;  So you are here.   You need to go say hello to Jim Self,
>there on the UC Davis campus.
>
>I am across the Sacramento River in Pittsburg.  We need to see about getting
>together soon.

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


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] My Vista won't fit...

2006-05-26 Thread Jim Self
Gregory wrote:
>On May 26, 2006, at 10:01 AM, Gordon Moreshead wrote:
>
>> Too bad they chose what is by far the least stable and most
>> vulnerable OS platform
>
>I don't disagree, but if you make Linux (or Windows, or that matter)
>part of the package that people have to accept to adopt VistA, then
>fewer people will be willing to consider it as an option. Do you want
>to do that?

What DO we want? Secure and robust software for healthcare that helps to lower 
the cost of
healthcare while improving the quality of life for patients and doctors and 
support staff?
A thriving community of developers and expert users who work together to 
improve the
software and to help each other and new users to understand it? A 
re-engineering of the
foundations of VistA to free it from lockin to archaic and proprietary 
interfaces?

How do we encourage and facilitate people contributing time, effort, and 
expertise to a
community of interest and to the building and maintenance of freely available 
knowledge
resources and software? How do we facilitate and encourage the development and 
maintenance
and dissemination of deep knowledge of the development and care of healthcare 
information
systems?

Linux of itself may not be necessary, but in my understanding of things the 
principles and
examples upon which it is based are. Many people who might be willing and able 
to
contribute to the development of resources for an Open Source community simply 
could not
justify devoting the time and effort to something built on a proprietary 
foundation.



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


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Practice management integration with VistA

2006-05-25 Thread Jim Self
If the PMS is web based, it might be a very simple matter to post data from it 
to VistA
via M2Web and vice versa.

Kevin wrote:
>This, and a GUI patient registration, seem to be areas greatly in need
>of improvement.
>
>Could we provide a standard interface channel and see if PMS systems
>could meet us half way?  I don't know what that interface would look
>like, but I suspect others would.
>
>I'm sure the first answer will be HL7.  But I am skeptical about how
>many PMS's on the market have HL7 capability.  And even if they did,
>we would still need to write an HL7 handler on the VistA side, right?
>
>Kevin
>
>
>On 5/25/06, K.S. Bhaskar <[EMAIL PROTECTED]> wrote:
>> I am posting this on behalf of someone who is deploying VistA on GT.M on
>> Linux and is interested in a bridge between a practice management system
>> and VistA.
>>
>> 1. What have others done / what are best practices in this area?
>>
>> 2. Are there any recommended packages (either for a practice management
>> system or for a bridge)?
>>
>> 3. If you are interested in doing some contract work in this regard,
>> please send me e-mail and I will forward your contact information.  (My
>> only role will be to make the introduction, and I have no wish to be a
>> middleman in the relationship.)
>>
>> Thank you very much.
>>
>> -- Bhaskar

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


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Re: Input transform question

2006-05-25 Thread Jim Self
George Timson wrote:
>Here is the Input Transform from File 50, Field 901, that Kevin is
>struggling with:
>
>K:+X'=X!(X>)!(X<0)!(X?.E1"."5N.N)!('$P($G(^PSDRUG(DA,"DOS")),"^",2))
>X
>
>Code like this was written without taking into account the DBS calls like
>UPDATE^DIE that Kevin is using.
>
>Here is how I think it should be re-written:
>
>K:+X'=X!(X>)!(X<0)!(X?.E1"."5N.N) X I
>$G(DA)>0,$D(X),'$P($G(^PSDRUG(DA,"DOS")),"^",2)) K X
>
>At Medsphere, we have had to re-write several Input Transforms (in File 200,
>e.g.) for this very reason -- DA doesn't yet exist as the IEN.

Yes, that is very helpful George. I too have encountered this kind of error in 
working
with VALS^DIE and UPDATE^DIE but I hadn't yet decided what to do about it other 
than make
notes and temporary workarounds.

Could you list for us the problem transforms that you have found and your fixes?

I expect that there are many such input transforms that need to be reworked so 
that they
can be used with the DBS calls. I think it would be helpful to put thus kind of
information up as a resource on the wiki or on M2Web. 


Hmmm. I just did a quick scan of input transforms and found 1041 that reference 
the
variable DA (?.e1p"DA"1p.e). Many appear to have an unguarded reference to the 
variable DA
like the one you fixed above. Others set DA to the value of some other variable.

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


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] EMRs gaining popularity among physicians

2006-05-19 Thread Jim Self
Gregory wrote:
>--- Jim Self <[EMAIL PROTECTED]> wrote:
>
>>
>> An EMR certainly could take time away from physicians if it is poorly
>> implemented ...
>
>> The quality of the user interface obviously plays a significant part
>> in that, but even
>> more important is the overall synergy of the system, the possibility
>> that redundant data
>> entry could be essentially eliminated, that all relevant data in its
>> most timely and
>> legible form can be instantly available anywhere it is needed at any
>> time, that it is no
>> longer necessary to interrupt people in the labs for updates on
>> critical results.
>
>Isn't this all part of good interface design?

No, it's the other way around.

User interfaces are essential parts of an EMR or HIS system and since 
everything that a
user sees comes through a user interface, some users might get confused and 
think that the
system is the user interface, just like some users think that the CRT or LCD 
disply is the
computer, but developers (and I would think most users who have been around 
VistA very
long) generally know better.

What I am talking about are the deeper aspects of providing timely accurate 
reliable
sustained communications between people working on different aspects of 
providing medical
care. This has more to do with database design and functionality and is largely
independent of user interface, which is why some people can still cling with 
some
justification to a user interface (or more accurately, a lack of one) that 
seemed outmoded
more than 20 years ago.


---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)
---
M2Web Demonstration with VistA
(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


Re: [Hardhats-members] Setup Clinical reminder for age range less than a year

2006-05-19 Thread Jim Self
What about days 365-729? Do they conventionally round all fractional years up?

Patient Age seems like such a simple thing until you try to pin it down 
precisely. In
veterinary medicine we have the added complication that birth dates are often 
not recorded
with accuracy beyond the month or perhaps the year. Additionally, animals in 
many species
are generally all born at more or less the same time of the year, which of 
course, varies
by hemispere.

Kevin wrote:
>For what it's worth, I think that in China, children are considered in
>their 1st year of life (and subsequently are "1" year old) during days
>of life 1-364.
>
>Kevin
>
>
>On 5/19/06, Mike Schrom <[EMAIL PROTECTED]> wrote:
>> This isn't confined to VistA. I just left my community hospital's OR
>> where a patient whose first birthday is TOMORROW was listed as age:0.

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)
---
M2Web Demonstration with VistA
(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


Re: [Hardhats-members] User interfaces

2006-05-18 Thread Jim Self
James Abbott M.D. wrote:
>Today I was with a group of about 10 providers
>(mostly FP, a few others) going over suggestions for
>improvements to AHLTA and trying to prioritize them.
>It is an interesting process, and it leads to one
>overwhelming conclusion:
>
>"Users don't know what they want."

Especially true when the thing they/we want is not very similar to what they/we 
have
already. We all can judge the impact of incremental changes more reliably than 
when
extrapolating far outside of our direct experience.

>Another aspect of my job is reviewing the requirements
>for new functionality before it is built.  The
>conclusion that comes from this is just as obvious.
>
>"Programmers have no idea what we actually do."

Unless the programmers are informed by careful observation and interaction over 
time, this
is undoubtedly true pretty much regardless of who the "we" refers to, even if 
it is a
different group of programmers with a different specialty area. The same 
limitation of
extrapolating outside of our own experience and area of knowledge applies not 
only to
programmers but to pretty much every identifiable group of workers in a 
hospital relating
to a different group.

In the early days of developing VMACS we (programmers, system developers) kept 
close
contact with our users in order to maintain insight into their actual needs and 
problems
and successes interacting with the computer system. I believe that this is a 
vital aspect
of the ongoing development of truly useful computer systems.

Similarly, it appears to me that much of VistA's success today is a result of 
the original
distributed nature of DHCP development that kept programmers closely associated 
with the
end users of different hospitals within the VA.

Unfortunately, firsthand knowledge of user needs gets much more difficult to 
maintain as
users become more sophisticated and the systems become larger and the supporting
techologies more complex and as computer technology becomes more deeply 
involved in every
aspect of hospital operations and communication.

>My job with AHLTA is to fight to make it easier for
>providers to get through their day.  My work with
>VistA will hopefully let me see what is good and bad
>in the CPRS for the end users.

Not an easy task, but increasingly important as we all become more specialized 
in our
areas of knowledge mastery and less able to easily connect at a deep level with 
those in a
different area.

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)
---
M2Web Demonstration with VistA
(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


Re: [Hardhats-members] EMRs gaining popularity among physicians

2006-05-18 Thread Jim Self
Gregory wrote:
>I guess I've been on the user interface bandwagon of late, but I do
>think that a well-designed user interface can go a long way toward
>getting past this hurdle (the perception - right or wrong - that EMRs
>take time away from treating patients).

An EMR certainly could take time away from physicians if it is poorly 
implemented or
essential functionality is missing, but a well designed system *should* save 
them time
overall while helping to improve quality of care and saving time for other 
staff as well.
The quality of the user interface obviously plays a significant part in that, 
but even
more important is the overall synergy of the system, the possibility that 
redundant data
entry could be essentially eliminated, that all relevant data in its most 
timely and
legible form can be instantly available anywhere it is needed at any time, that 
it is no
longer necessary to interrupt people in the labs for updates on critical 
results.

-------
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)
---
M2Web Demonstration with VistA
(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


RE: [Hardhats-members] Moving the hardhats list to Google groups

2006-05-17 Thread Jim Self
Cameron wrote
>Those capabilities existed earlier, but I just tried again to use the system
>with no success :(

Was that on openforum.worldvista.org?

That doesn't seem to be responding to any web requests now for either the wiki 
or m2web.

>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] On Behalf Of Nancy
>Anthracite
>Sent: Wednesday, May 17, 2006 1:07 PM
>To: hardhats-members@lists.sourceforge.net
>Subject: Re: [Hardhats-members] Moving the hardhats list to Google groups
>
>Can we send and receive mail in a mail program on our own machine or forward
>javascript:void(EditOpt('Reply'))
>mail to it?  Can we search the archives?  Can we check in on what is going
>on 
>on Hardhats from a computer browser at work with no terminal access?  
>
>On Wednesday 17 May 2006 13:36, Cameron Schlehuber wrote:
>Any consideration being given to moving to MailMan on OpenFORUM?

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)
---
M2Web Demonstration with VistA
(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


Re: [Hardhats-members] GT.M V5.0-000D available

2006-05-10 Thread Jim Self
Excellent news. Thank you. I will download and begin testing.

Bhaskar wrote:
>GT.M V5.0-000D is available at Source Forge
>(http://sourceforge.net/projects/sanchez-gtm).  This release provides
>timely fixes to several bugs, as noted in the release notes on the GT.M
>user documentation page
>(http://www.sanchez-gtm.com/user_documentation/V5_0-000D_docset/GTM_V5.0-000D_Release_Notes.html).
>
>In addition to bug fixes, GT.M source code was modified to use ANSI C
>stdargs.h style of variable argument list parameter passing instead of
>the earlier K&R C varargs.h style.  This change enabled the use of
>optimizer flags with the gcc C compiler, reducing CPU usage by GT.M
>applications on the x86 GNU/Linux platform.  The change is internal to
>GT.M and has no functional or operational impact.
>
>As an added precaution against errors in transmission and other causes
>of damage to the distribution files, effective V5.0-000D, checksums are
>available for each file.  Henceforth, please verify the checksums after
>downloading and before installing any GT.M distribution.  If you get a
>checksum error, please download the file and try again.  If you get the
>same incorrect checksum twice in a row, please send e-mail to
>[EMAIL PROTECTED] as soon as possible.
>
>On UNIX/Linux platforms, use "cksum " to compute and print the
>checksum.
>
>1664741981 128233 dbcertify_V5D_linux_i386_pro.tar.gz
>2286233995 3809075 gtm_V5D_linux_i386_pro.tar.gz
>2281401696 2336842 gtm_V50000D_linux_i386_src.tar.gz
>
>Regards
>-- Bhaskar

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)
---
M2Web Demonstration with VistA
(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


Re: [Hardhats-members] Linux and Windows on the same machine

2006-05-10 Thread Jim Self
Tim Jowers wrote:
>  A couple of Windows interpreters exist and a couple of VM's onto which you
>can install an OS. E.g. VMWare allows you to run Windows atop Linux and vice
>versa and even supports access to the network and disks.

I wasn't aware, or perhaps I forgot, that VMWare could run Windows on Linux. I 
might have
to try that. I have mostly been running straight Linux since I don't trust 
Windows
security and don't normally need it for my work. A number of people in my 
office have been
running VMWare for a while now on their laptops, but I think with Windows as 
the host
since they came preconfigured with it.

One nice thing about running Windows in a virtual machine is that you can run 
it behind a
non-windows based firewall inside your laptop and you don't have to expose it 
to the
internet in order to use special applications like CPRS with a local server.

One nice thing about running Linux in a virtual machine on OSX (for a developers
workstation, not production) is that you have zero configuration and 
installation issues
on bleeding edge hardware - and no Microsoft unless it is specifically required.

-------
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)
---
M2Web Demonstration with VistA
(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


Re: [Hardhats-members] Agility and rigor

2006-05-10 Thread Jim Self
Gregory wrote:
>On May 10, 2006, at 2:09 PM, Jim Self wrote:
>
>> As I recall, the four color problem was solved close to 30 years
>> ago when I was a graduate
>> student in Mathematics studying graph theory. I didn't actually
>> study the solution, but I
>> remember it reported that the proof contained over 250 special
>> cases - far beyond any
>> proof I had ever encountered and it seemed essentially beyond the
>> capability of
>> pre-computer mathematicians.
>
>I had the good fortune of taking a course in graph theory from
>Gherard Ringel who proved the map cocloring theorem for every surface
>except the sphere (equivalently, the plane). The one quarter class
>was basically an exposition of his proof, and one thing that was
>particularly fascinating was to see how the case analysis just
>exploded in the case of the sphere. No computers were needed.

He might well have simplified the proof over the last 30 years, but devoting a 
University
quarter class to its exposition would seem to confirm my original understanding 
of its
complexity. Certainly, understanding the proof would be much easier than 
formulating it
and verifying it in the first place.

I recall the proof was controversial at the time that it was originally 
presented, because
computer analysis was heavily involved and few mathematicians could understand 
it -
perhaps they had not had enough time to do so yet. Actually, I was quite 
surprised at how
slowly it seemed that most university mathematicians were in adopting computer 
methods for
many years after that.

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)
---
M2Web Demonstration with VistA
(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


Re: [Hardhats-members] Agility and rigor

2006-05-10 Thread Jim Self
Gregory wrote:
>Consider the map coloring
>problem: If a plane region is divided up into subregions, is it
>possible to assign "colors" to subregions in such a way that no two
>adjacent subregions have the same color? It has finally been proved
>(after many years) that no planar map requires more than four colors.

As I recall, the four color problem was solved close to 30 years ago when I was 
a graduate
student in Mathematics studying graph theory. I didn't actually study the 
solution, but I
remember it reported that the proof contained over 250 special cases - far 
beyond any
proof I had ever encountered and it seemed essentially beyond the capability of
pre-computer mathematicians.

It is a good example of the idea that problems that can be simply stated and 
easily
understood may not have simple solutions. Or rephasing slightly, The simplest 
rigorous
solutions for some simple general problems are too complex for the human mind 
to grasp.

This relates directly to your questions about rigor in software development. 
Our problem
solving skills and problem conceptualization skills are limited where the 
potential
complexity of general rigorous solutions are not. Our capabilities can be 
enhanced with
computers but they remain limited. This enhancement allows use to successfully 
attack many
classes of problems that would otherwise be unapproachable. This helps to 
illumninate the
nature of our limitations and it confronts us with the existence of seemingly 
simple yet
inherently difficult problems. 

We use assumptions and heuristics and exception handling to get by as best we 
can working
with practical constraints and priorities to provide approximate solutions to 
partially
understood and changing problem definitions.

-------
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)
---
M2Web Demonstration with VistA
(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


Re: [Hardhats-members] Linux and Windows on the same machine

2006-05-10 Thread Jim Self
Marc Krawitz wrote:
>I would like some suggestions on a system configuration enabling me to
>run GT/M on Linux and CPRS on Windows, all on the same machine (a
>laptop).  I've got some ideas, but I wanted to hear from some folks
>who have actually tried this.

The new Apple MacBook can run Linux plus Microsoft plus OSX all at the same 
time using the
virtual machine features supported in the new Intel Dual Core CPU architecture.

I haven't personally tried to run Microsoft yet, since I have had it only a 
week now and I
am mostly interested in web based applications, but installation of Debian 
Testing was
almost shockingly easy in a virtual machine using a beta of Parallels 
Workstation.
(http://parallels.com)


-------
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)
---
M2Web Demonstration with VistA
(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


Re: [Hardhats-members] Migrating vista console module routines to client side GUIs

2006-05-06 Thread Jim Self
John Leo Z wrote:
>Jim Self wrote:
>.
>> Certainly, the challenge at this point is to construct a complete
>> non-CHUI interface to VistA so that potential users can choose a
>> richer user interface than can be provided by a VT100 terminal.
>
>[jlz] I have for some time thought that a way forward may be available
>by simply wrapping DHCP's roll-and-scroll menus in a prettier shell,
>perhaps with bells and whistles available on the same screen. The

There have been quite a few efforts in this direction over the years by non-VA 
adopters of
Fileman, by terminal emulation developers, and by MUMPS toolkit developers. My 
own efforts
in this direction started about 24 years ago based on the capability of VT100 
terminals to
scroll one region of the display screen while others remain fixed in place. 
After
Microsoft Windows came out about 15 years ago, some terminal emulators provided 
a
capability to generate and interact with windows based input forms. Some 
terminal
emulators have even supported mouse events since the early days of Macintosh 
more than 20
years ago.

However, the goal is not simply to provide a prettier shell.

>efficiencies of the old keyboard-only interface may be enhanced... and

Whether a user interface can be operated effectively with or without input 
devices other
than a keyboard is a separate issue from presentation capabilities and style of
interaction. CHUI does not have to be strictly roll-and-scroll and the 
effectiveness of
most users with many tasks can be greatly enhanced by a user interface that 
provides
systematic support for additional input devices.

>made more attractive to decision makers who don't know what they are
>talking about when the reject the simpler interface on looks alone.
>
>> Another example is the web based command shell in M2Web. That combines some 
>> of the best
>> features of roll-and-scroll with the richer interface capabilities of a web 
>> browser.
>
>[jlz] At least some of the FUD about VistA is not about capability but
>about appearance alone.

Except for an occasional beep, the only input that we (users) receive from most 
CHUI's is
visual. Appearance is tremendously important as an indicator of functionality.

I think you must be objecting to first impressions of people new to EMR who 
might reject
CHUI portions of VistA based on superficial features without realizing the 
great depth and
breadth of functionality that lies below the surface.

Macintosh has been around for 22 years. Personal computers with graphics about 
30 years.
Graphical web browsers 13 or 14 years. Most users now have grown up with 
Macintosh or
Microsoft Windows and video games and take GUI and pointing devices for 
granted, along
with email, word processors, spreadsheets, and the web. It seems to me almost 
inevitable
that their first impressions of any CHUI application would be unappealing.

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)
---
M2Web Demonstration with VistA
(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


RE: [Hardhats-members] Migrating vista console module routines to client side GUIs

2006-05-05 Thread Jim Self
Marc Aylesworth wrote:

> the whole reason for open source is for choices,

That is certainly part of it. The essence of it to me is freedom of information,
particularly of the deep knowledge necessary to keep vital systems like VistA 
viable and
moving forward with new technology.

> there should not be replacement but supplement of user interfaces
>so that someone can choose the best interface that fits his/her situation.

Certainly, the challenge at this point is to construct a complete non-CHUI 
interface to
VistA so that potential users can choose a richer user interface than can be 
provided by a
VT100 terminal.

>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] On Behalf Of Greg
>Woodhouse
>Sent: Thursday, May 04, 2006 6:33 PM
>To: hardhats-members@lists.sourceforge.net
>Subject: Re: [Hardhats-members] Migrating vista console module routines to
>cleint side GUIs
>
>I think a big part of the problem is that we're speaking as if GUI
>interfaces can all be lumped together as one user interface style. We

Lumping GUI interfaces together as a matter of style seems like an obvious 
misconception.

The major distinction between GUI and CHUI is simply that CHUI displays are 
limited to an
array of character cells where GUI displays are based on pixels. GUI has a more
fundamental and general basis so that CHUI (terminal emulators for instance) 
can be
represented within GUI.

>all quietly accept that roll and scroll is one style of character based
>user interface, but no one stops to consider whether there aer
>different styles of GUI interfaces?

I would think that most people would be aware of major differences in user 
interface style
even just within web interfaces. And of course, not all web browsers are GUI. 
There are
some very capable CHUI web browsers, they just can't represent images as well 
as GUI
browsers directly. Some can represent images as ASCII art or they can call 
helper
applications to display images separately.

Web interfaces should be considered a separate category independent of GUI and 
CHUI. The
essential features of web applications are simply HTML and HTTP.

The choice between roll-and-scroll and other styles or modes of interaction 
does not have
to be all or nothing in either GUI or CHUI. One of the first things I did in 
defining a
CHUI for VMACS twenty something years ago was to restrict roll-and-scroll 
interactions
from touching regions of the VT display reserved for input forms, menus, and 
status
indicators. This allowed us to use features from classic fileman within a more
sophisticated and higher performance overall CHUI user interface.


Another example is the web based command shell in M2Web. That combines some of 
the best
features of roll-and-scroll with the richer interface capabilities of a web 
browser. You
submit command lines from a text input field (or textarea for multiple command 
lines).
There is a dropdown list that can be used to insert items from your command 
history into
the text field. When you submit a command, the text of it is appended to your 
results
history followed by any output it produces in plain text or HTML (including 
graphics,
tables, hypertext, input forms, Javascript, etc). Each item in the results 
history can be
collapsed or individually removed so that the display is not dominated by long 
listings or
output that is no longer interesting.


---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)
---
M2Web Demonstration with VistA
(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


Re: [Hardhats-members] Open Source Free Practice Management System Interfaces

2006-05-05 Thread Jim Self
Tim Jowers wrote:
>Hi Nancy,
>
>Still a rough draft (http://www.unitedswe.com/fll/pms.htm) but I've started
>looking at Open Source PMS's. Everyone please let me know of others I need to
>review. So far I've looked at the following. These are all closely related and
>web-based so far:
>
>FreeMed/OpenEMR/MirrorMed (ClearHealth)

The web page could use a title that mentions PMS. It looks like the beginnings 
of a useful
resource. I haven't had time yet to look much at these offerings, but I intend 
to once we
have gotten a little further along with constructing a web based interface for 
basic VistA
functionalities like patient registration, user registration.

>--- Nancy Anthracite <[EMAIL PROTECTED]> wrote:
>> If anyone knows of any practice management systems out there that are willing
>> to have their interfaces to VistA be FLOSS, please let me know as I need some
>> examples of what we be facing when it comes time to trying to build them.

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)
---
M2Web Demonstration with VistA
(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


Re: [Hardhats-members] Migrating vista console module routines to cleint side GUIs

2006-05-04 Thread Jim Self
John Leo Z wrote:
>Watch real people do their work.
>
>If we had both a GUI interface and a roll-and-scroll interface for
>identical tasks. The novice user will "need" the GUI. In time that same
>user is likely to abandon it to the more efficient, older, uglier
>keyboard interface. If your hands can stay on the keyboard, and if you
>know the next five-ten screens by long experience, GUI slows you down.


I think the assumptions that support this argument are breaking down.

I have watched quite a few real people do their work over the years and I have 
been amazed
at how fast some experienced users can be at some tasks with some CHUI 
application
interfaces. However, in my experience, roll-and-scroll is far from the best 
possible, or
even just the fastest or most efficient, CHUI interface for most tasks and I 
strongly
disagree with the notion that roll-and-scroll is the optimum style of user 
interface for
most users and most tasks in general.

The skills and expectations of our users and the definitions of the computer 
related tasks
that they perform have changed radically over the last 25 or so years.

It used to be that the closest experieance or training that any of our users 
had was with
typewriters or keypunch machines. Two of our biggest problems were 
"computerphobia" and
lack of typing skills. A conversational roll-and-scroll "intelligent 
typewriter" model of
user interface provided a gentle transition for such users, but even then it 
was not the
fastest or most efficient style of user interaction possible on the video 
terminals of
that day, such as the VT100 common in terminal emulators today.

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)
---
M2Web Demonstration with VistA
(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


Re: [Hardhats-members] M2Web tidbits (was:RPC Call Documentation)

2006-05-04 Thread Jim Self
Nancy wrote:
>Nobody's fault.  Last I checked there were a couple more things that needed
>tweaking before it was ready to be a part of a WorldVistA release.  Correct
>me if I am wrong, Jim.

I think the main thing is that I haven't made a new snapshot of the M2web files 
for a while.

Bhaskar has shared some excellent ideas for configuring M2Web to make it easier 
to update
and distribute new versions, but I haven't had time to follow up on that yet.


>We talked about it at one of the development meetings and held off for that
>reason as I understand it.  Kevin was there and so was Jim.
>
>On Tuesday 02 May 2006 09:03, Gregory Woodhouse wrote:
>On May 2, 2006, at 5:52 AM, Kevin Toppenberg wrote:
>> This is downright cool.  Jim keeps dangling these tasty features of
>> M2web in front of us.  We have to make this a standard part of any
>> WorldVistA release!
>
>And whose fault is that?

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)
---
M2Web Demonstration with VistA
(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


Re: [Hardhats-members] Migrating vista console module routines to client side GUIs

2006-05-02 Thread Jim Self
Richard G. Davis wrote:

>There is no one single model for human-computer interaction that will serve
>well within VistA as the only style in use.

"model" and "style" are very different concepts. One thing that seems very 
clear is that
the "dumb terminal" or CHUI mode of user interface is extremely limited in the 
models and
styles and the types of data that it can support. It has also become 
increasingly at odds
with the expectations and skills of new users.

>While the VistA 'conversational' style of human interaction is regarded as
>'inferior' or 'udesireable', these perspectives are ill-advised.  On the

I certainly did not mean to imply in my comments that a conversational style of 
user
interaction is bad. My point in the previous discussion is that it is hard to 
wrap up a
conversation in a simple GUI, at least working from the outside.


>contrary, the classical DHCP/VistA style of interaction is superior to any
>other style for many tasks.  Perhaps even a large majority of VistA tasks.

I don't believe that such an open-ended hypothesis can be proven conclusively, 
except
perhaps in the negative. I could probably still agree that a conversational 
style of
interaction (perhaps even terminal based) could be superior to some specific 
alternatives
in some contexts of tasks and users, but the alternatives are growing in number 
and
capability and the users are changing as well in the direction of demanding 
richer (and
simply different) user interfaces.

>The price of imposing GUI on existing VistA applications is prohibitive, and
>should only be considered when the benefits, in terms of real measureable
>criteria, far exceeds the costs of making the changes to VistA.

Some of the alternatives cost FAR less than others, particularly Open source 
and web based.

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)
---
M2Web Demonstration with VistA
(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


Re: [Hardhats-members] Migrating vista console module routines to client side GUIs

2006-05-02 Thread Jim Self
Imran Shafiq wrote:

>For such an approach the input output logic/flow of
>the corresponding vista console module must be very
>well defined and static, So that it can be "sort of"
>hard coded into the client telnet session.

>Any unexpected flow or sequence in the
>console modules will break the whole process.

>MUMPS exeprtise would be required as routine have to
>be modified or in some cases re-written.

>Has anybody tried any of the above techniques or any
>other technique for that matter to make GUI's for
>console modules?

I think you will find that the three cons you listed are very much the rule 
rather than
the exception. Fileman roll-and-scroll applications resemble a conversation in 
some ways.
They support a highly variable dialog of questions and answers that does not 
lend itself
to simple minded screen scraping or superficial mapping to a GUI. I believe 
that there is
very little hope of broad success in any approach to putting a GUI on VistA 
applications
that does not develop with a deep connection to the metadata.

>I have a few questions regarding M2Web as i have been
>reading about the web based registration module using
>M2Web. Does M2Web bypass fileman/vista and directly
>make entries into the mumps database?


The M2Web Patient Registration project does NOT bypass Fileman. It is an 
experiment in
utilizing the Fileman DBS API's with M2Web. It is partly an exercise for me to 
learn how
to use and understand the Fileman API's.

>If this is so,
>doesnt it mean M2Web is bypassing Vista's business
>logic and creating web based modules using M2Web would
>require knowing which files to make entries into?

The Patient Registration project is partly intended to illuminate what the 
Vista business
rules are, how they are or are not expressed in the Fileman metadata, and how 
they could
and should be changed to meet the needs of other organizations. Ultimately, all 
of the
business rules should be expressed as metadata.

To the extent that the metadata in the Fileman data dictionaries correctly 
describes the
data and expresses the business rules in a functional way not tied to any one 
mode of data
interaction, data entry applications modules like patient registration become 
simplified
to little more than lists of file and field identifiers.

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)
---
M2Web Demonstration with VistA
(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


Re: [Hardhats-members] M2Web and Patient Registration

2006-05-02 Thread Jim Self
Kevin wrote:
>On 4/27/06, Jim Self <[EMAIL PROTECTED]> wrote:
>> Kevin, thanks for taking the time to try it out. I appreciate the fact that 
>> you see the
>> potential in this rough cut.
>
>Yes, great potential!
>
>
>> >3. I would allow default values for the following fields:
>> >-- Type: NON-VETERAN (OTHER).
>> >-- Veteran (Y/N): NO
>> >-- Service Connected: NO
>> >-- Multiple Birth Indicator: NO
>> >In a non-VA setting these values will be correct 99% of the time.
>>
>> Good idea. Should those fields even be displayed in a non-VA setting?
>
>No, except the Multiple Birth indicator is applicable in a non-VA setting


Does anyone know how these fields are being addressed in VistA Office?


>> I am not very happy with the appearance of this generic lookup window at the 
>> moment,
>> except for the fact that it works, mostly. It is using LIST^DIC underneath 
>> and perhaps I
>> am not calling it correctly in this case.
>
>Well, the fact that it works is fantastic actually.

Thanks for the encouragement. Improving on the generic lookup window is very 
high on my
priority list, both for M2Web and for VMACS. One set of interesting 
possibilities I have
been experimenting with is in the Ajax package called Dojo 
(http://www.dojotoolkit.org). I
will put up some examples soon of a very cool autocomplete comboBox that can be 
used to do
quick lookups on VistA data with M2Web.


>> >5. I like the help buttons "?".  When they are clicked on, they
>> >provide the given help message.  But there is then no "close" or
>> >"done" button.  I figured out that clicking "?" again turned it off.
>> >Could you have the "?" change to "?-" or a "X" icon?
>>
>> You mean something like a question mark with an X over it or a red circle 
>> with a diagonal
>> slash? Point me to some suitable icons and it will be done.
>
>There is a cancel icon at this site:
>http://www.buttongenerator.org/cgi-bin/forum/YaBB.pl?board=&action=generator&mode=showall
>You can even customize the icon by adding text etc.
>
>>
>> Would it be better to have the extended help text float over the page in a 
>> kind of popup
>> that shows only when the mouse is hovering over the question mark?
>
>I like that even better.  Is that something that can be done with AJAX?

Yes, definitely. I will try to put that in this week.



>> Yes. I hope you will find that it is much clearer already in the new version.
>
>I have just played with it, and it is better.  I still would like it
>to be a bit more clear when one is creating a new patient.  I haven't
>though completely, but perhaps a label "Adding new patient" could be
>displayed.


Yes, how about "Register a New Patient:"?


>> >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?
>
>Yes that would be better.

OK, done. I also added a dropdown  menu at the top of the page listing all of 
the
registration screens by name. I think it might be a better alternative to the 
more terse
navigation bar at the bottom of the page that lists the page numbers as links 
with the
names as tooltips.

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)
---
M2Web Demonstration with VistA
(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


Re: [Hardhats-members] RPC Call Documentation

2006-05-01 Thread Jim Self
Thank you, Nancy. One caution - Be sure to reassemble the URL's fully if they 
get broken
by the email. The non-HTML content types can produce very confusing and/or very 
long
output if the query parameters are mangled. In particular, limit=20 restricts 
the output
to 20 records per page.

There is also a .xls variation (instead of .js or .xml in the examples) that 
can be used
to load the data directly into a spreadsheet such as Excel or Gnumeric. This 
doesn't
actually rely on a proprietary M$ format. The content is actually HTML, but the 
HTTP
content-type is changed so that the user agent (browser) will handle it 
differently.

I haven't used Excel in quite a while, so I don't know how it handles tables 
contained in
other tables.

Nancy wrote:
>That is REALLY nice.  I am going to delete my text file.  It is useless
>compared to this, Jim.  Thanks!
>
>On Monday 01 May 2006 21:22, Jim Self wrote:
>Thanks,
>Here is another variation that returns the RPC's in a javascript object
> format:
>
> http://vista.vmth.ucdavis.edu/query.js?dbfile=8994&index=Name&format=TEST4&limit=20
>
> and another variation that produces xml:
>
> http://vista.vmth.ucdavis.edu/query.xml?dbfile=8994&index=Name&format=TEST4&limit=20
>
>Gregory wrote:
>>--- Jim Self <[EMAIL PROTECTED]> wrote:
>>> This might help also,
>>
>> http://vista.vmth.ucdavis.edu/query?dbfile=REMOTE+PROCEDURE&format=TEST2&index=Name
>>
>>> It is a live query into the Remote Procedure file on a test database.
>>
>>Very nice! It includes a hyperlink to the code implementing the RPC,
>>too. (I tried DG PATIENT TREATMENT DATA, which has a pretty simple
>> interface.)

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)
---
M2Web Demonstration with VistA
(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


RE: [Hardhats-members] RPC Call Documentation

2006-05-01 Thread Jim Self
Roy Gaber wrote:
>The best way I have found to realize what each of the RPC's is doing is to
>utilize Help->Last Broker Call, look for the RPC name and then go into VistA
>and inquire to file 8994 and look at the description, the line tag and the
>routine.  If you are an M programmer you can the load the routine and look
>at the line tag to determine exactly what is being done during the call.

FWIW: This is exactly the function of the original link I gave below except 
much better
for programmers new to MUMPS or unfamiliar (or uncomfortable) with the coding 
style of the
specific application. As Gregory noted, it lists the RPC's with hypertext links 
to view
the source code of the routine called from each RPC.

If you have never followed these links, it may be worth pointing out that the 
MUMPS source
code view here is rendered with HTML and each routine is itself hypertext 
linked to other
routines that it calls and color coded to make it easier to identify different 
features of
the MUMPS code, such as quoted strings and comments. Additionally, the names of 
the
intrinsic functions and commands are all (optionally) spelled out to make it 
easier to
read for those who have not yet memorized them all.

>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] On Behalf Of Jim Self
>Sent: Monday, May 01, 2006 9:23 PM
>To: hardhats-members@lists.sourceforge.net
>Subject: Re: [Hardhats-members] RPC Call Documentation
>
>Thanks,
>Here is another variation that returns the RPC's in a javascript object
>format:
>
>http://vista.vmth.ucdavis.edu/query.js?dbfile=8994&index=Name&format=TEST4&limit=20
>
>and another variation that produces xml:
>
>http://vista.vmth.ucdavis.edu/query.xml?dbfile=8994&index=Name&format=TEST4&limit=20
>
>
>
>Gregory wrote:
>>--- Jim Self <[EMAIL PROTECTED]> wrote:
>>
>>> This might help also,
>>>
>>>
>> http://vista.vmth.ucdavis.edu/query?dbfile=REMOTE+PROCEDURE&format=TEST2&index=Name
>>>
>>> It is a live query into the Remote Procedure file on a test database.
>>>
>>
>>
>>Very nice! It includes a hyperlink to the code implementing the RPC,
>>too. (I tried DG PATIENT TREATMENT DATA, which has a pretty simple
>interface

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)
---
M2Web Demonstration with VistA
(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


Re: [Hardhats-members] RPC Call Documentation

2006-05-01 Thread Jim Self
Thanks,
Here is another variation that returns the RPC's in a javascript object format:

http://vista.vmth.ucdavis.edu/query.js?dbfile=8994&index=Name&format=TEST4&limit=20

and another variation that produces xml:

http://vista.vmth.ucdavis.edu/query.xml?dbfile=8994&index=Name&format=TEST4&limit=20



Gregory wrote:
>--- Jim Self <[EMAIL PROTECTED]> wrote:
>
>> This might help also,
>>
>>
>http://vista.vmth.ucdavis.edu/query?dbfile=REMOTE+PROCEDURE&format=TEST2&index=Name
>>
>> It is a live query into the Remote Procedure file on a test database.
>>
>
>
>Very nice! It includes a hyperlink to the code implementing the RPC,
>too. (I tried DG PATIENT TREATMENT DATA, which has a pretty simple interface.)

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)
---
M2Web Demonstration with VistA
(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


Re: [Hardhats-members] RPC Call Documentation

2006-05-01 Thread Jim Self
Gregory wrote:
>In addition to the DD, be sure to look at the up the RPCs themselves in
>this file. Most objects (files, templates, options, protocols, etc.)
>include descriptive text.

Let me know what you think of the format of the listing I just linked 
responding to
Nancy's note. There are a couple of other formats available, named TEST and 
TEST3, and you
can define additional formats or just use variations of them on the fly. 
(Please use
Firefox or Mozilla if you can. Parts of the query editor probably don't work 
quite right
in IE, although the listings of the RPC's should be good.)

-------
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)
---
M2Web Demonstration with VistA
(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


Re: [Hardhats-members] RPC Call Documentation

2006-05-01 Thread Jim Self
This might help also,

http://vista.vmth.ucdavis.edu/query?dbfile=REMOTE+PROCEDURE&format=TEST2&index=Name

It is a live query into the Remote Procedure file on a test database.

J. Michael Towry  wrote:
>The help file I've seen appears to document making RPC calls in general. Is
>there documentation that describes the actual RPC calls that are available
>from the RPC Broker and used by CPRS, with details of the input and output
>parameters?
>
>On Sat, 29 Apr 2006 Kevin Toppenberg wrote:
>
>> The best documentation I have found for the RPC calls is in the
>> development kit that includes a help file that takes one through the
>> process step by step.

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)
---
M2Web Demonstration with VistA
(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


Re: [Hardhats-members] Add New Patient in VistA

2006-04-27 Thread Jim Self
Gokul Ram wrote:

>I do not have much information on M2Web. What is M2Web based on ? (. NET or
>Java)

It is based on MUMPS and the Web (hence the name M-to-Web) - HTTP, SSL, HTML, 
Javascript,
CSS, JSON, XML, etc.

on the server: GT.M, Linux, and Apache

on the client: potentially any web browser or web client, but we (VMTH) 
currently support
only Mozilla (Firefox or Seamonkey) to be completely platform independent on 
the client
and to conserve our very limited development resources. Some newer features do 
not work
correctly at the moment with IE as the client.

The general focus is on enabling web access to MUMPS data and applications. 
M2Web is an
outgrowth of work at UC Davis VMTH to develop a web interface for VMACS (our 
Hospital
Information System for Veterinary Medicine). Most VMACS data and functionality 
intended
for clinicians and students has been available to them on the web for 10-12 
years now. 

VMACS has some common foundations with VistA - MUMPS and VA Fileman.

VMACS diverged from use of Fileman over the years in order to make use of 
richer user
interfaces, both CHUI and web.

My efforts in working on patient registration for VistA are partly intended to 
help me
familiarize with newer features in Fileman and to see how we can go about 
developing a
comprehensive web interface that will incorporate the best features of VistA 
and VMACS.

>Where can I find more documentation on M2Web and how can I get access to it?

Follow the links in my sig below. 

-------
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)
---
M2Web Demonstration with VistA
(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


Re: [Hardhats-members] M2Web and Patient Registration

2006-04-27 Thread Jim Self
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


Re: [Hardhats-members] M2Web and Patient Registration

2006-04-27 Thread Jim Self
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
>
>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!
>
>Kevin

Thanks again. Your feedback is really helpful.

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


Re: [Hardhats-members] M2Web and Patient Registration

2006-04-26 Thread Jim Self
Kevin wrote:
>OK.  I have finally gotten logged on with Jim's help.
>
>This is fantastic!

Thank you.

>Why is this not being discussed more?  This has
>been a major impediment for many new users who don't want to register
>via a roll-and-scroll interface.

I hadn't had any time to work on it for a while and perhaps it wasn't far 
enough along for
people to see the potential.

>How can we get this finished and integrated into the next release?

What is needed to make it usable for your practice?
What fields are missing? What additional logic is needed?
What could be removed?

>Kevin
>
>
>On 4/25/06, Jim Self <[EMAIL PROTECTED]> wrote:
>> Those of you interested in the possibilities of an Open Source web based 
>> user interface
>> for VistA might be interested to know that I made some progress this weekend 
>> towards
>> patient registration and general file editing using the Fileman DBS API's 
>> (FIND^DIC,
>> GETS^DIQ, VALS^DIE, FILE^DIE, UPDATE^DIE, etc) in combination 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


Re: [Hardhats-members] MUMPS code for searching fileman files (FIND~DIC)

2006-04-26 Thread Jim Self
Kevin wrote:
>On 4/25/06, Jim Self <[EMAIL PROTECTED]> wrote:
>> Kevin wrote:
>> Kevin, I think you greatly underestimate the difficulty of providing a 
>> general search
>> functionality that is easy to use and fast enough to be useful on large and 
>> complex "live"
>> data bases. Then again, it is said that an advantage of youth is in not 
>> knowing that a
>> thing is impossible until after you have done it. ;)
>>
>
>Well, I do chronically underestimate the difficulty of a project. 
>Just look at what I have bitten off with this darn FDA database
>import!

To me, that is much better than overestimating and giving up without a good try.

>But my point is that I would not have to write this.  It has *already*
>been written and is already part of the Fileman Search function.  All
>I have to do is find a way to replace the interactive UI that
>generates the search code (as stored in a SEARCH/SORT TEMPLATE) with
>an API for programmers..

That is certainly a much smaller and easier project.

>So if you look in a TEMPLATE you will see the logic code that does the
>screening of records.  We just need an API to generate that code

I actually used to be familiar with all of the internals of the search module. 
If you
start on this project, I may be able to help.

>Kevin
>
>> The difficulty is in satisfying all three objectives at the same time (or up 
>> to seven
>> depending on how you count [general, easy, fast, useful, large, complex, 
>> live]). Brute
>> force searches can be painfully slow, so I think that the general philosophy 
>> is (has been)
>> that routine queries should always be based on cross references for ease of 
>> use,
>> efficiency, and speed. Cross references are easy to add and maintain where 
>> the data is
>> updated by the API's.
>
>I agree that it will be slow.  But should every programmer be creating
>x-refs on files that they don't manage, just so they can search them?

Perhaps not every programmer, but why not every system admin? Or as Gregory 
suggested,
this, or something similar, could actually be triggered or managed through a 
search interface.

When your database is small it doesn't matter, "slow" with current hardware 
will still be
reasonably fast. When the database gets larger, searching on a cross reference 
can return
results in a fraction of a second that would otherwise take hours.


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


Re: [Hardhats-members] MUMPS code for searching fileman files (FIND~DIC)

2006-04-26 Thread Jim Self
Gregory wrote:
>--- Jim Self <[EMAIL PROTECTED]> wrote:
>
>> Kevin, I think you greatly underestimate the difficulty of providing
>> a general search
>> functionality that is easy to use and fast enough to be useful on
>> large and complex "live"
>> data bases. Then again, it is said that an advantage of youth is in
>> not knowing that a
>> thing is impossible until after you have done it. ;)
>>
>> The difficulty is in satisfying all three objectives at the same time
>> (or up to seven
>> depending on how you count [general, easy, fast, useful, large,
>> complex, live]).
>
>I don't know that prospects for building a general search feature are
>THAT bleak, but it's certainly a non-trivial problem (consider how much
>has been written on query optimization). I also agree that a brute
>force solution is not good enough.

I didn't mean to say that the prospects are bleak,... just not trivial as Kevin 
seemed to
be saying.

Actually, I think the prospects are quite good for building such a general 
search feature
on the query tools in M2Web.

>> Brute
>> force searches can be painfully slow, so I think that the general
>> philosophy is (has been)
>> that routine queries should always be based on cross references for
>> ease of use,
>> efficiency, and speed.
>
>Even writing a query mechanism that could make use of existing
>cross-references would be a big improvement.

Your wording here suggests that I wasn't very clear in the latter part of my 
previous
message. That is exactly the function of the tool that I have been calling 
"iterator".

>But there is more that
>could be done: rewriting queries, lazy building of cross-reference data
>for frequently used fields, caching of intermediate values, etc. But
>this won't work if people use direct global sets to update the files
>because updates need to be able to invalidate the cache.

I think it is important to consider why there is this recurrent complaint about
programmers avoiding the use of API's and what can be done about it 
constructively.

The question that started this thread of discussion pointed out some flaws or 
gaps in the
current set of VistA API's that essentially force programmers to work at the 
low level of 
fiddling with the pieces of global nodes instead of working with mnemonic or 
numeric field
identifiers.

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


Re: [Hardhats-members] M2Web and Patient Registration

2006-04-25 Thread Jim Self
Nancy wrote:
>Air fares seem to be good to the DC area and I have lots of air mattresses and
>a network with lots of ways to connect if you would like to come here.

Thanks again Nancy for putting up with me and the rest of us at your place last 
time. The
air mattress and network worked great. I think I spent more time in the living 
room with
the network than with the air mattress.

I don't think I can travel very far for a few weeks. My daughter is getting 
married this
weekend and I think I need to stick around to help "hold down the fort" until 
after they
return from honeymoon. Besides, it looks like second spring has arrived here at 
last. :)

>On Tuesday 25 April 2006 21:00, Jim Self wrote:
>I forgot to address the question of meeting.
>
>When is the next developers meeting? End of June? Seems like we haven't had
> one in quite a while already. Perhaps a small group could meet sooner in
> Davis-Sacramento-Pittsburg area.
>
>Meanwhile, try it out, look at the code, send questions and suggestions and
> see how far we can get online.
>
>I wrote:
>>Nancy, Thanks again. There many ways to help.
>>The first would be for people familiar with registration to login and look
>> over the screens to review the data fields being referenced, to identify
>> errors and omissions and places where extra logic might be needed.
>>
>>MUMPS Programmers might prefer to view the routines (primarily ^htD*)
>> starting with http://openforum.worldvista.org/~forum/m.cgi/rtn/htDG - (This
>> doesn't require you to login.)
>>
>>The intention is to essentially duplicate/replace the functionality of
>> current roll-and-scroll patient registration, although I expect that
>> registration will be greatly simplified in VistA Office.
>>
>>If you look at the routines, I think you will see that I have attempted to
>> construct a simple and easily modifiable framework that will help to
>> illuminate and solve basic issues in freeing up essential VistA tasks like
>> this from the old terminal based CHUI user
>
>interface.
>
>>Nancy wrote:
>>>This looks great!  What is the chance of having a meeting to learn how to
>>> help code this?
>>>
>>>On Tuesday 25 April 2006 15:34, Jim Self wrote:
>>>Those of you interested in the possibilities of an Open Source web based
>>> user interface for VistA might be interested to know that I made some
>>> progress this weekend towards patient registration and general file
>>> editing using the Fileman DBS API's (FIND^DIC, GETS^DIQ, VALS^DIE,
>>> FILE^DIE, UPDATE^DIE, etc) in combination with M2Web.
>>>
>>>I have updated the patient registration prototype application so that it
>>> can now create new patient records and edit many of the fields in existing
>>> records (where permitted by the field definitions). If you have a VistA
>>> login on openforum.worldvista.org, you can try it out with the
>>> demonstration database at
>>> http://openforum.worldvista.org/~forum/m.cgi/patreg.
>>>
>>>This is an early approximation of desired functionality. It will look very
>>> different after it is polished.
>>>
>>>Creating a new patient record is very easy but it doesn't flow very well
>>> yet. You do a lookup, then instead of selecting one of the found records,
>>> click on the "next" link to go to screen 1, fill in the first form there
>>> and submit it.
>
>---
>Jim Self
>Systems Architect, Lead Developer
>VMTH Computer Services, UC Davis
>(http://www.vmth.ucdavis.edu/us/jaself)
>
>
>---
>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
>
>--
>Nancy Anthracite
>
>
>---
>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
>___
>Hardhat

Re: [Hardhats-members] MUMPS code for searching fileman files (FIND~DIC)

2006-04-25 Thread Jim Self
Kevin wrote:
>First, are you wanting to search for a field that has a
>cross-reference created?  If so, then FIND^DIC is right for you.  If
>you are wanting a more complex search, you will need to write custom
>code to do the search.
>
>If you specify more than one cross-reference, then it will not just
>search for the .01 field.  It will search for whatever fields the
>cross-references cover.
>
>I have been agitating for a full-featured brute-force (i.e. not based
>on cross-references) searching functionality for some time.  But I
>have been distracted and haven't done it myself (yet).

Kevin, I think you greatly underestimate the difficulty of providing a general 
search
functionality that is easy to use and fast enough to be useful on large and 
complex "live"
data bases. Then again, it is said that an advantage of youth is in not knowing 
that a
thing is impossible until after you have done it. ;)

The difficulty is in satisfying all three objectives at the same time (or up to 
seven
depending on how you count [general, easy, fast, useful, large, complex, 
live]). Brute
force searches can be painfully slow, so I think that the general philosophy is 
(has been)
that routine queries should always be based on cross references for ease of use,
efficiency, and speed. Cross references are easy to add and maintain where the 
data is
updated by the API's.

I actually contributed a re-worked Fileman search module many years ago so that 
it could
search on data elements in multiple fields using the concepts of predicate 
calculus. Up to
that time, searching on conditions based on data fields in related hierarchies 
was
essentially useless. As I recall, the problem I was working on at the time (25 
years ago?)
was retrieval of pathology diagnoses stored as a multiple of diagnoses with 
multiple
morphologies, etiologies, and topologies and each with multiple modifiers.

>The M2Web code base has code for an iterater that will cycle through all 
>records, to which a comparison code could be attached to generate a search.

The iterator that Kevin mentions is a general low level tool for programmers 
that makes it
easy to iterate efficiently over MUMPS global structures (like the ones used by 
Fileman
for storing both data files and cross references) while working with the higher 
level
abstraction of data files and fields rather than piece positions of sub-nodes 
of the
stored form of the data records.

It represents a simplified abstraction for flexible bidirectional traversal of 
complex
virtual hierarchies of MUMPS global structures. It replaces what would 
otherwise be an
open ended nesting of FOR command loops with a single FOR command - with the 
additional
possibility of stopping at any point and saving its place and resuming the 
traversal at a
later date, possibly with a reversal of direction if desired. The iteration 
objects are
self-contained as local arrays so they (not just the iteration spec) can be 
saved and
restored with a MERGE command

It is a building block that works best in combination with other tools that 
abstract other
features of Fileman-like databases and user interfaces. The query feature in 
M2Web uses
the iterator with saved iteration specifiers that can be called by name and 
with interface
and content type independent data formatting specs. You can see some live 
examples and
discussion at http://vista.vmth.ucdavis.edu or at 
http://openforum.worldvista.org/~forum/m.cgi

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


Re: [Hardhats-members] M2Web and Patient Registration

2006-04-25 Thread Jim Self
I forgot to address the question of meeting.

When is the next developers meeting? End of June? Seems like we haven't had one 
in quite a
while already. Perhaps a small group could meet sooner in 
Davis-Sacramento-Pittsburg area.

Meanwhile, try it out, look at the code, send questions and suggestions and see 
how far we
can get online.

I wrote:
>Nancy, Thanks again. There many ways to help.
>The first would be for people familiar with registration to login and look 
>over the
>screens to review the data fields being referenced, to identify errors and 
>omissions and
>places where extra logic might be needed.
>
>MUMPS Programmers might prefer to view the routines (primarily ^htD*) starting 
>with
>http://openforum.worldvista.org/~forum/m.cgi/rtn/htDG - (This doesn't require 
>you to login.)
>
>The intention is to essentially duplicate/replace the functionality of current
>roll-and-scroll patient registration, although I expect that registration will 
>be greatly
>simplified in VistA Office.
>
>If you look at the routines, I think you will see that I have attempted to 
>construct a
>simple and easily modifiable framework that will help to illuminate and solve 
>basic issues
>in freeing up essential VistA tasks like this from the old terminal based CHUI 
>user
interface.
>
>
>Nancy wrote:
>>This looks great!  What is the chance of having a meeting to learn how to help
>>code this?
>>
>>On Tuesday 25 April 2006 15:34, Jim Self wrote:
>>Those of you interested in the possibilities of an Open Source web based user
>> interface for VistA might be interested to know that I made some progress
>> this weekend towards patient registration and general file editing using the
>> Fileman DBS API's (FIND^DIC, GETS^DIQ, VALS^DIE, FILE^DIE, UPDATE^DIE, etc)
>> in combination with M2Web.
>>
>>I have updated the patient registration prototype application so that it can
>> now create new patient records and edit many of the fields in existing
>> records (where permitted by the field definitions). If you have a VistA
>> login on openforum.worldvista.org, you can try it out with the demonstration
>> database at http://openforum.worldvista.org/~forum/m.cgi/patreg.
>>
>>This is an early approximation of desired functionality. It will look very
>> different after it is polished.
>>
>>Creating a new patient record is very easy but it doesn't flow very well yet.
>> You do a lookup, then instead of selecting one of the found records, click
>> on the "next" link to go to screen 1, fill in the first form there and
>> submit it.
>

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)


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


Re: [Hardhats-members] M2Web and Patient Registration

2006-04-25 Thread Jim Self
Kevin had an access code but no verify code. To log in on the web one has to 
have both
already. I fixed it for him I think. I used a web form that called FILE^DIE and 
I had to
apply the encryption separately.



Kevin wrote:
>I had one at one point.  Can anyone reset my password, or give me a
>new one etc?  I'd like to test this out.
>
>Kevin
>
>
>On 4/25/06, Jim Self <[EMAIL PROTECTED]> wrote:
>...
>> the field definitions). If you have a VistA login on 
>> openforum.worldvista.org, you can try
>> it out with the demonstration database at
http://openform.worldvista.org/~forum/m.cgi/patreg.
>>
>> This is an early approximation of desired functionality. It will look very 
>> different after
>> it is polished.
>>
>> Creating a new patient record is very easy but it doesn't flow very well 
>> yet. You do a
>> lookup, then instead of selecting one of the found records, click on the 
>> "next" link to go

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)


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


Re: [Hardhats-members] M2Web and Patient Registration

2006-04-25 Thread Jim Self
Nancy, Thanks again. There many ways to help.
The first would be for people familiar with registration to login and look over 
the
screens to review the data fields being referenced, to identify errors and 
omissions and
places where extra logic might be needed.

MUMPS Programmers might prefer to view the routines (primarily ^htD*) starting 
with
http://openforum.worldvista.org/~forum/m.cgi/rtn/htDG - (This doesn't require 
you to login.)

The intention is to essentially duplicate/replace the functionality of current
roll-and-scroll patient registration, although I expect that registration will 
be greatly
simplified in VistA Office.

If you look at the routines, I think you will see that I have attempted to 
construct a
simple and easily modifiable framework that will help to illuminate and solve 
basic issues
in freeing up essential VistA tasks like this from the old terminal based CHUI 
user interface.


Nancy wrote:
>This looks great!  What is the chance of having a meeting to learn how to help
>code this?
>
>On Tuesday 25 April 2006 15:34, Jim Self wrote:
>Those of you interested in the possibilities of an Open Source web based user
> interface for VistA might be interested to know that I made some progress
> this weekend towards patient registration and general file editing using the
> Fileman DBS API's (FIND^DIC, GETS^DIQ, VALS^DIE, FILE^DIE, UPDATE^DIE, etc)
> in combination with M2Web.
>
>I have updated the patient registration prototype application so that it can
> now create new patient records and edit many of the fields in existing
> records (where permitted by the field definitions). If you have a VistA
> login on openforum.worldvista.org, you can try it out with the demonstration
> database at http://openforum.worldvista.org/~forum/m.cgi/patreg.
>
>This is an early approximation of desired functionality. It will look very
> different after it is polished.
>
>Creating a new patient record is very easy but it doesn't flow very well yet.
> You do a lookup, then instead of selecting one of the found records, click
> on the "next" link to go to screen 1, fill in the first form there and
> submit it.

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)


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


Re: [Hardhats-members] M2Web and Patient Registration

2006-04-25 Thread Jim Self
Thanks for the correction Nancy. It's so easy to miss errors in URLs I type 
(even the ones
that I know by heart) that I try always to verify them before sending. I 
obviously forgot
to do it this time.

You do need to have a login for VistA on that server to see the application.

>Try this instead
>
>http://openforum.worldvista.org/~forum/m.cgi/patreg
>
>
>On Tuesday 25 April 2006 15:34, Jim Self wrote:
>Those of you interested in the possibilities of an Open Source web based user
> interface for VistA might be interested to know that I made some progress
> this weekend towards patient registration and general file editing using the
> Fileman DBS API's (FIND^DIC, GETS^DIQ, VALS^DIE, FILE^DIE, UPDATE^DIE, etc)
> in combination with M2Web.
>
>I have updated the patient registration prototype application so that it can
> now create new patient records and edit many of the fields in existing
> records (where permitted by the field definitions). If you have a VistA
> login on openforum.worldvista.org, you can try it out with the demonstration
> database at http://openforum.worldvista.org/~forum/m.cgi/patreg.

corrected url as above

>
>This is an early approximation of desired functionality. It will look very
> different after it is polished.
>
>Creating a new patient record is very easy but it doesn't flow very well yet.
> You do a lookup, then instead of selecting one of the found records, click
> on the "next" link to go to screen 1, fill in the first form there and
> submit it.

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)


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


Re: [Hardhats-members] MUMPS code for searching fileman files (FIND~DIC)

2006-04-25 Thread Jim Self
According to the documentation on the FIND^DIC API
(http://www.hardhats.org/fileman/pm/db_dicf.htm) searches can be based on any 
cross
referenced field(s) by the parameter INDEXES and the parameter SCREEN can 
provide logical
conditions to filter the results.

The value of SCREEN should be MUMPS code that will execute in the context of a 
given
record to set $T true or false to accept or reject the record. I don't see any 
suggestion
that you could supply a computed field expression and have it compile a 
suitable SCREEN
for you, so this by itself does not appear to be usable for filter conditions 
for general
adhoc queries, since the SCREEN code would have to be constructed more or less 
by hand at
the low level to reference global subscripts and piece positions instead of 
data fields.

Is there a suitable API for a SCREEN compiler in Fileman or elsewhere in VistA 
that could
be readily used with RPC or other non-terminal interface? If not, then the 
database tools
in M2Web might be your best starting point.

Imran Shafiq wrote:
>Hi All,
>
>I want to write a mumps routine that retrieve records
>from a fileman file based on a condition on a certain
>field in the file.
>
>e.g. retrieve records from option file where TYPE
>field is equal to "B" i.e. Broker
>
>The mumps routine has to be silent (no user
>interaction) because I want to use this routine via
>RPC broker.
>
>The fileman DBS API FIND^DIC seems to be the solution
>but I cant figure out how to put in the condition
>
>FIND^DIC(FILE,IENS,FIELDS,FLAGS,[.]VALUE,NUMBER,[.]INDEXES,[.]SCREEN,IDENTIFIER,TARGET_ROOT,MSG_ROOT)
>
>
>it seems that the FIND^DIC routine only searches on
>the basis of the .01 (name) field of a record.
>
>Is there any way to search on the basis of another
>field in the record?
>
>Imran

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)


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


[Hardhats-members] M2Web and Patient Registration

2006-04-25 Thread Jim Self
Those of you interested in the possibilities of an Open Source web based user 
interface
for VistA might be interested to know that I made some progress this weekend 
towards
patient registration and general file editing using the Fileman DBS API's 
(FIND^DIC,
GETS^DIQ, VALS^DIE, FILE^DIE, UPDATE^DIE, etc) in combination with M2Web.

I have updated the patient registration prototype application so that it can 
now create
new patient records and edit many of the fields in existing records (where 
permitted by
the field definitions). If you have a VistA login on openforum.worldvista.org, 
you can try
it out with the demonstration database at 
http://openform.worldvista.org/~forum/m.cgi/patreg.

This is an early approximation of desired functionality. It will look very 
different after
it is polished.

Creating a new patient record is very easy but it doesn't flow very well yet. 
You do a
lookup, then instead of selecting one of the found records, click on the "next" 
link to go
to screen 1, fill in the first form there and submit it.

-------
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)


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


RE: [Hardhats-members] Billing Menu

2006-04-18 Thread Jim Self
l
>> Press  to see more, '^' to exit this list, OR
>> CHOOSE 1-5:
>> 6  PRCA BIL ENTER  New Bill (Enter)
>> 7  PRCA BIL PRNT  Display Pending Bill
>> 8  PRCA BILL  Billing
>> 9  PRCA BILL COMMENT  Bill Comment Log
>> 10  PRCA BILL STATUS LISTING  Bill Status Listing
>> CHOOSE 1-10: 6  PRCA BIL ENTERNew Bill (Enter)
>> New Bill (Enter)%GTM-E-ACTLSTTOOLONG, More actual parameters than
>> formal parameters: SETERR
>> %GTM-I-SRCNAM, in source module /home/vista/r/PRCAUDT.m
>>
>>
>> Regards
>> Vittal.
>>
>>
>> M.S.Vittal
>

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Mumps coding answer

2006-04-14 Thread Jim Self
Or more generally: w $na(@ref,$ql(ref)-1)

>Kevin wrote:
>>Is there an easy way to shorten a name reference by one node?  E.g.:
>>
>>"Array(234,5423,23)"  -->  "Array(234,5423)"
>>
>>I am going to try to do it by an interation of $QL and $QS, but I
>>wonder if there is an easier way.
>
>s ref="Array(234,5423,23)" w $name(@ref,2)

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Mumps coding question

2006-04-14 Thread Jim Self
Kevin wrote:
>Is there an easy way to shorten a name reference by one node?  E.g.:
>
>"Array(234,5423,23)"  -->  "Array(234,5423)"
>
>I am going to try to do it by an interation of $QL and $QS, but I
>wonder if there is an easier way.

s ref="Array(234,5423,23)" w $name(@ref,2)

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Software Archetypes - single vs double systems

2006-04-10 Thread Jim Self
Gregory wrote:
>On Apr 9, 2006, at 10:12 PM, Lorie Obal wrote:
>
>> Can anyone clarify/comment on the architecture principles called
>> "archetypes" and "two-level" methodologies used in the openEHR
>> project and openVistA? See:
>> http://www.openehr.org/publications/archetypes/
>> archetypes_beale_oopsla_2002.pdf
>>
>> The openEHR docs imply that this is a significant departure from
>> previous methodologies. I'm trying to compare/contrast this with
>> vistA in a comparison framework. Any enlightenment appreciated.
>>
>> More info on openEHR & archetypes can be found at:
>> http://www.openehr.org/publications/archetypes/t_archetypes.htm
>>
>> -Lorie
>>
>
>I'm really mot familiar with this approach (frankly, I find the
>presentation hard to follow, though the longer paper http://
>www.deepthought.com.au/it/archetypes/archetypes.pdf, is easier to
>follow), but the problem is certainly a familiar one. A significant
>problem with VistA (and just about any other EHR) is that domain
>specific knowledge is embedded into code or intermixed with
>operational data all over the place.VistA has attempted (with some
>success) to add a layer of abstraction using mechanisms such as
>protocols, templates, or even options. Personally, I think VistA
>would very much benefit from a mechanism such as this (though from
>the technical side, I still have questions).

Thomas Beale has been writing on the openhealth list about archtypes for EMR 
for many
years now. The essence of it seems to be an attempt to develop a formalism for 
the
representation of medical knowledge so that medical records software can be 
generated by
knowledge maintained by domain experts instead of being written by software 
developers.

I spent quite a bit of time studying it but I haven't looked at it for a few 
years now. My
general impression was that it was very interesting and far thinking but too 
academic to
be of practical use to me as a systems developer for a long time. It was also 
too complex
for me to be able to give back much in the way of valuable feedback on it 
without devoting
much more time to it than I could spare.

I think it could benefit greatly from knowledge derived from VistA and perhaps 
vice versa. 

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: Re: [Hardhats-members] GUI for patient registration (was: AIDA & GTM)

2006-04-09 Thread Jim Self
M.S.Vittal wrote:
We wanted to create GUI for patient registation with GT.M (Unix) as our 
database. Can u please let us know using which language (Java/DOT NET/PHP/ etc) 
we can
implement it from a windows based system as client. Can you give the overview 
for
developing the form.

I have done a little work with help from David Whitten and Rick Marshall and 
Ignacio
Valdez towards reverse engineering a GUI for patient registration with 
GT.M/Linux and
M2Web and the Fileman DBS API. Patient registration in VistA is more complex 
than I
imagined and strongly tied to the old roll-and-scroll mode of user interaction.

Re-expressing the logic for patient registration so that it can be performed 
through an
API independent of the "classic" roll-and-scroll may be the most difficult part 
of
developing any sort of GUI for it. From previous messages on this list it 
appears that Jim
Gray has the most knowledge of patient registration. I have been intending to 
contact him
about this but I haven't had any time to work on it for the last few months.

What we have so far is a simple initial framework representing the 15 or so 
screens of the
current VistA registration with a first pass at input fields tied to data 
fields for the
first 7 screens. Basic lookup of existing patients is working and patient 
identity is
carried over from one screen to the next. Most input fields are populated with 
data from
the patient record and they are rendered with appropriately different controls 
and help
text determined by the data field definitions (text box, select list, date 
picker, lookup,
textarea, etc). Data from submitted forms is currently just displayed to prove 
that it was
received properly, but in the supporting utility (^htDIQ) similar forms are 
processed by
the validation API VAL^DIE and validated input can be saved through FILE^DIE 
API.

There is still much to do before this could be ready for use in production, but 
I think
that anybody who actually looks at the source code will be surprised at how 
small it is.
The registration routines currently total about 30KB (mostly comments).

-------
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] web service for VistA (was: AIDA & GTM)

2006-04-08 Thread Jim Self
Gregory wrote:
>Web services seem like a natural option for VistA that 
>hasn't been explored as much as it probably should be.

I agree. One thing that seems like a worthwhile project to me would be to 
rework the VistA
RPC Broker as a web service based on M2Web. Developing a functional web based 
broker with
M2Web might actually be a smaller project than developing a GUI replacement for 
Patient
Registration.

>M2Web could probably be characterized as a kind of web 
>service based approach.

I suppose that depends on what you mean by "web service based approach". 
Certainly, the
essence of M2Web is enabling a "web server based" approach to MUMPS and a MUMPS 
based
approach to serving web applications. M2Web (Mumps-to-Web) provides essential 
foundation
for building and supporting web based applications with MUMPS (currently 
GT.M/Linux)
providing the server-side database and programming language. However, the 
phrase "web
service" is sometimes taken to refer to a restricted subset of web based 
services oriented
around specific XML representations of objects such as SOAP and XML-RPC 
intended primarily
for client applications other than web browsers.

Although web services in the restricted sense might be developed pretty easily 
by
programming in MUMPS with M2Web, the approach so far has been focused on 
exploiting the
capabilities of modern web browsers, and especially Mozilla, with HTML, 
Javascript, CSS,
and XML.

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Normalized Data Model Scope

2006-04-08 Thread Jim Self
Chris Richardson wrote:
>   As an example, there were 22,000 data elements (many are multiples or 
> multiples of
multiples, or word-processing fields) in the DoD version of VistA, CHCS.  The 
VA VistA is
equally as complex as this.

In my test copy of VistA I get a count of 54,891 data fields from the 5,865 data
dictionaries (including subfiles) that I counted previously. Here is the 
command line I
used to count them (equivalent to a double FOR loop on file and field):

s count=0 @f ^DD(;file:0;field s:field=+field count=count+1 if 'file w count q

-------
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Normalized Data Model Scope

2006-04-07 Thread Jim Self
Arv Sepetys wrote:
>Does anybody have an idea of roughly how many normalized data
>entities/tables are in the data model implicitly supported by VistA (full
>version)?
>

Roughly it appears to be close to 6000. I get count=5865 from running the 
following code
on a VistA database (I think from semiviva 0.4):

s (count,i)=0 f  s i=$o(^DD(i)) s:i count=count+1 if 'i w count q 

-------
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] security question

2006-04-04 Thread Jim Self
Regular users (untrusted with programmer privileges) definitely should not be 
allowed to
"drop to the GTM prompt". It may also be that they have no need to access the 
linux prompt
either.

In that case, there may not be any point in even assigning them individual 
linux user
accounts. You could instead set up a single "vista" user account and either 1) 
set up a
service to listen on a special port, such as through inetd (similar to setup of 
VistA
RPC), to run the VistA login routine as that user or 2) tie the shell for that 
user to the
vista login as Michael and others suggested.

The difference would be in the setup and maintenance of one or many linux (or 
other OS)
user accounts in addition to the VistA user records and in the layers of 
password
protection that users have to go through each time they log in.

One argument in favor of setting up individual linux accounts for 
non-programmer users is
that linux password encryption is much stronger. The released VistA software 
that I know
of has very weak password encryption or none. If you rely on VistA login only 
in a
production environment, then you might want to replace the supplied encryption 
routines
with something stronger.

If you set up individual linux accounts for your users. You could avoid going 
through two
levels of login by mapping the linux user account to the VistA user number and 
bypassing
the VistA login.

There are other arguments in favor of individual linux accounts for VistA users 
for more
advanced systems administration.

>After the user logs in to linux, have a shell script automatically execute that
>takes them into VistA.  Regular users shouldn't have access to the linux/unix
>prompt nor the GT.M prompt.
>
>
>Michael Zacharias
>
>
>
>--- Matthew King <[EMAIL PROTECTED]> wrote:
>
>> I have a basic question about security in VistA. If I access Fileman as
>> a regular user (MD)and Inquire the New Person file, I can read the
>> number of the administrator. Then if I drop to the GTM prompt and SET
>> DUZ=AdminNumber, I can get a programmer's shell without needing a
>> access/verify pair.
>>
>> How does one force password prompting or otherwise stop this from
>> happening?
>>
>> Thanks,
>>
>> matt

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Fileman meets Codd's Rules

2006-03-29 Thread Jim Self
Bill Walton wrote:
>Hi Jim,
>
>Sorry I wasn't clear.  I was talking about the Relational Model.  You appear
>to be talking about an implementation issue.

Actually, I was addressing the abstract distinction between non-procedural 
("query") and
procedural ("walking the tree"). The distinction at any point in time *is* a 
matter of
implementation - and abstraction.

It is trivial to guarantee, for instance, that any and all data put into an 
arbitrary
MUMPS global can be retrieved via a simple query. ;)

The problem with that, of course, is that we generally don't want to retrieve 
everything
in a database at the same time. Retrieving a close approximation to exactly 
what we want
in a given query and doing it quickly and reliably is the challenge - along 
with getting
the data into the database in the first place.


>Perhaps you'll find the
>content at the link below interesting and informative.
>
>http://www.dbdebunk.com/page/page/2089690.htm

I read the one page. I believe it said essentially that SQL is not fully 
relational.


>
>- Original Message -
>From: "Jim Self" <[EMAIL PROTECTED]>
>To: 
>Sent: 2006-03-29 2:35 PM
>Subject: Re: [Hardhats-members] Fileman meets Codd's Rules
>
>
>> Bill Walton wrote:
>> >The relational model was and is important for one fundamental reason:  it
>> >guarantees that any and all data you put in can be retrieved via a query
>(as
>> >opposed to "walking the tree").  Independent of any of their other
>> >advantages, no other storage model can accurately make that claim.
>>
>> I am not quite sure what you are trying to say here, but I don't think
>that what you said
>> is quite correct. There is no hard and fast line between what can be done
>via
>> non-procedural specification (query) and what can not. The difference is
>in the
>> implementation of an abstraction of the low level process of "walking the
>tree" so that it
>> can be carried out from a simple specification ("query").
>>
>> ---
>> Jim Self
>> Systems Architect, Lead Developer
>> VMTH Computer Services, UC Davis
>> (http://www.vmth.ucdavis.edu/us/jaself)

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Fileman meets Codd's Rules

2006-03-29 Thread Jim Self
Gregory wrote:
>--- Jim Self <[EMAIL PROTECTED]> wrote:
>
>> I am not quite sure what you are trying to say here, but I don't
>> think that what you said
>> is quite correct. There is no hard and fast line between what can be
>> done via
>> non-procedural specification (query) and what can not. The difference
>> is in the
>> implementation of an abstraction of the low level process of "walking
>> the tree" so that it
>> can be carried out from a simple specification ("query").
>
>There's an interesting footnote on p. 7 of the 3rd Manifesto:
>
>"We have recently observed a distressing tendency to confuse imperative
>with procedural. While it is true that all procedural languages are
>imperative, it is important to understqnd the converse (i.e., that all
>imperative languages are procedural) is false. In particular, D [the
>data language discussed in the 3rd Manifesto] -- or its relational
>portion, at any rate -- is imperative, but not procedural."
>
>I'm still trying to digest that one. I think I know what Date and
>Darwen are saying here, but I'm not entirely convinced.

Non-procedural simply refers to a command or specification given to a computer 
that does
not specify a sequence of steps to be performed to obtain the intended result. A
non-procedural language would not allow or provide for sequencing of steps in 
its
specifications.

You can define or implement non-procedural languages within a procedural 
language like
MUMPS by restricting allowable constructs to a single command, such as WRITE 
@expr or DO
query^SQL(queryString).

>In fact, one
>idea (as far fetched as it may seem) that I've been toying with is
>*functional* data language. I have yet to convince myself that such a
>thing is practically realizable, but I think therre are good reasons to
>think it could be.

What practical benefits do you see from this?
What might it look like if implemented around MUMPS data objects?
You should take a look at RDF datasources and templates as implemented in 
Mozilla and XUL.
As I recall, it borrows some ideas from Prolog.

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] approaching VistA data through Mozilla (was: POJOs in Action)

2006-03-29 Thread Jim Self
Richard Schilling wrote:
>I did see this book this weekend actually and almost bought it.
>
>I run a Java shop, so POJO's are near and dear to my heart, and I do
>think they're somewhat underrated.  We can do so much by not using EJB,
>and in fact I use Java Beans in a "POJO environment" rather than in a
>managed environment.  Works great!

I haven't really been keeping up with Java lately. I would be interested to 
hear more
about what works well for you and not so well with POJO.

We spent quite a bit of time working with Java after it was first bundled with 
Netscape
with the idea to utilize Java applets in our web interface to VMACS. I stopped 
paying much
attention some time after Swing was released when we concluded that it (Java in 
a web
browser) was all too heavyweight for what we needed and that Mozilla by itself 
appeared to
be sufficient - and an easier transition for our programmers.

>Jim, I'm curious to know more about your ideas for approaching VistA
>data through Mozilla.

I have been thinking about this for quite a while so this could be a long 
discussion. I
have a lot of ideas. ;)

Here is a rough outline to start:

 - Standard reports
 - direct database access
- symbolic access to data elements - names not numbers for field elements
- data objects
- iteration
- format and layout specification
- HTML, XML, JSON
 - Overall user interface
- user privileges
- Menus
- hypertext
- AJAX
- XUL

>Several things have been tried - PHP integration,
>etc... (and from what I hear from Terry Weichman the PHP interface is
>difficult).

The only PHP interface I am aware of so far is the one available from the GT.M 
project on
sourceforge. That gives low level access to MUMPS globals in PHP with equivalent
operations to MUMPS intrinsic functions like $ORDER and $DATA. That is not 
sufficient to
access Metadata for Fileman without development in PHP of a great deal of 
additional
infrastructure.

We (VMTH UCD) have multiple Perl interfaces for GT.M in development. These 
could provide a
starting point for interfaces to other languages such as Python, PHP, Java, 
etc. First is
a Perl module that provides objects for access to MUMPS globals with methods 
that reflect
the standard MUMPS functions and operations such as $ORDER, $DATA, SET, LOCK, 
KILL etc.
Layered on that is a module that provides higher level data objects 
corrresponding to
records in Fileman files with named attributes that represent the data fields. 
This is
based on metadata in ^view derived from ^DD in common with the query tools 
included with
M2Web.

>Thoughts?

First off, for a MUMPS programmer it is just plain easy to provide views of 
VistA data, or
any MUMPS data for that matter, to a web browser from GT.M/Linux or from most 
other
current MUMPS implementations. We (VMTH UCD) started with a direct 
implementation of the
HTTP protocol in Datatree MUMPS over 12 years ago and almost immediately had 
every
standard report in VMACS available on the web. The same could be done for VistA 
with
GT.M/Linux and M2Web.

The essential components of this first phase of web enabling were
  1) a scheme for mapping each report to a URL and
  2) a device type definition that could be invoked to cause the reports to 
produce HTML
tags instead of the ESCAPE sequences that would be sent to a printer.

After that you can go back and simplify and enhance individual reporting 
applications and
general report writers to take advantage of the more relaxed formatting 
requirements and
added features of HTML, such as the possibility of making hypertext links out of
identifiers for lab reports, patients, clinicians, appointments, etc.

I imagine that direct database access is closer to your interests. I have some 
examples of
queries on a VistA database at http://vista.vmth.ucdavis.edu and you can 
construct many
more by interacting with the web pages there.

This is all I can write in a single email. More later if there is interest.

>Richard Schilling
>Cognition Group, Inc.
>Seattle, WA
>
>
>Jim Self wrote:
>> Gregory wrote:
>>
>>>The idea is that using standard Java, it is possible to build
>>>solutions with considerably less expense and overhead than EJB
>>>solutions, and the approach may fit well with the needs of VistA
>>>adopters, whether for integration in a single facility, or as a
>>>technological approach to building multi-facility/campus solutiions.
>>
>>
>> If one's objective is to access VistA data on the web, there is very little 
>> need for Java
>> at all. Mozilla Firefox provides a rich multi-platform client supporting 
>> pretty much all
>> the standard protocols and data formats you need and GT.M/Linux/Apache gives 
>> a scalable
>> server to match - and all Open Source (Free).

--

Re: [Hardhats-members] Fileman meets Codd's Rules

2006-03-29 Thread Jim Self
Kevin wrote:
>Bill,
>
>Thanks.  And a "query" is really a search, right?  And search, in my
>opinion, is not a strong feature of Fileman.  If something is not
>indexed, there is no "brute force" search method other than writing a
>program to do it.
>
>Kevin

Fileman search module can be used to find pretty much anything in the database, 
but it
returns only top level records. It does not depend on cross references.

You could use the query tools included with M2Web to access the same data. I 
think I
previously sent examples of some simple queries to answer questions you asked 
here on drug
ingredients.

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Fileman meets Codd's Rules

2006-03-29 Thread Jim Self
Bill Walton wrote:
>The relational model was and is important for one fundamental reason:  it
>guarantees that any and all data you put in can be retrieved via a query (as
>opposed to "walking the tree").  Independent of any of their other
>advantages, no other storage model can accurately make that claim.

I am not quite sure what you are trying to say here, but I don't think that 
what you said
is quite correct. There is no hard and fast line between what can be done via
non-procedural specification (query) and what can not. The difference is in the
implementation of an abstraction of the low level process of "walking the tree" 
so that it
can be carried out from a simple specification ("query").

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Fileman meets Codd's Rules

2006-03-29 Thread Jim Self
Kevin wrote:
>Bill,
>
>Thanks.  And a "query" is really a search, right?  And search, in my
>opinion, is not a strong feature of Fileman.  If something is not
>indexed, there is no "brute force" search method other than writing a
>program to do it.
>
>Kevin

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] POJOs in Action

2006-03-27 Thread Jim Self
Gregory wrote:
>The idea is that using standard Java, it is possible to build
>solutions with considerably less expense and overhead than EJB
>solutions, and the approach may fit well with the needs of VistA
>adopters, whether for integration in a single facility, or as a
>technological approach to building multi-facility/campus solutiions.

If one's objective is to access VistA data on the web, there is very little 
need for Java
at all. Mozilla Firefox provides a rich multi-platform client supporting pretty 
much all
the standard protocols and data formats you need and GT.M/Linux/Apache gives a 
scalable
server to match - and all Open Source (Free).

-------
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


RE: [Hardhats-members] M to Web? (was: m_php)

2006-03-25 Thread Jim Self

Ruben Safir wrote:
>Are you trying to use PHP with M?

Matthew King wrote:
>No, but if there was an m_php gateway that worked with GT.M, I would try
>to write some reporting chores accessed by a browser.

If PHP is not a necessary component of the solution (and even if it is) then 
M2Web
probably is or should be. (http://vista.vmth.ucdavis.edu/) M2Web is intended as 
a general
foundation for web enabling MUMPS applications. M2Web includes many MUMPS 
functions and
routines for working with HTML, CSS, Javascript, XML, HTTP, CGI, etc.

M2Web includes a general CGI interface for GT.M that makes it easy to provide 
interactive
web oriented MUMPS applications directly from Apache or other general web 
server.

For instance, if you had Apache configured on Linux to run m2web.cgi in 
response to a
relative URL such as "/m2web.cgi" or a local URL like 
"http://localhost/m2web.cgi"; or
"http://vista/"; or "http://localhost/~vista/m2web.cgi/"; etc. and a mumps 
routine example.m
like the following:

example ;MUMPS routine with simple examples for m2web
  q
hello1 ; no frills CGI response - SET htReturn to HTML text
  s htReturn="Hello World. Today is "_%DATE
  q
hello2 ; no frills CGI response - SET multiple texts into htReturn array
  ; -- equivalent to hello1 --
  s htReturn(1)="Hello World."
  s htReturn(2)="Today is "_%DATE
  q
hello3 ; no frills CGI response - WRITE HTML text
  ; -- equivalent to hello2 --
  d startOut^htCGI ;(start output) sends initial headers for CGI protocol
  w "Hello World.",!
  w "Today is "_%DATE,!
  q
hello4 ; more complete HTML output with standard page title, heading, footing, 
etc.
  s htReturn=$$page^html("Hello World.",,"Today is "_%DATE)
  q

Then to enable the subroutine hello4^example to respond to a GET request for 
the relative
URL "/m2web.cgi/hello", you would make a CGI resource entry to map the two 
together. You
would generally do this by filling out a simple form given by the URL 
"/m2web.cgi/resedit"
or (for illustration) you could set that up from a MUMPS command:

  set ^htCGI("resource","hello","GET")="hello4^example"

M2Web applications are restricted by default to require users to be logged in. 
To remove
that restriction for this example, you would SET the "NOSEC" attribute (No 
Security) on
the GET method of the given resource:

  set ^htCGI("resource","hello","GET","NOSEC")=1

To restrict the example to users with the Fileman programmer access code ("@"), 
SET the
corresponding "ACCESS" attribute:

  set ^htCGI("resource","hello","GET","ACCESS")="@"


There is also a "query" resource already defined that will produce a great many 
reports
from VistA data based on simple query parameters including:

  dbfile - a database file identifier, a Fileman file number or file name
  index - a cross reference identifer such as "B" or "Name" or
  a composite such as Patient.Name where Patient is a cross referenced
  pointer field (API exposes more complex variations)
  find - user input pattern to match against the iteration variables of the 
index
  filter - conditional expressions based on field values in the target data 
records
  format - the name of a stored format specification or a list of field 
expressions in
   context of a target record with optional formatting attributes, such 
as for
   left/right/center alignment, field width, decimal places, etc.
  layout - HTML table with one row per record, captioned fields, JSON (arrays or
   objects), XML, XLS, or free-form explicit list of tags to apply at 
each
   level of (list, record, data element, caption, field value).

There are live examples on the web site and many more can be easily constructed.

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Call for Discussion: GatedAccess vs GatedWriteable Wiki Policy

2006-03-23 Thread Jim Self
David Whitten wrote:
>AnonymousReadOnly/GatedWriteable

>The commitment to open processes, open code, and open documentation of the
>WorldVistA organization on behalf of the VistA community would be
>reflected in using the AnonymousReadOnly/GatedWriteable model for the
>WorldVistA OpenForum wiki.

This mode makes the most sense to me for most of the site.

-------
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Mac,m Linux, CrossOver and stuff (was: Ope n source and accessibility)

2006-03-23 Thread Jim Self
>
>> But the application that I really need (and would likely be a
>> make-or-break deal) is Dragon Dictation.  I fear it may be a bit over
>> the top for Wine or Cross-over Office
>>
>
>Its funny that you mention this. I just got off the phone and was
>discussing the Free Software version of this which is in development.
>
>Ruben

Tell me more. I used to use Dragon Dictate.

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Mac,m Linux, CrossOver and stuff (was: Ope n source and accessibility)

2006-03-23 Thread Jim Self
Gregory wrote:
>--- Kevin Toppenberg <[EMAIL PROTECTED]> wrote:
>>
>> I know that my wife's mac has an early version of OsX that didn't
>> come
>> with X11 and I could't run CrossOver Office because of it.  So I
>> found
>> an add-on X11 that had to be run first, and looked terrible.  I gave
>> it up.
>>
>> Thanks
>> Kevin
>>
>>
>
>X11 is available as an option when you install Xcode (the development
>tools). To be honest, I think it looks terrible, too, but that may just
>be a matter of taste.

No. It is not a matter of taste. You are confusing X11 with the default window 
manager,
TWM(?). I doubt that anyone thinks that the default window manager installed 
with X Window
on OSX is anything but ugly. It provides bare bones functionality as a starting 
point to
allow you to occasionally run X applications.

X has no "look". X can look like anything displayable on a computer screen. As 
mentioned
in previous posts X is just a graphics display server.

This link to the Fink project gives a quick overview of the relevant concepts 
and
distinctions specifically relevant to X on OS/X.
http://fink.sourceforge.net/doc/x11/intro.php?phpLang=en


---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Rewriting CPRS in Java

2006-03-15 Thread Jim Self
Richard Schilling wrote:
>When objects are stored wholesale in an object store, I call it an 
>object database.  When object data is stored in a SQL database and then 
>managed by some intermediary API, I call it a persistence layer.
>
>So, perhaps we're splitting hairs here.

Perhaps, but I think you may be misinterpreting the Cache' documentation. I 
believe that
your statement that "Cache is obviously storing their data in a SQL data base" 
is simply
false.

You seem to be saying that because data is retrievable via SQL it must be 
stored in a way
that is ONLY retrievable via SQL. I am not a user of Cache', but I know that 
that is not
true because it is based on MUMPS, so at a minimum the data is accessible via 
MUMPS
commands and functions. As I understand it, the Cache' object methods and 
properties are
intended to give you much more than that. This certainly suggests to me that it 
has the
potential to store and retrieve objects as entities, not simply as projected in 
tables.

What does it mean when they say that "Cache' classes can be projected as Java 
classes"?

What are the essential properties of a "true object store" that is not tied 
exclusively to
Java?

>Roy Gaber wrote:
>> the ideal high-performance database for Java applications. Caché data 
>> can be accessed with SQL via JDBC, and Caché classes can be projected as 
>
>(snip)
>
>> Caché’s efficient multidimensional data engine has excellent SQL 
>> response – up to 20 times faster than relational databases. Caché 
>> 
>
>The key here is that Cache is obviously storing their data in a SQL data 
>base.  A lot of object *data* is persisted in SQL databases, but the 
>Cache objects themselves aren't?
>
>So, I would call Cache Objects a persistence layer, but not a true 
>object store.
>
>Compare with Java Data Objects:
>
>"JDO defines interfaces and classes to be used by application 
>programmers when using classes whose instances are to be stored in 
>persistent storage (persistence-capable classes)."
>
>JDO can use b-tree storages to store Java object trees directly. 
>*That's* an object store.
>
>
>Richard

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Ubuntu code of conduct

2006-03-14 Thread Jim Self
Bhaskar wrote:
>Ubuntu is one of the fastest growing Linux distributions.  I was pointed
>to the Ubuntu code of conduct for developers yesterday, and I felt that
>it was well worth a read for anyone involved in software development:
>http://www.ubuntu.com/community/conduct

I agree. I think it is very well written and appropriate.

-------
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] acess to wiki openforum_worldvista.org

2006-03-08 Thread Jim Self
It appears when I try it that only the main page is accessible. Other pages 
require login
to view - not just to update.


JLZ wrote:
>ashfaq wrote:
>> Whats wrong with OpenVista Wiki
>
>Many small things,
>but it IS there this morning... at this moment:
>http://openforum.worldvista.org/~forum/
>
>jlz

-------
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Open Source Software: A Primer for Health Care Leaders

2006-03-03 Thread Jim Self
Peter Charbonnier wrote:
>From my in box this afternoon:
>
>http://www.chcf.org/topics/view.cfm?itemid=119091
>
>A nice overview of open source in healthcare and VistA specifically.  From
>Forrester Research and the California Helthcare Foundation...
>

This seems to be a good report overall. The most obvious flaws to me were
 1) Confusion (on page 16) of Public Domain software with Freeware and Shareware
 2) Identification of VistA with OpenVistA
 3) No mention of WorldVistA
 4) Bad link to SourceForge project for OpenVistA (better to search in projects 
for "VistA")

-------
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] GTM question regarding "code space"

2006-02-26 Thread Jim Self
Kevin wrote:
>>If the task handlers run sequentially in a single process, then you could 
>>schedule
>>a task (or amend specific tasks) to explicitly ZLINK any modified routines 
>>before
>>they are called.
>
>Right.  And the question is whether or not this is needed.
>But since writing the question, the system is acting like forcing a
>ZLINK is NOT needed.

Good. That would be the case if your taskman is configured to start a new 
process to
handle each queued task. That is generally the best way to do it under 
GT.M/Linux since
there is little cost to starting new processes and no artificial limit on the 
number of
concurrent jobs to worry about from restrictions in the software license.

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] GTM question regarding "code space"

2006-02-26 Thread Jim Self
One of the great things about GT.M is the design for continuous operation. You 
definitely
do not need to shutdown taskman or any other MUMPS based background processor 
or server to
ensure that future tasks continue to run through source code upgrades or that 
they run the
newest versions of modified application routines.

Unlike other MUMPS implementations I have worked with, long running GT.M MUMPS 
processes
cannot be made to crash simply by updating source routines they depend on while 
they are
running. Each running process has its own image of the routines it has called 
so that it
can remain stable in spite of concurrent changes to the source code. The ZLINK 
command can
be used to explicitly update the image of the current process with new versions 
of
routines as needed.

I haven't worked with Taskman in quite a while, so I don't recall clearly 
whether it runs
each task in a new process or if it runs them sequentially from a pool of 
standing
processes. I seem to recall that it can be configured to run either way.

In GT.M, if the tasks are handled by processes initiated by the JOB command 
then each will
automatically get a new image of any modified routine. If the task handlers run
sequentially in a single process, then you could schedule a task (or amend 
specific tasks
) to explicitly ZLINK any modified routines before they are called.

The only exceptions would be routines directly referenced in the running 
process stack at
the time that ZLINK is executed. For taskman I would expect this would only 
apply to a
very small number of core taskman routines and even they could be gracefully 
upgraded with
a scheduled restart.



Kevin wrote:
>I have a GT.M question that Bhaskar will probably have to answer.
>
>If source code is changed, these changes are not visible to running
>tasks, unless $ZLINK is explicitly called.
>
>So I have a process that is launched by Taskman to import demographic
>data from a billing system.  I assume it jobs off a process to handle
>the actual task.  At the end of my task, I schedule the next time I
>want the task to run.  I have had this running for a few days.
>
>But if I change the source code, do I have to do anything special to
>ensure that future tasks run the new code?  I'm worried that I need to
>shut down taskman because it is in an old "codespace", and therefore
>it's child processes also use this old version of code.
>
>I can't tell easily which version of code is being used when Taskman
>launches the task.
>
>Any thoughts?
>Kevin

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


RE: [Hardhats-members] What happened to worldvista.org

2006-02-17 Thread Jim Self
Curious. I get the same response as yesterday. I believe someone has installed 
a new
server and overwritten the configuration files. Either that or an entirely new 
server has
taken over.

I seem to recall that the old server was running Redhat Linux, but the server 
messages I
received say that it is running Debian now. The apache2 configuration on Debian 
is much
better modularized, but different from what was on Redhat.

I can't look into it further now because I am heading out of town for the 
weekend.

If the ~forum files are still in place on the server, it may be all that is 
required to
get the wiki online again (at least at http://openforum.worldvista.org/~forum/) 
is to
re-enable user directories (see 
http://openforum.worldvista.org/manual/howto/public_html.html)



Marc Aylesworth wrote:
>That's better than what I get. I get connection refused.
>
>Thanks
>Marc Aylesworth
>
>PAR C3I Group
>AFRL/IFSE
>Joint Battlespace Infosphere Team
>
>525 Brooks Rd
>Rome, NY 13441-4505
>
>Tel:315.330.2422
>Fax:315.330.7009
>
>Email: [EMAIL PROTECTED]
>
>
>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] On Behalf Of Jim Self
>Sent: Thursday, February 16, 2006 5:50 PM
>To: hardhats-members@lists.sourceforge.net
>Subject: Re: [Hardhats-members] What happened to worldvista.org
>
>Marc Krawitz wrote:
>>The wiki seems to have disappeared and going to home page requires
>authentication?
>
>Yes. I don't see an authorization page. The top page at
>http://openforum.worldvista.org/
>comes up with the default page from a new installation of apache and every
>familiar URL
>below that that I have tried was reported as "not found".
>
>---
>Jim Self
>Systems Architect, Lead Developer
>VMTH Computer Services, UC Davis
>(http://www.vmth.ucdavis.edu/us/jaself)
>
>
>---
>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
>for problems?  Stop!  Download the new AJAX search engine that makes
>searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
>___
>Hardhats-members mailing list
>Hardhats-members@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/hardhats-members
>
>
>---
>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
>for problems?  Stop!  Download the new AJAX search engine that makes
>searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
>___
>Hardhats-members mailing list
>Hardhats-members@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/hardhats-members
>

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Protecting against indirection errors.

2006-02-16 Thread Jim Self
Kevin wrote:
>Wow!  Did you write that special for me?  I'll check this code out!

Yes, and to see what further discussion might come of it. It is not complete, 
but I think
it will fit most of the need you described for interactive syntax checking in a 
debugger.
I have been thinking that I would like to have some good and simple functions 
for code
parsing and syntax checking that would return something descriptive of any 
errors encountered.

Here's a newer version that is a little more general in that it allows 
unsubscripted
variables and longer variable names. It is not a general expression checker but 
more
focused to the given context and perhaps a little easier to understand and 
improve upon.

eval(ref)   ;function - evaluate a simple variable reference
n name,subs,i,j,sub,error
s name=$p(ref,"(")
if name'?.1"^"1(1"%",1A).31AN q "ERROR: not a legal variable name."
if ref["(" q:ref'?.e1")" "ERROR: missing close paren." d
. s subs=$e(ref,$f(ref,"("),$l(ref)-1)
. f i=1:1 d  q:subs=""!$d(error)
. . f j=1:1:$l(subs,",") s sub=$p(subs,",",1,j) q:$l(sub,"""")#2
. . s subs=$p(subs,",",j+1,$l(subs,","))
. . if sub="" s error="missing subscript" q
. . e  if $l(sub,"""")#2=0 s error="unbalanced quotes" q
. . e  if sub?.1"-"1.n,sub=+sub q  ;canonic number OK
. . e  if sub?1(1"%",1A).31AN d  q  ;simple variable name OK if defined
. . . if $d(@sub)#2=0 s error="variable '"_sub_"' undefined"
. . e  if sub'?1""""1.e1"""" s error="malformed subscript" q
if $d(error) q "ERROR: "_error_", subscript "_i_"."
q $g(@ref)

I would refine it further by separating the evaluation from the syntax check 
and adding an
error trap to the evaluation function. However, if you don't need to check the 
data
reference independently of eval, it would be simpler to just try $g(@ref) and 
let the
error trap return the message from your MUMPS interpreter.

>Dave Whitten called and pointed out that I could do this, also:
>
>> >set X=$UP^XLFSTR("SET TEMP=$GET("_myref_")") do ^DIM
>
>By forcing uppercase, I am changing the actual variable examined.  But
>it will still catch null nodes etc.

I stopped using ^DIM many years ago for multiple reasons. It has undoubtedly 
improved
significantly since then. I will have to revisit it.

>Thanks all!
>
>Kevin
>
>
>
>On 2/16/06, Jim Self <[EMAIL PROTECTED]> wrote:
>> Kevin wrote:
>> >Well, I had hope the ^DIM would work for me.  Unfortunately it imposes
>> >SAC (SAAC? SACC?) restrictions.  It I try this"
>> >
>> >set X="SET TEMP=$GET(k)" do ^DIM
>> >
>> >X will be deleted.  I assume this is because lowercase variables are
>> >not allowed.
>> >My debugger is not designed to be VA specific, so allow a user to use
>> >variables with lower case.
>> >
>> >I'll have to keep looking for a solution.  My next plan is to $piece
>> >through the parts of a reference to ensure no null nodes.
>>
>> If that's all you want, how about this for a start?
>>
>> eval(k) ;function - evaluate a simple array reference
>> if k'?.1"^"1(1"%",1A).7AN1"("1.ANP1")" q "ERROR: not an array 
>> reference"
>> n subs s subs=$e(k,$f(k,"("),$l(k)-1)
>> n i,j,sub,error
>> f i=1:1 d  q:subs=""!$d(error)
>> . f j=1:1:$l(subs,",") s sub=$p(subs,",",1,j) q:$l(sub,"""")#2
>> . s subs=$p(subs,",",j+1,$l(subs,","))
>> . if sub="" s error="missing subscript" q
>> . e  if $l(sub,"""")#2=0 s error="unbalanced quotes" q
>> . e  if sub?.1"-"1.n,sub=+sub q  ;canonic number OK
>> . e  if sub?1(1"%",1A).7AN d  q  ;simple variable name OK if defined
>> . . if $d(@sub)#2=0 s error="variable '"_sub_"' undefined"
>> . e  if sub'?1""""1.e1"""" s error="malformed subscript" q
>> if $d(error) q "ERROR: "_error_", subscript "_i_"."
>> q $g(@k)
>>
>> Examples---
>>
>>  ^DIC(1,0,"GL")

Re: [Hardhats-members] What happened to worldvista.org

2006-02-16 Thread Jim Self
Marc Krawitz wrote:
>The wiki seems to have disappeared and going to home page requires 
>authentication?

Yes. I don't see an authorization page. The top page at 
http://openforum.worldvista.org/
comes up with the default page from a new installation of apache and every 
familiar URL
below that that I have tried was reported as "not found".

-------
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Protecting against indirection errors.

2006-02-16 Thread Jim Self
Kevin wrote:
>Well, I had hope the ^DIM would work for me.  Unfortunately it imposes
>SAC (SAAC? SACC?) restrictions.  It I try this"
>
>set X="SET TEMP=$GET(k)" do ^DIM
>
>X will be deleted.  I assume this is because lowercase variables are
>not allowed.
>My debugger is not designed to be VA specific, so allow a user to use
>variables with lower case.
>
>I'll have to keep looking for a solution.  My next plan is to $piece
>through the parts of a reference to ensure no null nodes.

If that's all you want, how about this for a start?

eval(k) ;function - evaluate a simple array reference
if k'?.1"^"1(1"%",1A).7AN1"("1.ANP1")" q "ERROR: not an array reference"
n subs s subs=$e(k,$f(k,"("),$l(k)-1)
n i,j,sub,error
f i=1:1 d  q:subs=""!$d(error)
. f j=1:1:$l(subs,",") s sub=$p(subs,",",1,j) q:$l(sub,"""")#2
. s subs=$p(subs,",",j+1,$l(subs,","))
. if sub="" s error="missing subscript" q
. e  if $l(sub,"""")#2=0 s error="unbalanced quotes" q
. e  if sub?.1"-"1.n,sub=+sub q  ;canonic number OK
. e  if sub?1(1"%",1A).7AN d  q  ;simple variable name OK if defined
. . if $d(@sub)#2=0 s error="variable '"_sub_"' undefined"
. e  if sub'?1""""1.e1"""" s error="malformed subscript" q
if $d(error) q "ERROR: "_error_", subscript "_i_"."
q $g(@k)

Examples---

 ^DIC(1,0,"GL")       ^DIC(
 ^DIC(1,,"GL")ERROR: missing subscript, subscript 2.
 ^DIC(1,x,"GL")   ERROR: variable 'x' undefined, subscript 2.
 ^DIC(1,0,"GL)ERROR: unbalanced quotes, subscript 3.
 ^DIC(1,0X,"GL")  ERROR: malformed subscript, subscript 2.
 ^DIC(1,00,"GL")  ERROR: malformed subscript, subscript 2.

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] XUSHSH (was:xuhash)

2006-02-14 Thread Jim Self
I agree. We (UC Davis VMTH) use the standard encryption libraries distributed 
with Linux
for password encryption with GT.M. These could be easily accessed in VistA for 
encryption
of access codes and verify codes with simple modifications to ^XUSHSH.

Bhaskar wrote:
>At least with GT.M, since it is so easy to access standard system library 
>functions from
M code, it is probably better to use these rather than creating new code.  One 
lesson in
security is that it's better to use widely reviewed code, which is why the best 
encryption
code is open source.
>
>-- Bhaskar
>--
>Sent from my BlackBerry Wireless Handheld
>
>
>-Original Message-
>From: [EMAIL PROTECTED]
<[EMAIL PROTECTED]>
>To: hardhats-members@lists.sourceforge.net 
>
>Sent: Mon Feb 13 13:15:47 2006
>Subject: Re: [Hardhats-members] XUSHSH (was:xuhash)
>
>Kevin wrote:
>>Try here:
>>
>>http://openforum.worldvista.org/~forum/m.cgi/rtn/XUSHSH
>>
>>Kevin
>
>If you want to view the source code instead of HTML, change the URL to
>http://openforum.worldvista.org/~forum/m.cgi/rtn/XUSHSH.txt
>
>If you want to download the .m file, simply change the extension to ".m".
>http://openforum.worldvista.org/~forum/m.cgi/rtn/XUSHSH.m
>
>However, I would recommend using a stronger encryption method on a production 
>system.
>
>>On 2/13/06, Norman Dodd <[EMAIL PROTECTED]> wrote:
>>> The FOIA disk does not release XUHASH, but I think WorldVista wrote a
>>> replacement.
>>>
>>> -Original Message-
>>> From: [EMAIL PROTECTED]
>>> [mailto:[EMAIL PROTECTED] On Behalf Of
>>> [EMAIL PROTECTED]
>>> Sent: Monday, February 13, 2006 7:48 AM
>>> To: hardhats-members@lists.sourceforge.net
>>> Subject: Re: [Hardhats-members] xuhash
>>>
>>> xushsh is what you are after
>>>
>>> - Original Message -
>>> From: Norman Dodd <[EMAIL PROTECTED]>
>>> Date: Monday, February 13, 2006 12:15 pm
>>> Subject: [Hardhats-members] xuhash
>>> To: hardhats-members@lists.sourceforge.net
>>>
>>> > Did not some WorldVista members write a replacement for the scrambling
>>> > routines for the access and verify codes. If anyone knows where
>>> > they are I would like to get them.

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] XUSHSH (was:xuhash)

2006-02-13 Thread Jim Self
Kevin wrote:
>Try here:
>
>http://openforum.worldvista.org/~forum/m.cgi/rtn/XUSHSH
>
>Kevin

If you want to view the source code instead of HTML, change the URL to
http://openforum.worldvista.org/~forum/m.cgi/rtn/XUSHSH.txt

If you want to download the .m file, simply change the extension to ".m".
http://openforum.worldvista.org/~forum/m.cgi/rtn/XUSHSH.m

However, I would recommend using a stronger encryption method on a production 
system.

>On 2/13/06, Norman Dodd <[EMAIL PROTECTED]> wrote:
>> The FOIA disk does not release XUHASH, but I think WorldVista wrote a
>> replacement.
>>
>> -Original Message-
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On Behalf Of
>> [EMAIL PROTECTED]
>> Sent: Monday, February 13, 2006 7:48 AM
>> To: hardhats-members@lists.sourceforge.net
>> Subject: Re: [Hardhats-members] xuhash
>>
>> xushsh is what you are after
>>
>> - Original Message -
>> From: Norman Dodd <[EMAIL PROTECTED]>
>> Date: Monday, February 13, 2006 12:15 pm
>> Subject: [Hardhats-members] xuhash
>> To: hardhats-members@lists.sourceforge.net
>>
>> > Did not some WorldVista members write a replacement for the
>> scrambling
>> > routines for the access and verify codes. If anyone knows where
>> > they are I
>> > would like to get them.
>> >
>> >
>> >
>> > ---
>> > This SF.net email is sponsored by: Splunk Inc. Do you grep through
>> > log files
>> > for problems?  Stop!  Download the new AJAX search engine that makes
>> > searching your log files as easy as surfing the  web.  DOWNLOAD
>> > SPLUNK!http://sel.as-
>> > us.falkag.net/sel?
>> cmd=lnk&kid=103432&bid=230486&dat=121642___
>> 
>> > Hardhats-members mailing list
>> > Hardhats-members@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/hardhats-members
>> >
>>
>>
>> ---
>> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
>> for problems?  Stop!  Download the new AJAX search engine that makes
>> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
>> ___
>> Hardhats-members mailing list
>> Hardhats-members@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/hardhats-members
>>
>>
>>
>> ---
>> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
>> for problems?  Stop!  Download the new AJAX search engine that makes
>> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
>> ___
>> Hardhats-members mailing list
>> Hardhats-members@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/hardhats-members
>>
>
>
>-------
>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
>for problems?  Stop!  Download the new AJAX search engine that makes
>searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
>http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
>___
>Hardhats-members mailing list
>Hardhats-members@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/hardhats-members
>

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Protecting against indirection errors.

2006-02-11 Thread Jim Self
Kevin wrote:
>On 2/11/06, Jim Self <[EMAIL PROTECTED]> wrote:
>> Kevin,
>> What do you want to happen when the error is detected?
>
>I would want the function to have a chance to return a 'failure' value.
>
>
>> Your third example would give a syntax error. I would expect this to be a 
>> programming
>> error.
>
>Not really.  In my debugger program, I have the ability, while
>stepping through the program, to dump out arrays.  My array-display
>function takes a variable name (similar to the pRef in my example).


That little bit of additional context helps quite a bit in understanding what 
you are
after here. Using a debugger and taking a global reference directly from user 
input
qualifies in my mind as on-the-fly interactive programming, not typical 
production
oriented applications usage.

>It has been working well, until I accidentally passed it an invalid reference.
>
>>In my work, it seems that the standard error response of logging the error and
>> halting (or dropping back to the MUMPS shell) is generally the best way to 
>> handle these
>> kinds of errors, unless you can catch them much earlier (composition rather 
>> than use of
>> the construct).
>>
>> If pRef is expected to be a literal global reference then a function to 
>> check its syntax
>> would be pretty easy to write.
>>
>
>In my case, it is supposed to be anything the user wants it to be, and
>it is the job of the function to screen out erroneous input.

Actually, the indirection in your example (set result=$g(@pRef)) is quite 
restricted. The
value of pRef must be a variable reference (global or local). It could perhaps 
have an
expression as a subscript rather than a literal string or number, but that's 
about all the
variation allowed.

Given the context, this type of error would be expected. Given the restricted 
syntax of
the indirection checking the syntax of pRef would be pretty easy to do, but a 
special
error trap that simply returns the error message from evaluating the 
indirection with a
malformed pRef would be even easier and might well be the best general solution.

Then again, actually checking the syntax would give you the chance to correct 
simple
errors and to provide more precise feedback.

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Making Fileman language independent?

2006-02-11 Thread Jim Self
Kevin wrote:
>Well, the more I have used M, the more I find that it is much easier
>to do the low level coding than it is to use the higher level
>interface. I think that says something significant--


I agree. One thing it says to me is that there could be better API's for 
programmers.


>since it is usually harder to do lower-level coding   E.g. c++ is easier than 
>c,
>which is easier than assembly, which is easier than machine byte code. But
>set name=$piece($get(^DPT(1234,0)),"^",1) 
>is just easier than
>do GETS^DIQ(200,1234_",",.01,,"TMGOUT","TMGERR")
>(more code here to parse TMGOUT)
>(Just to do this example, I had to pull out the manual to get the
>parameters correct.)

The straight forward low level solution is certainly easier for simple 
operations on a
small number of data fields by a programmer who is familiar with the details of 
the
database layout. The resulting code is almost certainly faster and it may even 
be more
quickly written and more easily debugged.

Unfortunately, writing code at this level is less accessible to others, 
especially
non-programmers, and even to the original programmer after a few months or a 
few years,
and it becomes less desirable with a larger number of fields or a more complex 
and
sophisticated user interface where it would be desirable to systematically 
bring other
features of the field definitions to bear, such as field size, display type, 
help text,
input transforms, cross reference updates etc. 

Working with magic numbers, such as piece positions or field numbers, quickly 
becomes
confusing and difficult to remember. Think about the code for a common data 
entry form or
a columnar report with 10 to 20 fields. The code for this could get quite 
voluminous and
unwieldy if written out at the low level of global locations.

On the other hand, if the data fields are well defined in a data dictionary, 
the code for
presenting a whole data entry form and processing the data submitted from it 
can be
generated from little more than a list of field identifiers.



---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Protecting against indirection errors.

2006-02-11 Thread Jim Self
Kevin,
What do you want to happen when the error is detected?

Your third example would give a syntax error. I would expect this to be a 
programming
error. In my work, it seems that the standard error response of logging the 
error and
halting (or dropping back to the MUMPS shell) is generally the best way to 
handle these
kinds of errors, unless you can catch them much earlier (composition rather 
than use of
the construct).

If pRef is expected to be a literal global reference then a function to check 
its syntax
would be pretty easy to write.



Kevin wrote:
>I have a question about how to protect against indirection errors.
>
>Imagine this function
>
>MyFunct(pRef)
>   new result
>   set result=$get(@pRef)
>   quit result
>
>
>Here are some possible inputs and results:
>
> pRef
> InputOutput
> -- --
>#1 ^VA(200,1,0)   IRM,[EMAIL PROTECTED]
>#2 ^VA(200,1)  ""
>#3 ^VA(200,,0)<- causes error.
>
>In entry #2:  if the data does not exist, then $get() protects against
>a crash and returns a "" value.
>But in entry #3, the indirection variable is invalid and causes an error.
>
>Is there anyway for a function to protect itself against invalid
>indirection errors, short of setting up an error trap?  I can't think
>of any reasonable way to try to validate input values other than
>perhaps a simple test to ensure pRef'="" (which would only catch one
>possible error).
>
>Thanks
>Kevin

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] "Silent" Fileman calls not silent

2006-02-04 Thread Jim Self
Yes and No.
The bug is in the data definition for that field, not necessarily in the API.
Bugs arise in old code as expectations and uses of that code change. This code 
was likely
written before the concept of a user interface had become well known.


Kevin wrote:
>When I try to do updates to SS Numbers with Fileman "silent" DB API
>calls, I occasionally still get messages written to the screen, such
>as:
>
>Note: This is a RR Retirement SSN
>
>or
>
>The SSN must not begin with 9
>
>
>Is this a bug?

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Compiling CPRS

2006-01-31 Thread Jim Self
Kevin wrote:
>OK. So this is java that runs in a web browser, I guess?

No, not as I have ever heard it described. If it were to run in a web browser 
there would
be no need for java.

>I know that Java can be used to create stand-alone apps.

Yes. As it was described to me, the Java client would be very similar in 
concept to the
delphi CPRS client, but it would use special java protocols to talk with an 
intermediate
java based server that would act as a client to the VA broker. It was intended 
to be
eventually cross-platform, but it would be tied to M$Windows until the wrappers 
around
Delphi components could be replaced



>But from all this
>discussion of server-side programs (of which I understand 10%), I
>assume it was targeting to have the user view CPRS from a web browser.
>
>Is that right?

Everything, server-side and client-side could be much simpler and lighter 
weight ***and
the client side would be immediately cross-platform*** if based on Mozilla 
Firefox and a
more direct MUMPS-to-HTTP based broker.

-------
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] confused (was: Parameter passing by reference vs. by name

2006-01-27 Thread Jim Self
>--- Chris Richardson <[EMAIL PROTECTED]> wrote:
>
>> Confusion is the beginning of enlightenment.
>
>Good one!

Curiously confusing. Seemingly confused.

Something essential was omitted from the quote - "Awareness"
Very much like the distortion in omitting "Love of" from "Money is the root of 
all evil"

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Parameter passing by reference vs. by name

2006-01-27 Thread Jim Self
Kevin,
What are you trying to do with these techniques? They are not exactly 
equivalent.

The pass-by-reference technique is generally used to avoid the use of 
indirection and to
make the code cleaner and more efficient. It cannot be used where the target 
array is a
global.

The indirection technique applies equally well to global arrays as to local 
arrays and can
therefore hide the fact that scratch arrays might be global. This can be useful 
on MUMPS
implementations with limited memory space available for local variables.

Kevin wrote:
>I have found that there are two ways that parameters can be passed by 
>reference:
>
>MyFunct1(VarName)
> ;"Input: VarName, the NAME OF the variable to alter
> set @VarName@(1)="Hello"
> quit
>
>MyFunct2(VarArray)
> ;"Input: VarArray -- PASS BY REFERENCE, the array to alter.
> set VarArray(2)="There"
> quit
>
>And These can be called as follows:
>
>Main
>   new Array
>
>  do MyFunct1($name(Array))
>  do MyFunct2(.Array)
>  zwr Array(*)
>  quit
>
>This should output this:
>Array(1)="Hello"
>Array(2)="There"
>
>
>But I have just encountered an issue when I try to mix these two.  For
>example, The following wouldn't work, I believe
>
>
>MyFunct1(VarName)
> set @VarName@(1)="Hello"
>do MyFunct2([EMAIL PROTECTED])  <- This wouldn't work
> quit
>
>MyFunct2(VarArray)
> set VarArray(2)="There"
> quit
>
>
>Main
>  new Array
>  do MyFunct1($name(Array))
>  zwr Array(*)
>  quit
>
>
>So I have written some functions using both calling methods, and I
>have just now had reason to call one from another.
>I know that I could create a new array, merge it, pass that array,
>then when the function returns merge it back.  But, is there a way to
>do this directly--i.e. achieve my erroneous line listed above, perhaps
>with different syntax?

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


  1   2   3   4   5   >