Groundskeeper
Research

TFN, Medicare and NDIS participant-number detector specification

Status: implemented as experimental context-bound built-ins; NOT_READY for promotion. Source cut-off: 4 October 2026. The machine-readable contract is au-tfn-medicare-ndis-detectors.json.

Authoritative boundary

DetectorImplemented recognitionExplicitly not claimed
TFNNine contiguous ASCII digits only after exact TFN / Tax File Number or a trusted field. The ATO says a TFN is usually nine digits.Checksum, issuance, ownership, or that every TFN has nine digits. No approved primary checksum algorithm was established.
MedicareTen or eleven contiguous ASCII digits beginning 2–6, only after Medicare number, Medicare card number, or a trusted field.Checksum or current/issued card. ADHA Profile v5.1, DH-4289:2026, Appendix E is pinned, but no express implementation/reuse licence was established, so the algorithm is NOT_IMPLEMENTABLE in this change.
NDIS participant numberExactly nine contiguous ASCII digits beginning 43, plus a strong NDIS/NDIA participant-number label or trusted field. This is stated by NDIA's December 2025 bulk-payment guide.Pattern-only detection, checksum, existence, participant status, ownership, or registry validation. Worker-screening and provider numbers are hard negatives.

All findings are context_bound_structured, at most probable, and contain typed method identifiers and exact original Unicode code-point spans. A bare shape emits nothing. Binding is forward-only and confined to one segment; trusted fields require the trimmed field value to be exactly one candidate. Numeric confidence is 0 (uncalibrated); policy uses typed evidence and state.

Privacy and healthcare controls

The implementations are local and deterministic. They have no network, filesystem, clock, or randomness capability. They perform no ATO, Medicare/HI, NDIA, or other registry lookup; emit no raw value, snippet, normalized value, fingerprint, or value-derived telemetry; and use fixed value-free errors and evidence. Do not send matched values to external judges or use them in logs, traces, metrics labels, training, allowlists, or reversible tokens.

Medicare numbers are health-related identifiers. NDIS participant numbers can reveal disability-scheme participation and TFNs are high-risk government-related identifiers. Observe mode still processes personal information. Real-traffic use therefore needs a deployment-specific authority, purpose limitation, PIA, residency/subprocessor review, incident response, and retention/deletion controls. The repository's restricted-identifier controls in hpii-vsn-privacy-security-controls.md apply by analogy where they are stricter; none of this specification grants a legal authority to process or forward an identifier.

Fixtures and maturity

The positive corpus is deliberately minimal and registered under OD-029. Every shape-valid fixture may collide with an issued identifier, is marked may_match_issued_identifier, carries provenance, and is never paired with a realistic person, provider, clinic, plan, date of birth, or location. The CI scan rejects unregistered label-adjacent candidates and never prints their values.

The default policy remains unchanged. The only supplied runtime profiles are explicit, non-production observe and redact-experimental; capability contracts permit tenant/industry overlays to select record-only behavior, not to broaden recognition or redefine evidence. Promotion remains NOT_READY until OD-029, independent holdout, approved observed-traffic/privacy evidence, and the applicable legal/governance approvals exist. Medicare checksum validation also requires a confirmed licence or permission for the pinned primary source.

On this page