LVD for Regulated Systems: The MedConnect Architecture

In a clinic's software, patient data is everywhere: in the booking screen, the prescription, the lab result, the video visit and the claim. Regulators do not care which module happens to hold it. The book's MedConnect case study asks a pointed question: what if the layers of your architecture were also the boundaries of your compliance work?

A platform where everything touches PHI

MedConnect is the book's representative healthcare platform, a generic composite rather than a real product, aimed at mid-sized medical practices. It brings six workflows into one system: patient management, appointment scheduling, electronic prescribing, lab results, telemedicine, and billing and claims. Each handles protected health information at several points, which the book sees as a wide compliance surface that conventional architectures struggle to handle uniformly.

A note on scope before going further. The case study's outcome figures are projections for a representative platform, and this article is about structure, not about what any real system must do to satisfy a regulator. Treat it as a design pattern to discuss with your own compliance specialists, not as a checklist.

Regulation as a design input

The book names three frameworks the platform is designed around: HIPAA, covering privacy, security and breach notification; HITECH, which strengthened enforcement; and the FDA's rules for electronic records, which concern signatures on prescriptions, audit trails and validation of decision support. These are turned into plain technical constraints. Data must be encrypted when stored and when moving. Audit logs are kept for a long time. Idle sessions end quickly. Access is logged at the level of individual fields, in line with the "minimum necessary" idea. Clinicians depend on the system, so availability matters.

The useful observation is that almost every one of those constraints has a natural home. Some concern the shape of data, some are pure transformations, some are about external systems, some are about workflow, and some are about who may call what. That sorting is what LVD's layers are for.

The thesis: compliance follows volatility

The book's argument is that compliance concerns line up with volatility bands, so each layer can enforce the controls suited to its level of abstraction. Take the definition of what counts as protected health information. It changes on regulatory cycles measured in years, so it belongs in Schema, the most stable layer. The clinical workflows and the way regulators interpret them move far faster, so they sit in Tools. Authentication protocols and endpoints change faster still, so they belong with the API.

The payoff is that compliance stops being a cross-cutting smear across the codebase. Each concern has an address, which means an engineer, a reviewer and an auditor can all ask the same question of the same place. MedConnect Layer by Layer walks through the address of each control.

Six of nine layers

An easily missed detail: MedConnect does not use the whole stack. It uses Schema, Utils, Resources, Tools and API on the server, plus the UI layer for the clinician portal. There is no MCP layer, no Skills and no Agents, because the case study does not call for them. LVD is a vocabulary you apply as far as the product needs, not a mandate to populate every floor.

Teams that mirror the layers

The development team is organised around the layer hierarchy, in the same spirit as the Conway's Law argument in the ShopFlow article. Schema engineers handle domain modelling, FHIR resource mapping and PHI annotation. Utils engineers own the security primitives, data masking, audit formatting and cryptographic helpers. Resource engineers look after the EHR, pharmacy, lab and database integrations. Tool engineers implement clinical workflows and consent enforcement, and API engineers own the gateway and authentication flows.

Around them sit QA engineers focused on compliance test suites, a security engineer and a compliance officer. The last two matter: compliance expertise is inside the team and attached to named layers, not a gate at the end of the process. For more on how the security work divides, see MedConnect: security across the layers.

The takeaway

The case study's central bet is that a layered structure turns a diffuse obligation into a set of specific, checkable ones. That is a claim worth testing against your own domain, and not only in healthcare. Whether the bet pays off for you depends on how honestly your layers reflect how your rules actually change.

What the book covers

  • The six clinical and administrative workflows and their PHI exposure
  • The regulatory landscape the platform is designed around
  • The full table of non-negotiable technical requirements
  • A layer-by-layer walk through the compliance controls
  • Applicability of the same pattern to other regulatory regimes