Tracer-MED · compliance
How bound_violations = 0 answers ANVISA and HIPAA audit
The mathematical guarantee of the Winnex Madhava 1.9.1 engine in Tracer-MED, translated into audit evidence for healthcare. A technical and commercial guide for partners: what the proof proves, what it does not, and how to sell it honestly.
01 · Purpose
What this document does
It maps, requirement by requirement, how proof of search completeness answers objective audit requirements.
The mapping, not a pitch
Each regulatory requirement is connected to the field Tracer-MED actually records. ANVISA in the Brazilian context, including LGPD and the applicable RDCs; HIPAA under 45 CFR Part 164.
What it converts
A technical asset into a sales tool for partners who must justify regulated semantic search to an auditor who has never seen the engine.
An honest reading — important for the sale
Tracer-MED is not a medical device, and the compliance reports are self-assessment templates, not certifications issued by regulators.
The bound_violations = 0 proof is the technical basis that makes those reports meaningful — and final responsibility for compliance remains with the institution.
Being explicit about this builds trust and disarms the client compliance objection. A partner who oversells this loses the account at the first audit.
02 · Mechanics
What bound_violations = 0 means
For each query, the Madhava engine computes, per document, an upper bound via the Cauchy-Schwarz inequality. If the bound proves the document cannot be in the top-K, it is excluded with proof — never by heuristic or probability.
The completeness guarantee
No relevant record was lost in this triage. This is the claim the certificate supports, and the only one.
bound_pairs = N
Pairs (document, bound) evaluated — the size of this query's audit record. It is a count of what was examined, not a quality score.
sound = true
The same guarantee as a boolean flag, for convenience in querying and filtering the trail.
pruned_by_bound vs pruned_by_prefilter
Discarded with proof, versus discarded by a latency heuristic. The distinction matters: only the first is evidence.
03 · Mapping
Mapping to audit requirements
Each row connects a regulatory requirement to the field Tracer-MED records. Use this section directly in the client meeting.
| Requirement | What it asks | What Tracer-MED records |
|---|---|---|
| LGPD Art. 20 | Review of automated decisions | Each triage persists the proof plus boundPairs, sound, engine and resultJson |
| LGPD Arts. 5 II and 11 | Sensitive health data | Completeness prevents silent loss; triage metadata documents purpose and operator |
| RDC 585/2021 | Software traceability | The QR certificate validates the projection hash after the fact |
| RDC 830/2023 | Transparency in processing | A queryable trail plus self-assessment reports make accountability verifiable |
| HIPAA 164.308(a)(1)(ii)(D) | Information System Activity Review | A persisted record per triage: who, when, query, proof — queryable by tenant and sound |
| HIPAA 164.312(b) | Audit Controls | companyId, userId, tenantId, query, filters and the full proof with engine version |
| HIPAA 164.312(e)(1) | Integrity | The QR validates only the mathematical hash and metadata, without exposing ePHI |
| HIPAA 164.514 | De-identification | The engine indexes vectors, not text; the trail stores audit metadata, not payloads |
This is an evidence template, not a certification. The institution remains responsible for its own compliance posture.
04 · Audit trail
What the audit trail records
What the auditor sees when querying a triage's persisted trail.
| Field | Example | Use in audit |
|---|---|---|
| boundViolations | 0 | Completeness guarantee — the core of the evidence |
| boundPairs | 8 | Size of this query's audit record |
| sound | true | Convenience flag for query and filtering |
| engine | winnex-madhava 1.9.1 | Exact version that produced the proof |
| tenantId / companyId / userId | liferay-1001 | Who searched, in which isolated tenant |
| query / cid10 / department | hypertension management | What was searched and with which filters |
| resultJson / latencyMs | {...top docs...} / 3.2 | Top-K result and operational metadata |
Plus the Mathematical Audit Certificate — PDF and QR code pointing at the verification endpoint — for independent validation of the proof's integrity, without exposing clinical data.
05 · In the sale
How to use this document in the sale
A six-step script for the partner to turn the guarantee into a commercial opportunity.
- Open with the regulatory pain — how does your institution prove the clinical search did not miss a relevant record? Do not start with the mathematics; start with the risk.
- Translate the proof into evidence — use the mapping table. Each requirement connects to a field Tracer-MED records.
- Demonstrate the trail live — run the persistence example and show the record with boundViolations = 0; the auditor sees the same screen.
- Show the QR certificate — after-the-fact hash validation without exposing ePHI is a differentiator hard to copy.
- Be explicit about the honesty — self-assessment, not certification. This builds trust and disarms objections.
- Escalate to the product family — the same Madhava has an OpenAI-compatible API plug and a managed inference stack; projects outside Liferay use the guarantee too.