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

NAME

WebService::ClinicalTrialsdotGov::Reply - Wrapper around the clinicaltrials.gov API

FUNCTIONS

new

Create a new instance of the reply object. Do not use this function directly.

get_study

   my $Study = $Results->get_study;

A series of accessors are provided:

   oversight_info
  detailed_description
  study_type
  primary_completion_date
  primary_outcome
  intervention
  intervention_browse
  has_expanded_access
  arm_group
  number_of_arms
  overall_official
  brief_title
  study_design
  location
  id_info
  firstreceived_date
  overall_contact
  overall_status
  verification_date
  source
  keyword
  sponsors
  official_title
  enrollment
  condition_browse
  brief_summary
  location_countries
  is_section_801
  secondary_outcome
  responsible_party
  eligibility
  phase
  lastchanged_date
  start_date
  is_fda_regulated
  required_header
  overall_contact_backup
  condition

This function returns a WebService::ClinicalTrialsdotGov::Study object for a single study. This function returns undef on error.

get_search_results

my $ra_all_obj = $Results->get_search_results;

A series of accessors are provided:

   last_changed
   condition_summary
   nct_id
   status
   order
   url
   title
   score
    

This function returns a reference to an array of WebService::ClinicalTrialsdotGov::SearchResult objects. The nct_id field can be used to obtain the data on individual studies. This function returns undef on error.

count_total

   my $num = $Results->count;

Returns the total number of search results reported by the API. This function returns undef on error.

count

   my $num = $Results->count;

Returns the total number of search results returned by the API. This function return undef on error.

AUTHOR

Spiros Denaxas, <s.denaxas at gmail.com>

BUGS

Please report any bugs or feature requests to bug-webservice-clinicaltrialsdotgov at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WebService-ClinicalTrialsdotGov. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc WebService::ClinicalTrialsdotGov

You can also look for information at:

COPYRIGHT & LICENSE

Copyright 2010 Spiros Denaxas, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.