# Prepare Intake Order Change Match

> Perform Prepare Intake Order Change Match through GenHealth.

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

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

- Handler: `genhealth_prepare_intake_order_change_match`

## Inputs

- `workflow_key` — Workflow Key (text)
  Optional text value.
- `case_payload` — Case Payload (json)
  Optional JSON value.
- `recent_window_days` — Recent Window Days (number)
  Optional numeric value.
  Default: `14`
- `routing_context` — Routing Context (json)
  Optional JSON value.
- `detect_markerless_revision` — Detect Markerless Revision (boolean)
  Optional true-or-false value.
  Default: `false`
- `trigger_payload` — Trigger Payload (json)
  Optional JSON value.

## Outputs

- `success` — Success
- `continue_new_order` — Continue New Order
- `order_change_required` — Order Change Required
- `ready_for_cancellation_writes` — Ready For Cancellation Writes
- `ready_for_dos_revision_upload` — Ready For Dos Revision Upload
- `order_change_match_context` — Order Change Match Context
- `tracker_summary` — Tracker Summary
- `error_message` — Error Message
- `manual_review_required` — Manual Review Required
- `terminal_skip_required` — Terminal Skip Required

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": {
    "case_payload": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    },
    "workflow_key": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "routing_context": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    },
    "trigger_payload": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    },
    "recent_window_days": {
      "type": "number",
      "default": 14,
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    },
    "detect_markerless_revision": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "success": {},
    "error_message": {},
    "tracker_summary": {},
    "continue_new_order": {},
    "order_change_required": {},
    "manual_review_required": {},
    "terminal_skip_required": {},
    "order_change_match_context": {},
    "ready_for_cancellation_writes": {},
    "ready_for_dos_revision_upload": {}
  },
  "additionalProperties": true
}
```
