# 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`

## Use in a workflow

Copy this discovered node config, fill params from the input contract, and validate the complete graph. Integration results are available as {{node_id.default.field}}. Check business success before dependent writes; completion alone does not prove business success.

```json

{
  "_group": "GenHealth",
  "params": {
    "init_policies": "false",
    "save_as_document": "false",
    "include_cover_sheet": "true",
    "answer_all_questions": "false",
    "qualification_llm_route": "inherit",
    "qualification_ocr_route": "inherit",
    "include_clinical_documents": "true"
  },
  "handler": "genhealth_adjudicate_policy"
}

```

[Action contracts](https://genhealth.ai/docs/workflows/action-contracts.md) · [Run recovery](https://genhealth.ai/docs/workflows/operations.md)

## 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"`
- `qualification_llm_route` — Qualification Llm Route (select)
  Optional selected identifier or value.
  Default: `"inherit"`
  Options: Inherit current qualification routing ("inherit"), Strict Bedrock Mantle route ("bedrock_mantle_strict")
- `qualification_ocr_route` — Qualification Ocr Route (select)
  Optional selected identifier or value.
  Default: `"inherit"`
  Options: Inherit current OCR routing ("inherit"), Strict Bedrock Mantle OCR ("bedrock_mantle_strict")
- `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_version` — Policy Version
- `policy_decision_mode` — Policy Decision Mode
- `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"
    },
    "qualification_llm_route": {
      "enum": [
        "inherit",
        "bedrock_mantle_strict"
      ],
      "type": "string",
      "default": "inherit",
      "description": "Optional selected identifier or value.",
      "x-workflow-field-type": "select"
    },
    "qualification_ocr_route": {
      "enum": [
        "inherit",
        "bedrock_mantle_strict"
      ],
      "type": "string",
      "default": "inherit",
      "description": "Optional selected identifier or value.",
      "x-workflow-field-type": "select"
    },
    "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": {},
    "policy_version": {},
    "recommendation": {},
    "adjudication_id": {},
    "total_questions": {},
    "result_document_id": {},
    "policy_decision_mode": {},
    "policy_question_count": {}
  },
  "additionalProperties": true
}
```
