# Adjudicate Policy

> Perform Adjudicate Policy through GenHealth.

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

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

- Handler: `genhealth_adjudicate_policy`

## Inputs

- `document_id` — Document Id (expression, required)
  Required literal value or workflow expression.
- `policy_id` — Policy Id (expression, required)
  Required literal value or workflow expression.
- `init_policies` — Init Policies (boolean)
  Optional true-or-false value.
  Default: `"false"`
- `answer_all_questions` — Answer All Questions (boolean)
  Optional true-or-false value.
  Default: `"false"`
- `save_as_document` — Save As Document (boolean)
  Optional true-or-false value.
  Default: `"false"`
- `include_cover_sheet` — Include Cover Sheet (boolean)
  Optional true-or-false value.
  Default: `"true"`
- `include_clinical_documents` — Include Clinical Documents (boolean)
  Optional true-or-false value.
  Default: `"true"`

## Outputs

- `success` — Success
- `document_id` — Document Id
- `case_id` — Case Id
- `case_pdf_id` — Case Pdf Id
- `adjudication_id` — Adjudication Id
- `result_document_id` — Result Document Id
- `policy_id` — Policy Id
- `policy_service` — Policy Service
- `recommendation` — Recommendation
- `rationale` — Rationale
- `decision_tree` — Decision Tree
- `status` — Status
- `passed_count` — Passed Count
- `policy_question_count` — Policy Question Count
- `total_questions` — Total Questions
- `stub_packet` — Stub Packet
- `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",
  "required": [
    "document_id",
    "policy_id"
  ],
  "properties": {
    "policy_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "document_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "init_policies": {
      "type": "boolean",
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "save_as_document": {
      "type": "boolean",
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "include_cover_sheet": {
      "type": "boolean",
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "answer_all_questions": {
      "type": "boolean",
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "include_clinical_documents": {
      "type": "boolean",
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "status": {},
    "case_id": {},
    "success": {},
    "policy_id": {},
    "rationale": {},
    "case_pdf_id": {},
    "document_id": {},
    "stub_packet": {},
    "passed_count": {},
    "decision_tree": {},
    "policy_service": {},
    "recommendation": {},
    "adjudication_id": {},
    "total_questions": {},
    "result_document_id": {},
    "policy_question_count": {}
  },
  "additionalProperties": true
}
```
