Hashlogics
Industries

HIPAA

HIPAA compliant software, built the cheap way round

Audit trails and de-identified fields cost little when the schema is drawn. Retrofitting them into a live clinical system is the expensive path.

Five things to get right before you write code

5 things that decide this

  1. 01HIPAA names no certification at all, which is exactly why buyers fall back on asking for SOC 2 Type II or HITRUST.
  2. 02Audit controls are a required standard under the technical safeguards at 45 CFR 164.312. Encryption sits in the addressable category, which means you implement it or record a reasoned alternative.
  3. 03Most teams do this backwards. They encrypt everything, log almost nothing, and then cannot say which records a named person opened on a given day.
  4. 04A signed business associate agreement is a promise about handling, not proof of a control. It also does not transfer liability, and it does not cover your subcontractors automatically.
  5. 05Every subcontractor touching protected health information needs its own agreement, including the model provider behind an AI feature.
The problem

Compliance is a data model decision, not a checklist

Teams usually meet HIPAA as a questionnaire. Somebody in procurement sends a spreadsheet, and engineering answers it after the product is built. By then the expensive answers are already fixed.

Two decisions carry most of the weight, and both are made in the first week. What you collect, and what you record about who touched it. Neither is a feature you can add on a Friday.

The Breach Notification Rule makes this concrete. A breach question asks which records a specific person accessed and when. Reconstructing that after the fact is not possible from ordinary request logs. Somebody has to have designed for the question.

The technical safeguards

Required against addressable, and what each means for a build

From the technical safeguards at 45 CFR 164.312. Addressable does not mean optional. It means implement it, or document a reasoned equivalent.

SafeguardCategoryWhat the build has to do
Access controlRequired standardUnique identification per user. No shared logins, because attribution is the point.
Audit controlsRequired standardRecord activity on systems holding PHI, and make that record reviewable rather than merely stored.
IntegrityRequired standardShow that records are intact, and that any improper change would be caught.
AuthenticationRequired standardVerify that a person or system is who it claims to be.
EncryptionAddressableImplement it, or write down the reasoned alternative you chose instead.
Automatic logoffAddressableEnd sessions after inactivity, or justify why your setting differs.
The order that makes compliance cheapLive
  1. Decide the fieldsCollect the least the job needs.
  2. Draw the schemaAge bands, prefixes, stand-in IDs.
  3. Design the trailWho touched which record, when.
  4. Set the rolesLeast privilege, enforced at the API.
  5. Then buildFeatures sit on top of all four.

Reverse this order and every step becomes a migration against live patient data. That is the same work, done under pressure, with a regulator's clock running.

The mistake we see most

Minimum necessary applied at the screen, not the endpoint

A front end hides the fields a role should not see. The endpoint behind it still returns the whole record. Anyone who opens the browser developer tools gets everything, and the access log shows a normal request.

This passes a demo, a code review and often a penetration test scoped to the user interface. It fails the standard, because the disclosure already happened at the API.

The fix is unglamorous. Filter at the query, test the endpoint directly as each role, and treat a field appearing in a response as a disclosure regardless of what the screen drew.

  • Test every endpoint as every role, not just the screens.
  • Treat free-text notes as identified until a scrubber and a human say otherwise.
  • Log the read, not only the write. Breach questions are about who looked.
A client, in their own words

I am extremely happy with the results and would highly recommend Hashlogics to anyone.

Daniel Khin · CEO, PremiumAudit.io

The stack

What we build regulated systems on

Application

ReactTypeScriptNestJSNext.js

Data

PostgreSQLRow-level securityField-level encryptionRedis

Access

Role-based access controlTOTP multi-factorSession authAudit trails

Delivery

DockerGitHub ActionsSonarQubeAWS
Questions, answered

What teams ask about HIPAA and software

01Does using AWS or Azure make our app HIPAA compliant?

No. A cloud provider will sign an agreement covering its own infrastructure obligations, and that is where its coverage stops. How you configure the service, what you store, who can reach it and what you log are all yours. Two teams on identical infrastructure can land in completely different places.

02Do we need HITRUST, or is SOC 2 enough?

It turns on who is buying, because HIPAA requires neither. Digital health startups and most commercial buyers accept SOC 2 Type II. Health systems and payers increasingly specify HITRUST, and some make it a contractual precondition. Ask your three biggest prospects what their security team demands before you spend a year on the wrong one.

03Is a wellness app covered by HIPAA?

Often not, and that surprises founders in an unpleasant direction. HIPAA reaches covered entities and their business associates. A direct-to-consumer app may sit entirely outside it, and still face a state health privacy law, some of which carry a private right of action. Falling outside HIPAA is not the same as being unregulated.

04What does a business associate agreement actually cover?

It obliges the business associate to safeguard PHI, limits how the data may be used, requires breach reporting to the covered entity, and requires agreements to flow down to subcontractors. It does not make software compliant, it does not transfer liability, and it does not remove the covered entity's own obligation to run a risk analysis.

05Are encryption and multi-factor sign-in mandatory yet?

Not as of August 2026, though building as if they are is the cheaper bet. A rule proposed in January 2025 would drop the addressable category and require both outright. It remains a proposal. Any vendor presenting those as today's requirements has not checked, which tells you something about the rest of their advice.

Verified
Start

Anyone can ship the agent. We answer the pager.

We build AI agents and automation, then stay on under an agreed service level. A senior engineer reads every brief, and your call gets scheduled within 24 hours.

What happens next

  1. 01

    You send a brief or book a call

    Two minutes, whichever you prefer.

  2. 02

    A senior engineer replies within 24 hours

    Not a sales rep.

  3. 03

    Honest scoping, in writing

    And if we’re not the right fit, we say so.

Abdul Basit, CEO of Hashlogics

“I started Hashlogics because too many teams ship a demo, get paid, and disappear. We build to a standard we’d run ourselves — and we stay to keep it running.”

Abdul Basit · CEO · a direct line

Not ready to talk? Take the checklist.

12 questions to ask any AI agency before you sign. They separate a demo shop from a team that ships to production.

Get the checklist

Free · no newsletter