WebService::UMLSKS::GetNeighbors - Fetches all the neighbor concepts for the input concept.
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 );
This module has package GetParents which has subroutines 'new', 'read_object','extract_object_class', 'format_object', 'format_homogeneous_hash', 'format_scalar', format_homogeneous_array.
The subroutines are as follows:
This sub creates a new object of GetNeighbors.
This sub reads hash reference object passed to this sub and fetches the required Neighbors' information.
This sub finds unique elements in an array.
This sub calls appropriate functions like format_homogenous_hash, format_scalar, format_homogenous_array depending on the object reference it is called with.
This sub formats scalar object.
This sub formats hash.
This sub formats array.
This sub is used to remove exact reference to object.
This sub prints argument hash.
ValidateTerm.pm GetUserData.pm Query.pm ws-getAllowablePath.pl
Mugdha Choudhari, University of Minnesota Duluth <chou0130 at d.umn.edu>
Ted Pedersen, University of Minnesota Duluth <tpederse at d.umn.edu>
Copyright (C) 2011, 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.