Jim, This sounds like you are 90% of the way there. The only think I would want to add would the ability to put some instructions to the user on the screen, and maybe a header that says something like "new patient registration".
There might also be an issue regarding when adding a new patient with the identical name as someone already in the database. In the roll-n-scroll code, this is handled by putting the new name in quotes. Also, would your code check for values in required fields (i.e. ss num, veteran status)? I assume that when your code went to file a record that didn't have such fields, that it would be rejected by fileman. Would the user be shown such errors? I haven't had a reason to get M2Web going at my site, but if this was developed more, it might well be a reason to start now. It might be a reason to get it included standard with a release of OpenVistA Thanks Kevin On 10/4/05, Jim Self <[EMAIL PROTECTED]> wrote: > Kevin, > I have an experimental routine for M2Web (see > http://openforum.worldvista.org/~forum/m.cgi/rtn/htDIQ#form) that will > generate an HTML > input form for a data record given the file, iens, and fields (essentially > the parameters > for GETS^DIQ. When the form is submitted, the server receives an array of > named values, > such as: > > htInput("DtOfBrth")="08/20/1960" > htInput("Name")="DOUGLAS,MIKE RONALD" > htInput("Sex")="M" > etc. > > The version on openforum automatically represents set-of-codes type fields > with a dropdown > set of choices and it uses textareas to represent word processing fields and > long text > fields. The newest version (not yet extracted from VMACS) presents a popup > calendar for > date fields and a popup window for lookups on pointer fields. > > > > Kevin wrote: > >Yes, I know that RPC calls and Screen man calls are different. But > >what I would do would be to make a GUI that would make an RPC call > >asking for a field stream. The server code would then read the > >screenman file. It would send back messages something like this: > > -- label at 10,10, value="NAME" > > -- field NAME/.01 at 10,15, value="DOE,JOHN" > > -- label at 20,20, value="DOB" > > -- field DOB/.02 at 20,15, value="01-01-1920" > > ... > > etc. > > > >Then the GUI would put these on a form. The user would edit the data. > > Then the RPC would pass the results back to the server for filing. > > > >Yes it would be significant work. > > > >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: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Hardhats-members mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/hardhats-members > ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Hardhats-members mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/hardhats-members
