# Get Completed Studies Report

> Perform Get Completed Studies Report through ExaPACS.

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

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

- Handler: `exapacs_export_completed_studies_report`

- Connection type: `exapacs`

## Inputs

- `from_date` — From Date (date, required)
  Required date in YYYY-MM-DD format.
- `to_date` — To Date (date, required)
  Required date in YYYY-MM-DD format.
- `facility_id` — Facility Id (text)
  Optional text value.
- `date_basis` — Date Basis (select)
  Optional selected identifier or value.
  Default: `"scheduled"`
  Options: Scheduled Date ("scheduled"), Approved Date ("approved")
- `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
- `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": [
    "from_date",
    "to_date"
  ],
  "properties": {
    "to_date": {
      "type": "string",
      "format": "date",
      "description": "Required date in YYYY-MM-DD format.",
      "x-workflow-field-type": "date"
    },
    "from_date": {
      "type": "string",
      "format": "date",
      "description": "Required date in YYYY-MM-DD format.",
      "x-workflow-field-type": "date"
    },
    "date_basis": {
      "enum": [
        "scheduled",
        "approved"
      ],
      "type": "string",
      "default": "scheduled",
      "description": "Optional selected identifier or value.",
      "x-workflow-field-type": "select"
    },
    "facility_id": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "output_path": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "status": {},
    "filters": {},
    "filename": {},
    "mime_type": {},
    "size_bytes": {},
    "document_id": {},
    "output_path": {},
    "report_type": {}
  },
  "additionalProperties": true
}
```
