# Read Patient PCP

> Perform Read Patient PCP through eClinicalWorks.

Source: [https://genhealth.ai/docs/workflows/integrations/eclinicalworks/ecw_read_patient_pcp](https://genhealth.ai/docs/workflows/integrations/eclinicalworks/ecw_read_patient_pcp)

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

- Handler: `ecw_read_patient_pcp`

- Connection type: `eclinicalworks`

## Inputs

- `patient_id` — Patient Id (text, required)
  Required text value.
- `encounter_id` — Encounter Id (text, required)
  Required text value.

## Outputs

- `found` — Found
- `pcp_id` — Pcp Id
- `pcp_name` — Pcp Name

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": [
    "patient_id",
    "encounter_id"
  ],
  "properties": {
    "patient_id": {
      "type": "string",
      "description": "Required text value.",
      "x-workflow-field-type": "text"
    },
    "encounter_id": {
      "type": "string",
      "description": "Required text value.",
      "x-workflow-field-type": "text"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "found": {},
    "pcp_id": {},
    "pcp_name": {}
  },
  "additionalProperties": true
}
```
