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

WebService::UMLSKS::GetParents - Fetches all the parent concepts for the input concept.

SYNOPSIS

Basic Usage

    use WebService::UMLSKS::GetParents;
    
    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.

SUBROUTINES

The subroutines are as follows:

new

This sub creates a new object of GetParents.

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.

indent

This sub is used for indentation.

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 removes exact reference of object.

SEE ALSO

ValidateCUI.pm GetUserData.pm Query.pm ws-getShortestPath.pl FindPaths.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.