comprehendmedical.d.ts 67 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374
  1. import {Request} from '../lib/request';
  2. import {Response} from '../lib/response';
  3. import {AWSError} from '../lib/error';
  4. import {Service} from '../lib/service';
  5. import {ServiceConfigurationOptions} from '../lib/service';
  6. import {ConfigBase as Config} from '../lib/config-base';
  7. interface Blob {}
  8. declare class ComprehendMedical extends Service {
  9. /**
  10. * Constructs a service object. This object has one method for each API operation.
  11. */
  12. constructor(options?: ComprehendMedical.Types.ClientConfiguration)
  13. config: Config & ComprehendMedical.Types.ClientConfiguration;
  14. /**
  15. * Gets the properties associated with a medical entities detection job. Use this operation to get the status of a detection job.
  16. */
  17. describeEntitiesDetectionV2Job(params: ComprehendMedical.Types.DescribeEntitiesDetectionV2JobRequest, callback?: (err: AWSError, data: ComprehendMedical.Types.DescribeEntitiesDetectionV2JobResponse) => void): Request<ComprehendMedical.Types.DescribeEntitiesDetectionV2JobResponse, AWSError>;
  18. /**
  19. * Gets the properties associated with a medical entities detection job. Use this operation to get the status of a detection job.
  20. */
  21. describeEntitiesDetectionV2Job(callback?: (err: AWSError, data: ComprehendMedical.Types.DescribeEntitiesDetectionV2JobResponse) => void): Request<ComprehendMedical.Types.DescribeEntitiesDetectionV2JobResponse, AWSError>;
  22. /**
  23. * Gets the properties associated with an InferICD10CM job. Use this operation to get the status of an inference job.
  24. */
  25. describeICD10CMInferenceJob(params: ComprehendMedical.Types.DescribeICD10CMInferenceJobRequest, callback?: (err: AWSError, data: ComprehendMedical.Types.DescribeICD10CMInferenceJobResponse) => void): Request<ComprehendMedical.Types.DescribeICD10CMInferenceJobResponse, AWSError>;
  26. /**
  27. * Gets the properties associated with an InferICD10CM job. Use this operation to get the status of an inference job.
  28. */
  29. describeICD10CMInferenceJob(callback?: (err: AWSError, data: ComprehendMedical.Types.DescribeICD10CMInferenceJobResponse) => void): Request<ComprehendMedical.Types.DescribeICD10CMInferenceJobResponse, AWSError>;
  30. /**
  31. * Gets the properties associated with a protected health information (PHI) detection job. Use this operation to get the status of a detection job.
  32. */
  33. describePHIDetectionJob(params: ComprehendMedical.Types.DescribePHIDetectionJobRequest, callback?: (err: AWSError, data: ComprehendMedical.Types.DescribePHIDetectionJobResponse) => void): Request<ComprehendMedical.Types.DescribePHIDetectionJobResponse, AWSError>;
  34. /**
  35. * Gets the properties associated with a protected health information (PHI) detection job. Use this operation to get the status of a detection job.
  36. */
  37. describePHIDetectionJob(callback?: (err: AWSError, data: ComprehendMedical.Types.DescribePHIDetectionJobResponse) => void): Request<ComprehendMedical.Types.DescribePHIDetectionJobResponse, AWSError>;
  38. /**
  39. * Gets the properties associated with an InferRxNorm job. Use this operation to get the status of an inference job.
  40. */
  41. describeRxNormInferenceJob(params: ComprehendMedical.Types.DescribeRxNormInferenceJobRequest, callback?: (err: AWSError, data: ComprehendMedical.Types.DescribeRxNormInferenceJobResponse) => void): Request<ComprehendMedical.Types.DescribeRxNormInferenceJobResponse, AWSError>;
  42. /**
  43. * Gets the properties associated with an InferRxNorm job. Use this operation to get the status of an inference job.
  44. */
  45. describeRxNormInferenceJob(callback?: (err: AWSError, data: ComprehendMedical.Types.DescribeRxNormInferenceJobResponse) => void): Request<ComprehendMedical.Types.DescribeRxNormInferenceJobResponse, AWSError>;
  46. /**
  47. * Gets the properties associated with an InferSNOMEDCT job. Use this operation to get the status of an inference job.
  48. */
  49. describeSNOMEDCTInferenceJob(params: ComprehendMedical.Types.DescribeSNOMEDCTInferenceJobRequest, callback?: (err: AWSError, data: ComprehendMedical.Types.DescribeSNOMEDCTInferenceJobResponse) => void): Request<ComprehendMedical.Types.DescribeSNOMEDCTInferenceJobResponse, AWSError>;
  50. /**
  51. * Gets the properties associated with an InferSNOMEDCT job. Use this operation to get the status of an inference job.
  52. */
  53. describeSNOMEDCTInferenceJob(callback?: (err: AWSError, data: ComprehendMedical.Types.DescribeSNOMEDCTInferenceJobResponse) => void): Request<ComprehendMedical.Types.DescribeSNOMEDCTInferenceJobResponse, AWSError>;
  54. /**
  55. * The DetectEntities operation is deprecated. You should use the DetectEntitiesV2 operation instead. Inspects the clinical text for a variety of medical entities and returns specific information about them such as entity category, location, and confidence score on that information.
  56. */
  57. detectEntities(params: ComprehendMedical.Types.DetectEntitiesRequest, callback?: (err: AWSError, data: ComprehendMedical.Types.DetectEntitiesResponse) => void): Request<ComprehendMedical.Types.DetectEntitiesResponse, AWSError>;
  58. /**
  59. * The DetectEntities operation is deprecated. You should use the DetectEntitiesV2 operation instead. Inspects the clinical text for a variety of medical entities and returns specific information about them such as entity category, location, and confidence score on that information.
  60. */
  61. detectEntities(callback?: (err: AWSError, data: ComprehendMedical.Types.DetectEntitiesResponse) => void): Request<ComprehendMedical.Types.DetectEntitiesResponse, AWSError>;
  62. /**
  63. * Inspects the clinical text for a variety of medical entities and returns specific information about them such as entity category, location, and confidence score on that information. Amazon Comprehend Medical only detects medical entities in English language texts. The DetectEntitiesV2 operation replaces the DetectEntities operation. This new action uses a different model for determining the entities in your medical text and changes the way that some entities are returned in the output. You should use the DetectEntitiesV2 operation in all new applications. The DetectEntitiesV2 operation returns the Acuity and Direction entities as attributes instead of types.
  64. */
  65. detectEntitiesV2(params: ComprehendMedical.Types.DetectEntitiesV2Request, callback?: (err: AWSError, data: ComprehendMedical.Types.DetectEntitiesV2Response) => void): Request<ComprehendMedical.Types.DetectEntitiesV2Response, AWSError>;
  66. /**
  67. * Inspects the clinical text for a variety of medical entities and returns specific information about them such as entity category, location, and confidence score on that information. Amazon Comprehend Medical only detects medical entities in English language texts. The DetectEntitiesV2 operation replaces the DetectEntities operation. This new action uses a different model for determining the entities in your medical text and changes the way that some entities are returned in the output. You should use the DetectEntitiesV2 operation in all new applications. The DetectEntitiesV2 operation returns the Acuity and Direction entities as attributes instead of types.
  68. */
  69. detectEntitiesV2(callback?: (err: AWSError, data: ComprehendMedical.Types.DetectEntitiesV2Response) => void): Request<ComprehendMedical.Types.DetectEntitiesV2Response, AWSError>;
  70. /**
  71. * Inspects the clinical text for protected health information (PHI) entities and returns the entity category, location, and confidence score for each entity. Amazon Comprehend Medical only detects entities in English language texts.
  72. */
  73. detectPHI(params: ComprehendMedical.Types.DetectPHIRequest, callback?: (err: AWSError, data: ComprehendMedical.Types.DetectPHIResponse) => void): Request<ComprehendMedical.Types.DetectPHIResponse, AWSError>;
  74. /**
  75. * Inspects the clinical text for protected health information (PHI) entities and returns the entity category, location, and confidence score for each entity. Amazon Comprehend Medical only detects entities in English language texts.
  76. */
  77. detectPHI(callback?: (err: AWSError, data: ComprehendMedical.Types.DetectPHIResponse) => void): Request<ComprehendMedical.Types.DetectPHIResponse, AWSError>;
  78. /**
  79. * InferICD10CM detects medical conditions as entities listed in a patient record and links those entities to normalized concept identifiers in the ICD-10-CM knowledge base from the Centers for Disease Control. Amazon Comprehend Medical only detects medical entities in English language texts.
  80. */
  81. inferICD10CM(params: ComprehendMedical.Types.InferICD10CMRequest, callback?: (err: AWSError, data: ComprehendMedical.Types.InferICD10CMResponse) => void): Request<ComprehendMedical.Types.InferICD10CMResponse, AWSError>;
  82. /**
  83. * InferICD10CM detects medical conditions as entities listed in a patient record and links those entities to normalized concept identifiers in the ICD-10-CM knowledge base from the Centers for Disease Control. Amazon Comprehend Medical only detects medical entities in English language texts.
  84. */
  85. inferICD10CM(callback?: (err: AWSError, data: ComprehendMedical.Types.InferICD10CMResponse) => void): Request<ComprehendMedical.Types.InferICD10CMResponse, AWSError>;
  86. /**
  87. * InferRxNorm detects medications as entities listed in a patient record and links to the normalized concept identifiers in the RxNorm database from the National Library of Medicine. Amazon Comprehend Medical only detects medical entities in English language texts.
  88. */
  89. inferRxNorm(params: ComprehendMedical.Types.InferRxNormRequest, callback?: (err: AWSError, data: ComprehendMedical.Types.InferRxNormResponse) => void): Request<ComprehendMedical.Types.InferRxNormResponse, AWSError>;
  90. /**
  91. * InferRxNorm detects medications as entities listed in a patient record and links to the normalized concept identifiers in the RxNorm database from the National Library of Medicine. Amazon Comprehend Medical only detects medical entities in English language texts.
  92. */
  93. inferRxNorm(callback?: (err: AWSError, data: ComprehendMedical.Types.InferRxNormResponse) => void): Request<ComprehendMedical.Types.InferRxNormResponse, AWSError>;
  94. /**
  95. * InferSNOMEDCT detects possible medical concepts as entities and links them to codes from the Systematized Nomenclature of Medicine, Clinical Terms (SNOMED-CT) ontology
  96. */
  97. inferSNOMEDCT(params: ComprehendMedical.Types.InferSNOMEDCTRequest, callback?: (err: AWSError, data: ComprehendMedical.Types.InferSNOMEDCTResponse) => void): Request<ComprehendMedical.Types.InferSNOMEDCTResponse, AWSError>;
  98. /**
  99. * InferSNOMEDCT detects possible medical concepts as entities and links them to codes from the Systematized Nomenclature of Medicine, Clinical Terms (SNOMED-CT) ontology
  100. */
  101. inferSNOMEDCT(callback?: (err: AWSError, data: ComprehendMedical.Types.InferSNOMEDCTResponse) => void): Request<ComprehendMedical.Types.InferSNOMEDCTResponse, AWSError>;
  102. /**
  103. * Gets a list of medical entity detection jobs that you have submitted.
  104. */
  105. listEntitiesDetectionV2Jobs(params: ComprehendMedical.Types.ListEntitiesDetectionV2JobsRequest, callback?: (err: AWSError, data: ComprehendMedical.Types.ListEntitiesDetectionV2JobsResponse) => void): Request<ComprehendMedical.Types.ListEntitiesDetectionV2JobsResponse, AWSError>;
  106. /**
  107. * Gets a list of medical entity detection jobs that you have submitted.
  108. */
  109. listEntitiesDetectionV2Jobs(callback?: (err: AWSError, data: ComprehendMedical.Types.ListEntitiesDetectionV2JobsResponse) => void): Request<ComprehendMedical.Types.ListEntitiesDetectionV2JobsResponse, AWSError>;
  110. /**
  111. * Gets a list of InferICD10CM jobs that you have submitted.
  112. */
  113. listICD10CMInferenceJobs(params: ComprehendMedical.Types.ListICD10CMInferenceJobsRequest, callback?: (err: AWSError, data: ComprehendMedical.Types.ListICD10CMInferenceJobsResponse) => void): Request<ComprehendMedical.Types.ListICD10CMInferenceJobsResponse, AWSError>;
  114. /**
  115. * Gets a list of InferICD10CM jobs that you have submitted.
  116. */
  117. listICD10CMInferenceJobs(callback?: (err: AWSError, data: ComprehendMedical.Types.ListICD10CMInferenceJobsResponse) => void): Request<ComprehendMedical.Types.ListICD10CMInferenceJobsResponse, AWSError>;
  118. /**
  119. * Gets a list of protected health information (PHI) detection jobs you have submitted.
  120. */
  121. listPHIDetectionJobs(params: ComprehendMedical.Types.ListPHIDetectionJobsRequest, callback?: (err: AWSError, data: ComprehendMedical.Types.ListPHIDetectionJobsResponse) => void): Request<ComprehendMedical.Types.ListPHIDetectionJobsResponse, AWSError>;
  122. /**
  123. * Gets a list of protected health information (PHI) detection jobs you have submitted.
  124. */
  125. listPHIDetectionJobs(callback?: (err: AWSError, data: ComprehendMedical.Types.ListPHIDetectionJobsResponse) => void): Request<ComprehendMedical.Types.ListPHIDetectionJobsResponse, AWSError>;
  126. /**
  127. * Gets a list of InferRxNorm jobs that you have submitted.
  128. */
  129. listRxNormInferenceJobs(params: ComprehendMedical.Types.ListRxNormInferenceJobsRequest, callback?: (err: AWSError, data: ComprehendMedical.Types.ListRxNormInferenceJobsResponse) => void): Request<ComprehendMedical.Types.ListRxNormInferenceJobsResponse, AWSError>;
  130. /**
  131. * Gets a list of InferRxNorm jobs that you have submitted.
  132. */
  133. listRxNormInferenceJobs(callback?: (err: AWSError, data: ComprehendMedical.Types.ListRxNormInferenceJobsResponse) => void): Request<ComprehendMedical.Types.ListRxNormInferenceJobsResponse, AWSError>;
  134. /**
  135. * Gets a list of InferSNOMEDCT jobs a user has submitted.
  136. */
  137. listSNOMEDCTInferenceJobs(params: ComprehendMedical.Types.ListSNOMEDCTInferenceJobsRequest, callback?: (err: AWSError, data: ComprehendMedical.Types.ListSNOMEDCTInferenceJobsResponse) => void): Request<ComprehendMedical.Types.ListSNOMEDCTInferenceJobsResponse, AWSError>;
  138. /**
  139. * Gets a list of InferSNOMEDCT jobs a user has submitted.
  140. */
  141. listSNOMEDCTInferenceJobs(callback?: (err: AWSError, data: ComprehendMedical.Types.ListSNOMEDCTInferenceJobsResponse) => void): Request<ComprehendMedical.Types.ListSNOMEDCTInferenceJobsResponse, AWSError>;
  142. /**
  143. * Starts an asynchronous medical entity detection job for a collection of documents. Use the DescribeEntitiesDetectionV2Job operation to track the status of a job.
  144. */
  145. startEntitiesDetectionV2Job(params: ComprehendMedical.Types.StartEntitiesDetectionV2JobRequest, callback?: (err: AWSError, data: ComprehendMedical.Types.StartEntitiesDetectionV2JobResponse) => void): Request<ComprehendMedical.Types.StartEntitiesDetectionV2JobResponse, AWSError>;
  146. /**
  147. * Starts an asynchronous medical entity detection job for a collection of documents. Use the DescribeEntitiesDetectionV2Job operation to track the status of a job.
  148. */
  149. startEntitiesDetectionV2Job(callback?: (err: AWSError, data: ComprehendMedical.Types.StartEntitiesDetectionV2JobResponse) => void): Request<ComprehendMedical.Types.StartEntitiesDetectionV2JobResponse, AWSError>;
  150. /**
  151. * Starts an asynchronous job to detect medical conditions and link them to the ICD-10-CM ontology. Use the DescribeICD10CMInferenceJob operation to track the status of a job.
  152. */
  153. startICD10CMInferenceJob(params: ComprehendMedical.Types.StartICD10CMInferenceJobRequest, callback?: (err: AWSError, data: ComprehendMedical.Types.StartICD10CMInferenceJobResponse) => void): Request<ComprehendMedical.Types.StartICD10CMInferenceJobResponse, AWSError>;
  154. /**
  155. * Starts an asynchronous job to detect medical conditions and link them to the ICD-10-CM ontology. Use the DescribeICD10CMInferenceJob operation to track the status of a job.
  156. */
  157. startICD10CMInferenceJob(callback?: (err: AWSError, data: ComprehendMedical.Types.StartICD10CMInferenceJobResponse) => void): Request<ComprehendMedical.Types.StartICD10CMInferenceJobResponse, AWSError>;
  158. /**
  159. * Starts an asynchronous job to detect protected health information (PHI). Use the DescribePHIDetectionJob operation to track the status of a job.
  160. */
  161. startPHIDetectionJob(params: ComprehendMedical.Types.StartPHIDetectionJobRequest, callback?: (err: AWSError, data: ComprehendMedical.Types.StartPHIDetectionJobResponse) => void): Request<ComprehendMedical.Types.StartPHIDetectionJobResponse, AWSError>;
  162. /**
  163. * Starts an asynchronous job to detect protected health information (PHI). Use the DescribePHIDetectionJob operation to track the status of a job.
  164. */
  165. startPHIDetectionJob(callback?: (err: AWSError, data: ComprehendMedical.Types.StartPHIDetectionJobResponse) => void): Request<ComprehendMedical.Types.StartPHIDetectionJobResponse, AWSError>;
  166. /**
  167. * Starts an asynchronous job to detect medication entities and link them to the RxNorm ontology. Use the DescribeRxNormInferenceJob operation to track the status of a job.
  168. */
  169. startRxNormInferenceJob(params: ComprehendMedical.Types.StartRxNormInferenceJobRequest, callback?: (err: AWSError, data: ComprehendMedical.Types.StartRxNormInferenceJobResponse) => void): Request<ComprehendMedical.Types.StartRxNormInferenceJobResponse, AWSError>;
  170. /**
  171. * Starts an asynchronous job to detect medication entities and link them to the RxNorm ontology. Use the DescribeRxNormInferenceJob operation to track the status of a job.
  172. */
  173. startRxNormInferenceJob(callback?: (err: AWSError, data: ComprehendMedical.Types.StartRxNormInferenceJobResponse) => void): Request<ComprehendMedical.Types.StartRxNormInferenceJobResponse, AWSError>;
  174. /**
  175. * Starts an asynchronous job to detect medical concepts and link them to the SNOMED-CT ontology. Use the DescribeSNOMEDCTInferenceJob operation to track the status of a job.
  176. */
  177. startSNOMEDCTInferenceJob(params: ComprehendMedical.Types.StartSNOMEDCTInferenceJobRequest, callback?: (err: AWSError, data: ComprehendMedical.Types.StartSNOMEDCTInferenceJobResponse) => void): Request<ComprehendMedical.Types.StartSNOMEDCTInferenceJobResponse, AWSError>;
  178. /**
  179. * Starts an asynchronous job to detect medical concepts and link them to the SNOMED-CT ontology. Use the DescribeSNOMEDCTInferenceJob operation to track the status of a job.
  180. */
  181. startSNOMEDCTInferenceJob(callback?: (err: AWSError, data: ComprehendMedical.Types.StartSNOMEDCTInferenceJobResponse) => void): Request<ComprehendMedical.Types.StartSNOMEDCTInferenceJobResponse, AWSError>;
  182. /**
  183. * Stops a medical entities detection job in progress.
  184. */
  185. stopEntitiesDetectionV2Job(params: ComprehendMedical.Types.StopEntitiesDetectionV2JobRequest, callback?: (err: AWSError, data: ComprehendMedical.Types.StopEntitiesDetectionV2JobResponse) => void): Request<ComprehendMedical.Types.StopEntitiesDetectionV2JobResponse, AWSError>;
  186. /**
  187. * Stops a medical entities detection job in progress.
  188. */
  189. stopEntitiesDetectionV2Job(callback?: (err: AWSError, data: ComprehendMedical.Types.StopEntitiesDetectionV2JobResponse) => void): Request<ComprehendMedical.Types.StopEntitiesDetectionV2JobResponse, AWSError>;
  190. /**
  191. * Stops an InferICD10CM inference job in progress.
  192. */
  193. stopICD10CMInferenceJob(params: ComprehendMedical.Types.StopICD10CMInferenceJobRequest, callback?: (err: AWSError, data: ComprehendMedical.Types.StopICD10CMInferenceJobResponse) => void): Request<ComprehendMedical.Types.StopICD10CMInferenceJobResponse, AWSError>;
  194. /**
  195. * Stops an InferICD10CM inference job in progress.
  196. */
  197. stopICD10CMInferenceJob(callback?: (err: AWSError, data: ComprehendMedical.Types.StopICD10CMInferenceJobResponse) => void): Request<ComprehendMedical.Types.StopICD10CMInferenceJobResponse, AWSError>;
  198. /**
  199. * Stops a protected health information (PHI) detection job in progress.
  200. */
  201. stopPHIDetectionJob(params: ComprehendMedical.Types.StopPHIDetectionJobRequest, callback?: (err: AWSError, data: ComprehendMedical.Types.StopPHIDetectionJobResponse) => void): Request<ComprehendMedical.Types.StopPHIDetectionJobResponse, AWSError>;
  202. /**
  203. * Stops a protected health information (PHI) detection job in progress.
  204. */
  205. stopPHIDetectionJob(callback?: (err: AWSError, data: ComprehendMedical.Types.StopPHIDetectionJobResponse) => void): Request<ComprehendMedical.Types.StopPHIDetectionJobResponse, AWSError>;
  206. /**
  207. * Stops an InferRxNorm inference job in progress.
  208. */
  209. stopRxNormInferenceJob(params: ComprehendMedical.Types.StopRxNormInferenceJobRequest, callback?: (err: AWSError, data: ComprehendMedical.Types.StopRxNormInferenceJobResponse) => void): Request<ComprehendMedical.Types.StopRxNormInferenceJobResponse, AWSError>;
  210. /**
  211. * Stops an InferRxNorm inference job in progress.
  212. */
  213. stopRxNormInferenceJob(callback?: (err: AWSError, data: ComprehendMedical.Types.StopRxNormInferenceJobResponse) => void): Request<ComprehendMedical.Types.StopRxNormInferenceJobResponse, AWSError>;
  214. /**
  215. * Stops an InferSNOMEDCT inference job in progress.
  216. */
  217. stopSNOMEDCTInferenceJob(params: ComprehendMedical.Types.StopSNOMEDCTInferenceJobRequest, callback?: (err: AWSError, data: ComprehendMedical.Types.StopSNOMEDCTInferenceJobResponse) => void): Request<ComprehendMedical.Types.StopSNOMEDCTInferenceJobResponse, AWSError>;
  218. /**
  219. * Stops an InferSNOMEDCT inference job in progress.
  220. */
  221. stopSNOMEDCTInferenceJob(callback?: (err: AWSError, data: ComprehendMedical.Types.StopSNOMEDCTInferenceJobResponse) => void): Request<ComprehendMedical.Types.StopSNOMEDCTInferenceJobResponse, AWSError>;
  222. }
  223. declare namespace ComprehendMedical {
  224. export type AnyLengthString = string;
  225. export interface Attribute {
  226. /**
  227. * The type of attribute.
  228. */
  229. Type?: EntitySubType;
  230. /**
  231. * The level of confidence that Amazon Comprehend Medical has that the segment of text is correctly recognized as an attribute.
  232. */
  233. Score?: Float;
  234. /**
  235. * The level of confidence that Amazon Comprehend Medical has that this attribute is correctly related to this entity.
  236. */
  237. RelationshipScore?: Float;
  238. /**
  239. * The type of relationship between the entity and attribute. Type for the relationship is OVERLAP, indicating that the entity occurred at the same time as the Date_Expression.
  240. */
  241. RelationshipType?: RelationshipType;
  242. /**
  243. * The numeric identifier for this attribute. This is a monotonically increasing id unique within this response rather than a global unique identifier.
  244. */
  245. Id?: Integer;
  246. /**
  247. * The 0-based character offset in the input text that shows where the attribute begins. The offset returns the UTF-8 code point in the string.
  248. */
  249. BeginOffset?: Integer;
  250. /**
  251. * The 0-based character offset in the input text that shows where the attribute ends. The offset returns the UTF-8 code point in the string.
  252. */
  253. EndOffset?: Integer;
  254. /**
  255. * The segment of input text extracted as this attribute.
  256. */
  257. Text?: String;
  258. /**
  259. * The category of attribute.
  260. */
  261. Category?: EntityType;
  262. /**
  263. * Contextual information for this attribute.
  264. */
  265. Traits?: TraitList;
  266. }
  267. export type AttributeList = Attribute[];
  268. export type AttributeName = "SIGN"|"SYMPTOM"|"DIAGNOSIS"|"NEGATION"|"PERTAINS_TO_FAMILY"|"HYPOTHETICAL"|"LOW_CONFIDENCE"|"PAST_HISTORY"|"FUTURE"|string;
  269. export type BoundedLengthString = string;
  270. export interface Characters {
  271. /**
  272. * The number of characters present in the input text document as processed by Amazon Comprehend Medical.
  273. */
  274. OriginalTextCharacters?: Integer;
  275. }
  276. export type ClientRequestTokenString = string;
  277. export interface ComprehendMedicalAsyncJobFilter {
  278. /**
  279. * Filters on the name of the job.
  280. */
  281. JobName?: JobName;
  282. /**
  283. * Filters the list of jobs based on job status. Returns only jobs with the specified status.
  284. */
  285. JobStatus?: JobStatus;
  286. /**
  287. * Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted before the specified time. Jobs are returned in ascending order, oldest to newest.
  288. */
  289. SubmitTimeBefore?: Timestamp;
  290. /**
  291. * Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted after the specified time. Jobs are returned in descending order, newest to oldest.
  292. */
  293. SubmitTimeAfter?: Timestamp;
  294. }
  295. export interface ComprehendMedicalAsyncJobProperties {
  296. /**
  297. * The identifier assigned to the detection job.
  298. */
  299. JobId?: JobId;
  300. /**
  301. * The name that you assigned to the detection job.
  302. */
  303. JobName?: JobName;
  304. /**
  305. * The current status of the detection job. If the status is FAILED, the Message field shows the reason for the failure.
  306. */
  307. JobStatus?: JobStatus;
  308. /**
  309. * A description of the status of a job.
  310. */
  311. Message?: AnyLengthString;
  312. /**
  313. * The time that the detection job was submitted for processing.
  314. */
  315. SubmitTime?: Timestamp;
  316. /**
  317. * The time that the detection job completed.
  318. */
  319. EndTime?: Timestamp;
  320. /**
  321. * The date and time that job metadata is deleted from the server. Output files in your S3 bucket will not be deleted. After the metadata is deleted, the job will no longer appear in the results of the ListEntitiesDetectionV2Job or the ListPHIDetectionJobs operation.
  322. */
  323. ExpirationTime?: Timestamp;
  324. /**
  325. * The input data configuration that you supplied when you created the detection job.
  326. */
  327. InputDataConfig?: InputDataConfig;
  328. /**
  329. * The output data configuration that you supplied when you created the detection job.
  330. */
  331. OutputDataConfig?: OutputDataConfig;
  332. /**
  333. * The language code of the input documents.
  334. */
  335. LanguageCode?: LanguageCode;
  336. /**
  337. * The Amazon Resource Name (ARN) that gives Amazon Comprehend Medical read access to your input data.
  338. */
  339. DataAccessRoleArn?: IamRoleArn;
  340. /**
  341. * The path to the file that describes the results of a batch job.
  342. */
  343. ManifestFilePath?: ManifestFilePath;
  344. /**
  345. * The AWS Key Management Service key, if any, used to encrypt the output files.
  346. */
  347. KMSKey?: KMSKey;
  348. /**
  349. * The version of the model used to analyze the documents. The version number looks like X.X.X. You can use this information to track the model used for a particular batch of documents.
  350. */
  351. ModelVersion?: ModelVersion;
  352. }
  353. export type ComprehendMedicalAsyncJobPropertiesList = ComprehendMedicalAsyncJobProperties[];
  354. export interface DescribeEntitiesDetectionV2JobRequest {
  355. /**
  356. * The identifier that Amazon Comprehend Medical generated for the job. The StartEntitiesDetectionV2Job operation returns this identifier in its response.
  357. */
  358. JobId: JobId;
  359. }
  360. export interface DescribeEntitiesDetectionV2JobResponse {
  361. /**
  362. * An object that contains the properties associated with a detection job.
  363. */
  364. ComprehendMedicalAsyncJobProperties?: ComprehendMedicalAsyncJobProperties;
  365. }
  366. export interface DescribeICD10CMInferenceJobRequest {
  367. /**
  368. * The identifier that Amazon Comprehend Medical generated for the job. The StartICD10CMInferenceJob operation returns this identifier in its response.
  369. */
  370. JobId: JobId;
  371. }
  372. export interface DescribeICD10CMInferenceJobResponse {
  373. /**
  374. * An object that contains the properties associated with a detection job.
  375. */
  376. ComprehendMedicalAsyncJobProperties?: ComprehendMedicalAsyncJobProperties;
  377. }
  378. export interface DescribePHIDetectionJobRequest {
  379. /**
  380. * The identifier that Amazon Comprehend Medical generated for the job. The StartPHIDetectionJob operation returns this identifier in its response.
  381. */
  382. JobId: JobId;
  383. }
  384. export interface DescribePHIDetectionJobResponse {
  385. /**
  386. * An object that contains the properties associated with a detection job.
  387. */
  388. ComprehendMedicalAsyncJobProperties?: ComprehendMedicalAsyncJobProperties;
  389. }
  390. export interface DescribeRxNormInferenceJobRequest {
  391. /**
  392. * The identifier that Amazon Comprehend Medical generated for the job. The StartRxNormInferenceJob operation returns this identifier in its response.
  393. */
  394. JobId: JobId;
  395. }
  396. export interface DescribeRxNormInferenceJobResponse {
  397. /**
  398. * An object that contains the properties associated with a detection job.
  399. */
  400. ComprehendMedicalAsyncJobProperties?: ComprehendMedicalAsyncJobProperties;
  401. }
  402. export interface DescribeSNOMEDCTInferenceJobRequest {
  403. /**
  404. * The identifier that Amazon Comprehend Medical generated for the job. The StartSNOMEDCTInferenceJob operation returns this identifier in its response.
  405. */
  406. JobId: JobId;
  407. }
  408. export interface DescribeSNOMEDCTInferenceJobResponse {
  409. ComprehendMedicalAsyncJobProperties?: ComprehendMedicalAsyncJobProperties;
  410. }
  411. export interface DetectEntitiesRequest {
  412. /**
  413. * A UTF-8 text string containing the clinical content being examined for entities.
  414. */
  415. Text: BoundedLengthString;
  416. }
  417. export interface DetectEntitiesResponse {
  418. /**
  419. * The collection of medical entities extracted from the input text and their associated information. For each entity, the response provides the entity text, the entity category, where the entity text begins and ends, and the level of confidence that Amazon Comprehend Medical has in the detection and analysis. Attributes and traits of the entity are also returned.
  420. */
  421. Entities: EntityList;
  422. /**
  423. * Attributes extracted from the input text that we were unable to relate to an entity.
  424. */
  425. UnmappedAttributes?: UnmappedAttributeList;
  426. /**
  427. * If the result of the previous request to DetectEntities was truncated, include the PaginationToken to fetch the next page of entities.
  428. */
  429. PaginationToken?: String;
  430. /**
  431. * The version of the model used to analyze the documents. The version number looks like X.X.X. You can use this information to track the model used for a particular batch of documents.
  432. */
  433. ModelVersion: String;
  434. }
  435. export interface DetectEntitiesV2Request {
  436. /**
  437. * A UTF-8 string containing the clinical content being examined for entities.
  438. */
  439. Text: BoundedLengthString;
  440. }
  441. export interface DetectEntitiesV2Response {
  442. /**
  443. * The collection of medical entities extracted from the input text and their associated information. For each entity, the response provides the entity text, the entity category, where the entity text begins and ends, and the level of confidence in the detection and analysis. Attributes and traits of the entity are also returned.
  444. */
  445. Entities: EntityList;
  446. /**
  447. * Attributes extracted from the input text that couldn't be related to an entity.
  448. */
  449. UnmappedAttributes?: UnmappedAttributeList;
  450. /**
  451. * If the result to the DetectEntitiesV2 operation was truncated, include the PaginationToken to fetch the next page of entities.
  452. */
  453. PaginationToken?: String;
  454. /**
  455. * The version of the model used to analyze the documents. The version number looks like X.X.X. You can use this information to track the model used for a particular batch of documents.
  456. */
  457. ModelVersion: String;
  458. }
  459. export interface DetectPHIRequest {
  460. /**
  461. * A UTF-8 text string containing the clinical content being examined for PHI entities.
  462. */
  463. Text: BoundedLengthString;
  464. }
  465. export interface DetectPHIResponse {
  466. /**
  467. * The collection of PHI entities extracted from the input text and their associated information. For each entity, the response provides the entity text, the entity category, where the entity text begins and ends, and the level of confidence that Amazon Comprehend Medical has in its detection.
  468. */
  469. Entities: EntityList;
  470. /**
  471. * If the result of the previous request to DetectPHI was truncated, include the PaginationToken to fetch the next page of PHI entities.
  472. */
  473. PaginationToken?: String;
  474. /**
  475. * The version of the model used to analyze the documents. The version number looks like X.X.X. You can use this information to track the model used for a particular batch of documents.
  476. */
  477. ModelVersion: String;
  478. }
  479. export interface Entity {
  480. /**
  481. * The numeric identifier for the entity. This is a monotonically increasing id unique within this response rather than a global unique identifier.
  482. */
  483. Id?: Integer;
  484. /**
  485. * The 0-based character offset in the input text that shows where the entity begins. The offset returns the UTF-8 code point in the string.
  486. */
  487. BeginOffset?: Integer;
  488. /**
  489. * The 0-based character offset in the input text that shows where the entity ends. The offset returns the UTF-8 code point in the string.
  490. */
  491. EndOffset?: Integer;
  492. /**
  493. * The level of confidence that Amazon Comprehend Medical has in the accuracy of the detection.
  494. */
  495. Score?: Float;
  496. /**
  497. * The segment of input text extracted as this entity.
  498. */
  499. Text?: String;
  500. /**
  501. * The category of the entity.
  502. */
  503. Category?: EntityType;
  504. /**
  505. * Describes the specific type of entity with category of entities.
  506. */
  507. Type?: EntitySubType;
  508. /**
  509. * Contextual information for the entity.
  510. */
  511. Traits?: TraitList;
  512. /**
  513. * The extracted attributes that relate to this entity.
  514. */
  515. Attributes?: AttributeList;
  516. }
  517. export type EntityList = Entity[];
  518. export type EntitySubType = "NAME"|"DX_NAME"|"DOSAGE"|"ROUTE_OR_MODE"|"FORM"|"FREQUENCY"|"DURATION"|"GENERIC_NAME"|"BRAND_NAME"|"STRENGTH"|"RATE"|"ACUITY"|"TEST_NAME"|"TEST_VALUE"|"TEST_UNITS"|"TEST_UNIT"|"PROCEDURE_NAME"|"TREATMENT_NAME"|"DATE"|"AGE"|"CONTACT_POINT"|"PHONE_OR_FAX"|"EMAIL"|"IDENTIFIER"|"ID"|"URL"|"ADDRESS"|"PROFESSION"|"SYSTEM_ORGAN_SITE"|"DIRECTION"|"QUALITY"|"QUANTITY"|"TIME_EXPRESSION"|"TIME_TO_MEDICATION_NAME"|"TIME_TO_DX_NAME"|"TIME_TO_TEST_NAME"|"TIME_TO_PROCEDURE_NAME"|"TIME_TO_TREATMENT_NAME"|"AMOUNT"|"GENDER"|"RACE_ETHNICITY"|"ALLERGIES"|"TOBACCO_USE"|"ALCOHOL_CONSUMPTION"|"REC_DRUG_USE"|string;
  519. export type EntityType = "MEDICATION"|"MEDICAL_CONDITION"|"PROTECTED_HEALTH_INFORMATION"|"TEST_TREATMENT_PROCEDURE"|"ANATOMY"|"TIME_EXPRESSION"|"BEHAVIORAL_ENVIRONMENTAL_SOCIAL"|string;
  520. export type Float = number;
  521. export interface ICD10CMAttribute {
  522. /**
  523. * The type of attribute. InferICD10CM detects entities of the type DX_NAME.
  524. */
  525. Type?: ICD10CMAttributeType;
  526. /**
  527. * The level of confidence that Amazon Comprehend Medical has that the segment of text is correctly recognized as an attribute.
  528. */
  529. Score?: Float;
  530. /**
  531. * The level of confidence that Amazon Comprehend Medical has that this attribute is correctly related to this entity.
  532. */
  533. RelationshipScore?: Float;
  534. /**
  535. * The numeric identifier for this attribute. This is a monotonically increasing id unique within this response rather than a global unique identifier.
  536. */
  537. Id?: Integer;
  538. /**
  539. * The 0-based character offset in the input text that shows where the attribute begins. The offset returns the UTF-8 code point in the string.
  540. */
  541. BeginOffset?: Integer;
  542. /**
  543. * The 0-based character offset in the input text that shows where the attribute ends. The offset returns the UTF-8 code point in the string.
  544. */
  545. EndOffset?: Integer;
  546. /**
  547. * The segment of input text which contains the detected attribute.
  548. */
  549. Text?: String;
  550. /**
  551. * The contextual information for the attribute. The traits recognized by InferICD10CM are DIAGNOSIS, SIGN, SYMPTOM, and NEGATION.
  552. */
  553. Traits?: ICD10CMTraitList;
  554. /**
  555. * The category of attribute. Can be either of DX_NAME or TIME_EXPRESSION.
  556. */
  557. Category?: ICD10CMEntityType;
  558. /**
  559. * The type of relationship between the entity and attribute. Type for the relationship can be either of OVERLAP or SYSTEM_ORGAN_SITE.
  560. */
  561. RelationshipType?: ICD10CMRelationshipType;
  562. }
  563. export type ICD10CMAttributeList = ICD10CMAttribute[];
  564. export type ICD10CMAttributeType = "ACUITY"|"DIRECTION"|"SYSTEM_ORGAN_SITE"|"QUALITY"|"QUANTITY"|"TIME_TO_DX_NAME"|"TIME_EXPRESSION"|string;
  565. export interface ICD10CMConcept {
  566. /**
  567. * The long description of the ICD-10-CM code in the ontology.
  568. */
  569. Description?: String;
  570. /**
  571. * The ICD-10-CM code that identifies the concept found in the knowledge base from the Centers for Disease Control.
  572. */
  573. Code?: String;
  574. /**
  575. * The level of confidence that Amazon Comprehend Medical has that the entity is accurately linked to an ICD-10-CM concept.
  576. */
  577. Score?: Float;
  578. }
  579. export type ICD10CMConceptList = ICD10CMConcept[];
  580. export interface ICD10CMEntity {
  581. /**
  582. * The numeric identifier for the entity. This is a monotonically increasing id unique within this response rather than a global unique identifier.
  583. */
  584. Id?: Integer;
  585. /**
  586. * The segment of input text that is matched to the detected entity.
  587. */
  588. Text?: OntologyLinkingBoundedLengthString;
  589. /**
  590. * The category of the entity. InferICD10CM detects entities in the MEDICAL_CONDITION category.
  591. */
  592. Category?: ICD10CMEntityCategory;
  593. /**
  594. * Describes the specific type of entity with category of entities. InferICD10CM detects entities of the type DX_NAME and TIME_EXPRESSION.
  595. */
  596. Type?: ICD10CMEntityType;
  597. /**
  598. * The level of confidence that Amazon Comprehend Medical has in the accuracy of the detection.
  599. */
  600. Score?: Float;
  601. /**
  602. * The 0-based character offset in the input text that shows where the entity begins. The offset returns the UTF-8 code point in the string.
  603. */
  604. BeginOffset?: Integer;
  605. /**
  606. * The 0-based character offset in the input text that shows where the entity ends. The offset returns the UTF-8 code point in the string.
  607. */
  608. EndOffset?: Integer;
  609. /**
  610. * The detected attributes that relate to the entity. An extracted segment of the text that is an attribute of an entity, or otherwise related to an entity, such as the nature of a medical condition.
  611. */
  612. Attributes?: ICD10CMAttributeList;
  613. /**
  614. * Provides Contextual information for the entity. The traits recognized by InferICD10CM are DIAGNOSIS, SIGN, SYMPTOM, and NEGATION.
  615. */
  616. Traits?: ICD10CMTraitList;
  617. /**
  618. * The ICD-10-CM concepts that the entity could refer to, along with a score indicating the likelihood of the match.
  619. */
  620. ICD10CMConcepts?: ICD10CMConceptList;
  621. }
  622. export type ICD10CMEntityCategory = "MEDICAL_CONDITION"|string;
  623. export type ICD10CMEntityList = ICD10CMEntity[];
  624. export type ICD10CMEntityType = "DX_NAME"|"TIME_EXPRESSION"|string;
  625. export type ICD10CMRelationshipType = "OVERLAP"|"SYSTEM_ORGAN_SITE"|"QUALITY"|string;
  626. export interface ICD10CMTrait {
  627. /**
  628. * Provides a name or contextual description about the trait.
  629. */
  630. Name?: ICD10CMTraitName;
  631. /**
  632. * The level of confidence that Amazon Comprehend Medical has that the segment of text is correctly recognized as a trait.
  633. */
  634. Score?: Float;
  635. }
  636. export type ICD10CMTraitList = ICD10CMTrait[];
  637. export type ICD10CMTraitName = "NEGATION"|"DIAGNOSIS"|"SIGN"|"SYMPTOM"|"PERTAINS_TO_FAMILY"|"HYPOTHETICAL"|"LOW_CONFIDENCE"|string;
  638. export type IamRoleArn = string;
  639. export interface InferICD10CMRequest {
  640. /**
  641. * The input text used for analysis.
  642. */
  643. Text: OntologyLinkingBoundedLengthString;
  644. }
  645. export interface InferICD10CMResponse {
  646. /**
  647. * The medical conditions detected in the text linked to ICD-10-CM concepts. If the action is successful, the service sends back an HTTP 200 response, as well as the entities detected.
  648. */
  649. Entities: ICD10CMEntityList;
  650. /**
  651. * If the result of the previous request to InferICD10CM was truncated, include the PaginationToken to fetch the next page of medical condition entities.
  652. */
  653. PaginationToken?: String;
  654. /**
  655. * The version of the model used to analyze the documents, in the format n.n.n You can use this information to track the model used for a particular batch of documents.
  656. */
  657. ModelVersion?: String;
  658. }
  659. export interface InferRxNormRequest {
  660. /**
  661. * The input text used for analysis.
  662. */
  663. Text: OntologyLinkingBoundedLengthString;
  664. }
  665. export interface InferRxNormResponse {
  666. /**
  667. * The medication entities detected in the text linked to RxNorm concepts. If the action is successful, the service sends back an HTTP 200 response, as well as the entities detected.
  668. */
  669. Entities: RxNormEntityList;
  670. /**
  671. * If the result of the previous request to InferRxNorm was truncated, include the PaginationToken to fetch the next page of medication entities.
  672. */
  673. PaginationToken?: String;
  674. /**
  675. * The version of the model used to analyze the documents, in the format n.n.n You can use this information to track the model used for a particular batch of documents.
  676. */
  677. ModelVersion?: String;
  678. }
  679. export interface InferSNOMEDCTRequest {
  680. /**
  681. * The input text to be analyzed using InferSNOMEDCT.
  682. */
  683. Text: OntologyLinkingBoundedLengthString;
  684. }
  685. export interface InferSNOMEDCTResponse {
  686. /**
  687. * The collection of medical concept entities extracted from the input text and their associated information. For each entity, the response provides the entity text, the entity category, where the entity text begins and ends, and the level of confidence that Amazon Comprehend Medical has in the detection and analysis. Attributes and traits of the entity are also returned.
  688. */
  689. Entities: SNOMEDCTEntityList;
  690. /**
  691. * If the result of the request is truncated, the pagination token can be used to fetch the next page of entities.
  692. */
  693. PaginationToken?: String;
  694. /**
  695. * The version of the model used to analyze the documents, in the format n.n.n You can use this information to track the model used for a particular batch of documents.
  696. */
  697. ModelVersion?: String;
  698. /**
  699. * The details of the SNOMED-CT revision, including the edition, language, and version date.
  700. */
  701. SNOMEDCTDetails?: SNOMEDCTDetails;
  702. /**
  703. * The number of characters in the input request documentation.
  704. */
  705. Characters?: Characters;
  706. }
  707. export interface InputDataConfig {
  708. /**
  709. * The URI of the S3 bucket that contains the input data. The bucket must be in the same region as the API endpoint that you are calling.
  710. */
  711. S3Bucket: S3Bucket;
  712. /**
  713. * The path to the input data files in the S3 bucket.
  714. */
  715. S3Key?: S3Key;
  716. }
  717. export type Integer = number;
  718. export type JobId = string;
  719. export type JobName = string;
  720. export type JobStatus = "SUBMITTED"|"IN_PROGRESS"|"COMPLETED"|"PARTIAL_SUCCESS"|"FAILED"|"STOP_REQUESTED"|"STOPPED"|string;
  721. export type KMSKey = string;
  722. export type LanguageCode = "en"|string;
  723. export interface ListEntitiesDetectionV2JobsRequest {
  724. /**
  725. * Filters the jobs that are returned. You can filter jobs based on their names, status, or the date and time that they were submitted. You can only set one filter at a time.
  726. */
  727. Filter?: ComprehendMedicalAsyncJobFilter;
  728. /**
  729. * Identifies the next page of results to return.
  730. */
  731. NextToken?: String;
  732. /**
  733. * The maximum number of results to return in each page. The default is 100.
  734. */
  735. MaxResults?: MaxResultsInteger;
  736. }
  737. export interface ListEntitiesDetectionV2JobsResponse {
  738. /**
  739. * A list containing the properties of each job returned.
  740. */
  741. ComprehendMedicalAsyncJobPropertiesList?: ComprehendMedicalAsyncJobPropertiesList;
  742. /**
  743. * Identifies the next page of results to return.
  744. */
  745. NextToken?: String;
  746. }
  747. export interface ListICD10CMInferenceJobsRequest {
  748. /**
  749. * Filters the jobs that are returned. You can filter jobs based on their names, status, or the date and time that they were submitted. You can only set one filter at a time.
  750. */
  751. Filter?: ComprehendMedicalAsyncJobFilter;
  752. /**
  753. * Identifies the next page of results to return.
  754. */
  755. NextToken?: String;
  756. /**
  757. * The maximum number of results to return in each page. The default is 100.
  758. */
  759. MaxResults?: MaxResultsInteger;
  760. }
  761. export interface ListICD10CMInferenceJobsResponse {
  762. /**
  763. * A list containing the properties of each job that is returned.
  764. */
  765. ComprehendMedicalAsyncJobPropertiesList?: ComprehendMedicalAsyncJobPropertiesList;
  766. /**
  767. * Identifies the next page of results to return.
  768. */
  769. NextToken?: String;
  770. }
  771. export interface ListPHIDetectionJobsRequest {
  772. /**
  773. * Filters the jobs that are returned. You can filter jobs based on their names, status, or the date and time that they were submitted. You can only set one filter at a time.
  774. */
  775. Filter?: ComprehendMedicalAsyncJobFilter;
  776. /**
  777. * Identifies the next page of results to return.
  778. */
  779. NextToken?: String;
  780. /**
  781. * The maximum number of results to return in each page. The default is 100.
  782. */
  783. MaxResults?: MaxResultsInteger;
  784. }
  785. export interface ListPHIDetectionJobsResponse {
  786. /**
  787. * A list containing the properties of each job returned.
  788. */
  789. ComprehendMedicalAsyncJobPropertiesList?: ComprehendMedicalAsyncJobPropertiesList;
  790. /**
  791. * Identifies the next page of results to return.
  792. */
  793. NextToken?: String;
  794. }
  795. export interface ListRxNormInferenceJobsRequest {
  796. /**
  797. * Filters the jobs that are returned. You can filter jobs based on their names, status, or the date and time that they were submitted. You can only set one filter at a time.
  798. */
  799. Filter?: ComprehendMedicalAsyncJobFilter;
  800. /**
  801. * Identifies the next page of results to return.
  802. */
  803. NextToken?: String;
  804. /**
  805. * Identifies the next page of results to return.
  806. */
  807. MaxResults?: MaxResultsInteger;
  808. }
  809. export interface ListRxNormInferenceJobsResponse {
  810. /**
  811. * The maximum number of results to return in each page. The default is 100.
  812. */
  813. ComprehendMedicalAsyncJobPropertiesList?: ComprehendMedicalAsyncJobPropertiesList;
  814. /**
  815. * Identifies the next page of results to return.
  816. */
  817. NextToken?: String;
  818. }
  819. export interface ListSNOMEDCTInferenceJobsRequest {
  820. Filter?: ComprehendMedicalAsyncJobFilter;
  821. /**
  822. * Identifies the next page of InferSNOMEDCT results to return.
  823. */
  824. NextToken?: String;
  825. /**
  826. * The maximum number of results to return in each page. The default is 100.
  827. */
  828. MaxResults?: MaxResultsInteger;
  829. }
  830. export interface ListSNOMEDCTInferenceJobsResponse {
  831. /**
  832. * A list containing the properties of each job that is returned.
  833. */
  834. ComprehendMedicalAsyncJobPropertiesList?: ComprehendMedicalAsyncJobPropertiesList;
  835. /**
  836. * Identifies the next page of results to return.
  837. */
  838. NextToken?: String;
  839. }
  840. export type ManifestFilePath = string;
  841. export type MaxResultsInteger = number;
  842. export type ModelVersion = string;
  843. export type OntologyLinkingBoundedLengthString = string;
  844. export interface OutputDataConfig {
  845. /**
  846. * When you use the OutputDataConfig object with asynchronous operations, you specify the Amazon S3 location where you want to write the output data. The URI must be in the same region as the API endpoint that you are calling. The location is used as the prefix for the actual location of the output.
  847. */
  848. S3Bucket: S3Bucket;
  849. /**
  850. * The path to the output data files in the S3 bucket. Amazon Comprehend Medical creates an output directory using the job ID so that the output from one job does not overwrite the output of another.
  851. */
  852. S3Key?: S3Key;
  853. }
  854. export type RelationshipType = "EVERY"|"WITH_DOSAGE"|"ADMINISTERED_VIA"|"FOR"|"NEGATIVE"|"OVERLAP"|"DOSAGE"|"ROUTE_OR_MODE"|"FORM"|"FREQUENCY"|"DURATION"|"STRENGTH"|"RATE"|"ACUITY"|"TEST_VALUE"|"TEST_UNITS"|"TEST_UNIT"|"DIRECTION"|"SYSTEM_ORGAN_SITE"|"AMOUNT"|"USAGE"|"QUALITY"|string;
  855. export interface RxNormAttribute {
  856. /**
  857. * The type of attribute. The types of attributes recognized by InferRxNorm are BRAND_NAME and GENERIC_NAME.
  858. */
  859. Type?: RxNormAttributeType;
  860. /**
  861. * The level of confidence that Amazon Comprehend Medical has that the segment of text is correctly recognized as an attribute.
  862. */
  863. Score?: Float;
  864. /**
  865. * The level of confidence that Amazon Comprehend Medical has that the attribute is accurately linked to an entity.
  866. */
  867. RelationshipScore?: Float;
  868. /**
  869. * The numeric identifier for this attribute. This is a monotonically increasing id unique within this response rather than a global unique identifier.
  870. */
  871. Id?: Integer;
  872. /**
  873. * The 0-based character offset in the input text that shows where the attribute begins. The offset returns the UTF-8 code point in the string.
  874. */
  875. BeginOffset?: Integer;
  876. /**
  877. * The 0-based character offset in the input text that shows where the attribute ends. The offset returns the UTF-8 code point in the string.
  878. */
  879. EndOffset?: Integer;
  880. /**
  881. * The segment of input text which corresponds to the detected attribute.
  882. */
  883. Text?: String;
  884. /**
  885. * Contextual information for the attribute. InferRxNorm recognizes the trait NEGATION for attributes, i.e. that the patient is not taking a specific dose or form of a medication.
  886. */
  887. Traits?: RxNormTraitList;
  888. }
  889. export type RxNormAttributeList = RxNormAttribute[];
  890. export type RxNormAttributeType = "DOSAGE"|"DURATION"|"FORM"|"FREQUENCY"|"RATE"|"ROUTE_OR_MODE"|"STRENGTH"|string;
  891. export interface RxNormConcept {
  892. /**
  893. * The description of the RxNorm concept.
  894. */
  895. Description?: String;
  896. /**
  897. * RxNorm concept ID, also known as the RxCUI.
  898. */
  899. Code?: String;
  900. /**
  901. * The level of confidence that Amazon Comprehend Medical has that the entity is accurately linked to the reported RxNorm concept.
  902. */
  903. Score?: Float;
  904. }
  905. export type RxNormConceptList = RxNormConcept[];
  906. export interface RxNormEntity {
  907. /**
  908. * The numeric identifier for the entity. This is a monotonically increasing id unique within this response rather than a global unique identifier.
  909. */
  910. Id?: Integer;
  911. /**
  912. * The segment of input text extracted from which the entity was detected.
  913. */
  914. Text?: OntologyLinkingBoundedLengthString;
  915. /**
  916. * The category of the entity. The recognized categories are GENERIC or BRAND_NAME.
  917. */
  918. Category?: RxNormEntityCategory;
  919. /**
  920. * Describes the specific type of entity. For InferRxNorm, the recognized entity type is MEDICATION.
  921. */
  922. Type?: RxNormEntityType;
  923. /**
  924. * The level of confidence that Amazon Comprehend Medical has in the accuracy of the detected entity.
  925. */
  926. Score?: Float;
  927. /**
  928. * The 0-based character offset in the input text that shows where the entity begins. The offset returns the UTF-8 code point in the string.
  929. */
  930. BeginOffset?: Integer;
  931. /**
  932. * The 0-based character offset in the input text that shows where the entity ends. The offset returns the UTF-8 code point in the string.
  933. */
  934. EndOffset?: Integer;
  935. /**
  936. * The extracted attributes that relate to the entity. The attributes recognized by InferRxNorm are DOSAGE, DURATION, FORM, FREQUENCY, RATE, ROUTE_OR_MODE, and STRENGTH.
  937. */
  938. Attributes?: RxNormAttributeList;
  939. /**
  940. * Contextual information for the entity.
  941. */
  942. Traits?: RxNormTraitList;
  943. /**
  944. * The RxNorm concepts that the entity could refer to, along with a score indicating the likelihood of the match.
  945. */
  946. RxNormConcepts?: RxNormConceptList;
  947. }
  948. export type RxNormEntityCategory = "MEDICATION"|string;
  949. export type RxNormEntityList = RxNormEntity[];
  950. export type RxNormEntityType = "BRAND_NAME"|"GENERIC_NAME"|string;
  951. export interface RxNormTrait {
  952. /**
  953. * Provides a name or contextual description about the trait.
  954. */
  955. Name?: RxNormTraitName;
  956. /**
  957. * The level of confidence that Amazon Comprehend Medical has in the accuracy of the detected trait.
  958. */
  959. Score?: Float;
  960. }
  961. export type RxNormTraitList = RxNormTrait[];
  962. export type RxNormTraitName = "NEGATION"|"PAST_HISTORY"|string;
  963. export type S3Bucket = string;
  964. export type S3Key = string;
  965. export interface SNOMEDCTAttribute {
  966. /**
  967. * The category of the detected attribute. Possible categories include MEDICAL_CONDITION, ANATOMY, and TEST_TREATMENT_PROCEDURE.
  968. */
  969. Category?: SNOMEDCTEntityCategory;
  970. /**
  971. * The type of attribute. Possible types include DX_NAME, ACUITY, DIRECTION, SYSTEM_ORGAN_SITE,TEST_NAME, TEST_VALUE, TEST_UNIT, PROCEDURE_NAME, and TREATMENT_NAME.
  972. */
  973. Type?: SNOMEDCTAttributeType;
  974. /**
  975. * The level of confidence that Amazon Comprehend Medical has that the segment of text is correctly recognized as an attribute.
  976. */
  977. Score?: Float;
  978. /**
  979. * The level of confidence that Amazon Comprehend Medical has that this attribute is correctly related to this entity.
  980. */
  981. RelationshipScore?: Float;
  982. /**
  983. * The type of relationship that exists between the entity and the related attribute.
  984. */
  985. RelationshipType?: SNOMEDCTRelationshipType;
  986. /**
  987. * The numeric identifier for this attribute. This is a monotonically increasing id unique within this response rather than a global unique identifier.
  988. */
  989. Id?: Integer;
  990. /**
  991. * The 0-based character offset in the input text that shows where the attribute begins. The offset returns the UTF-8 code point in the string.
  992. */
  993. BeginOffset?: Integer;
  994. /**
  995. * The 0-based character offset in the input text that shows where the attribute ends. The offset returns the UTF-8 code point in the string.
  996. */
  997. EndOffset?: Integer;
  998. /**
  999. * The segment of input text extracted as this attribute.
  1000. */
  1001. Text?: String;
  1002. /**
  1003. * Contextual information for an attribute. Examples include signs, symptoms, diagnosis, and negation.
  1004. */
  1005. Traits?: SNOMEDCTTraitList;
  1006. /**
  1007. * The SNOMED-CT concepts specific to an attribute, along with a score indicating the likelihood of the match.
  1008. */
  1009. SNOMEDCTConcepts?: SNOMEDCTConceptList;
  1010. }
  1011. export type SNOMEDCTAttributeList = SNOMEDCTAttribute[];
  1012. export type SNOMEDCTAttributeType = "ACUITY"|"QUALITY"|"DIRECTION"|"SYSTEM_ORGAN_SITE"|"TEST_VALUE"|"TEST_UNIT"|string;
  1013. export interface SNOMEDCTConcept {
  1014. /**
  1015. * The description of the SNOMED-CT concept.
  1016. */
  1017. Description?: String;
  1018. /**
  1019. * The numeric ID for the SNOMED-CT concept.
  1020. */
  1021. Code?: String;
  1022. /**
  1023. * The level of confidence Amazon Comprehend Medical has that the entity should be linked to the identified SNOMED-CT concept.
  1024. */
  1025. Score?: Float;
  1026. }
  1027. export type SNOMEDCTConceptList = SNOMEDCTConcept[];
  1028. export interface SNOMEDCTDetails {
  1029. /**
  1030. * The edition of SNOMED-CT used. The edition used for the InferSNOMEDCT editions is the US edition.
  1031. */
  1032. Edition?: String;
  1033. /**
  1034. * The language used in the SNOMED-CT ontology. All Amazon Comprehend Medical operations are US English (en).
  1035. */
  1036. Language?: String;
  1037. /**
  1038. * The version date of the SNOMED-CT ontology used.
  1039. */
  1040. VersionDate?: String;
  1041. }
  1042. export interface SNOMEDCTEntity {
  1043. /**
  1044. * The numeric identifier for the entity. This is a monotonically increasing id unique within this response rather than a global unique identifier.
  1045. */
  1046. Id?: Integer;
  1047. /**
  1048. * The segment of input text extracted as this entity.
  1049. */
  1050. Text?: OntologyLinkingBoundedLengthString;
  1051. /**
  1052. * The category of the detected entity. Possible categories are MEDICAL_CONDITION, ANATOMY, or TEST_TREATMENT_PROCEDURE.
  1053. */
  1054. Category?: SNOMEDCTEntityCategory;
  1055. /**
  1056. * Describes the specific type of entity with category of entities. Possible types include DX_NAME, ACUITY, DIRECTION, SYSTEM_ORGAN_SITE, TEST_NAME, TEST_VALUE, TEST_UNIT, PROCEDURE_NAME, or TREATMENT_NAME.
  1057. */
  1058. Type?: SNOMEDCTEntityType;
  1059. /**
  1060. * The level of confidence that Amazon Comprehend Medical has in the accuracy of the detected entity.
  1061. */
  1062. Score?: Float;
  1063. /**
  1064. * The 0-based character offset in the input text that shows where the entity begins. The offset returns the UTF-8 code point in the string.
  1065. */
  1066. BeginOffset?: Integer;
  1067. /**
  1068. * The 0-based character offset in the input text that shows where the entity ends. The offset returns the UTF-8 code point in the string.
  1069. */
  1070. EndOffset?: Integer;
  1071. /**
  1072. * An extracted segment of the text that is an attribute of an entity, or otherwise related to an entity, such as the dosage of a medication taken.
  1073. */
  1074. Attributes?: SNOMEDCTAttributeList;
  1075. /**
  1076. * Contextual information for the entity.
  1077. */
  1078. Traits?: SNOMEDCTTraitList;
  1079. /**
  1080. * The SNOMED concepts that the entity could refer to, along with a score indicating the likelihood of the match.
  1081. */
  1082. SNOMEDCTConcepts?: SNOMEDCTConceptList;
  1083. }
  1084. export type SNOMEDCTEntityCategory = "MEDICAL_CONDITION"|"ANATOMY"|"TEST_TREATMENT_PROCEDURE"|string;
  1085. export type SNOMEDCTEntityList = SNOMEDCTEntity[];
  1086. export type SNOMEDCTEntityType = "DX_NAME"|"TEST_NAME"|"PROCEDURE_NAME"|"TREATMENT_NAME"|string;
  1087. export type SNOMEDCTRelationshipType = "ACUITY"|"QUALITY"|"TEST_VALUE"|"TEST_UNITS"|"DIRECTION"|"SYSTEM_ORGAN_SITE"|"TEST_UNIT"|string;
  1088. export interface SNOMEDCTTrait {
  1089. /**
  1090. * The name or contextual description of a detected trait.
  1091. */
  1092. Name?: SNOMEDCTTraitName;
  1093. /**
  1094. * The level of confidence that Amazon Comprehend Medical has in the accuracy of a detected trait.
  1095. */
  1096. Score?: Float;
  1097. }
  1098. export type SNOMEDCTTraitList = SNOMEDCTTrait[];
  1099. export type SNOMEDCTTraitName = "NEGATION"|"DIAGNOSIS"|"SIGN"|"SYMPTOM"|"PERTAINS_TO_FAMILY"|"HYPOTHETICAL"|"LOW_CONFIDENCE"|"PAST_HISTORY"|"FUTURE"|string;
  1100. export interface StartEntitiesDetectionV2JobRequest {
  1101. /**
  1102. * The input configuration that specifies the format and location of the input data for the job.
  1103. */
  1104. InputDataConfig: InputDataConfig;
  1105. /**
  1106. * The output configuration that specifies where to send the output files.
  1107. */
  1108. OutputDataConfig: OutputDataConfig;
  1109. /**
  1110. * The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that grants Amazon Comprehend Medical read access to your input data. For more information, see Role-Based Permissions Required for Asynchronous Operations.
  1111. */
  1112. DataAccessRoleArn: IamRoleArn;
  1113. /**
  1114. * The identifier of the job.
  1115. */
  1116. JobName?: JobName;
  1117. /**
  1118. * A unique identifier for the request. If you don't set the client request token, Amazon Comprehend Medical generates one for you.
  1119. */
  1120. ClientRequestToken?: ClientRequestTokenString;
  1121. /**
  1122. * An AWS Key Management Service key to encrypt your output files. If you do not specify a key, the files are written in plain text.
  1123. */
  1124. KMSKey?: KMSKey;
  1125. /**
  1126. * The language of the input documents. All documents must be in the same language. Amazon Comprehend Medical processes files in US English (en).
  1127. */
  1128. LanguageCode: LanguageCode;
  1129. }
  1130. export interface StartEntitiesDetectionV2JobResponse {
  1131. /**
  1132. * The identifier generated for the job. To get the status of a job, use this identifier with the DescribeEntitiesDetectionV2Job operation.
  1133. */
  1134. JobId?: JobId;
  1135. }
  1136. export interface StartICD10CMInferenceJobRequest {
  1137. /**
  1138. * Specifies the format and location of the input data for the job.
  1139. */
  1140. InputDataConfig: InputDataConfig;
  1141. /**
  1142. * Specifies where to send the output files.
  1143. */
  1144. OutputDataConfig: OutputDataConfig;
  1145. /**
  1146. * The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that grants Amazon Comprehend Medical read access to your input data. For more information, see Role-Based Permissions Required for Asynchronous Operations.
  1147. */
  1148. DataAccessRoleArn: IamRoleArn;
  1149. /**
  1150. * The identifier of the job.
  1151. */
  1152. JobName?: JobName;
  1153. /**
  1154. * A unique identifier for the request. If you don't set the client request token, Amazon Comprehend Medical generates one.
  1155. */
  1156. ClientRequestToken?: ClientRequestTokenString;
  1157. /**
  1158. * An AWS Key Management Service key to encrypt your output files. If you do not specify a key, the files are written in plain text.
  1159. */
  1160. KMSKey?: KMSKey;
  1161. /**
  1162. * The language of the input documents. All documents must be in the same language.
  1163. */
  1164. LanguageCode: LanguageCode;
  1165. }
  1166. export interface StartICD10CMInferenceJobResponse {
  1167. /**
  1168. * The identifier generated for the job. To get the status of a job, use this identifier with the StartICD10CMInferenceJob operation.
  1169. */
  1170. JobId?: JobId;
  1171. }
  1172. export interface StartPHIDetectionJobRequest {
  1173. /**
  1174. * Specifies the format and location of the input data for the job.
  1175. */
  1176. InputDataConfig: InputDataConfig;
  1177. /**
  1178. * Specifies where to send the output files.
  1179. */
  1180. OutputDataConfig: OutputDataConfig;
  1181. /**
  1182. * The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that grants Amazon Comprehend Medical read access to your input data. For more information, see Role-Based Permissions Required for Asynchronous Operations.
  1183. */
  1184. DataAccessRoleArn: IamRoleArn;
  1185. /**
  1186. * The identifier of the job.
  1187. */
  1188. JobName?: JobName;
  1189. /**
  1190. * A unique identifier for the request. If you don't set the client request token, Amazon Comprehend Medical generates one.
  1191. */
  1192. ClientRequestToken?: ClientRequestTokenString;
  1193. /**
  1194. * An AWS Key Management Service key to encrypt your output files. If you do not specify a key, the files are written in plain text.
  1195. */
  1196. KMSKey?: KMSKey;
  1197. /**
  1198. * The language of the input documents. All documents must be in the same language.
  1199. */
  1200. LanguageCode: LanguageCode;
  1201. }
  1202. export interface StartPHIDetectionJobResponse {
  1203. /**
  1204. * The identifier generated for the job. To get the status of a job, use this identifier with the DescribePHIDetectionJob operation.
  1205. */
  1206. JobId?: JobId;
  1207. }
  1208. export interface StartRxNormInferenceJobRequest {
  1209. /**
  1210. * Specifies the format and location of the input data for the job.
  1211. */
  1212. InputDataConfig: InputDataConfig;
  1213. /**
  1214. * Specifies where to send the output files.
  1215. */
  1216. OutputDataConfig: OutputDataConfig;
  1217. /**
  1218. * The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that grants Amazon Comprehend Medical read access to your input data. For more information, see Role-Based Permissions Required for Asynchronous Operations.
  1219. */
  1220. DataAccessRoleArn: IamRoleArn;
  1221. /**
  1222. * The identifier of the job.
  1223. */
  1224. JobName?: JobName;
  1225. /**
  1226. * A unique identifier for the request. If you don't set the client request token, Amazon Comprehend Medical generates one.
  1227. */
  1228. ClientRequestToken?: ClientRequestTokenString;
  1229. /**
  1230. * An AWS Key Management Service key to encrypt your output files. If you do not specify a key, the files are written in plain text.
  1231. */
  1232. KMSKey?: KMSKey;
  1233. /**
  1234. * The language of the input documents. All documents must be in the same language.
  1235. */
  1236. LanguageCode: LanguageCode;
  1237. }
  1238. export interface StartRxNormInferenceJobResponse {
  1239. /**
  1240. * The identifier of the job.
  1241. */
  1242. JobId?: JobId;
  1243. }
  1244. export interface StartSNOMEDCTInferenceJobRequest {
  1245. InputDataConfig: InputDataConfig;
  1246. OutputDataConfig: OutputDataConfig;
  1247. /**
  1248. * The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that grants Amazon Comprehend Medical read access to your input data.
  1249. */
  1250. DataAccessRoleArn: IamRoleArn;
  1251. /**
  1252. * The user generated name the asynchronous InferSNOMEDCT job.
  1253. */
  1254. JobName?: JobName;
  1255. /**
  1256. * A unique identifier for the request. If you don't set the client request token, Amazon Comprehend Medical generates one.
  1257. */
  1258. ClientRequestToken?: ClientRequestTokenString;
  1259. /**
  1260. * An AWS Key Management Service key used to encrypt your output files. If you do not specify a key, the files are written in plain text.
  1261. */
  1262. KMSKey?: KMSKey;
  1263. /**
  1264. * The language of the input documents. All documents must be in the same language.
  1265. */
  1266. LanguageCode: LanguageCode;
  1267. }
  1268. export interface StartSNOMEDCTInferenceJobResponse {
  1269. /**
  1270. * The identifier generated for the job. To get the status of a job, use this identifier with the StartSNOMEDCTInferenceJob operation.
  1271. */
  1272. JobId?: JobId;
  1273. }
  1274. export interface StopEntitiesDetectionV2JobRequest {
  1275. /**
  1276. * The identifier of the medical entities job to stop.
  1277. */
  1278. JobId: JobId;
  1279. }
  1280. export interface StopEntitiesDetectionV2JobResponse {
  1281. /**
  1282. * The identifier of the medical entities detection job that was stopped.
  1283. */
  1284. JobId?: JobId;
  1285. }
  1286. export interface StopICD10CMInferenceJobRequest {
  1287. /**
  1288. * The identifier of the job.
  1289. */
  1290. JobId: JobId;
  1291. }
  1292. export interface StopICD10CMInferenceJobResponse {
  1293. /**
  1294. * The identifier generated for the job. To get the status of job, use this identifier with the DescribeICD10CMInferenceJob operation.
  1295. */
  1296. JobId?: JobId;
  1297. }
  1298. export interface StopPHIDetectionJobRequest {
  1299. /**
  1300. * The identifier of the PHI detection job to stop.
  1301. */
  1302. JobId: JobId;
  1303. }
  1304. export interface StopPHIDetectionJobResponse {
  1305. /**
  1306. * The identifier of the PHI detection job that was stopped.
  1307. */
  1308. JobId?: JobId;
  1309. }
  1310. export interface StopRxNormInferenceJobRequest {
  1311. /**
  1312. * The identifier of the job.
  1313. */
  1314. JobId: JobId;
  1315. }
  1316. export interface StopRxNormInferenceJobResponse {
  1317. /**
  1318. * The identifier generated for the job. To get the status of job, use this identifier with the DescribeRxNormInferenceJob operation.
  1319. */
  1320. JobId?: JobId;
  1321. }
  1322. export interface StopSNOMEDCTInferenceJobRequest {
  1323. /**
  1324. * The job id of the asynchronous InferSNOMEDCT job to be stopped.
  1325. */
  1326. JobId: JobId;
  1327. }
  1328. export interface StopSNOMEDCTInferenceJobResponse {
  1329. /**
  1330. * The identifier generated for the job. To get the status of job, use this identifier with the DescribeSNOMEDCTInferenceJob operation.
  1331. */
  1332. JobId?: JobId;
  1333. }
  1334. export type String = string;
  1335. export type Timestamp = Date;
  1336. export interface Trait {
  1337. /**
  1338. * Provides a name or contextual description about the trait.
  1339. */
  1340. Name?: AttributeName;
  1341. /**
  1342. * The level of confidence that Amazon Comprehend Medical has in the accuracy of this trait.
  1343. */
  1344. Score?: Float;
  1345. }
  1346. export type TraitList = Trait[];
  1347. export interface UnmappedAttribute {
  1348. /**
  1349. * The type of the unmapped attribute, could be one of the following values: "MEDICATION", "MEDICAL_CONDITION", "ANATOMY", "TEST_AND_TREATMENT_PROCEDURE" or "PROTECTED_HEALTH_INFORMATION".
  1350. */
  1351. Type?: EntityType;
  1352. /**
  1353. * The specific attribute that has been extracted but not mapped to an entity.
  1354. */
  1355. Attribute?: Attribute;
  1356. }
  1357. export type UnmappedAttributeList = UnmappedAttribute[];
  1358. /**
  1359. * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
  1360. */
  1361. export type apiVersion = "2018-10-30"|"latest"|string;
  1362. export interface ClientApiVersions {
  1363. /**
  1364. * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
  1365. */
  1366. apiVersion?: apiVersion;
  1367. }
  1368. export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
  1369. /**
  1370. * Contains interfaces for use with the ComprehendMedical client.
  1371. */
  1372. export import Types = ComprehendMedical;
  1373. }
  1374. export = ComprehendMedical;