# Check Duplicate Prior Auth

> Perform Check Duplicate Prior Auth through WellCare.

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

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

- Handler: `wellcare_check_duplicate_prior_auth`

- Connection type: `wellcare`

## Inputs

- `request_artifact` — Request Artifact (expression, required)
  Required literal value or workflow expression.
- `lookback_days` — Lookback Days (number)
  Optional numeric value.
  Default: `30`
- `max_candidate_claims` — Max Candidate Claims (number)
  Optional numeric value.
  Default: `10`

## Outputs

- `success` — Success
- `duplicate_found` — Duplicate Found
- `match_confidence` — Match Confidence
- `matched_claim_count` — Matched Claim Count
- `matches` — Matches
- `details_complete` — Details Complete
- `safe_reason` — Safe Reason
- `error` — Error
- `error_message` — Error Message

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": [
    "request_artifact"
  ],
  "properties": {
    "lookback_days": {
      "type": "number",
      "default": 30,
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    },
    "request_artifact": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "max_candidate_claims": {
      "type": "number",
      "default": 10,
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "matches": {},
    "success": {},
    "safe_reason": {},
    "error_message": {},
    "duplicate_found": {},
    "details_complete": {},
    "match_confidence": {},
    "matched_claim_count": {}
  },
  "additionalProperties": true
}
```
