Health Insurance Member / Subscriber ID (Labelled)
Detects a labelled health-insurance member, subscriber, policy or group identifier: a member/subscriber/policy/group ID label followed by a 6-15 character alphanumeric value that contains at least one digit. Insurance identifiers are protected health information under HIPAA and are frequently exposed in breach disclosures. Australian private health funds call the identifier a "membership number" (Medibank, Bupa, HCF), and it sits in patient and customer records next to the fund name or "private health insurance"; that label is detected by a second regex with its own, health-specific evidence, because motoring clubs, gyms and loyalty programmes also issue membership numbers.
- Type
- regex
- Engine
- universal
- Confidence
- medium
- Confidence justification
- Medium confidence: the value charset is generic, but requiring an explicit member/subscriber/policy/group ID label adjacent to a 6-15 character value containing a digit substantially reduces false positives. Not high because the label-plus-alphanumeric structure can appear in non-health contexts.
- Jurisdictions
- global, au
- Regulations
- HIPAA, Privacy Act 1988 (Cth)
- Frameworks
- CIS Controls, ISO 27001, NIST CSF, SOC 2
- Data categories
- phi, health
- Scope
- narrow
- Risk rating
- 8
- Platform compatibility
- Purview: Compatible, GCP DLP: Unsupported, Macie: Unsupported, Zscaler: Compatible, CrowdStrike DLP: Unsupported, Palo Alto: Unsupported, Netskope: Unsupported
Pattern
(?-i)(?<![A-Za-z])((?i:(?:member|subscriber|policy|group|enrollee|insured)\s+(?:id|identifier|number|no\.?))[\s:#=-]{0,8}(?=[A-Z0-9-]{6,15}(?![A-Z0-9-]))(?:[A-Z-]*\d[A-Z0-9-]*))(?![A-Z0-9-])
Corroborative evidence keywords
health insurance, insurance, member id, subscriber id, policy number, group number, health plan, explanation of benefits
Proximity: 300 characters
Should match
Member ID: ABC123456789— Exact 65 discovery probe with a labelled value but no health-insurance contextsubscriber number = XYZ7654321— Subscriber number label, value contains digits, lowercase labelPolicy No. H12-3456-78— Policy number with hyphenated value containing digitsHealth plan Member ID: ABC123456789— Exact 75 probe with health-insurance contextPatient claim for Health plan Member ID: ABC123456789— Exact 85 probe with health-insurance and person-linked care contextPrivate health insurance: Medibank Private Membership number: 71820394A— Australian private health fund membership number in a patient record (75)Patient: Avery Teston Date of birth: 04/02/1991 Health fund: Bupa Membership no. 6044718 Hospital cover: yes— Australian health fund membership number with patient linkage (85)
Should not match
Member ID: ABCDEFGH— Value has no digit, likely a word not an identifiergroup photo number twelve was the best— Prose using the words group/number with no identifier valuePolicy No. 12— Value too short (under 6 characters)Club Member ID: ABC123456789— Valid non-health membership identifier must remain discovery-onlyFrequent flyer membership number: 7182039A - points balance 48,200, Gold status until 31/12/2026— Loyalty programme membership number with no health context must remain discovery-onlyGym membership number 20481736 - direct debit fortnightly, 12 month term— Gym membership number with no health-insurance context must remain discovery-onlyMotoring club roadside assistance Membership number: 71820394 Your insurer will contact you about coverage for the insurance claim lodged on 12/08/2026.— Motoring-club membership number beside general insurance words (insurer, coverage, insurance claim) must remain discovery-only
Known false positives
- Order numbers, membership IDs for non-health clubs, or group codes that share the member/policy/group labelling. Mitigation: Require corroborative health-insurance keywords (health plan, EOB, payer) within proximity to confirm a health context.
- Motoring club, general insurer and mutual memberships (roadside assistance, car or home insurance) where a "membership number" or "policy number" sits near the words insurer, coverage or insurance claim. Mitigation: A "membership number" label is a separate primary whose 75 and 85 tiers accept health-fund context only (health fund, private health, health cover, hospital cover, extras cover, Medibank, Bupa), so these membership records stay at the 65 discovery tier. A "policy number" or "member ID" beside insurer, coverage or insurance claim still reaches 75 through the original labels, as it did before 1.3.0; that older behaviour is unchanged.
- Loyalty, frequent-flyer, gym, union and library "membership number" fields, matched by the membership label. Mitigation: They stay at the 65 discovery tier unless health-fund context is within 300 characters. A club page that prints a membership number next to a health-fund offer ("members save on hospital cover with ...") would reach 75.
- Health fund membership numbers recorded with no fund name and none of the health-fund terms, for example under a bare "Health insurance" or "Insurance" heading, or for funds other than Medibank and Bupa. Mitigation: Not detected above 65 (false negative) unless "health fund", "private health", "health cover", "hospital cover" or "extras cover" is within 300 characters. Short or ambiguous fund names (nib, HCF, HBF) are deliberately not keywords; add the funds your records name at deployment.
References
- HHS - HIPAA Privacy Rule (protected health information)
- HHS - HIPAA breach notification rule
- Bupa Australia - Find your membership number - the identifier is called a membership number and is on the card or welcome email
- HCF - Your online account - the membership number is on the front of the HCF membership card and on letters and emails
- Medibank - Managing my account, logging in - the membership number includes numbers and letters and is on the digital or physical card