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

# PCD analysis

> The disability analysis linked to an employee or candidate.

The **PCD analysis** validates the **person-with-a-disability** condition of a candidate or
employee. It is used when the employee is marked as `is_disabled = true` and needs a recorded
assessment in Salú.

<Info>
  The PCD analysis complements the [Employee](/public-api/en/concepts/employee_en): the
  employee's `disability_analysis_id` field can point to the corresponding analysis.
</Info>

## How it works

1. **Create the analysis** (`POST /v0/analysis/disability`) providing `name`, `gov_id` (CPF),
   `organization_id` and, when already an employee, `employee_id`.
2. **Track the status** — the analysis goes through review until **approved** or **rejected**.
3. **Read** the analysis by `id` or **list** the organization's analyses.
4. **Read the supported disabilities** (`GET /v0/analysis/disability/disabilities`) for a
   reference of types and groups.

## Create fields

| Field             | Required | Description                                                                 |
| ----------------- | -------- | --------------------------------------------------------------------------- |
| `name`            | yes      | Candidate/employee name.                                                    |
| `gov_id`          | yes      | CPF (11 digits; validated).                                                 |
| `organization_id` | yes      | Organization of the analysis.                                               |
| `employee_id`     | no       | Required **when the candidate is already an employee** of the organization. |

## Status

| Status     | Meaning       |
| ---------- | ------------- |
| `PENDING`  | Under review. |
| `APPROVED` | Approved.     |
| `REJECTED` | Rejected.     |
| `EXPIRED`  | Expired.      |

## Endpoints

<CardGroup cols={2}>
  <Card title="Flow: PCD analysis" icon="diagram-project" href="/public-api/en/flows/pcd-analysis_en" />

  <Card title="Employee" icon="user" href="/public-api/en/concepts/employee_en" />
</CardGroup>
