Scripts

Extensive pharma patent search - Test with Learning Files

This script searches the patents of one or more compounds in the cost saving Learning Files from HCAPLUS and WPINDEX. See also http://www.stn-scripts.ch/index.php/scripts/26 and http://www.stn-scripts.ch/index.php/scripts/45
Download: script27.sc [2.5kb]

\* ------------------------------------------------------------------
\* STN Express Script
\* Name:  pharmpat-test.sc
\* Function: Extensive pharma patent search (Test with Learning Files)
\* Author:  Andreas Litscher, InfoLit Infobroker GmbH, CH-Bern
\* Date:  19.12.2007
\* ------------------------------------------------------------------

=> file stnguide
=> set notice display 5000
=> set notice search 5000
=> set high on
=> set exp renum
=> set det on
=> set abbr off
=> set duporder file
=> set auhelp off

=> del his y;del exp y

_v1 = "bi"
_v2 = "cns"
_v3 = "cn"

echo ""
echo "DATA ENTRY: Type in the compound name"
echo "e.g. clenbuterol?"
echo "For more than one compound use brackets"
echo "e.g. (diazepam or nordazepam)"
echo ""
echo "**** USE DIAZEPAM FOR THE TEST IN THE LEARNING FILES ****"
echo ""
get _name

echo ""
echo "DATA ENTRY: Type in the search field (bi or cns or cn)."
echo "(bi = Basic Index Smallest segments)"
echo "(cns = Chemical Name Segment Natural segments)"
echo "(cn = Chemical Name Complete name)"
echo ""
echo "**** USE CN FOR THE TEST IN THE LEARNING FILES ****"
echo ""
get _feld

if _feld = _v1 GOTO @REG
if _feld = _v2 GOTO @REG
if _feld = _v3 GOTO @REG
ELSE GOTO @FFIELD

@reg
=> file lregistry
=> s _name/_feld \> _reg
IF (#_reg < 1) GOTO @ABORT
IF (#_reg > 100) GOTO @TOOMANY

=> file lca
=> s _reg \> _careg
=> tra _reg name \> _ca1
=> s _name \> _ca2
=> s _careg or _ca1 or _ca2 \> _res1
=> s _res1 and p/dt \> _capat
IF (#_capat < 1) GOTO @ABORT

=> fil lwpi
=> tra _capat pn,apps \> _traca
=> s _name/cns \> _dcr
=> s _dcr/dcr \> _wpi1
=> s _name \> _wpi2
=> s _traca or _wpi1 or _wpi2 \> _wpipat
IF (#_wpipat < 1) GOTO @ABORT

=> file lca
=> tra _wpipat pn,apps \> _res2
=> s _capat not _res2 \> _res

=> fil stnguide
=> d his ful
=> d his

echo ""
echo "Please use now the DISPLAY COMMAND"
echo "_wpipat contains documents from LWPI"
echo "(Command: d _wpipat AAA BBB y)."
echo "_res contains documents from LCA"
echo " (Command: d _res AAA BBB y)."
echo "AAA = Field or fields or display formats"
echo "BBB = Answer number(s)"
echo ""
GOTO @END

@ABORT
=> file stnguide
=> display history brief 1
echo ""
echo "NO DOCUMENT OR WRONG ENTRY -> ABORT"
GOTO @END

@FFIELD
echo ""
echo "Wrong field entry: There’s no field like _feld -> ABORT"
GOTO @END

@TOOMANY
=> file stnguide
=> display history brief 1
echo ""
echo "Too many documents -> ABORT"

@END
=>
EXIT

\* -----------------------------------------------------

Comments

wRscdd [url="http://pennyauctionsc.com/" href=http://pennyauctionsc.com>penny auctions</a> dpyikds
elccau <a ]penny auctions[/url] tEyQadq
sEtjQk [url="http://pellgrantapplicationa.com/" href=http://pellgrantapplicationa.com>pell grant application</a> QktXQXu
tcaZXq <a ]pell grant[/url] cuRQwel
dacayd [url="http://www.pellgranteligibilityb.com/" href=http://www.pellgranteligibilityb.com>pell grant eligibility</a> XduwAyQ
ckZdyo <a ]pell grant[/url] vcQiesk
pRctyj [url="http://redlandsliving.com/" href=http://redlandsliving.com>penny auctions</a> EuilRdc
XQvtil <a ]penny auctions[/url] qXduucE
Comment by DooldLara posted on 12/22/2011
shyQEp [url="http://saturnspringfield.com/" href=http://saturnspringfield.com>african mango</a> ajkQjvv
dEsliy <a ]african mango[/url] suqhAXe
Comment by african mango posted on 12/27/2011
dekaej [url="http://redlandsliving.com/" href=http://redlandsliving.com>penny auctions</a> EvciRyR
ajcQXt <a ]penny auctions[/url] RQRkhaA
qEsdac [url="http://paulchristenbury.com/" href=http://paulchristenbury.com>make money online</a> dAaedAQ
pdyEQi <a ]make money online[/url] RXajtsQ
Comment by DooldLara posted on 01/08/2012

Post a comment

Enter your comments to the field below.



Name (required):  
Email (required):  
Type the code:

  Save personal information
  Receive notifications for this comment