blib/lib/Paws/ComprehendMedical/RxNormAttribute.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 12 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::ComprehendMedical::RxNormAttribute;
3 use Moose;
4 has BeginOffset => (is => 'ro', isa => 'Int');
5 has EndOffset => (is => 'ro', isa => 'Int');
6 has Id => (is => 'ro', isa => 'Int');
7 has RelationshipScore => (is => 'ro', isa => 'Num');
8 has Score => (is => 'ro', isa => 'Num');
9 has Text => (is => 'ro', isa => 'Str');
10 has Traits => (is => 'ro', isa => 'ArrayRef[Paws::ComprehendMedical::RxNormTrait]');
11 has Type => (is => 'ro', isa => 'Str');
12  
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::ComprehendMedical::RxNormAttribute
20  
21 =head1 USAGE
22  
23 This class represents one of two things:
24  
25 =head3 Arguments in a call to a service
26  
27 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
28 Each attribute should be used as a named argument in the calls that expect this type of object.
29  
30 As an example, if Att1 is expected to be a Paws::ComprehendMedical::RxNormAttribute object:
31  
32 $service_obj->Method(Att1 => { BeginOffset => $value, ..., Type => $value });
33  
34 =head3 Results returned from an API call
35  
36 Use accessors for each attribute. If Att1 is expected to be an Paws::ComprehendMedical::RxNormAttribute object:
37  
38 $result = $service_obj->Method(...);
39 $result->Att1->BeginOffset
40  
41 =head1 DESCRIPTION
42  
43 The extracted attributes that relate to this entity. The attributes
44 recognized by InferRxNorm are C<DOSAGE>, C<DURATION>, C<FORM>,
45 C<FREQUENCY>, C<RATE>, C<ROUTE_OR_MODE>.
46  
47 =head1 ATTRIBUTES
48  
49  
50 =head2 BeginOffset => Int
51  
52 The 0-based character offset in the input text that shows where the
53 attribute begins. The offset returns the UTF-8 code point in the
54 string.
55  
56  
57 =head2 EndOffset => Int
58  
59 The 0-based character offset in the input text that shows where the
60 attribute ends. The offset returns the UTF-8 code point in the string.
61  
62  
63 =head2 Id => Int
64  
65 The numeric identifier for this attribute. This is a monotonically
66 increasing id unique within this response rather than a global unique
67 identifier.
68  
69  
70 =head2 RelationshipScore => Num
71  
72 The level of confidence that Amazon Comprehend Medical has that the
73 attribute is accurately linked to an entity.
74  
75  
76 =head2 Score => Num
77  
78 The level of confidence that Comprehend Medical has that the segment of
79 text is correctly recognized as an attribute.
80  
81  
82 =head2 Text => Str
83  
84 The segment of input text which corresponds to the detected attribute.
85  
86  
87 =head2 Traits => ArrayRef[L<Paws::ComprehendMedical::RxNormTrait>]
88  
89 Contextual information for the attribute. InferRxNorm recognizes the
90 trait C<NEGATION> for attributes, i.e. that the patient is not taking a
91 specific dose or form of a medication.
92  
93  
94 =head2 Type => Str
95  
96 The type of attribute. The types of attributes recognized by
97 InferRxNorm are C<BRAND_NAME> and C<GENERIC_NAME>.
98  
99  
100  
101 =head1 SEE ALSO
102  
103 This class forms part of L<Paws>, describing an object used in L<Paws::ComprehendMedical>
104  
105 =head1 BUGS and CONTRIBUTIONS
106  
107 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
108  
109 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
110  
111 =cut
112