chromatic > XML-Parser-ClinicalTrials-Study-1.20140111 > XML::Parser::ClinicalTrials::Study

Download:
XML-Parser-ClinicalTrials-Study-1.20140111.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 1.20140111   Source  

NAME ^

XML::Parser::ClinicalTrials::Study - XML parser/representation for ClinicalTrials.gov data

SYNOPSIS ^

    use File::Slurp;
    use XML::Parser::ClinicalTrials::Study;

    # XML file downloaded from clinicaltrials.gov
    my $xml   = read_file( 'NCT00003095.xml', binmode => ':utf8' );
    my $study = XML::Parser::ClinicalTrials::Study->new( xml => $xml );

DESCRIPTION ^

The web site http://clinicaltrials.gov/ publishes information about pharmaceutical clinical trials. This module parses the XML files available for those trials into Moose objects with data accessors. For more details about the contents of these files, see the glossary of CT.gov site terms at http://www.clinicaltrials.gov/ct2/info/glossary.

ACCESSORS ^

Study instances have several accessors, both simple value accessors and object accessors.

Value Accessors

These accessors provide simple values. When a value is not present in the XML file, this accessor will return the empty string.

Object Accessors

These accessors provide array references of other Moose objects with their own accessors. Where a value is not present in the source XML file, the returned array reference will be empty.

NOTES ^

These modules don't represent all of the data found in CT.gov XML files. Patches welcome.

AUTHOR ^

chromatic <chromatic@cpan.org>, sponsored by Golden Guru (http://goldenguru.com/).

SEE ALSO ^

XML::Rabbit, WebService::ClinicalTrialsdotGov

LICENSE ^

This library is free software; you can redistribute it and/or modify it under the terms of the Artistic License, version 2.

syntax highlighting: