> ## Documentation Index
> Fetch the complete documentation index at: https://docs.metriport.com/llms.txt
> Use this file to discover all available pages before exploring further.

# procedure_reasoncode

The coded reason why the procedure was performed (`Procedure.reasonCode[]`).

**Primary Keys:**

* procedure\_reasoncode\_id

**Foreign Keys:**

* procedure\_id - links to the [procedure](/medical-api/handling-data/schema-v100/procedure/base) table

| Column | Data Type | Description |
| - | - | - |
| procedure\_reasoncode\_id | varchar | Unique identifier for the reason code row |
| procedure\_id | varchar | FK to the parent procedure record |
| text | varchar | Display text for the reason code |

**Related Tables:**

**Parent:**

* [procedure](/medical-api/handling-data/schema-v100/procedure/base)

**Child:**

* [procedure\_reasoncode\_coding](/medical-api/handling-data/schema-v100/procedure/reasoncode_coding)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.