AI for billing and coding that sees the codes, not the patient
Locke masks the patient's name, birth date, MRN and member ID on your computer. You decide if codes go through.
- For
- Billers, coders, revenue cycle teams, billing companies and practice billing staff
- Runs on
- x64 Windows and Linux. macOS is coming soon.
- Screens
- AI websites, through the free Locke Extension. Coding agents and SDK calls, through a local proxy.
- Sent to Sonomos
- Account, licence check, settings. Never prompts, files or detections.
- Price
- Free for one person. Teams is $12.99 per user a month. Pricing
What HIPAA asks of billing and coding work
What goes into a billing prompt
With the code types let through, this is what the AI receives.
What you write
Is 99214 with F41.1 supported by this note? Patient Dana Whitfield, DOB 03/14/1979, MRN 00731942.
What the AI gets
Is 99214 with F41.1 supported by this note? Patient PER_ywxp, DOB DOB_hivj, MRN MRN_5j2f.
PERnameDOBdate of birthMRNmedical record number- CPT, ICD-10 found, sent as written
Code types switched off: the codes go through, the patient does not. Invented example.
| The work | What the prompt carries | What the AI receives |
|---|---|---|
Check codes against the documentation | Visit note, CPT and ICD-10 codes, name, MRN. | Note and codes; name and MRN masked. |
Draft a denial appeal | Name, member ID, claim number, service dates. | Name and member ID masked; claim number and dates go as written. |
Work a denials or AR export | Names, birth dates, member IDs, codes. | Identifiers masked; codes and amounts kept. |
Prepare a prior authorization | Patient, member ID, codes, the ordering NPI. | Codes kept; patient IDs and NPI masked. |
Answer a patient's billing question | Name, address, phone, the bill. | The reply; contacts masked. |
Debug a claims integration (health tech) | Sample claims with patient and provider IDs. | The structure; identifiers masked. |
What Locke finds in billing data
- Patient identity
- Names, contacts, birth dates
- Record and member numbers
- MRNs, member IDs
- Government IDs
- SSN, license, passport
- Medical codes
- CPT, ICD-10, HCPCS, NDC; each has its own switch
- Provider identifiers
- NPI, DEA
- Payment details
- Bank account, routing, card numbers
Claim numbers, account numbers and service dates are not detected; Safe Harbor counts the last two as identifiers.
Let the codes through, keep the patient out
Switch off: found, sent as written
- CPT Procedure Code
- ICD-10 Diagnosis Code
- HCPCS Code
- NDC Drug Code
Leave on: masked
- Person Name
- Date of Birth
- Medical Record Number
- Health Plan ID
- Social Security Number (US)
- Address / Location
- 1Check the split in the Sandbox: each value shows as masked or disclosed.
- 2On Teams, members cannot change these; the admin's policy sets them, for the billing office or everyone. Confirm in the Sandbox on a biller's computer.
There is no half-setting: a type switched off goes out in the clear everywhere.
The rules that apply
| Rule | What it asks | Source |
|---|---|---|
| Business associates and subcontractors | The business associate definition names billing and claims processing. Disclosing PHI to a subcontractor needs satisfactory assurance, so an AI vendor needs a BAA first. | Source: 45 CFR 160.103; 45 CFR 164.502(e) |
| HIPAA minimum necessary standard | Limit PHI to the minimum necessary. Treatment disclosures are exempt; payment work is not. | Source: 45 CFR 164.502(b) |
| HIPAA code sets and de-identification | ICD-10-CM, CPT, HCPCS and NDC are standard code sets, not Safe Harbor identifiers; names, service dates and record, beneficiary and account numbers are. | Source: 45 CFR 162.1002; 45 CFR 164.514(b) |
Masking some identifiers does not de-identify a claim. Locke is not a covered entity or business associate and does not decide what is PHI or whether a BAA covers a tool. Not legal advice.
How Locke works on a biller's computer
Finds
67 types of sensitive data, as each request leaves your computer.
Masks
Each value becomes a one-way token, the same every time, so the AI can follow who is who. Requests Locke cannot check are refused.
Stays on your device
Patient data never reaches Sonomos. Detection runs on your computer, not our servers. Our position is that Sonomos is not a business associate for what Locke inspects. Security review pack
What Locke does not do
- It does not detect claim numbers, patient account numbers or dates of service.
- PDF, Excel and Word files, how EOBs often arrive, are blocked, not read; export to CSV.
- Images are not screened; a card photo goes as is unless images are set to Block.
- AI inside a billing system runs on the vendor's servers, out of reach.
- Masking is one-way; reversible tokenization is planned.
- It runs on x64 Windows and Linux; macOS is coming soon.
Full list: known limitations.
For a billing office or an RCM company
- Free
- One person, full protection, no card, no time limit.
- Teams
- $12.99 per user a month, up to 20 seats, 30-day free trial, US only. Admin policies for everyone or selected members. HIPAA reports are evidence about the tool, not an audit.
- Programs
- Revenue cycle and health tech startups: six months free (startup program).
Questions billers and coders ask
Can I use ChatGPT for medical coding?
Sending PHI to an AI provider needs a business associate agreement, and consumer ChatGPT plans do not offer one. A coding question without the patient's identifiers is a different matter. Locke can send the codes and mask names, dates of birth, MRNs and member IDs on your computer. Check every code the AI suggests against the documentation and the official coding guidelines.
Are medical billing companies business associates under HIPAA?
Generally yes, when they do billing or claims processing for a covered entity: HIPAA's definition of a business associate lists both. An AI vendor a billing company sends PHI to is a subcontractor and needs its own business associate agreement first.
Can Locke let CPT and ICD-10 codes through and still mask the patient?
Yes. Each code type has its own switch in Controls, under Sensitive data. Switch off the code types your work needs and leave names, dates of birth, record numbers and member IDs switched on. On Teams the admin sets this in a team policy; confirm the result in the Sandbox before relying on it.
Does Locke detect claim numbers or dates of service?
No. Claim numbers, patient account numbers and dates of service follow each practice's or payer's own format and are not among Locke's data types. They reach the AI as written, so remove them when the task does not need them.
Does HIPAA cover billing records?
Yes. Information that identifies a patient and relates to payment for their health care is protected health information when a covered entity or business associate holds it, and payment is one of the purposes the Privacy Rule governs.
Does Sonomos receive patient data?
No. Detection and masking run on your computer. Sonomos receives your account details, a licence check and your settings. Prompts, files and detections stay on your device.
Give the AI the codes. Keep the patient on your computer.