# Verify Current-Order Insurance and Patient Linkage

> Perform Verify Current-Order Insurance and Patient Linkage through Brightree.

Source: [https://genhealth.ai/docs/workflows/integrations/brightree/brightree_verify_current_order_insurance_demographics](https://genhealth.ai/docs/workflows/integrations/brightree/brightree_verify_current_order_insurance_demographics)

Integration: [Brightree](https://genhealth.ai/docs/workflows/integrations/brightree.md)

- Handler: `brightree_verify_current_order_insurance_demographics`

## 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": "Brightree",
  "params": {},
  "handler": "brightree_verify_current_order_insurance_demographics"
}

```

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

## Inputs

- `order` — Order (json, required)
  Required JSON value.
- `patient_id` — Patient Id (expression, required)
  Required literal value or workflow expression.
- `family` — Family (expression, required)
  Required literal value or workflow expression.
- `review_stage` — Review Stage (expression, required)
  Required literal value or workflow expression.
- `expected_sales_order_key` — Expected Sales Order Key (expression, required)
  Required literal value or workflow expression.

## Outputs

- `success` — Success
- `eligible` — Eligible
- `verified` — Verified
- `order_linked` — Order Linked
- `patient_name_matches` — Patient Name Matches
- `patient_birth_date_matches` — Patient Birth Date Matches
- `primary_insurance_present_and_linked` — Primary Insurance Present And Linked
- `reason_code` — Reason Code
- `error` — Error
- `error_type` — Error Type

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": [
    "order",
    "patient_id",
    "family",
    "review_stage",
    "expected_sales_order_key"
  ],
  "properties": {
    "order": {
      "description": "Required JSON value.",
      "x-workflow-field-type": "json"
    },
    "family": {
      "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"
    },
    "review_stage": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "expected_sales_order_key": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "success": {},
    "eligible": {},
    "verified": {},
    "error_type": {},
    "reason_code": {},
    "order_linked": {},
    "patient_name_matches": {},
    "patient_birth_date_matches": {},
    "primary_insurance_present_and_linked": {}
  },
  "additionalProperties": true
}
```
