# Read CCDA Document

> Perform Read CCDA Document through athenahealth.

Source: [https://genhealth.ai/docs/workflows/integrations/athenahealth/athena_read_ccda_document](https://genhealth.ai/docs/workflows/integrations/athenahealth/athena_read_ccda_document)

Integration: [athenahealth](https://genhealth.ai/docs/workflows/integrations/athenahealth.md)

- Handler: `athena_read_ccda_document`

- Connection type: `athenahealth`

## Use in a workflow

Copy this discovered node config, fill params from the input contract, and validate the complete graph. Integration results are available as {{node_id.default.field}}. Check business success before dependent writes; completion alone does not prove business success.

```json

{
  "_group": "athenahealth",
  "params": {},
  "handler": "athena_read_ccda_document"
}

```

[Action contracts](https://genhealth.ai/docs/workflows/action-contracts.md) · [Run recovery](https://genhealth.ai/docs/workflows/operations.md)

## Inputs

- `document_id` — Document Id (expression, required)
  Required literal value or workflow expression.

## Outputs

- `success` — Success
- `outcome` — Outcome
- `document_id` — Document Id
- `document_class` — Document Class
- `document_sub_class` — Document Sub Class
- `status` — Status
- `source` — Source
- `priority` — Priority
- `patient_linked` — Patient Linked
- `patient_id` — Patient Id
- `chart_id` — Chart Id
- `version_token` — Version Token
- `assigned_to` — Assigned To
- `order_type_id` — Order Type Id
- `source_interface_message_id` — Source Interface Message Id
- `available_actions` — Available Actions
- `ccda_document_code` — Ccda Document Code
- `patient_first_name` — Patient First Name
- `patient_middle_name` — Patient Middle Name
- `patient_last_name` — Patient Last Name
- `patient_dob` — Patient Dob
- `patient_sex` — Patient Sex
- `patient_address_line1` — Patient Address Line1
- `patient_address_line2` — Patient Address Line2
- `patient_city` — Patient City
- `patient_state` — Patient State
- `patient_zip` — Patient Zip
- `patient_home_phone` — Patient Home Phone
- `patient_mobile_phone` — Patient Mobile Phone
- `patient_email` — Patient Email
- `referral_count` — Referral Count
- `referral_id` — Referral Id
- `referral_priority` — Referral Priority
- `referral_reason` — Referral Reason
- `referring_provider_first_name` — Referring Provider First Name
- `referring_provider_last_name` — Referring Provider Last Name
- `referring_provider_credential` — Referring Provider Credential
- `referring_provider_npi` — Referring Provider Npi
- `referring_organization_name` — Referring Organization Name
- `referred_to_provider_first_name` — Referred To Provider First Name
- `referred_to_provider_last_name` — Referred To Provider Last Name
- `referred_to_provider_credential` — Referred To Provider Credential
- `referred_to_provider_npi` — Referred To Provider Npi
- `referred_to_specialty` — Referred To Specialty
- `diagnosis_codes` — Diagnosis Codes
- `diagnoses` — Diagnoses
- `referrals` — Referrals
- `insurance_count` — Insurance Count
- `primary_payer_name` — Primary Payer Name
- `primary_payer_address` — Primary Payer Address
- `primary_member_id` — Primary Member Id
- `primary_group_number` — Primary Group Number
- `primary_plan_type` — Primary Plan Type
- `insurances` — Insurances
- `problem_codes` — Problem Codes
- `parse_warnings` — Parse Warnings
- `error` — Error
- `error_message` — Error Message

Output schema completeness: `best_effort_declared`

## Safety

- External effect: `read`
- Confirmation recommended: no
- Retry safe: yes
- Dry run supported: no

## Schemas

These schemas are first-pass authoring guidance. Runtime validation remains authoritative.

### Input schema

```json
{
  "type": "object",
  "required": [
    "document_id"
  ],
  "properties": {
    "document_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "source": {},
    "status": {},
    "outcome": {},
    "success": {},
    "chart_id": {},
    "priority": {},
    "diagnoses": {},
    "referrals": {},
    "insurances": {},
    "patient_id": {},
    "assigned_to": {},
    "document_id": {},
    "patient_dob": {},
    "patient_sex": {},
    "patient_zip": {},
    "referral_id": {},
    "patient_city": {},
    "error_message": {},
    "order_type_id": {},
    "patient_email": {},
    "patient_state": {},
    "problem_codes": {},
    "version_token": {},
    "document_class": {},
    "parse_warnings": {},
    "patient_linked": {},
    "referral_count": {},
    "diagnosis_codes": {},
    "insurance_count": {},
    "referral_reason": {},
    "available_actions": {},
    "patient_last_name": {},
    "primary_member_id": {},
    "primary_plan_type": {},
    "referral_priority": {},
    "ccda_document_code": {},
    "document_sub_class": {},
    "patient_first_name": {},
    "patient_home_phone": {},
    "primary_payer_name": {},
    "patient_middle_name": {},
    "patient_mobile_phone": {},
    "primary_group_number": {},
    "patient_address_line1": {},
    "patient_address_line2": {},
    "primary_payer_address": {},
    "referred_to_specialty": {},
    "referring_provider_npi": {},
    "referred_to_provider_npi": {},
    "referring_organization_name": {},
    "source_interface_message_id": {},
    "referring_provider_last_name": {},
    "referring_provider_credential": {},
    "referring_provider_first_name": {},
    "referred_to_provider_last_name": {},
    "referred_to_provider_credential": {},
    "referred_to_provider_first_name": {}
  },
  "additionalProperties": true
}
```
