# Set Document Status

> Perform Set Document Status through GenHealth.

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

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

- Handler: `genhealth_set_document_status`

## Inputs

- `document_id` — Document Id (expression)
  Optional literal value or workflow expression.
- `display_status` — Display Status (select)
  Optional selected identifier or value.
  Default: `"review"`
  Options: Review ("review"), Complete ("complete"), Processing ("processing")
- `run_completion_hook` — Run Completion Hook (boolean)
  Optional true-or-false value.
  Default: `"false"`
- `status` — Status (text)
  Optional text value.
- `visibility` — Visibility (select)
  Optional selected identifier or value.
  Default: `"unchanged"`
  Options: Unchanged ("unchanged"), Visible ("visible"), Hidden ("hidden")
- `hidden` — Hidden (expression)
  Optional literal value or workflow expression.
- `categories` — Categories (expression)
  Optional literal value or workflow expression.

## Outputs

- `success` — Success
- `document_id` — Document Id
- `display_status` — Display Status
- `status` — Status
- `hidden` — Hidden
- `categories` — Categories
- `completion_hook_ran` — Completion Hook Ran
- `error` — Error

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",
  "properties": {
    "hidden": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "status": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "categories": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "visibility": {
      "enum": [
        "unchanged",
        "visible",
        "hidden"
      ],
      "type": "string",
      "default": "unchanged",
      "description": "Optional selected identifier or value.",
      "x-workflow-field-type": "select"
    },
    "document_id": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "display_status": {
      "enum": [
        "review",
        "complete",
        "processing"
      ],
      "type": "string",
      "default": "review",
      "description": "Optional selected identifier or value.",
      "x-workflow-field-type": "select"
    },
    "run_completion_hook": {
      "type": "boolean",
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "hidden": {},
    "status": {},
    "success": {},
    "categories": {},
    "document_id": {},
    "display_status": {},
    "completion_hook_ran": {}
  },
  "additionalProperties": true
}
```
