18 HIPAA Identifiers
The 18 hipaa identifiers are personal fields that turn health records into regulated patient data. Engineering teams satisfy privacy rules by limiting database roles, logging queries, and masking sensitive fields. Under the Safe Harbor rule, you must remove all eighteen fields to de-identify data. If even one field stays in a table, federal rules protect that data. Security managers must track every person and app that reads these records. Scope and audit checks for the 18 hipaa identifiers
HIPAA Compliance: the complete guide
Architecture patterns, implementation strategies, and security best practices. Delivered to your inbox.
The 18 hipaa identifiers are personal fields that turn health records into regulated patient data. Engineering teams satisfy privacy rules by limiting database roles, logging queries, and masking sensitive fields.
Under the Safe Harbor rule, you must remove all eighteen fields to de-identify data. If even one field stays in a table, federal rules protect that data. Security managers must track every person and app that reads these records.
Scope and audit checks for the 18 hipaa identifiers
The eighteen fields cover contact details, dates, unique numbers, and physical traits. Common examples include patient names, street locations, email addresses, phone numbers, and fax numbers. Dates linked to a person also count, such as birth dates and admission dates.
Government and health numbers make up the biggest group of protected fields. These include Social Security numbers, medical record numbers, health plan numbers, and account numbers. License numbers, vehicle serial numbers, device identifiers, web URLs, and IP addresses also count. The final items are finger or voice prints, full face photos, and any unique code.
Auditors ask for clear proof that your team protects these fields in production. They do not just read written policies during an audit. They inspect role assignments, approval records, and full query logs across your systems.
Your team must show who ran each query and when it happened. You also need proof that staff only read the minimum data needed for work. Strong logs help teams prepare evidence for HIPAA, SOC 2 Type II, and GDPR.
Why identity rules and reviews need query logs and masking
Many teams start by linking their identity provider to their cloud databases. They assign role permissions and run user reviews every three months. These steps help, but static roles do not show what happens inside a live session.
An engineer with a read role might run a broad query to fix a bug. That query can return thousands of emails, phone numbers, or national IDs at once. Static role lists will never show which rows that engineer actually pulled.
HIPAA Compliance: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
Runtime command logs close this gap for security managers and auditors. Every query or command links back to a single verified person, not a shared account. During a review, managers check real usage instead of guessing who needs a role.
Response masking adds another layer of control during daily support work. Masking rewrites matched fields like emails, phone numbers, card numbers, and national IDs in results. Engineers still check row counts, dates, and app state to fix the bug.
How teams build a repeatable data governance workflow
Start by finding every database and server that stores patient records. Tag those systems so your team knows where protected data lives. Remove shared database passwords and link every user to your central identity provider.
Next, require peer approval before anyone runs write commands on production health tables. Set up automated masking rules for structured fields like emails, phone numbers, and national IDs. Store your command logs in a safe place where users cannot alter them.
Review these logs before your next audit to spot broad or unused permissions. When an auditor asks for evidence, export the exact command history and approval trail. This habit turns a stressful yearly audit into a quick, routine check.
Govern statements and responses across databases and APIs
Good config and scoped roles are needed setup. They do not check single queries in flight or mask sensitive fields in returned rows. Across Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, and internal HTTP endpoints, hoop.dev sits inline in the protocol beside each supported service as an open-source proxy, a sidecar for your database or API. For every query or command an AI agent or engineer runs against production, hoop.dev decides to pass, mask, block, or hold it for human approval.
First, hoop.dev guardrails block banned queries before they run or hold risky ones for review, and hoop.dev data masking rewrites matched sensitive values in responses in memory. Furthermore, hoop.dev holds SOC 2 Type II and is open source on GitHub.
Frequently asked questions
What is the HIPAA Safe Harbor method?
Safe Harbor is a federal rule for de-identifying patient health records. You must remove all 18 hipaa identifiers and have no reason to think someone can re-identify the person.
Do IP addresses and web URLs count as protected identifiers?
Yes, IP addresses and web URLs count when linked to health data. If an app logs a patient IP address next to medical records, that log is protected.
What audit evidence do assessors ask for on database sessions?
Assessors ask for user role lists, access approval tickets, and query logs. They check that every production query ties to an individual identity and a valid work reason.
Related guides
In this post