The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

UMLS::Association::CuiFinder - provides the information about CUIs in the association database for the modules in the UMLS::Association package.

DESCRIPTION

For more information please see the UMLS::Association.pm documentation.

SYNOPSIS

 use UMLS::Association::CuiFinder;
 use UMLS::Association::ErrorHandler;

 %params = ();

 $cuifinder = UMLS::Association::CuiFinder->new(\%params);
 die "Unable to create UMLS::Association::CuiFinder object.\n" if(!$cuifinder);

 #  _getChildren returns all the concepts in the second 
 #  position where $concept is in the first
 $array = $cuifinder->_getChildren($concept);
 print "Children of $concept @{$array}\n";

 # _getParent returns all the concepts in the first 
 # position where $concept is in the second
 $array = $cuifinder->_getParents($concept);
 print "Parents of $concept: @{$array}\n\n";

 $bool = $cuifinder->_exists($concept);

INSTALL

To install the module, run the following magic commands:

    perl Makefile.PL
    make
    make test
    make install

This will install the module in the standard location. You will, most probably, require root privileges to install in standard system directories. To install in a non-standard directory, specify a prefix during the 'perl Makefile.PL' stage as:

    perl Makefile.PL PREFIX=/home/bridget

It is possible to modify other parameters during installation. The details of these can be found in the ExtUtils::MakeMaker documentation. However, it is highly recommended not messing around with other parameters, unless you know what you're doing.

SEE ALSO

AUTHOR

    Bridget T McInnes <bmcinnes@vcu.edu>

COPYRIGHT

    Copyright (c) 2015
    Bridget T. McInnes, Virginia Commonwealth University
    btmcinnes at vcu.edu

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to

    The Free Software Foundation, Inc.,
    59 Temple Place - Suite 330,
    Boston, MA  02111-1307, USA.