NAME
get_validate_CUI - Get the query CUI from calling program and validate the CUI.
SYNOPSIS
Basic Usage
use WebService::UMLS::get_validate_CUI;
print "\nEnter query CUI:";
my $cui = <>;
my $valid = new ValidateCUI;
my $isvalid_CUI = $valid->validateCUI($cui);
DESCRIPTION
This module has package ValidateCUI which has two subroutines 'new' and 'validateCUI'. This module takes the query CUI from calling program and validates it. It returns values depending on whether the query is valid or invalid CUI.
Methods
new: This sub creates a new object of ValidateCUI.
validateCUI: This sub takes the query CUI from calling program and validates it. It returns '2' if CUI is valid CUI. In the case of invalid CUI, it returns '10'.
SEE ALSO
authenticate_user.pm get_user_details.pm run_query.pm ws-getUMLSInfo.pl
AUTHORS
Mugdha Choudhari University of Minnesota Duluth <chou0130 at d.umn.edu>
Ted Pedersen, University of Minnesota Duluth <tpederse at d.umn.edu>
COPYRIGHT
Copyright (C) 2010, Mugdha Choudhari, Ted Pedersen
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.