Scripts can be written to assist in monitoring literature across multiple resources. This example verifies a preferred drug name, supplements the search with CAS Registry Number and synonyms, and then removes duplicates from the results.
\* This script provided without warranty
\* Example script with multiple files and variable search terms
=> FILE HCAPLUS |
|
=> SET PLU OFF => SET EXPAND RENUMBER => SET DUPORDER FILE |
Scripts can edit user preferences such as handling plurals or restarting the E-numbers. |
ECHO “Please enter earliest Entry Date (YYYYMMDD)” GET _Timeframe Label= “Enter earliest Entry Date in YYYYMMDD format” |
|
ECHO “Please enter a drug name” GET _CAPLUSNAME Label= “Enter drug name” |
|
ECHO “Retrieving drug names from HCAplus” => e _CAPLUSNAME+use/ct => e _$ENUM+UF/CT |
|
ECHO “Retrieving the CAS Registry Number for your drug name” => FILE REGISTRY => S _CAPLUSNAME/CN => SEL RN\>_lnum3 |
|
=> FILE HCAPLUS => S (_lnum2 OR _lnum3) AND ED >=_Timeframe\>_lnum4 |
|
=> FILE EMBASE ECHO “Retrieving drug names from Embase” => e _CAPLUSNAME+use/ct => s _$ENUM => e _$ENUM+UF/CT => s (e1-_$ENUM/BI OR _lnum3) AND ED>=_Timeframe\>_lnum5 |
|
=> FILE MEDLINE ECHO “Retrieving drug names from Medline” => e _CAPLUSNAME+xuse/ct => s e1 => s (e1-_$ENUM/BI OR _lnum3) AND ED>=_Timeframe\>_lnum6 |
|
=> FILE HCAPLUS EMBASE MEDLINE => s _lnum4 OR _lnum5 OR _lnum6\>_lnum7 |
|
=> SET PLU LOGIN => SET EXPAND LOGIN => DUP REM _lnum7\>_lnum8 |
|
ECHO “Enter DISPLAY command including L-number, display format (e.g., BIB ABS) and number of records (enter 1- for all)” |
|