Study/Location.pm

filter: Statementstmt 100% 19 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 23 / 23 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Study/Link.pm ↑ Summary Study/MeSHTerm.pm »
1 package XML::Parser::ClinicalTrials::Study::Location;
2 {
3 1 $XML::Parser::ClinicalTrials::Study::Location::VERSION = '1.20140111';
4 }
5  
6 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 1 ▶use XML::Rabbit;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 1 ▶use constant PREFIX => 'XML::Parser::ClinicalTrials::Study';
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 1 has_xpath_value term => './mesh_term';
13 1 has_xpath_object_list investigators => './investigator'
14 => PREFIX . '::Location';
15 1 has_xpath_object_list contacts => './contact'
16 => PREFIX . '::Contact';
17 1 has_xpath_object_list facilities => './facility'
18 => PREFIX . '::Facility';
19  
20 1 finalize_class();
21  
22 __END__
23 =pod
24  
25 =head1 NAME
26  
27 XML::Parser::ClinicalTrials::Study::Location - XML representation of ClinicalTrials study location data
28  
29 =head1 SYNOPSIS and DESCRIPTION
30  
31 See L<XML::Parser::ClinicalTrials::Study>.
32  
33 =head1 ACCESSORS
34  
35 Location instances have one value accessor, C<term>.
36  
37 =head2 Object Accessors
38  
39 These accessors provide array references of other Moose objects with their own
40 accessors. Where a value is not present in the source XML file, the returned
41 array reference will be empty.
42  
43 =over 4
44  
45 =item * investigators
46  
47 An array reference of L<XML::Parser::ClinicalTrials::Study::Location> objects.
48  
49 =item * contacts
50  
51 An array reference of L<XML::Parser::ClinicalTrials::Study::Contact> objects.
52  
53 =item * facilities
54  
55 An array reference of L<XML::Parser::ClinicalTrials::Study::Facility> objects.
56  
57 =back
58  
59 =head1 AUTHOR
60  
61 chromatic E<lt>chromatic@cpan.orgE<gt>, sponsored by Golden Guru
62 (L<http://goldenguru.com/>).
63  
64 =head1 LICENSE
65  
66 This library is free software; you can redistribute it and/or modify it under
« Study/Link.pm ↑ Summary Study/MeSHTerm.pm »