BacLink and Meditech
WHO Collaborating Centre for
Surveillance of Antimicrobial Resistance
WHONET is a Windows-based database software developed for the management of microbiology laboratory data and the analysis of antimicrobial susceptibility test results. The software is available from of charge from the World Health Organization website: www.who.int/drugresistance/whonetsoftware, and is available in 17 languages.
Objectives of the software include:
WHONET can be used for manual data entry, especially in laboratories without an existing computer system for microbiology data. For laboratories which do have systems for managing their data, the BacLink software is a valuable tool which facilitates the extraction and conversion of data from a number of different sources into WHONET, avoiding the need to re-enter results. BacLink can convert data from a number of common commercial database and spreadsheet softwares, commercial susceptibility test instruments, and hospital and laboratory information systems. BacLink is also available free of charge from WHO, and downloads and installs automatically along with the WHONET software.
WHONET AND MEDITECH
The purpose of this document is to guide users of the Meditech laboratory information system through the export of data to WHONET. These instructions should prove a valuable resource for data managers who are completely unfamiliar with the Meditech report generation and data extraction utilites and a time-saver for data administrators who are.
We anticipate that these instructions should work well with Meditech Magic versions 4.8 and up. We have not yet developed guidelines for extraction of data from Meditech Client/Server. For Meditech users familiar with the creation of NPR reports, feel free to edit the reports to best suit your data management needs.
The instructions are divided into four parts:
1. Downloading and installing WHONET and BacLink
2. Exporting data with Meditech: You will use the Meditech NPR report generator to create a text file with the desired microbiological information.
3. Converting data with BacLink: BacLink will convert the file that you created with Meditech to a WHONET file
4. Getting started with WHONET
The frequency of data conversions depends on the local data analysis needs and interests. Many laboratories find that a weekly or monthly download is adequate for their infection control and quality assurance purposes, while less frequent analysis may be adequate if the principal use of the data is in following trends in resistance and guiding treatment recommendations. Automated daily downloads of data from Meditech into WHONET is also a possibility, but is not described in this manual.
For any assistance or clarifications required, please feel free to contact:
For Meditech-related issues:
Hillcrest Baptist Medical Center
P.O. Box 5100
Waco, Texas 76708
For BacLink and WHONET-related issues:
Co-Director, WHO Collaborating Centre for Surveillance of Antimicrobial Resistance
Brigham and Women’s Hospital
75 Francis Street
Boston, Massachusetts 02115
PART 1. DOWNLOADING AND INSTALLING WHONET AND BACLINK
The WHONET and BacLink softwares are available free-of-charge from the World Health Organization website: www.who.int/drugresistance/whonetsoftware
You will see a file called: whonet54setup.exe
Save this file onto your computer. Then double-click on the file to begin the installation process. This process will install both the WHONET and BacLink softwares, by default into the c:\whonet5 folder. When you complete the installation, you will see icons for WHONET and BacLink on your desktop. Manuals for both softwares can be found in c:\whonet5\docs.
PART 2. EXPORTING DATA WITH MEDITECH
1. Installing the BacLink NPR reports
After installing WHONET, you will find copies of two BacLink NPR files “meditec1” and “meditec2” in the subdirectory c:\whonet5\machines. If you do not know how to upload an NPR report into your Meditech system, consult with your IT support staff or contact John Ucci directly at the above e-mail. Most users with sufficient access will utilize the “Upload Reports from PC” option on the “NPR Customization Menu”, as illustrated in the figures below.
2. Selecting the Meditech data
Select the “BacLink NPR download” to run from either a menu or directly through the NPR Customization Process Reports routine. The date selection window appears:
From Collection Date
Thru Collection Date
Note that the date range selection is by specimen Collection Date
3. Creating the data file
After entering the date range selection, the Print On window appears.
There are three options at this point: DOWNLOAD, SPOOL and SCHED. Alternatively, automated transfer to an FTP site is also possible.
If DOWNLOAD is selected, a Suppress: Nothing, Page banners, Form feeds, or Both? window may appear. Select N.
The Save As window opens. Direct the report to the location you wish to store the downloaded data. This location will vary from site to site. Important: Remember the location you save the download file to and be consistent in using the same location. The location can be on the local hard drive (C:\) or on a network (\\servername\) where “servername” represents the local server storing the data.
The downloaded files are conveniently saved to the WHONET data directory or another directory of the users choice. For example: C:\whonet5\data or \\servername\whonet5\data or \\servername\whonet5\download.
Once the file location is selected, enter a valid Windows file name. Since the export files will have a text file structure, you may wish to include the extension “.txt”, “.csv” or “.dat”. Try to use a consistent naming convention. For example, if the data are downloaded monthly, appropriate names for the January 2003 data file include: jan2003.txt, w0103.txt, micro_2003.01, etc.
Click “Save” to save the file to the selected location. Note: Be careful that an existing file name is not used. There is no warning message provided and previously saved data can be overwritten. Depending on the selected date range, the report will take a few seconds to a few minutes to complete.
Once the data are downloaded to a file, End Of Report appears.
3b. Spool or Sched
If a download file is printed to SPOOL (saved as a spool file) or SCHED (assigned to a print schedule) consult the MEDITECH information systems contact for your department to help in configuring these options.
A data file can be scheduled to download directly to a specified location on a local hard drive or network server by configuring a FTP host in MEDITECH (Version 4.9 and higher). Again, discuss this option with the MEDITECH IS analyst.
PART 3. CONVERTING THE FILE WITH BACLINK
Now that you have created a data file with the desired data from the Meditech system, BacLink can be used to convert this export file to the WHONET file format. The below instructions are meant as a quick guide. Detailed instructions can be found in the BacLink manual, baclink2manual.doc, by default in the folder: c:\whonet5\docs.
Start the BacLink program by double-clicking on the BacLink shortcut icon installed on your desktop. The BacLink program screen appears.
1. Configuring BacLink for Meditech data
The first time that you use BacLink, you will the tell the software what kind of data file you would like to import, as well as the name and a code for your laboratory.
Click on the New Format button. The File Format screen opens.
From the drop down box, select the Country: for example, United States.
Enter the Laboratory Name – the name of your laboratory, for example Boston General Hospital. If you will potentially import data from a number of different sources (Meditech, Excel, etc.), you may wish to indicate this in the laboratory name, for example Boston General Hospital (Meditech).
Enter up to three characters for the Laboratory Code, for example BGH. The laboratory code that you indicate will be used by BacLink and WHONET as the default file extension for your WHONET data files.
Click on the File Structure button, and the below screen will appear. Set the selections as follows:
File Structure – Meditech
File Location – Indicate the folder where you plan to save your downloaded Meditech files. c:\whonet5\data is the default location suggested by BacLink, but any convenient location can be used. In many institutions, data files are placed in a folder on a central server.
File Name – If your downloaded data files will generally end in “.txt”, then leave the default response as “*.txt”. Otherwise, indicate an appropriate filter which will facilitate finding your data files, for example: “*.*”, “*.csv”, “micro*.*”, etc. If the name of the downloaded data file will not change over time, you may indicate the fixed name, for example: “download.txt”
File Origin – DOS (ASCII)
Click on the OK button.
Though not required, you may wish to click on the New data file button. On this screen, you can indicate the default data File location for your new WHONET files. By default, BacLink will put the WHONET files in the same location as your original Meditech files. You can also indicate the name of the WHONET file that you will create, though it is generally more convenient to give a file name later, just before a file conversion, and not here on this screen. The default WHONET file name will have the three-letter laboratory code as the file extension.
Click on the OK button.
Click on Save. Give a name to the BacLink configuration file, which will save the above-indicated user selections, for example “bwh.cfg” or “meditech download.cfg”. You may give any valid Windows file name. BacLink will add “.cfg” as a file extension to indicate to BacLink that this is a configuration file.
Click on Exit. This will return you to the main BacLink screen. Your newly defined file format will appear on the list of formats available to you.
2. Converting data with BacLink
From the main BacLink screen, click on the File Format configured in the previous step. On the BacLink 2 screen under “Original data file”, “File name”, select the download file to be converted. Example c:\whonet5\data\jan2003.txt.
New data file
Enter a name for the new WHONET data file that you wish to create with your converted data. Example: c:\whonet5\data\jan2003.xxx, where ‘xxx’ refers to your three-letter laboratory code. Your screen should then look similar to the following:
Click on Begin Conversion. BacLink begins converting the downloaded delimited file to a WHONET 5 file. BacLink will show you the first three isolates to permit a visual inspection of the accuracy of the conversion. The information from your data file, as read by BacLink, appears to the left of the screen. The information which will be saved in the WHONET file appears to the right of the screen. Where appropriate, WHONET will change your codes and formats to those used by WHONET.
If you notice any discrepancies or errors in the field mappings, you may correct these from the main BacLink screen using “Edit format”. Click “Next” to advance through the first three isolates. BacLink will then continue until the file is completely converted.
If BacLink does not understand some of the data codes in your file, the program asks whether you would like to define the unrecognized codes. If you answer Yes, you will be shown a list of the various organism, antibiotic, specimen type, location, gender, and test result codes that could not be understand. Click on a variable of interest, such as “Organism”, and click Define codes.
You will subsequently be shown a list of each of the unrecognized code. Select a code and click Define code. For most variables (except Location), you will be asked to select the matching or closest term from a list of WHONET codes. For Location, you will have the option of defining the patient department and type (inpatient, outpatient, ICU, etc.). Continue defining codes until you have defined all, or at least the most important and frequent, data elements. When finished, click “OK”, “OK” to return to the main BacLink screen.
If you have defined some additional codes, you should then convert the same file a second time in order to include the new code matchings in the converted data file. When finished with BacLink, click Exit.
PART 4. GETTING STARTED WITH WHONET
Now that you have created a valid WHONET file using BacLink and your Meditech data, you can proceed to WHONET. For details on the use of WHONET, consult the manual WHONET 5.0 whonet5manual.doc, as well as available update pages describing the enhancements of further versions of the software.
1. Creating a laboratory configuration
To begin using WHONET, you must first create a “Laboratory configuration” with descriptive information about your laboratory -- antibiotics, breakpoints, patient locations, etc. For laboratories not using BacLink, this is typically done with a feature called New laboratory. However, for users of BacLink, there is a shortcut available called Create a laboratory from a data file.
Double-click on the WHONET icon. You will be shown a list of WHONET laboratories defined on your computer (with the default installation, you will see a single laboratory – “USA Test Hospital”). To access the aforementioned shortcut, click on Cancel. Then click File from the main WHONET menu, and then the option Create a laboratory from a data file.
You will be requested to indicate your country, laboratory name, and laboratory code. Enter the responses using the same country and laboratory code which you selected in BacLink.
You will then be requested to select a valid WHONET data file. Search and select for the file which you created above using BacLink. Then click OK. At this point, WHONET will scan the contents of this file – antibiotics, location codes, etc. – and create a valid WHONET laboratory configuration. When requested, you can click Yes if you want to review the details of the configuration. Otherwise, click No, and you can continue with Data analysis.
Note: After creating the configuration utilizing the here-described shortcut, further edits, such as any modifications to the antibiotic breakpoints, can be done with Modify laboratory.
2. Using WHONET
Once you have defined a laboratory configuration, it will appear in the list of laboratories when you enter WHONET. Click on your laboratory name. For data entry or data analysis options, click on Open laboratory. If you wish to modify the laboratory information in the configuration, click on Modify laboratory. For use of the WHONET analysis features, explore the screen display and/or consult the manual.