# Extract Agreement Dates

> Perform Extract Agreement Dates through GenHealth.

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

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

- Handler: `genhealth_extract_agreement_dates`

## 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": {
    "max_gap_days": 0
  },
  "handler": "genhealth_extract_agreement_dates"
}

```

[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.
- `received_date` — Received Date (expression)
  Optional literal value or workflow expression.
- `max_gap_days` — Max Gap Days (number)
  Optional numeric value.
  Default: `0`

## Outputs

- `success` — Success
- `document_id` — Document Id
- `agreement_page_found` — Agreement Page Found
- `date_check` — Date Check
- `hold` — Hold
- `hold_text` — Hold Text
- `hold_reason` — Hold Reason
- `trusted_date` — Trusted Date
- `agreeing_boxes` — Agreeing Boxes
- `odd_boxes` — Odd Boxes
- `form_date` — Form Date
- `form_date_status` — Form Date Status
- `form_date_as_printed` — Form Date As Printed
- `physician_date` — Physician Date
- `physician_date_status` — Physician Date Status
- `physician_date_as_printed` — Physician Date As Printed
- `patient_date` — Patient Date
- `patient_date_status` — Patient Date Status
- `patient_date_as_printed` — Patient Date As Printed
- `physician_signature_present` — Physician Signature Present
- `patient_signature_present` — Patient Signature Present
- `pages_processed` — Pages Processed
- `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"
  ],
  "properties": {
    "document_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "max_gap_days": {
      "type": "number",
      "default": 0,
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    },
    "received_date": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "hold": {},
    "error": {},
    "success": {},
    "form_date": {},
    "hold_text": {},
    "odd_boxes": {},
    "date_check": {},
    "document_id": {},
    "hold_reason": {},
    "patient_date": {},
    "trusted_date": {},
    "agreeing_boxes": {},
    "physician_date": {},
    "pages_processed": {},
    "form_date_status": {},
    "patient_date_status": {},
    "agreement_page_found": {},
    "form_date_as_printed": {},
    "physician_date_status": {},
    "patient_date_as_printed": {},
    "patient_signature_present": {},
    "physician_date_as_printed": {},
    "physician_signature_present": {}
  },
  "additionalProperties": true
}
```
