Personal tools
You are here: Home / OSCAR Users / EMR and Case Management Resources / eForms / eForms in development/beta testing / Useful Code / Greasemonkey Scripts / Greasemonkey script to add pre-assigned text to categorize new documents.
Navigation
 

Greasemonkey script to add pre-assigned text to categorize new documents.

This GM inserts pre-assigned text to categorize new documents. It requires significant customization for each individual system, so it's not for all. The arrays at the beginning need to be modified to your own needs (your own usual specialists, forms etc. ------- Some caveats. ------- The Document Type is found in the first line of each DT (data type) group and must match your Oscar data types exactly. Do not forget the comma after each line as illustrated below - the comma is essential for the program to work. For the doctor's name, place a space before Dr. as in ' Dr.' This will allow the program to sort doctor names alphabetically on top and the specialty types below. I have used a logic flow that hopefully places the cursor into the appropriate field for the next keyboard entry. ------- var DT = [ ] DT[0] = [ 'lab', //This is the data type category 'ECG', 'Holter', 'Blood', 'Pre-Natal labs', ] DT[1] = [ 'consult', //This is the data type category ' Dr. ', ' Dr. Saldana', ' Dr. Bar Shlomo', ' Dr. Thomas', ' Dr. Luciuk', 'Psychiatry', ' Dr. Fishman', ' Dr. Jakubowski', 'Orthopedics', 'Opthalmology', 'Cardiolology', 'Gyne/Obs', 'BCCA', 'Surgery', 'Gastroenterology', ]
Greasemonkey script to add pre-assigned text to categorize new documents. user.js file
Specialist version of Greasemonkey script to label unassigned documents
I had a look at Stanley's script and figured out how to modify it slightly. This version uses "referral" as a category, then pop's up a list of Doctors names. Once the doctor's name has been chosen, it pops up a list of common chief complaints. I designed this for myself as an OBGYN, but it can be modified to suit other specialties. All credit to Stan, I just tinkered slightly. JohnR.

Document Actions

 

Download button

DOWNLOAD OSCAR FOR TESTING

 

eForms button

DOWNLOAD SHARED E-FORMS


 Customize button

FIND PLUG-INS AND TWEAKS
FOR YOUR OSCAR EMR

 

Subscribe Button

SUBSCRIBE TO DISCUSSION LIST 
(SEE ALL LISTS)

  

Help button

ACCESS THE ONLINE MANUALS
(PAID SUPPORT)