# Prepare Prior Auth Preview

> Perform Prepare Prior Auth Preview through Carelon.

Source: [https://genhealth.ai/docs/workflows/integrations/carelon/carelon_preview_prior_auth](https://genhealth.ai/docs/workflows/integrations/carelon/carelon_preview_prior_auth)

Integration: [Carelon](https://genhealth.ai/docs/workflows/integrations/carelon.md)

- Handler: `carelon_preview_prior_auth`

- Connection type: `carelon`

## 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": "Carelon",
  "params": {
    "capture_case_pdf": false,
    "ordering_any_listing": false,
    "ordering_first_match": false,
    "accept_rent_to_own_code_change": false,
    "substitute_missing_ordering_provider": false
  },
  "handler": "carelon_preview_prior_auth"
}

```

[Action contracts](https://genhealth.ai/docs/workflows/action-contracts.md) · [Run recovery](https://genhealth.ai/docs/workflows/operations.md)

## Inputs

- `first_name` — First Name (expression, required)
  Required literal value or workflow expression.
- `source_order_id` — Source Order Id (expression, required)
  Required literal value or workflow expression.
- `recovery_order_id` — Recovery Order Id (expression)
  Optional literal value or workflow expression.
- `last_name` — Last Name (expression, required)
  Required literal value or workflow expression.
- `member_number` — Member Number (expression, required)
  Required literal value or workflow expression.
- `date_of_birth` — Date Of Birth (expression, required)
  Required literal value or workflow expression.
- `date_of_service` — Date Of Service (expression, required)
  Required literal value or workflow expression.
- `cpt_code` — Cpt Code (expression, required)
  Required literal value or workflow expression.
- `icd_code` — Icd Code (expression, required)
  Required literal value or workflow expression.
- `solution_card_id` — Solution Card Id (expression, required)
  Required literal value or workflow expression.
- `ordering_npi` — Ordering Npi (expression, required)
  Required literal value or workflow expression.
- `ordering_document_practice` — Ordering Document Practice (json)
  Optional JSON value.
- `ordering_practice_match_prompt` — Ordering Practice Match Prompt (textarea)
  Optional text value.
- `ordering_state` — Ordering State (expression)
  Optional literal value or workflow expression.
- `ordering_match` — Ordering Match (expression)
  Optional literal value or workflow expression.
- `ordering_first_match` — Ordering First Match (boolean)
  Optional true-or-false value.
  Default: `false`
- `ordering_any_listing` — Ordering Any Listing (boolean)
  Optional true-or-false value.
  Default: `false`
- `ordering_fax` — Ordering Fax (expression)
  Optional literal value or workflow expression.
- `capture_case_pdf` — Capture Case Pdf (boolean)
  Optional true-or-false value.
  Default: `false`
- `accept_rent_to_own_code_change` — Accept Rent To Own Code Change (boolean)
  Optional true-or-false value.
  Default: `false`
- `substitute_missing_ordering_provider` — Substitute Missing Ordering Provider (boolean)
  Optional true-or-false value.
  Default: `false`
- `servicing_npi` — Servicing Npi (expression, required)
  Required literal value or workflow expression.
- `servicing_facility` — Servicing Facility (expression)
  Optional literal value or workflow expression.
- `servicing_state` — Servicing State (expression)
  Optional literal value or workflow expression.
- `servicing_match` — Servicing Match (expression)
  Optional literal value or workflow expression.
- `servicing_fallback_state` — Servicing Fallback State (expression)
  Optional literal value or workflow expression.
- `servicing_fallback_match` — Servicing Fallback Match (expression)
  Optional literal value or workflow expression.
- `phone_type` — Phone Type (expression)
  Optional literal value or workflow expression.
- `phone` — Phone (expression)
  Optional literal value or workflow expression.
- `document_ids` — Document Ids (expression)
  Optional literal value or workflow expression.
- `read_values_from_documents` — Read Values From Documents (expression)
  Optional literal value or workflow expression.
- `supplied_answers` — Supplied Answers (repeatable_group)
  Optional list of structured items.
  - `question_text` — Question Text (expression, required)
    Required literal value or workflow expression.
  - `question_text_match` — Question Text Match (select)
    Optional selected identifier or value.
    Options: Exact ("exact"), Ends with ("ends_with")
  - `kind` — Kind (select, required)
    Required selected identifier or value.
    Options: Single choice ("single_choice"), Multi-select ("multi_select"), Value entry ("value_entry")
  - `expected_options` — Expected Options (expression)
    Optional literal value or workflow expression.
  - `select` — Select (expression)
    Optional literal value or workflow expression.
  - `value` — Value (expression)
    Optional literal value or workflow expression.

## Outputs

- `success` — Success
- `failure_category` — Failure Category
- `outcome` — Outcome
- `dry_run` — Dry Run
- `is_authorized` — Is Authorized
- `retryable` — Retryable
- `manual_review` — Manual Review
- `unanswered_question_id` — Unanswered Question Id
- `unanswered_question_text` — Unanswered Question Text
- `unanswered_question_kind` — Unanswered Question Kind
- `unanswered_question_options` — Unanswered Question Options
- `unanswered_question_exclusive_options` — Unanswered Question Exclusive Options
- `answered_question_count` — Answered Question Count
- `answer_trail` — Answer Trail
- `case_pdf_document_id` — Case Pdf Document Id
- `configured_answer_count` — Configured Answer Count
- `supplied_answer_count` — Supplied Answer Count
- `derived_answer_count` — Derived Answer Count
- `lowest_derived_confidence` — Lowest Derived Confidence
- `clinical_outcomes` — Clinical Outcomes
- `portal_determinations` — Portal Determinations
- `provider_substitution` — Provider Substitution
- `servicing_location_substitution` — Servicing Location Substitution
- `substituted_ordering_npi` — Substituted Ordering Npi
- `substituted_ordering_taxonomy_code` — Substituted Ordering Taxonomy Code
- `substituted_ordering_taxonomy_description` — Substituted Ordering Taxonomy Description
- `route` — Route
- `portal_message` — Portal Message
- `provider_resolution_reason` — Provider Resolution Reason
- `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": [
    "first_name",
    "source_order_id",
    "last_name",
    "member_number",
    "date_of_birth",
    "date_of_service",
    "cpt_code",
    "icd_code",
    "solution_card_id",
    "ordering_npi",
    "servicing_npi"
  ],
  "properties": {
    "phone": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "cpt_code": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "icd_code": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "last_name": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "first_name": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "phone_type": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "document_ids": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "ordering_fax": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "ordering_npi": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "date_of_birth": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "member_number": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "servicing_npi": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "ordering_match": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "ordering_state": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "date_of_service": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "servicing_match": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "servicing_state": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "source_order_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "capture_case_pdf": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "solution_card_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "supplied_answers": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "question_text",
          "kind"
        ],
        "properties": {
          "kind": {
            "enum": [
              "single_choice",
              "multi_select",
              "value_entry"
            ],
            "type": "string",
            "description": "Required selected identifier or value.",
            "x-workflow-field-type": "select"
          },
          "value": {
            "description": "Optional literal value or workflow expression.",
            "x-workflow-field-type": "expression"
          },
          "select": {
            "description": "Optional literal value or workflow expression.",
            "x-workflow-field-type": "expression"
          },
          "question_text": {
            "description": "Required literal value or workflow expression.",
            "x-workflow-field-type": "expression"
          },
          "expected_options": {
            "description": "Optional literal value or workflow expression.",
            "x-workflow-field-type": "expression"
          },
          "question_text_match": {
            "enum": [
              "exact",
              "ends_with"
            ],
            "type": "string",
            "description": "Optional selected identifier or value.",
            "x-workflow-field-type": "select"
          }
        },
        "additionalProperties": false
      },
      "description": "Optional list of structured items.",
      "x-workflow-field-type": "repeatable_group"
    },
    "recovery_order_id": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "servicing_facility": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "ordering_any_listing": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "ordering_first_match": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "servicing_fallback_match": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "servicing_fallback_state": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "ordering_document_practice": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    },
    "read_values_from_documents": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "accept_rent_to_own_code_change": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "ordering_practice_match_prompt": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "textarea"
    },
    "substitute_missing_ordering_provider": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "route": {},
    "dry_run": {},
    "outcome": {},
    "success": {},
    "retryable": {},
    "answer_trail": {},
    "is_authorized": {},
    "manual_review": {},
    "portal_message": {},
    "failure_category": {},
    "clinical_outcomes": {},
    "case_pdf_document_id": {},
    "derived_answer_count": {},
    "portal_determinations": {},
    "provider_substitution": {},
    "supplied_answer_count": {},
    "unanswered_question_id": {},
    "answered_question_count": {},
    "configured_answer_count": {},
    "substituted_ordering_npi": {},
    "unanswered_question_kind": {},
    "unanswered_question_text": {},
    "lowest_derived_confidence": {},
    "provider_resolution_reason": {},
    "unanswered_question_options": {},
    "servicing_location_substitution": {},
    "substituted_ordering_taxonomy_code": {},
    "unanswered_question_exclusive_options": {},
    "substituted_ordering_taxonomy_description": {}
  },
  "additionalProperties": true
}
```
