# AddInsuranceResponse

Model ID: `AddInsuranceResponse`

Response for POST /patients/insurance.

Type: `object`

## Fields

| Field | Type | Required | Format | Allowed values | Default | Nullable | Description |
|---|---|---:|---|---|---|---:|---|
| `athena_best_match` | `object|null` | No |  |  |  | Yes | The Athena insurance package the AI match service picked and submitted, for transparency. null when no package matched or Athena did not run. |
| `athena_insurance_error` | `string|null` | No |  |  |  | Yes | Human-readable reason the Athena mirror failed, when athena_insurance_status is 'failed'. |
| `athena_insurance_status` | `string|null` | No |  |  |  | Yes | 'linked' if the insurance was also mirrored into Athena, 'failed' otherwise, null if this tenant has no Athena integration configured. |
| `coverages_created` | `integer` | Yes |  |  |  | No | Number of FHIR Coverage resources created by this request. |
| `fhir_patient_id` | `string|null` | Yes |  |  |  | Yes | Deprecated alias of `patient_id`, kept for one release as a compatibility grace window. |
| `openloop_best_match` | `object|null` | No |  |  |  | Yes | The Healthie insurance plan the AI match service picked and submitted, for transparency. null when no plan matched or OpenLoop did not run. |
| `openloop_insurance_error` | `string|null` | No |  |  |  | Yes | Human-readable reason the OpenLoop mirror failed, when openloop_insurance_status is 'failed'. |
| `openloop_insurance_status` | `string|null` | No |  |  |  | Yes | 'linked' if the insurance was also mirrored into Healthie (OpenLoop), 'failed' otherwise, null if this tenant has no OpenLoop integration configured. |
| `patient_id` | `string|null` | Yes |  |  |  | Yes | FHIR Patient resource ID the coverage was added to. |

## Example

None declared in canonical OpenAPI.
