# Finalize Intake Documents

> Perform Finalize Intake Documents through MyForms.

Source: [https://genhealth.ai/docs/workflows/integrations/my-forms/intake_finalize_documents](https://genhealth.ai/docs/workflows/integrations/my-forms/intake_finalize_documents)

Integration: [MyForms](https://genhealth.ai/docs/workflows/integrations/my-forms.md)

- Handler: `intake_finalize_documents`

## Inputs

- `order_id` — Order Id (text)
  Optional text value.
- `workflow_number` — Workflow Number (text)
  Optional text value.
- `patient_id` — Patient Id (text)
  Optional text value.
- `patient_state` — Patient State (text)
  Optional text value.
- `ordering_doctor` — Ordering Doctor (text)
  Optional text value.
- `dos` — Dos (text)
  Optional text value.
- `local_patient_id` — Local Patient Id (text)
  Optional text value.
- `account_key` — Account Key (text)
  Optional text value.
- `extra_params` — Extra Params (json)
  Optional JSON value.
- `skip_doc_creation` — Skip Doc Creation (boolean)
  Optional true-or-false value.
  Default: `false`
- `dry_run` — Dry Run (boolean)
  Optional true-or-false value.
  Default: `false`

## Outputs

- `deferred_fax` — Deferred Fax

Output schema completeness: `best_effort_declared`

## Safety

- External effect: `write`
- Confirmation recommended: no
- Retry safe: no
- Dry run supported: yes

## Schemas

These schemas are first-pass authoring guidance. Runtime validation remains authoritative.

### Input schema

```json
{
  "type": "object",
  "properties": {
    "dos": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "dry_run": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "order_id": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "patient_id": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "account_key": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "extra_params": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    },
    "patient_state": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "ordering_doctor": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "workflow_number": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "local_patient_id": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "skip_doc_creation": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "deferred_fax": {}
  },
  "additionalProperties": true
}
```
