Merge E-order labs in Bp Premier

Database scripts are available to assist practices using laboratories that are E-ordering partners with Best Practice Software. The scripts can automate part of the E-ordering configuration process after upgrading to Bp Premier Saffron Service Pack 1:

Script

Description

Download

Merge eorder contacts

Automatically merges E-order lab contacts that already exist in your practice contact list with the corresponding lab defined in the E-order setup utility (if the lab is an onboarded eOrder Partner).

Run this script after hours to automatically perform most of the E-ordering configuration for onboarded labs.

Here

Display eOrder lab details

Displays relevant lab user preferences and lab details for lab contacts that already exist in your practice contact list.

Run this script at any time to obtain all configuration details prior to manually configuring onboarded E-ordering labs.

Here

Merge E-order contacts automatically

The Merge_eOrder_contacts.bpscript script merges E-order lab contacts that you have set up prior to Saffron SP1 with corresponding labs in the eOrder setup utility (if the lab has been onboarded as an E-ordering Bp Partner). This saves you having to configure E-order labs all over again after you upgrade.

The script also transfers user preferences and export paths that you have set up for the existing lab to the new E-order lab contact. A manual configuration does not transfer these details, only the script.

Before you begin

Merge_eOrder_contacts.bpscript must be run after hours because of the database changes required.

The following eOrder labs cannot be merged with this script due to multiple labs using the same NATA Code:

  • Douglass Hanly Moir Pathology
  • Barratt and Smith Pathology

Run the script

  1. Right-click the first Download link in the table above and select Save as or Save Link as to save the bpscript file to a known location. Copy this script to your Bp Premier server. Some browsers may alert that the file is a security risk. You can safely download and keep these script files.
  2. Download the Bp Script Runner utility. Instructions on how to download and run a bpscript file through the Script Runner are available here.
  3. Run Merge_eOrder_contacts.bpscript through Script Runner.
  4. A summary screen indicates success or failure and the new E-ordering records created:
    • Category — Indicates imaging or pathology provider
    • ExistingContactID — The Contact ID of the existing E-order lab contact
    • ExistingContact — The name of the existing E-order lab
    • NewContact — The name of the new E-order lab contact created through the merge
    • Status — Indicates success or failure and an explanation if failure occurred
    • eOrderPath — The E-order export path identified by the script from the existing lab. The export path is used for the new E-order contact if the merge was successful.

If any labs failed to merge successfully, you will have to manually configure the onboarded lab in Bp Premier Setup > E-ordering. The script in the section below can assist.

View details and merge contacts manually

The Display_Provider_Lab_Preferences.bpscript script displays collated details of E-order lab contacts that you have already set up, for convenient copying and pasting into the Setup E-ordering screen. This will make manual configuration easier.

You can run this script during normal business hours.

  1. Right-click the second Download link in the table above and select Save as or Save Link as to save the bpscript file to a known location. Copy this script to your Bp Premier server. Some browsers may alert that the file is a security risk. You can safely download and keep these script files.
  2. Download the Bp Script Runner utility. Instructions on how to download and run a bpscript file through the Script Runner are available here.
  3. Run Display_Provider_Lab_Preferences.bpscript through Script Runner. Script runner will return the details for existing lab contacts:
    • Title — Provider title
    • Firstname — Provider first name
    • Surname — Provider surname
    • eOrder Lab Name — Name of eOrder lab set up for provider
    • Preferred Lab — Indicates if eOrder lab is set as preferred lab for provider
    • Lab Type — Indicates if imaging or pathology lab
    • Lab Code — Records provider lab code for pathology lab if exists
    • Preferred Layout — The preferred layout for provider for imaging requests
    • Plain Paper — Indicates if providers uses plain paper layout for pathology requests
    • Paper Has Specimen Labels — Indicates if providers uses layout containing specimen layouts for pathology requests
    • Duplicate Section Down (mm) — Duplicate section coordinates if specimen labels layout is selected
    • Labels Down (mm) — Labels coordinates if specimen labels layout is selected
    • Lab Export Path — Export path of the eOrder lab
  4. Any text displayed can be copied and pasted directly into the Setup E-ordering screen in Bp Premier to set up the onboarded laboratory.

More information on setting up E-ordering for Saffron SP1 is available in the Bp Premier online knowledge base. Select Help > Online in the software.

 

Last updated:  15 June 2021