# Submit Prior Auth

> Perform Submit Prior Auth through CareCentrix.

Source: [https://genhealth.ai/docs/workflows/integrations/care-centrix/carecentrix_submit_prior_auth](https://genhealth.ai/docs/workflows/integrations/care-centrix/carecentrix_submit_prior_auth)

Integration: [CareCentrix](https://genhealth.ai/docs/workflows/integrations/care-centrix.md)

- Handler: `carecentrix_submit_prior_auth`

- Connection type: `carecentrix`

## Inputs

- `document_id` — Document Id (expression, required)
  Required literal value or workflow expression.
- `force` — Force (boolean)
  Optional true-or-false value.
  Default: `false`
- `headless` — Headless (boolean)
  Optional true-or-false value.
  Default: `true`
- `debug` — Debug (boolean)
  Optional true-or-false value.
  Default: `false`
- `lock_wait_minutes` — Lock Wait Minutes (number)
  Optional numeric value.
  Default: `15`
- `patient_first_name` — Patient First Name (expression)
  Optional literal value or workflow expression.
- `patient_last_name` — Patient Last Name (expression)
  Optional literal value or workflow expression.
- `patient_date_of_birth` — Patient Date Of Birth (date)
  Optional date in YYYY-MM-DD format.
- `patient_address` — Patient Address (expression)
  Optional literal value or workflow expression.
- `patient_city` — Patient City (expression)
  Optional literal value or workflow expression.
- `patient_state` — Patient State (expression)
  Optional literal value or workflow expression.
- `patient_zip` — Patient Zip (expression)
  Optional literal value or workflow expression.
- `patient_county` — Patient County (expression)
  Optional literal value or workflow expression.
- `patient_phone` — Patient Phone (expression)
  Optional literal value or workflow expression.
- `patient_gender` — Patient Gender (expression)
  Optional literal value or workflow expression.
- `insurance_payer_name` — Insurance Payer Name (expression)
  Optional literal value or workflow expression.
- `insurance_member_id` — Insurance Member Id (expression)
  Optional literal value or workflow expression.
- `insurance_group_number` — Insurance Group Number (expression)
  Optional literal value or workflow expression.
- `insurance_policy_holder_name` — Insurance Policy Holder Name (expression)
  Optional literal value or workflow expression.
- `provider_npi` — Provider Npi (expression)
  Optional literal value or workflow expression.
- `provider_first_name` — Provider First Name (expression)
  Optional literal value or workflow expression.
- `provider_last_name` — Provider Last Name (expression)
  Optional literal value or workflow expression.
- `service_date` — Service Date (date)
  Optional date in YYYY-MM-DD format.
- `diagnosis_codes` — Diagnosis Codes (repeatable_group)
  Optional list of structured items.
  - `code` — Code (expression, required)
    Required literal value or workflow expression.
- `diagnosis_codes_replace` — Diagnosis Codes Replace (boolean)
  Optional true-or-false value.
  Default: `false`
- `order_items` — Order Items (repeatable_group)
  Optional list of structured items.
  - `hcpcs_code` — Hcpcs Code (expression, required)
    Required literal value or workflow expression.
  - `quantity` — Quantity (number)
    Optional numeric value.
  - `modifier` — Modifier (expression)
    Optional literal value or workflow expression.
  - `start_date` — Start Date (date)
    Optional date in YYYY-MM-DD format.
  - `end_date` — End Date (date)
    Optional date in YYYY-MM-DD format.
- `order_items_replace` — Order Items Replace (boolean)
  Optional true-or-false value.
  Default: `false`

## Outputs

- `success` — Success
- `status` — Status
- `reference_number` — Reference Number
- `authorization_number` — Authorization Number
- `denial_reason` — Denial Reason
- `approved_units` — Approved Units
- `effective_date` — Effective Date
- `expiration_date` — Expiration Date
- `notes` — Notes
- `issues` — Issues
- `screenshots` — Screenshots
- `duration_ms` — Duration Ms
- `message` — Message
- `failure_category` — Failure Category
- `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": {
    "debug": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "force": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "headless": {
      "type": "boolean",
      "default": true,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "document_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "order_items": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "hcpcs_code"
        ],
        "properties": {
          "end_date": {
            "type": "string",
            "format": "date",
            "description": "Optional date in YYYY-MM-DD format.",
            "x-workflow-field-type": "date"
          },
          "modifier": {
            "description": "Optional literal value or workflow expression.",
            "x-workflow-field-type": "expression"
          },
          "quantity": {
            "type": "number",
            "description": "Optional numeric value.",
            "x-workflow-field-type": "number"
          },
          "hcpcs_code": {
            "description": "Required literal value or workflow expression.",
            "x-workflow-field-type": "expression"
          },
          "start_date": {
            "type": "string",
            "format": "date",
            "description": "Optional date in YYYY-MM-DD format.",
            "x-workflow-field-type": "date"
          }
        },
        "additionalProperties": false
      },
      "description": "Optional list of structured items.",
      "x-workflow-field-type": "repeatable_group"
    },
    "patient_zip": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "patient_city": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "provider_npi": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "service_date": {
      "type": "string",
      "format": "date",
      "description": "Optional date in YYYY-MM-DD format.",
      "x-workflow-field-type": "date"
    },
    "patient_phone": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "patient_state": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "patient_county": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "patient_gender": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "diagnosis_codes": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "code"
        ],
        "properties": {
          "code": {
            "description": "Required literal value or workflow expression.",
            "x-workflow-field-type": "expression"
          }
        },
        "additionalProperties": false
      },
      "description": "Optional list of structured items.",
      "x-workflow-field-type": "repeatable_group"
    },
    "patient_address": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "lock_wait_minutes": {
      "type": "number",
      "default": 15,
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    },
    "patient_last_name": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "patient_first_name": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "provider_last_name": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "insurance_member_id": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "order_items_replace": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "provider_first_name": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "insurance_payer_name": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "patient_date_of_birth": {
      "type": "string",
      "format": "date",
      "description": "Optional date in YYYY-MM-DD format.",
      "x-workflow-field-type": "date"
    },
    "insurance_group_number": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "diagnosis_codes_replace": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "insurance_policy_holder_name": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "notes": {},
    "issues": {},
    "status": {},
    "message": {},
    "success": {},
    "duration_ms": {},
    "screenshots": {},
    "denial_reason": {},
    "approved_units": {},
    "effective_date": {},
    "expiration_date": {},
    "failure_category": {},
    "reference_number": {},
    "authorization_number": {}
  },
  "additionalProperties": true
}
```
