# Get Completed Schedule Details Report

> Perform Get Completed Schedule Details Report through ExaPACS.

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

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

- Handler: `exapacs_export_completed_schedule_details_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.
- `facilities` — Facilities (text)
  Optional text value.
- `search_date_by` — Search Date By (text)
  Optional text value.
  Default: `"studyDt"`
- `include_deleted_studies` — Include Deleted Studies (boolean)
  Optional true-or-false value.
  Default: `false`
- `only_dcm` — Only Dcm (boolean)
  Optional true-or-false value.
  Default: `false`
- `ref_phy_names` — Ref Phy Names (text)
  Optional text value.
- `read_phy_names` — Read Phy Names (text)
  Optional text value.
- `poll_attempts` — Poll Attempts (number)
  Optional numeric value.
  Default: `5`
- `poll_interval_seconds` — Poll Interval Seconds (number)
  Optional numeric value.
  Default: `2`
- `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"
    },
    "only_dcm": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "from_date": {
      "type": "string",
      "format": "date",
      "description": "Required date in YYYY-MM-DD format.",
      "x-workflow-field-type": "date"
    },
    "facilities": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "output_path": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "poll_attempts": {
      "type": "number",
      "default": 5,
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    },
    "ref_phy_names": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "read_phy_names": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "search_date_by": {
      "type": "string",
      "default": "studyDt",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "poll_interval_seconds": {
      "type": "number",
      "default": 2,
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    },
    "include_deleted_studies": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    }
  },
  "additionalProperties": false
}
```

### Output schema

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