« blib/lib/Paws/ComprehendMedical/Entity.pm
↑ Summary
blib/lib/Paws/ComprehendMedical/ICD10CMConcept.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::ComprehendMedical::ICD10CMAttribute; | ||
| 3 | use Moose; | ||
| 4 | has BeginOffset => (is => 'ro', isa => 'Int'); | ||
| 5 | has Category => (is => 'ro', isa => 'Str'); | ||
| 6 | has EndOffset => (is => 'ro', isa => 'Int'); | ||
| 7 | has Id => (is => 'ro', isa => 'Int'); | ||
| 8 | has RelationshipScore => (is => 'ro', isa => 'Num'); | ||
| 9 | has RelationshipType => (is => 'ro', isa => 'Str'); | ||
| 10 | has Score => (is => 'ro', isa => 'Num'); | ||
| 11 | has Text => (is => 'ro', isa => 'Str'); | ||
| 12 | has Traits => (is => 'ro', isa => 'ArrayRef[Paws::ComprehendMedical::ICD10CMTrait]'); | ||
| 13 | has Type => (is => 'ro', isa => 'Str'); | ||
| 14 | |||
| 15 | 1; | ||
| 16 | |||
| 17 | ### main pod documentation begin ### | ||
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | Paws::ComprehendMedical::ICD10CMAttribute | ||
| 22 | |||
| 23 | =head1 USAGE | ||
| 24 | |||
| 25 | This class represents one of two things: | ||
| 26 | |||
| 27 | =head3 Arguments in a call to a service | ||
| 28 | |||
| 29 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 30 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 31 | |||
| 32 | As an example, if Att1 is expected to be a Paws::ComprehendMedical::ICD10CMAttribute object: | ||
| 33 | |||
| 34 | $service_obj->Method(Att1 => { BeginOffset => $value, ..., Type => $value }); | ||
| 35 | |||
| 36 | =head3 Results returned from an API call | ||
| 37 | |||
| 38 | Use accessors for each attribute. If Att1 is expected to be an Paws::ComprehendMedical::ICD10CMAttribute object: | ||
| 39 | |||
| 40 | $result = $service_obj->Method(...); | ||
| 41 | $result->Att1->BeginOffset | ||
| 42 | |||
| 43 | =head1 DESCRIPTION | ||
| 44 | |||
| 45 | The detected attributes that relate to an entity. This includes an | ||
| 46 | extracted segment of the text that is an attribute of an entity, or | ||
| 47 | otherwise related to an entity. InferICD10CM detects the following | ||
| 48 | attributes: C<Direction>, C<System, Organ or Site>, and C<Acuity>. | ||
| 49 | |||
| 50 | =head1 ATTRIBUTES | ||
| 51 | |||
| 52 | |||
| 53 | =head2 BeginOffset => Int | ||
| 54 | |||
| 55 | The 0-based character offset in the input text that shows where the | ||
| 56 | attribute begins. The offset returns the UTF-8 code point in the | ||
| 57 | string. | ||
| 58 | |||
| 59 | |||
| 60 | =head2 Category => Str | ||
| 61 | |||
| 62 | The category of attribute. Can be either of C<DX_NAME> or | ||
| 63 | C<TIME_EXPRESSION>. | ||
| 64 | |||
| 65 | |||
| 66 | =head2 EndOffset => Int | ||
| 67 | |||
| 68 | The 0-based character offset in the input text that shows where the | ||
| 69 | attribute ends. The offset returns the UTF-8 code point in the string. | ||
| 70 | |||
| 71 | |||
| 72 | =head2 Id => Int | ||
| 73 | |||
| 74 | The numeric identifier for this attribute. This is a monotonically | ||
| 75 | increasing id unique within this response rather than a global unique | ||
| 76 | identifier. | ||
| 77 | |||
| 78 | |||
| 79 | =head2 RelationshipScore => Num | ||
| 80 | |||
| 81 | The level of confidence that Amazon Comprehend Medical has that this | ||
| 82 | attribute is correctly related to this entity. | ||
| 83 | |||
| 84 | |||
| 85 | =head2 RelationshipType => Str | ||
| 86 | |||
| 87 | The type of relationship between the entity and attribute. Type for the | ||
| 88 | relationship can be either of C<OVERLAP> or C<SYSTEM_ORGAN_SITE>. | ||
| 89 | |||
| 90 | |||
| 91 | =head2 Score => Num | ||
| 92 | |||
| 93 | The level of confidence that Amazon Comprehend Medical has that the | ||
| 94 | segment of text is correctly recognized as an attribute. | ||
| 95 | |||
| 96 | |||
| 97 | =head2 Text => Str | ||
| 98 | |||
| 99 | The segment of input text which contains the detected attribute. | ||
| 100 | |||
| 101 | |||
| 102 | =head2 Traits => ArrayRef[L<Paws::ComprehendMedical::ICD10CMTrait>] | ||
| 103 | |||
| 104 | The contextual information for the attribute. The traits recognized by | ||
| 105 | InferICD10CM are C<DIAGNOSIS>, C<SIGN>, C<SYMPTOM>, and C<NEGATION>. | ||
| 106 | |||
| 107 | |||
| 108 | =head2 Type => Str | ||
| 109 | |||
| 110 | The type of attribute. InferICD10CM detects entities of the type | ||
| 111 | C<DX_NAME>. | ||
| 112 | |||
| 113 | |||
| 114 | |||
| 115 | =head1 SEE ALSO | ||
| 116 | |||
| 117 | This class forms part of L<Paws>, describing an object used in L<Paws::ComprehendMedical> | ||
| 118 | |||
| 119 | =head1 BUGS and CONTRIBUTIONS | ||
| 120 | |||
| 121 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 122 | |||
| 123 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 124 | |||
| 125 | =cut | ||
| 126 |