NAME

WebService::UMLSKS::GetNeighbors - Fetches all the neighbor concepts for the input concept.

SYNOPSIS

Basic Usage

    use WebService::UMLSKS::GetNeighbors;
    
    my $Neighbors_ref = call_getconceptproperties($cui);# Neighbors_ref is a hash reference
    my $read_Neighbors = new GetNeighbors;
    # $ref is a reference of an array of all Neighbors' CUI for the input cui.
    my $ref  = $read_Neighbors->read_object( $Neighbors_ref );   
	   

DESCRIPTION

This module has package GetParents which has subroutines 'new', 'read_object','extract_object_class', 'format_object', 'format_homogeneous_hash', 'format_scalar', format_homogeneous_array.

SUBROUTINES

The subroutines are as follows:

new

This sub creates a new object of GetNeighbors.

read_object

This sub reads hash reference object passed to this sub and fetches the required Neighbors' information.

findUnique

This sub finds unique elements in an array.

format_object

This sub calls appropriate functions like format_homogenous_hash, format_scalar, format_homogenous_array depending on the object reference it is called with.

format_scalar

This sub formats scalar object.

format_homogeneous_hash

This sub formats hash.

format_homogeneous_array

This sub formats array.

extract_object_class

This sub is used to remove exact reference to object.

printHash

This sub prints argument hash.

SEE ALSO

ValidateTerm.pm GetUserData.pm Query.pm ws-getAllowablePath.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.