Canada Québec Health Insurance Number (RAMQ / NAM)

Detects 12-character Québec Régie de l'assurance maladie du Québec (RAMQ) Health Insurance Numbers (Numéro d'assurance maladie / NAM): 4 uppercase letters derived from surname and given name, followed by 8 digits encoding YYMMDD birth date (with +50 on month for female holders), sequence, and check digit.

Type
regex
Engine
universal
Confidence
high
Confidence justification
High confidence: 4 uppercase letters + valid RAMQ YY(MM/+50)DD date + 2 digits is structurally rich and inherently encodes biographical PII (name initials, date of birth, and sex).
Jurisdictions
ca
Regulations
Act respecting the protection of personal information in the private sector (Québec Law 25), PIPEDA
Frameworks
ISO 27001, ISO 27701
Data categories
phi, pii, health, government-id
Scope
narrow
Risk rating
8
Platform compatibility
Purview: Compatible, GCP DLP: Compatible, Macie: Compatible, Zscaler: Compatible, CrowdStrike DLP: Compatible, Palo Alto: Adapted from Purview, Netskope: Adapted from Purview

Pattern

(?-i)\b([A-Z]{4}[\s-]?\d{4}[\s-]?\d{4})\b

Corroborative evidence keywords

RAMQ, numéro d'assurance maladie, NAM, carte soleil, Régie de l'assurance maladie du Québec, Québec health card

Proximity: 300 characters

Should match

Should not match

Known false positives

References

Collections