scrub_hipaa_safe_harbor_835
De-identifies X12 835/837P EDI under HIPAA Safe Harbor offline, applying 18-identifier scrubbing, HMAC join keys, and a fail-closed self-audit to prevent data leaks.
Instructions
Offline HIPAA 45 CFR §164.514(b)(2) 18-identifier X12 835/837P de-identifier with fail-closed zero-leak self-audit (17 restricted ZIP3 -> '000', AGE90PLUS DOB generalization, HMAC join keys) and post-June-2026 $15 / 50-item NSA-IDR batch recoverable EV & state fee-splitting compliance estimator.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"raw_edi": "<raw_edi>"
},
"name": "scrub_hipaa_safe_harbor_835"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| salt | No | Optional deterministic session salt for cross-file 837P<->835 HMAC join keys. | |
| raw_edi | Yes | Raw X12 835 or 837P EDI text. | |
| date_mode | No | Safe Harbor date transformation mode. | relative_offset |
| reference_year | No | Reference year for >89 age generalization (AGE90PLUS). | |
| state_override | No | Optional 2-letter U.S. provider state override for fee-splitting ban checks. |