# Infer ICD10CM

> The **Infer ICD10CM** activity uses the Amazon Comprehend [Medical API](https://docs.aws.amazon.com/comprehend/latest/dg/API_medical_InferICD10CM.html) to infer ICD10CM information from a text string.

The **Infer ICD10CM** activity uses the Amazon Comprehend [Medical API](https://docs.aws.amazon.com/comprehend/latest/dg/API_medical_InferICD10CM.html) to infer ICD10CM information from a text string.

## How it works

The following steps are an example of how the activity works from design time (i.e., the activity dependencies and input/output properties) to run time.

1. Complete the [Setup](https://docs.uipath.com/activities/other/latest/legacy-integrations/amazoncomprehend-setup) steps.
2. Add the [Amazon Comprehend Scope](https://docs.uipath.com/activities/other/latest/legacy-integrations/amazoncomprehend-scope) activity to your project.
3. Add the **Infer ICD10CM** activity inside the **Amazon Comprehend Scope** activity.
4. Enter values for the properties located in the body of the activity.

## In the Body of the Activity

* **Text** - The text to analyze. This field supports only Strings or `String` variables.
* **InferICD10CMResponse** - Response object from the InferICD10CM. This field supports only `InferICD10CM` variables.

## Properties

### Common

* **DisplayName** - The display name of the activity. This field supports only Strings or `String` variables.

### Misc

* **Private** - If selected, the values of variables and arguments are no longer logged at Verbose level.

### Output

* **ResponseStatus** - The status of the request (success/failure information). This field supports only `ResponseStatus` variables (`UiPath.BAF.Models.ResponseStatus`). The `ResponseStatus` object includes three properties that you can use in other activities.
  + **Success** - `Boolean` - Specifies whether the API request was successful.
  + **ErrorCode** - `String` - The response error if the API request is unsuccessful (**Success**=*False*).
  + **Message** - `String` - The error message.
