# Infer RxNorm

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

The **Infer RxNorm** activity uses the Amazon Comprehend [Medical API](https://docs.aws.amazon.com/comprehend/latest/dg/API_medical_InferRxNorm.html) to infer RxNorm 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 RxNorm** activity inside the **Amazon Comprehend Scope** activity.
4. Enter values for the Input properties.
5. Create and enter a `String` or `String` variable for the Input property.
6. Create and enter an `Entity[]` variable for the Output property.

## In the Body of the Activity

### Input

* **Text** - The text to analyze. This field supports only Strings or `String` variables.

### Output

* **InferRxNormResponse** - Response object from the InferRxNorm operation. This field supports only `InferRxNormResponse` 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.
