Vantly Health
HIPAA-compliant care management platform automating family updates and staff workflows for nursing homes.
Engineering Telemetry & Metrics
Bottlenecks & Scale Constraints
Nursing home staff spend hours daily fielding family calls about resident status. Existing tools are fragmented, non-HIPAA compliant, or built for hospitals, leaving long-term care facilities with manual workflows, missed updates, and frustrated families.
Target Architecture & Execution
Built a multi-tenant SaaS unifying resident records, family messaging, vitals tracking, and audit-grade RBAC under one HIPAA-compliant roof. Role-based portals (Family, Staff, Facility Admin, Org Admin) surface only relevant data, while automated event triggers push real-time updates to families.
Key Architectural Pillars
Multi-Tenant Role-Based Architecture
HIPAA-Compliant Audit Trails
Automated Family Update Pipeline
Real-Time Vitals & Medication Tracking
Data Pipeline & Node Flow
Next.js App Router on Vercel Edge fronting a tRPC API. Prisma manages row-level multi-tenant isolation on PostgreSQL. Background workers fan out HIPAA-safe family notifications via signed channels.
Portal (Next.js)
Implementation Snippet
tRPC procedure gating resident reads behind tenant-scoped middleware. Validates role permissions, fetches scoped data, and emits a HIPAA audit log entry in a single transaction.
export const residentRouter = router({
getById: protectedProcedure
.input(z.object({ residentId: z.string().uuid() }))
.query(async ({ ctx, input }) => {
await assertCanView(ctx.user, input.residentId);
const resident = await ctx.db.resident.findFirst({
where: { id: input.residentId, facilityId: ctx.user.facilityId },
include: { vitals: { take: 10, orderBy: { takenAt: 'desc' } } }
});
await ctx.db.auditLog.create({
data: { actorId: ctx.user.id, action: 'RESIDENT_VIEW', targetId: input.residentId }
});
return resident;
})
});Dossier Specifications
Building a mission-critical web system?
Whether you need low-latency transaction queues, HIPAA-compliant healthcare portals, or full-stack performance tuning, let's architect it right.