# CMS Order & Referring NPI Lookup

> Perform CMS Order & Referring NPI Lookup through GenHealth.

Source: [https://genhealth.ai/docs/workflows/integrations/gen-health/cms_order_referring_lookup](https://genhealth.ai/docs/workflows/integrations/gen-health/cms_order_referring_lookup)

Integration: [GenHealth](https://genhealth.ai/docs/workflows/integrations/gen-health.md)

- Handler: `cms_order_referring_lookup`

## Inputs

- `npi` — Npi (expression, required)
  Required literal value or workflow expression.

## Outputs

- `success` — Success
- `found` — Found
- `npi` — Npi
- `last_name` — Last Name
- `first_name` — First Name
- `partb` — Partb
- `dme` — Dme
- `hha` — Hha
- `pmd` — Pmd
- `hospice` — Hospice
- `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": [
    "npi"
  ],
  "properties": {
    "npi": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "dme": {},
    "hha": {},
    "npi": {},
    "pmd": {},
    "error": {},
    "found": {},
    "partb": {},
    "hospice": {},
    "success": {},
    "last_name": {},
    "first_name": {}
  },
  "additionalProperties": true
}
```
