The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WebService::UMLSKS::DisplayInfo - Display the required information like definitions, CUI about the input term.

SYNOPSIS

Basic Usage

    use WebService::UMLSKS::DisplayInfo;
    use WebService::UMLSKS::Query;
    
    my $display_obj =  new DisplayInfo;
    my $query = new Query;
    
    my $object_ref = $query->runQuery($service, $qterm, 'getConceptProperties', {params});
    # object_ref is a hash reference returned by web service getConceptProperties.
    my $object_f = $display_obj->display_object($object_ref); 
   

DESCRIPTION

This module has package DisplayInfo which has subroutines 'new', format _object, format_scalar, format_homogenous_hash, format_homogenous_array and extract_object_class. This module displays required information about the concept.

SUBROUTINES

The subroutines are as follows:

new

This sub creates a new object of DisplayInfo.

display_object

This sub calls format_object.

format_object

This sub calls appropriate formatting sub.

format_scalar

This sub formats scalar object.

indent

This sub is used for indentation.

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.

SEE ALSO

ValidateTerm.pm GetUserData.pm 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) 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.