# Backfill Completed Studies Phone Numbers

> Perform Backfill Completed Studies Phone Numbers through ExaPACS.

Source: [https://genhealth.ai/docs/workflows/integrations/exa-pacs/exapacs_backfill_completed_studies_phone_numbers](https://genhealth.ai/docs/workflows/integrations/exa-pacs/exapacs_backfill_completed_studies_phone_numbers)

Integration: [ExaPACS](https://genhealth.ai/docs/workflows/integrations/exa-pacs.md)

- Handler: `exapacs_backfill_completed_studies_phone_numbers`

- Connection type: `exapacs`

## Inputs

- `completed_studies_document_id` — Completed Studies Document Id (expression, required)
  Required literal value or workflow expression.
- `completed_schedule_details_document_id` — Completed Schedule Details Document Id (expression, required)
  Required literal value or workflow expression.
- `output_path` — Output Path (text)
  Optional text value.

## Outputs

- `status` — Status
- `document_id` — Document Id
- `filename` — Filename
- `mime_type` — Mime Type
- `report_type` — Report Type
- `filters` — Filters
- `output_path` — Output Path
- `size_bytes` — Size Bytes
- `processed_count` — Processed Count
- `backfilled_count` — Backfilled Count
- `skipped_existing_phone_count` — Skipped Existing Phone Count
- `existing_phone_conflict_count` — Existing Phone Conflict Count
- `unmatched_count` — Unmatched Count
- `ambiguous_count` — Ambiguous Count
- `missing_schedule_phone_count` — Missing Schedule Phone Count
- `blank_accession_count` — Blank Accession Count
- `summary` — Summary
- `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": [
    "completed_studies_document_id",
    "completed_schedule_details_document_id"
  ],
  "properties": {
    "output_path": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "completed_studies_document_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "completed_schedule_details_document_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "status": {},
    "filters": {},
    "summary": {},
    "filename": {},
    "mime_type": {},
    "size_bytes": {},
    "document_id": {},
    "output_path": {},
    "report_type": {},
    "ambiguous_count": {},
    "processed_count": {},
    "unmatched_count": {},
    "backfilled_count": {},
    "blank_accession_count": {},
    "missing_schedule_phone_count": {},
    "skipped_existing_phone_count": {},
    "existing_phone_conflict_count": {}
  },
  "additionalProperties": true
}
```
