---
title: "Compliance Architecture: HIPAA, PCI-DSS, SOC 2, GDPR and the EU AI Act"
description: "Compliance engineering for regulated systems: HIPAA technical safeguards, PCI-DSS Level 1, SOC 2 controls, GDPR and EU AI Act obligations designed into the architecture, with auditor-ready documentation."
url: https://gqlteam.com/services/compliance/
markdown: https://gqlteam.com/services/compliance/index.md
type: services
date: 2025-01-01
lastmod: 2026-08-28
subtitle: "Technical controls designed into the system, so the audit is a formality"
stats: [{"label":"PCI-DSS Level 1 audit","value":"First pass"},{"label":"HIPAA architecture to audit","value":"6 to 8 months"}]
---

# Compliance Architecture: HIPAA, PCI-DSS, SOC 2, GDPR and the EU AI Act

Technical controls designed into the system, so the audit is a formality

> Compliance engineering for regulated systems: HIPAA technical safeguards, PCI-DSS Level 1, SOC 2 controls, GDPR and EU AI Act obligations designed into the architecture, with auditor-ready documentation.

## Compliance is an architecture property

Retrofitting controls after launch costs many times more than designing them in, and it rarely passes the first audit. Row-level security, audit trails, encryption and access control are not paperwork. They are structural decisions about where data lives, who can reach it and how every access is recorded.

I make those decisions with your team, document them the way an auditor reads them, and leave a checklist the team can apply to every change afterwards.

## The controls I design

- **Row-level security.** PostgreSQL policies that enforce tenant and role isolation in the database, not only in application code.
- **Audit logging.** Request-level trails that record who accessed what, when and why, retained and queryable for the auditor.
- **Encryption and key management.** At rest and in transit, with keys managed where the framework expects them.
- **Access control.** Role-based access with least privilege, short-lived credentials and separation of duties in the deployment pipeline.
- **Data lifecycle.** Retention, deletion, export and minimization implemented as system behaviour.
- **Evidence.** Logs, diagrams and control descriptions produced by the system itself, so the audit does not depend on someone's memory.

## Frameworks

| Framework | What the engagement covers |
|---|---|
| HIPAA | Technical safeguards for PHI: access control, audit controls, integrity, transmission security. Healthcare platforms, clinical trials, EHR integrations, HL7 and FHIR interfaces. |
| PCI-DSS | Level 1 requirements for payment paths: cardholder data environment isolation, logging, encryption, segmentation. |
| SOC 2 | Type II control design and evidence for enterprise SaaS: change management, access, availability, confidentiality. |
| GDPR | Lawful basis, minimization, retention, subject rights and processor relationships reflected in the data model. |
| EU AI Act | Risk classification, technical documentation, logging, human oversight, robustness and data governance for AI systems in scope. Most obligations apply from 2 August 2026 as of this writing; the current timeline is confirmed at the start of every engagement. |

## Two audits, first attempt

A payment processing platform needed PCI-DSS Level 1 while growing tenfold. The architecture isolated the cardholder data environment, set the audit logging and encryption rules per service, and documented the controls for the QSA. The audit passed on the first attempt. A clinical trial platform for US laboratories reached HIPAA and 21 CFR Part 11 readiness in six to eight months on the same principle: controls designed in, evidence generated by the system.

First-pass QSA audit, HIPAA readiness in 6 to 8 months

## What you receive

1. **Gap analysis report.** Current state mapped against the target framework, control by control.
2. **Control mapping matrix.** Every required control mapped to a specific component, with status and remediation.
3. **Remediation roadmap.** Ordered by risk, with effort estimates.
4. **Auditor-ready documentation.** Technical safeguard descriptions, data flow diagrams and access control documentation formatted for the auditor or QSA.
5. **Architecture review checklist.** The reusable list your team applies to future changes.

## Key figures

- PCI-DSS Level 1 audit: First pass
- HIPAA architecture to audit: 6 to 8 months

## Questions

**Are you an auditor?**

No. I design and document the technical controls so that your auditor or QSA finds what they expect to find. The audit itself stays with them.

**We already have a product. Is it too late?**

It is more expensive than starting compliant, and it is the normal case. A gap analysis shows which controls exist, which are missing and which are claimed but not real, and the roadmap orders the fixes by risk.

**What does the EU AI Act change for a software team?**

For systems in scope, most provider and deployer obligations apply from 2 August 2026: risk classification, technical documentation, event logging, human oversight, accuracy and robustness measures, data governance and transparency duties. The engineering part looks a lot like SOC 2 with an AI-specific twist, and it is far cheaper to design in than to retrofit.

**Do you cover GDPR as well?**

Yes: data minimization, lawful-basis tracking in the data model, retention and deletion that actually delete, subject-access exports, and processor agreements reflected in the architecture.


Contact: https://gqlteam.com/contact/ | Book: https://cal.com/dan-podina-snqasy/30min | MCP: https://mcp.gqlteam.com/mcp

