# Search Patient

> Perform Search Patient through Essette.

Source: [https://genhealth.ai/docs/workflows/integrations/essette/essette_search_patient](https://genhealth.ai/docs/workflows/integrations/essette/essette_search_patient)

Integration: [Essette](https://genhealth.ai/docs/workflows/integrations/essette.md)

- Handler: `essette_search_patient`

- Connection type: `essette`

## Inputs

- `essette_account_id` — Essette Account Id (select, required, dynamic options)
  Required selected identifier or value. Retrieve allowed values from the dynamic options endpoint.
  Default: `"primary"`
- `insurance_id` — Insurance Id (expression, required)
  Required literal value or workflow expression.
- `include_eligibility` — Include Eligibility (boolean)
  Optional true-or-false value.
  Default: `false`
- `top` — Top (number)
  Optional numeric value.
  Default: `25`

## Outputs

- `success` — Success
- `count` — Count
- `results` — Results
- `plan_id` — Plan Id
- `member_id` — Member Id
- `member_name` — Member Name
- `member_birth_date` — Member Birth Date
- `health_plan` — Health Plan
- `line_of_business` — Line Of Business
- `eligibility_is_current` — Eligibility Is Current
- `eligibility_history` — Eligibility History
- `error` — Error
- `error_message` — Error Message

Output schema completeness: `best_effort_declared`

## Safety

- External effect: `read`
- Confirmation recommended: no
- Retry safe: yes
- Dry run supported: no

## Schemas

These schemas are first-pass authoring guidance. Runtime validation remains authoritative.

### Input schema

```json
{
  "type": "object",
  "required": [
    "essette_account_id",
    "insurance_id"
  ],
  "properties": {
    "top": {
      "type": "number",
      "default": 25,
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    },
    "insurance_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "essette_account_id": {
      "type": "string",
      "default": "primary",
      "description": "Required selected identifier or value. Retrieve allowed values from the dynamic options endpoint.",
      "x-dynamic-options": true,
      "x-workflow-field-type": "select"
    },
    "include_eligibility": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "count": {},
    "error": {},
    "plan_id": {},
    "results": {},
    "success": {},
    "member_id": {},
    "health_plan": {},
    "member_name": {},
    "error_message": {},
    "line_of_business": {},
    "member_birth_date": {},
    "eligibility_history": {},
    "eligibility_is_current": {}
  },
  "additionalProperties": true
}
```
