# Verify Facility Document Fax

> Perform Verify Facility Document Fax through MyForms.

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

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

- Handler: `myforms_verify_facility_document_fax`

## Inputs

- `order_id` — Order Id (expression, required)
  Required literal value or workflow expression.
- `patient_id` — Patient Id (expression, required)
  Required literal value or workflow expression.
- `patient_state` — Patient State (expression, required)
  Required literal value or workflow expression.
- `workflow_number` — Workflow Number (expression, required)
  Required literal value or workflow expression.
- `doc_created_at` — Doc Created At (expression, required)
  Required literal value or workflow expression.
- `local_patient_id` — Local Patient Id (expression)
  Optional literal value or workflow expression.
- `account_key` — Account Key (text, required)
  Required text value.
  Default: `"soundview_intake"`
- `dry_run` — Dry Run (boolean, required)
  Required true-or-false value.
  Default: `false`
- `send_payload` — Send Payload (json, required)
  Required JSON value.

## Outputs

- `success` — Success
- `outcome` — Outcome
- `fax_purpose` — Fax Purpose
- `fax_attempt` — Fax Attempt
- `fax_submitted` — Fax Submitted
- `resend_required` — Resend Required
- `document_ids` — Document Ids
- `fax_submitted_at` — Fax Submitted At
- `deferred_fax` — Deferred Fax
- `task_status` — Task Status
- `attachment_ready` — Attachment Ready
- `attachment_status` — Attachment Status
- `attachment_failure_reason` — Attachment Failure Reason
- `attached_now` — Attached Now
- `retry_context` — Retry Context
- `doc_created_at` — Doc Created At
- `error` — Error

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",
  "required": [
    "order_id",
    "patient_id",
    "patient_state",
    "workflow_number",
    "doc_created_at",
    "account_key",
    "dry_run",
    "send_payload"
  ],
  "properties": {
    "dry_run": {
      "type": "boolean",
      "default": false,
      "description": "Required true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "order_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "patient_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "account_key": {
      "type": "string",
      "default": "soundview_intake",
      "description": "Required text value.",
      "x-workflow-field-type": "text"
    },
    "send_payload": {
      "description": "Required JSON value.",
      "x-workflow-field-type": "json"
    },
    "patient_state": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "doc_created_at": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "workflow_number": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "local_patient_id": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "outcome": {},
    "success": {},
    "fax_attempt": {},
    "fax_purpose": {},
    "task_status": {},
    "attached_now": {},
    "deferred_fax": {},
    "document_ids": {},
    "fax_submitted": {},
    "retry_context": {},
    "doc_created_at": {},
    "resend_required": {},
    "attachment_ready": {},
    "fax_submitted_at": {},
    "attachment_status": {},
    "attachment_failure_reason": {}
  },
  "additionalProperties": true
}
```
