# Get Patient Location

> Perform Get Patient Location through eClinicalWorks.

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

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

- Handler: `ecw_get_patient_location`

- Connection type: `eclinicalworks`

## 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": "eClinicalWorks",
  "params": {},
  "handler": "ecw_get_patient_location"
}

```

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

## Inputs

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

## Outputs

- `success` — Success
- `zip_code` — Zip Code
- `city` — City
- `state` — State
- `reason_code` — Reason Code
- `error` — Error

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

### Output schema

```json
{
  "type": "object",
  "properties": {
    "city": {},
    "error": {},
    "state": {},
    "success": {},
    "zip_code": {},
    "reason_code": {}
  },
  "additionalProperties": true
}
```
