# Prepare VOB Sheet Writeback

> Perform Prepare VOB Sheet Writeback through GenHealth - Eligibility.

Source: [https://genhealth.ai/docs/workflows/integrations/gen-health-eligibility/eligibility_prepare_vob_sheet_writeback](https://genhealth.ai/docs/workflows/integrations/gen-health-eligibility/eligibility_prepare_vob_sheet_writeback)

Integration: [GenHealth - Eligibility](https://genhealth.ai/docs/workflows/integrations/gen-health-eligibility.md)

- Handler: `eligibility_prepare_vob_sheet_writeback`

## Inputs

- `candidate` — Candidate (expression, required)
  Required literal value or workflow expression.
- `outcome` — Outcome (expression)
  Optional literal value or workflow expression.
- `patient_resolution_failure` — Patient Resolution Failure (expression)
  Optional literal value or workflow expression.
- `athena_case` — Athena Case (expression)
  Optional literal value or workflow expression.
- `athena_attachment` — Athena Attachment (expression)
  Optional literal value or workflow expression.
- `external_writes_enabled` — External Writes Enabled (boolean)
  Optional true-or-false value.
- `writeback_enabled` — Writeback Enabled (boolean)
  Optional true-or-false value.
- `completed_team_assignment` — Completed Team Assignment (expression)
  Optional literal value or workflow expression.

## Outputs

- `success` — Success
- `should_write` — Should Write
- `status` — Status
- `primary_reason` — Primary Reason
- `reasons` — Reasons
- `source` — Source
- `spreadsheet_id` — Spreadsheet Id
- `status_note` — Status Note
- `expected_data` — Expected Data
- `data` — Data
- `error` — Error
- `error_message` — Error Message

Output schema completeness: `best_effort_declared`

## Safety

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

## Schemas

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

### Input schema

```json
{
  "type": "object",
  "required": [
    "candidate"
  ],
  "properties": {
    "outcome": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "candidate": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "athena_case": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "athena_attachment": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "writeback_enabled": {
      "type": "boolean",
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "external_writes_enabled": {
      "type": "boolean",
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "completed_team_assignment": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "patient_resolution_failure": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "data": {},
    "error": {},
    "source": {},
    "status": {},
    "reasons": {},
    "success": {},
    "status_note": {},
    "should_write": {},
    "error_message": {},
    "expected_data": {},
    "primary_reason": {},
    "spreadsheet_id": {}
  },
  "additionalProperties": true
}
```
