OK, I have it done. Here are some screen shots. http://69.68.182.66/downloads/OpenVista/CPRShtml.jpg http://69.68.182.66/downloads/OpenVista/CPRShtml.jpg
These are two views of one note. The pictures are demo pictures found off of Google -- (no actual patients have been harmed in the creating of this demo) I am still working on printing issues, but my outlook is good. Kevin --- Kevin Toppenberg <[EMAIL PROTECTED]> wrote: > Some may remember that I created a CPRS hack that > would allow a simple imaging system by broadcasting > any <img> tags found in a progress note. This > worked, > but it requires the user to run a separate program > and > toggle between the two. It's less than ideal. > > A better solution would be to have the image appear > directly where one would view progress notes. So I > was quite excited to realize that CPRS already had > fairly extensive tie-ins to a web > browser--functionality that was never implemented > (yet). > > So today I decided to extend that to the progress > notes. I followed the same pattern used for Reports > (which is where the web browser support was > alreday), > and put a web browser "behind" the Memo object that > normally shows the note. > > To complete the project, I must do the following: > 1. write a short function that looks at the note > sent > by the server, and decide if it is an HTML file. > 2. If the note is an HTML file, I will write the > note > to a local temp file. > 3. I will then instruct the browser to navigate to > the > local file. This will cause the HTML note to be > viewable. I then put the web browser "in front of" > the normal memo field and make it visible. > 4. If the note is not an HTML file, then make the > memo > field visible, the web browser invisible. > 5. Ensure that the local file gets killed when not > being used so as to not leave a patient note on the > local computer. > > I should be able to do this in another day. > > But is this a good thing to do? I'd appreciate some > feedback on this one. Here are some sequelae that I > see from doing this: > > 1. If users can view an HTML progress note, they > will > want to be able to write one. This means having to > link in WYSIWYG HTML editor. > > 2. Printing with server-side routines will not be > HTML > aware, and all the <tags> would be printed out. > > 3. Client-side (CPRS) printing would have to allow > the > web browser to print out notes that are HTML, > whereas > other notes are printed with CPRS functions. Not a > big deal, but there may be differences. > > I think the potential of this project to be quite > cool. It would be very nice to show images directly > in a progress note, and also to have colors, bolds, > italics etc available. > > Feedback is always appreciated. :-) > > Kevin > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam > protection around > http://mail.yahoo.com > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. > Get your fingers limbered up and give it your best > shot. 4 great events, 4 > opportunities to win big! Highest score wins.NEC IT > Guy Games. Play to > win an NEC 61 plasma display. Visit > http://www.necitguy.com/?r=20 > _______________________________________________ > Hardhats-members mailing list > Hardhats-members@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/hardhats-members > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members