# Redact health plan identifiers

> Redact health plan and insurance member IDs from claims, eligibility files, and billing exports.

Canonical: https://bitbanger.in/entities/health-plan-id
Last updated: 2026-10-27

Category: Health data · Entity type: `healthcare.health_plan_id`

A plan ID links a person to their insurer, their employer, and their claims history. It is also one of the 18 HIPAA identifiers.

## How Redactly detects health plan identifiers

- Detected from a member, policy, or plan cue together with the value.
- Handles both all-numeric and alphanumeric identifiers.
- The value must contain a digit, so a plan name alone is not captured.

## Why redact health plan identifiers?

Plan IDs expose the payer relationship, which is both health and employment information.

## Example request

```bash
curl -X POST https://api.bitbanger.in/v1/redact \
  -H "X-API-Key: rdct_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"text": "Member ID: HPN-88231-04, group 5567, plan PPO.", "style": "replace"}'
```

## FAQ

**Does Redactly redact health plan identifiers automatically?**

Yes. Send text to the API and every detected type is redacted, including health plan identifiers. To redact only this type, pass the value healthcare.health_plan_id in the entities filter. No training or configuration is required.

**What happens to health plan identifiers after redaction?**

With style set to replace, each match becomes [healthcare.health_plan_id] — the entity type in square brackets. Setting style to mask replaces every character with a block character, and remove deletes the span entirely.

## Related entity types

- [Medical record numbers](https://bitbanger.in/entities/medical-record) — Redact MRNs and patient record identifiers from clinical notes, referrals, and export files.
- [Medical conditions](https://bitbanger.in/entities/condition) — Redact diagnoses and medical conditions from clinical notes, claim narratives, and support transcripts.
- [Person names](https://bitbanger.in/entities/person-name) — Redact personal names from free text, including partial names the model only half-captures.

Try it on your own text: https://bitbanger.in/entities/health-plan-id
