blib/lib/Paws/ComprehendMedical.pm untested

filter: Statementstmt 0.0% 0 / 78 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 28 Podpod 0.0% 0 / 27 totaltotal 0.0% 0 / 133 CC 1 SCAR 6.9
CC
1
Cov
0%
service
2.0
signing_name
2.0
version
2.0
CRAP 2.0
1 package Paws::ComprehendMedical;
2 use Moose;
3 sub service { 'comprehendmedical' }
4 sub signing_name { 'comprehendmedical' }
5 sub version { '2018-10-30' }
6 sub target_prefix { 'ComprehendMedical_20181030' }
7 sub json_version { "1.1" }
8 has max_attempts => (is => 'ro', isa => 'Int', default => 5);
9 has retry => (is => 'ro', isa => 'HashRef', default => sub {
10 { base => 'rand', type => 'exponential', growth_factor => 2 }
11 });
12 has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [
13 ] });
14  
15 with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::JsonCaller';
16  
17
18 sub DescribeEntitiesDetectionV2Job {
19 my $self = shift;
20 my $call_object = $self->new_with_coercions('Paws::ComprehendMedical::DescribeEntitiesDetectionV2Job', @_);
21 return $self->caller->do_call($self, $call_object);
22 }
23 sub DescribeICD10CMInferenceJob {
24 my $self = shift;
25 my $call_object = $self->new_with_coercions('Paws::ComprehendMedical::DescribeICD10CMInferenceJob', @_);
26 return $self->caller->do_call($self, $call_object);
27 }
28 sub DescribePHIDetectionJob {
29 my $self = shift;
30 my $call_object = $self->new_with_coercions('Paws::ComprehendMedical::DescribePHIDetectionJob', @_);
31 return $self->caller->do_call($self, $call_object);
32 }
33 sub DescribeRxNormInferenceJob {
34 my $self = shift;
35 my $call_object = $self->new_with_coercions('Paws::ComprehendMedical::DescribeRxNormInferenceJob', @_);
36 return $self->caller->do_call($self, $call_object);
37 }
38 sub DetectEntities {
39 my $self = shift;
40 my $call_object = $self->new_with_coercions('Paws::ComprehendMedical::DetectEntities', @_);
41 return $self->caller->do_call($self, $call_object);
42 }
43 sub DetectEntitiesV2 {
44 my $self = shift;
45 my $call_object = $self->new_with_coercions('Paws::ComprehendMedical::DetectEntitiesV2', @_);
46 return $self->caller->do_call($self, $call_object);
47 }
48 sub DetectPHI {
49 my $self = shift;
50 my $call_object = $self->new_with_coercions('Paws::ComprehendMedical::DetectPHI', @_);
51 return $self->caller->do_call($self, $call_object);
52 }
53 sub InferICD10CM {
54 my $self = shift;
55 my $call_object = $self->new_with_coercions('Paws::ComprehendMedical::InferICD10CM', @_);
56 return $self->caller->do_call($self, $call_object);
57 }
58 sub InferRxNorm {
59 my $self = shift;
60 my $call_object = $self->new_with_coercions('Paws::ComprehendMedical::InferRxNorm', @_);
61 return $self->caller->do_call($self, $call_object);
62 }
63 sub ListEntitiesDetectionV2Jobs {
64 my $self = shift;
65 my $call_object = $self->new_with_coercions('Paws::ComprehendMedical::ListEntitiesDetectionV2Jobs', @_);
66 return $self->caller->do_call($self, $call_object);
67 }
68 sub ListICD10CMInferenceJobs {
69 my $self = shift;
70 my $call_object = $self->new_with_coercions('Paws::ComprehendMedical::ListICD10CMInferenceJobs', @_);
71 return $self->caller->do_call($self, $call_object);
72 }
73 sub ListPHIDetectionJobs {
74 my $self = shift;
75 my $call_object = $self->new_with_coercions('Paws::ComprehendMedical::ListPHIDetectionJobs', @_);
76 return $self->caller->do_call($self, $call_object);
77 }
78 sub ListRxNormInferenceJobs {
79 my $self = shift;
80 my $call_object = $self->new_with_coercions('Paws::ComprehendMedical::ListRxNormInferenceJobs', @_);
81 return $self->caller->do_call($self, $call_object);
82 }
83 sub StartEntitiesDetectionV2Job {
84 my $self = shift;
85 my $call_object = $self->new_with_coercions('Paws::ComprehendMedical::StartEntitiesDetectionV2Job', @_);
86 return $self->caller->do_call($self, $call_object);
87 }
88 sub StartICD10CMInferenceJob {
89 my $self = shift;
90 my $call_object = $self->new_with_coercions('Paws::ComprehendMedical::StartICD10CMInferenceJob', @_);
91 return $self->caller->do_call($self, $call_object);
92 }
93 sub StartPHIDetectionJob {
94 my $self = shift;
95 my $call_object = $self->new_with_coercions('Paws::ComprehendMedical::StartPHIDetectionJob', @_);
96 return $self->caller->do_call($self, $call_object);
97 }
98 sub StartRxNormInferenceJob {
99 my $self = shift;
100 my $call_object = $self->new_with_coercions('Paws::ComprehendMedical::StartRxNormInferenceJob', @_);
101 return $self->caller->do_call($self, $call_object);
102 }
103 sub StopEntitiesDetectionV2Job {
104 my $self = shift;
105 my $call_object = $self->new_with_coercions('Paws::ComprehendMedical::StopEntitiesDetectionV2Job', @_);
106 return $self->caller->do_call($self, $call_object);
107 }
108 sub StopICD10CMInferenceJob {
109 my $self = shift;
110 my $call_object = $self->new_with_coercions('Paws::ComprehendMedical::StopICD10CMInferenceJob', @_);
111 return $self->caller->do_call($self, $call_object);
112 }
113 sub StopPHIDetectionJob {
114 my $self = shift;
115 my $call_object = $self->new_with_coercions('Paws::ComprehendMedical::StopPHIDetectionJob', @_);
116 return $self->caller->do_call($self, $call_object);
117 }
118 sub StopRxNormInferenceJob {
119 my $self = shift;
120 my $call_object = $self->new_with_coercions('Paws::ComprehendMedical::StopRxNormInferenceJob', @_);
121 return $self->caller->do_call($self, $call_object);
122 }
123
124  
125  
126 sub operations { qw/DescribeEntitiesDetectionV2Job DescribeICD10CMInferenceJob DescribePHIDetectionJob DescribeRxNormInferenceJob DetectEntities DetectEntitiesV2 DetectPHI InferICD10CM InferRxNorm ListEntitiesDetectionV2Jobs ListICD10CMInferenceJobs ListPHIDetectionJobs ListRxNormInferenceJobs StartEntitiesDetectionV2Job StartICD10CMInferenceJob StartPHIDetectionJob StartRxNormInferenceJob StopEntitiesDetectionV2Job StopICD10CMInferenceJob StopPHIDetectionJob StopRxNormInferenceJob / }
127  
128 1;
129  
130 ### main pod documentation begin ###
131  
132 =head1 NAME
133  
134 Paws::ComprehendMedical - Perl Interface to AWS AWS Comprehend Medical
135  
136 =head1 SYNOPSIS
137  
138 use Paws;
139  
140 my $obj = Paws->service('ComprehendMedical');
141 my $res = $obj->Method(
142 Arg1 => $val1,
143 Arg2 => [ 'V1', 'V2' ],
144 # if Arg3 is an object, the HashRef will be used as arguments to the constructor
145 # of the arguments type
146 Arg3 => { Att1 => 'Val1' },
147 # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
148 # the constructor of the arguments type
149 Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
150 );
151  
152 =head1 DESCRIPTION
153  
154 Amazon Comprehend Medical extracts structured information from
155 unstructured clinical text. Use these actions to gain insight in your
156 documents.
157  
158 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30>
159  
160  
161 =head1 METHODS
162  
163 =head2 DescribeEntitiesDetectionV2Job
164  
165 =over
166  
167 =item JobId => Str
168  
169  
170 =back
171  
172 Each argument is described in detail in: L<Paws::ComprehendMedical::DescribeEntitiesDetectionV2Job>
173  
174 Returns: a L<Paws::ComprehendMedical::DescribeEntitiesDetectionV2JobResponse> instance
175  
176 Gets the properties associated with a medical entities detection job.
177 Use this operation to get the status of a detection job.
178  
179  
180 =head2 DescribeICD10CMInferenceJob
181  
182 =over
183  
184 =item JobId => Str
185  
186  
187 =back
188  
189 Each argument is described in detail in: L<Paws::ComprehendMedical::DescribeICD10CMInferenceJob>
190  
191 Returns: a L<Paws::ComprehendMedical::DescribeICD10CMInferenceJobResponse> instance
192  
193 Gets the properties associated with an InferICD10CM job. Use this
194 operation to get the status of an inference job.
195  
196  
197 =head2 DescribePHIDetectionJob
198  
199 =over
200  
201 =item JobId => Str
202  
203  
204 =back
205  
206 Each argument is described in detail in: L<Paws::ComprehendMedical::DescribePHIDetectionJob>
207  
208 Returns: a L<Paws::ComprehendMedical::DescribePHIDetectionJobResponse> instance
209  
210 Gets the properties associated with a protected health information
211 (PHI) detection job. Use this operation to get the status of a
212 detection job.
213  
214  
215 =head2 DescribeRxNormInferenceJob
216  
217 =over
218  
219 =item JobId => Str
220  
221  
222 =back
223  
224 Each argument is described in detail in: L<Paws::ComprehendMedical::DescribeRxNormInferenceJob>
225  
226 Returns: a L<Paws::ComprehendMedical::DescribeRxNormInferenceJobResponse> instance
227  
228 Gets the properties associated with an InferRxNorm job. Use this
229 operation to get the status of an inference job.
230  
231  
232 =head2 DetectEntities
233  
234 =over
235  
236 =item Text => Str
237  
238  
239 =back
240  
241 Each argument is described in detail in: L<Paws::ComprehendMedical::DetectEntities>
242  
243 Returns: a L<Paws::ComprehendMedical::DetectEntitiesResponse> instance
244  
245 The C<DetectEntities> operation is deprecated. You should use the
246 DetectEntitiesV2 operation instead.
247  
248 Inspects the clinical text for a variety of medical entities and
249 returns specific information about them such as entity category,
250 location, and confidence score on that information .
251  
252  
253 =head2 DetectEntitiesV2
254  
255 =over
256  
257 =item Text => Str
258  
259  
260 =back
261  
262 Each argument is described in detail in: L<Paws::ComprehendMedical::DetectEntitiesV2>
263  
264 Returns: a L<Paws::ComprehendMedical::DetectEntitiesV2Response> instance
265  
266 Inspects the clinical text for a variety of medical entities and
267 returns specific information about them such as entity category,
268 location, and confidence score on that information. Amazon Comprehend
269 Medical only detects medical entities in English language texts.
270  
271 The C<DetectEntitiesV2> operation replaces the DetectEntities
272 operation. This new action uses a different model for determining the
273 entities in your medical text and changes the way that some entities
274 are returned in the output. You should use the C<DetectEntitiesV2>
275 operation in all new applications.
276  
277 The C<DetectEntitiesV2> operation returns the C<Acuity> and
278 C<Direction> entities as attributes instead of types.
279  
280  
281 =head2 DetectPHI
282  
283 =over
284  
285 =item Text => Str
286  
287  
288 =back
289  
290 Each argument is described in detail in: L<Paws::ComprehendMedical::DetectPHI>
291  
292 Returns: a L<Paws::ComprehendMedical::DetectPHIResponse> instance
293  
294 Inspects the clinical text for protected health information (PHI)
295 entities and returns the entity category, location, and confidence
296 score for each entity. Amazon Comprehend Medical only detects entities
297 in English language texts.
298  
299  
300 =head2 InferICD10CM
301  
302 =over
303  
304 =item Text => Str
305  
306  
307 =back
308  
309 Each argument is described in detail in: L<Paws::ComprehendMedical::InferICD10CM>
310  
311 Returns: a L<Paws::ComprehendMedical::InferICD10CMResponse> instance
312  
313 InferICD10CM detects medical conditions as entities listed in a patient
314 record and links those entities to normalized concept identifiers in
315 the ICD-10-CM knowledge base from the Centers for Disease Control.
316 Amazon Comprehend Medical only detects medical entities in English
317 language texts.
318  
319  
320 =head2 InferRxNorm
321  
322 =over
323  
324 =item Text => Str
325  
326  
327 =back
328  
329 Each argument is described in detail in: L<Paws::ComprehendMedical::InferRxNorm>
330  
331 Returns: a L<Paws::ComprehendMedical::InferRxNormResponse> instance
332  
333 InferRxNorm detects medications as entities listed in a patient record
334 and links to the normalized concept identifiers in the RxNorm database
335 from the National Library of Medicine. Amazon Comprehend Medical only
336 detects medical entities in English language texts.
337  
338  
339 =head2 ListEntitiesDetectionV2Jobs
340  
341 =over
342  
343 =item [Filter => L<Paws::ComprehendMedical::ComprehendMedicalAsyncJobFilter>]
344  
345 =item [MaxResults => Int]
346  
347 =item [NextToken => Str]
348  
349  
350 =back
351  
352 Each argument is described in detail in: L<Paws::ComprehendMedical::ListEntitiesDetectionV2Jobs>
353  
354 Returns: a L<Paws::ComprehendMedical::ListEntitiesDetectionV2JobsResponse> instance
355  
356 Gets a list of medical entity detection jobs that you have submitted.
357  
358  
359 =head2 ListICD10CMInferenceJobs
360  
361 =over
362  
363 =item [Filter => L<Paws::ComprehendMedical::ComprehendMedicalAsyncJobFilter>]
364  
365 =item [MaxResults => Int]
366  
367 =item [NextToken => Str]
368  
369  
370 =back
371  
372 Each argument is described in detail in: L<Paws::ComprehendMedical::ListICD10CMInferenceJobs>
373  
374 Returns: a L<Paws::ComprehendMedical::ListICD10CMInferenceJobsResponse> instance
375  
376 Gets a list of InferICD10CM jobs that you have submitted.
377  
378  
379 =head2 ListPHIDetectionJobs
380  
381 =over
382  
383 =item [Filter => L<Paws::ComprehendMedical::ComprehendMedicalAsyncJobFilter>]
384  
385 =item [MaxResults => Int]
386  
387 =item [NextToken => Str]
388  
389  
390 =back
391  
392 Each argument is described in detail in: L<Paws::ComprehendMedical::ListPHIDetectionJobs>
393  
394 Returns: a L<Paws::ComprehendMedical::ListPHIDetectionJobsResponse> instance
395  
396 Gets a list of protected health information (PHI) detection jobs that
397 you have submitted.
398  
399  
400 =head2 ListRxNormInferenceJobs
401  
402 =over
403  
404 =item [Filter => L<Paws::ComprehendMedical::ComprehendMedicalAsyncJobFilter>]
405  
406 =item [MaxResults => Int]
407  
408 =item [NextToken => Str]
409  
410  
411 =back
412  
413 Each argument is described in detail in: L<Paws::ComprehendMedical::ListRxNormInferenceJobs>
414  
415 Returns: a L<Paws::ComprehendMedical::ListRxNormInferenceJobsResponse> instance
416  
417 Gets a list of InferRxNorm jobs that you have submitted.
418  
419  
420 =head2 StartEntitiesDetectionV2Job
421  
422 =over
423  
424 =item DataAccessRoleArn => Str
425  
426 =item InputDataConfig => L<Paws::ComprehendMedical::InputDataConfig>
427  
428 =item LanguageCode => Str
429  
430 =item OutputDataConfig => L<Paws::ComprehendMedical::OutputDataConfig>
431  
432 =item [ClientRequestToken => Str]
433  
434 =item [JobName => Str]
435  
436 =item [KMSKey => Str]
437  
438  
439 =back
440  
441 Each argument is described in detail in: L<Paws::ComprehendMedical::StartEntitiesDetectionV2Job>
442  
443 Returns: a L<Paws::ComprehendMedical::StartEntitiesDetectionV2JobResponse> instance
444  
445 Starts an asynchronous medical entity detection job for a collection of
446 documents. Use the C<DescribeEntitiesDetectionV2Job> operation to track
447 the status of a job.
448  
449  
450 =head2 StartICD10CMInferenceJob
451  
452 =over
453  
454 =item DataAccessRoleArn => Str
455  
456 =item InputDataConfig => L<Paws::ComprehendMedical::InputDataConfig>
457  
458 =item LanguageCode => Str
459  
460 =item OutputDataConfig => L<Paws::ComprehendMedical::OutputDataConfig>
461  
462 =item [ClientRequestToken => Str]
463  
464 =item [JobName => Str]
465  
466 =item [KMSKey => Str]
467  
468  
469 =back
470  
471 Each argument is described in detail in: L<Paws::ComprehendMedical::StartICD10CMInferenceJob>
472  
473 Returns: a L<Paws::ComprehendMedical::StartICD10CMInferenceJobResponse> instance
474  
475 Starts an asynchronous job to detect medical conditions and link them
476 to the ICD-10-CM ontology. Use the C<DescribeICD10CMInferenceJob>
477 operation to track the status of a job.
478  
479  
480 =head2 StartPHIDetectionJob
481  
482 =over
483  
484 =item DataAccessRoleArn => Str
485  
486 =item InputDataConfig => L<Paws::ComprehendMedical::InputDataConfig>
487  
488 =item LanguageCode => Str
489  
490 =item OutputDataConfig => L<Paws::ComprehendMedical::OutputDataConfig>
491  
492 =item [ClientRequestToken => Str]
493  
494 =item [JobName => Str]
495  
496 =item [KMSKey => Str]
497  
498  
499 =back
500  
501 Each argument is described in detail in: L<Paws::ComprehendMedical::StartPHIDetectionJob>
502  
503 Returns: a L<Paws::ComprehendMedical::StartPHIDetectionJobResponse> instance
504  
505 Starts an asynchronous job to detect protected health information
506 (PHI). Use the C<DescribePHIDetectionJob> operation to track the status
507 of a job.
508  
509  
510 =head2 StartRxNormInferenceJob
511  
512 =over
513  
514 =item DataAccessRoleArn => Str
515  
516 =item InputDataConfig => L<Paws::ComprehendMedical::InputDataConfig>
517  
518 =item LanguageCode => Str
519  
520 =item OutputDataConfig => L<Paws::ComprehendMedical::OutputDataConfig>
521  
522 =item [ClientRequestToken => Str]
523  
524 =item [JobName => Str]
525  
526 =item [KMSKey => Str]
527  
528  
529 =back
530  
531 Each argument is described in detail in: L<Paws::ComprehendMedical::StartRxNormInferenceJob>
532  
533 Returns: a L<Paws::ComprehendMedical::StartRxNormInferenceJobResponse> instance
534  
535 Starts an asynchronous job to detect medication entities and link them
536 to the RxNorm ontology. Use the C<DescribeRxNormInferenceJob> operation
537 to track the status of a job.
538  
539  
540 =head2 StopEntitiesDetectionV2Job
541  
542 =over
543  
544 =item JobId => Str
545  
546  
547 =back
548  
549 Each argument is described in detail in: L<Paws::ComprehendMedical::StopEntitiesDetectionV2Job>
550  
551 Returns: a L<Paws::ComprehendMedical::StopEntitiesDetectionV2JobResponse> instance
552  
553 Stops a medical entities detection job in progress.
554  
555  
556 =head2 StopICD10CMInferenceJob
557  
558 =over
559  
560 =item JobId => Str
561  
562  
563 =back
564  
565 Each argument is described in detail in: L<Paws::ComprehendMedical::StopICD10CMInferenceJob>
566  
567 Returns: a L<Paws::ComprehendMedical::StopICD10CMInferenceJobResponse> instance
568  
569 Stops an InferICD10CM inference job in progress.
570  
571  
572 =head2 StopPHIDetectionJob
573  
574 =over
575  
576 =item JobId => Str
577  
578  
579 =back
580  
581 Each argument is described in detail in: L<Paws::ComprehendMedical::StopPHIDetectionJob>
582  
583 Returns: a L<Paws::ComprehendMedical::StopPHIDetectionJobResponse> instance
584  
585 Stops a protected health information (PHI) detection job in progress.
586  
587  
588 =head2 StopRxNormInferenceJob
589  
590 =over
591  
592 =item JobId => Str
593  
594  
595 =back
596  
597 Each argument is described in detail in: L<Paws::ComprehendMedical::StopRxNormInferenceJob>
598  
599 Returns: a L<Paws::ComprehendMedical::StopRxNormInferenceJobResponse> instance
600  
601 Stops an InferRxNorm inference job in progress.
602  
603  
604  
605  
606 =head1 PAGINATORS
607  
608 Paginator methods are helpers that repetively call methods that return partial results
609  
610  
611  
612  
613 =head1 SEE ALSO
614  
615 This service class forms part of L<Paws>
616  
617 =head1 BUGS and CONTRIBUTIONS
618  
619 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
620  
621 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
622  
623 =cut
624