NAME
GetParents- Fetches all the parent concepts for the input concept.
SYNOPSIS
Basic Usage
use WebService::UMLS::get_parents;
my $parents_ref = call_getconceptproperties($cui);# parents_ref is a hash reference
my $read_parents = new GetParents;
# $ref is a reference of an array of all parents' CUI for the input cui.
my $ref = $read_parents->read_object( $parents_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.
Methods
new: This sub creates a new object of GetParents.
indent : This sub is used to add indentation while displaying the information.
read_object: This sub reads hash reference object passed to this sub and fetches the required parents' information.
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.
Formatting Subs : format _object, format_scalar, format_homogenous_hash, format_homogenous_array and extract_object_class are different methods which access the information returned by the web service.
SEE ALSO
get_validate_CUI.pm get_user_details.pm run_query.pm ws-getShortestPath.pl find_shortest_path.pm
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.