Personal tools
You are here: Home / OSCAR Users / EMR and Case Management Resources / eForms / eForms in development/beta testing / Useful Code / Greasemonkey Scripts / Greasemonkey Scripts for GM 4 / Greasemonkey Scripts for GM 4 from Stan Hurwitz December 2017
Navigation
 

Greasemonkey Scripts for GM 4 from Stan Hurwitz December 2017

These are updated greasemonkey scripts from Stan Hurwitz: ----- GM4 and Firefox quantum - what I've learnt so far ---- 1. GM 4 does not support for each... Use: for (var theOption of theOptions) 2. Legacy scripts such as Vb Trim() will break code (this slipped in on one of my lines). 3. To date GM4 does not support file import or export nor does it support local file import. Files need to be imported one at a time from a remote URL such as Github. 4. GM4 blocks calling a webpage function such as: getComment('ackLab') This needs to be changed to: unsafeWindow.getComment('ackLab') 5. Firefox quantum blocks imports of addons. To temporarily disable import block, see this link: https://github.com/greasemonkey/greasemonkey/issues/2631 (about:config - security.csp) 6. I have uploaded my GM scripts to Github. Click on the script name then click on RAW link. This will open a GM4 import dialog in Firefox quantum. You will have to uninstall Tampermonkey as the import will default to Tampermonkey rather than GM. https://github.com/DrStanMD/Oscar-GM4-scripts Alternatively add a new GM file and then replace the default with the new code. This is uncharted territory. All feedback and comments are appreciated!
Allergies_7
Adds Navigation buttons for NKDA and common allergies, Auto FLUSHOT button
BC Antenatal Record Updater
Auto populate BC-AR with measurements
Billing_Screen.user
Set start and end times with one click for time dependent billing codes
BillingDefaults.user
Sets the default billing physician and date today when billing from Master screen.
BMI_calculator_button.user
Calculates BMI, Converts to lbs, ins.
Colorize_Web_Text.user
Awaiting description from Stan
Consult_module_to_demographic_link.user
Button that opens demographic link
datepicker.user
adds a date picker to calendar fields
Demodetails_to_Echart.user
adds demographic data to the echart header. useful for filling out forms so you don't have to click back and forth between master and echart. need to edit the "url:" address to reflect the master page for your own OSCAR URL
Demographic_copy.user
Copies and pastes address/phone form master screen new demographic. Can be set to copy mum's PHN for newborn. Inserts Dymo label button.
Demographic_provider_update.user
Sets default provider doc for edit demographic screen
Double_click_for_bold.user
Double click to bold document label
DragDropToUpdate.user
for updating images in your image folder
Echart_Buttons.user
Various navigation buttons for echart screen. Set your own specific fid (form number) or Measurement groupName
EChart_KeyboardShortcuts.user
Various Echart shortcut buttons (Alt+ e,v,z,x,i,f,k,s,m,n,p,0,1,2,3,4,5,7). Set your own Measurement groupName and default population text.
Edit_Tickler_Screen_Button.user
Add 1, 2 and 3 month recall buttons to Ticklers
Expand_click.user_V3.user
Awaiting description from Stan
ExpressBilling.user
Skips the review step before submitting the billing
Favorite_Specialist.user
Copies Referral Doc details from the main list to your favorite specialist list
Fax_Ucantalk.user
awaiting description from Stan Hurwitz
Graphing_Measurements.user
awaiting description from Stan Hurwitz
Household_Linker.user
Simplifies switching to family charts and moving appt around
Image_Sort.user
Sorts Images
Inbox_lab_transcription_resize.user
Inbox lab transcription, Biilling screens,Notes resize
INR_automation.user
INR automation
Invoice1_Screen.user
Create multiline statements,Highlight flags
Invoice2_Receipt.user
Invoice2/Receipt Print notes
Invoice3_receive_payment.user
REceive payments
Lab Results Requiring a Pop Up Window
From Stanley Hurwitz: This past week, there was a FireFox Quantum security update which prevents GM4 from opening and populating a popup window.. To overcome this, I have created a new form called PopupWindow which is called by the GM scripts. Upload the form as usual. You will need to update the GM scripts with your system's specific form ID number. These are two very powerful scripts that I use all the time. 1. In the lab report view, you can view, fax or print all prior lab results for every test in the form. 2. In the cumulative view, from the echart you can list, view fax and print all prior labs (I have set a limit of 10 prior results - this can be changed). Labs can also be limited to different sets (CDM, inflammatory,hepatic, CBC, all)
labelprint.user
Set your own specific defaults for Oscar's native labels
Map_Unmapped_LoInc.user
Searches the unmapped LoInc codes for Add Measurement Mapping screen
measurementprint.user
Print button, Alt-s,Highlight RBS, Doubleclick for date
New_Demographic_Default_Provider.user
Sets default provider for New Demographic
New_Patient_Page.user
Paste copied demographic info to this demographic. Can be set to paste mum's PHN for newborn.
Not_assigned.user
Shortcut Buttons for filling fields on "Not assigned" scanned pages. You can assign your own labels
Oscar_Host_Demo_sign-in.user
Oscar host sign in
Prepayment_highlight.user
Receipt screen - Prepayment highlight
Preventions_Screen_Shortcuts.user
Shortcut key for save on Prevention screen (Alt-s), alpha sort
Preventions_year_picker.user
Lists years
Print_appointment.user
Copies details for print appointment label html eform (Set your own specific fid form number). Needs an eform to go with it.
Print_Current_Meds.user
Very large button to print current medications (eases locum frustration)
Print_for_audit.user
Awaiting description from Stan Hurwitz
Print_lab_grid.user
Print button for lab grid
Reason.user
Replaces Reason-for-visit to the line below. Adds Wait Time button
Referral_form_customize.user
awaiting description from Stan Hurwitz
reminders_.user
Adds Reminders for screening follow up,link to Rx and invoice
Report_by_Template.user
RBT alphabetical, Pass parameter to RBT
Report_Preview_Expander.user
Expands Report Preview window
RxPageShortcuts.user
Shortcut Alt-s for save prescription without printing, Print DymoLabel for Triple Rx
Scheduler_shortsut_keys.user
Shortcut keys for Schedular screen (Alt+z,j,k) for search,manage referral doc
Schedulerscreen_buttons.user
Adds navigation buttons to scheduler screen
ScratchPad_hotkey.user
Shortcut key for save on Scratch pad (Alt-s)
Search_Appointment_Default.user
Sets defaults for search appointment. Adds day of week to date
Search_Page.user
Clears search string on getfocus (you don't have to backspace to clear previous name). Alt-z shortcut to start over.
SendAndArchive.user
Adds Send and Archive button to the reply to messages page. This will no longer be needed in OSCAR 15
Set_Tickler_Default_Assign_To.user
Sets Tickler Default Assign To
Sets Tickler Default Assign To
Awaiting description from Stan Hurwitz
SocialHistoryInConsults.user
Puts a button in the consult form to add social history.
Split_Screen_to_Full_window.user
Opens split screen to full screen size
Test_Highlight.user
Highlights lines on Transcription reports and Names the Labs
Tickler_Edit_popup.user
This opens Tickler Edit screen from the encounter tickler with Audit Trail
Tickler_HyperlinkV1.user
Adds Hyperlink to Encounter Screen Tickler
Tickler_Screen_Buttons.user
Places Add, Delete, Complete buttons at top of screen, Echart link, high highlight
TicklerDefaults.user
Sets the default for Tickler SendTo, hyperlink to document, autotickler
Timer_suite.user
Record echart time
Transcription_fix.user.user
fixes Transcription screen and formats for printing
Transcription_screen_new.user
Adds annotation button for saving selected text to encounter screen
Additional Script for saving report to encounter pane
Created January 25th 2018. Fixes issues with previous script not copying the information so it can be saved to the encounter pane and fix for having to copy 1 line past the required information. Not a replacement script, and addition to the previous script - the copy and paste script (Transcription_screen_new.user.js).
Update_Service_Specialists_Button.user
awaiting description from Stan Hurwitz
WCB_form.user
Todays service date

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)