Difference between revisions of "CPRSImager (CPRSChart mod)"
m (Added glossary link to Application~) |
(Added a glossary link to Action~) |
||
Line 6: | Line 6: | ||
"Introduction: I needed a simple document imaging system. When I looked at the legal requirements of using the VistA system, I decided to not use VistA system as my core. Instead, I have devised a simple replacement system. | "Introduction: I needed a simple document imaging system. When I looked at the legal requirements of using the VistA system, I decided to not use VistA system as my core. Instead, I have devised a simple replacement system. | ||
− | How it works: When CPRS Chart performs certain activities, it broadcasts messages of its action via a Windows messaging system. When a new note is selected for a patient, for example, a message is broadcast to all [[application~|Application]]s of this action. To create my system, I add brief code (~100 lines) that scans the note in CPRS for image links. If they are found, then I broad cast an additional message of an image to be displayed. I then created a separate [[application~|Application]] that listens for these messages and displays the correct image. | + | How it works: When CPRS Chart performs certain activities, it broadcasts messages of its [[action~|Action]] via a Windows messaging system. When a new note is selected for a patient, for example, a message is broadcast to all [[application~|Application]]s of this [[action~|Action]]. To create my system, I add brief code (~100 lines) that scans the note in CPRS for image links. If they are found, then I broad cast an additional message of an image to be displayed. I then created a separate [[application~|Application]] that listens for these messages and displays the correct image. |
I will include here the code to make this work. Select the pages below for more information: | I will include here the code to make this work. Select the pages below for more information: |
Revision as of 08:58, 10 July 2012
Back to Programming VistA Issues
CPRSImager
"Introduction: I needed a simple document imaging system. When I looked at the legal requirements of using the VistA system, I decided to not use VistA system as my core. Instead, I have devised a simple replacement system.
How it works: When CPRS Chart performs certain activities, it broadcasts messages of its Action via a Windows messaging system. When a new note is selected for a patient, for example, a message is broadcast to all Applications of this Action. To create my system, I add brief code (~100 lines) that scans the note in CPRS for image links. If they are found, then I broad cast an additional message of an image to be displayed. I then created a separate Application that listens for these messages and displays the correct image.
I will include here the code to make this work. Select the pages below for more information:
Code For CPRSChart Code to add into VistA CPRS Chart
Code For CPRSImager Code for separate Imager
Kevin Toppenberg June 11, 2004