DOSSIER_ID:TENDARA
Healthcare SaaS

Tendara

HIPAA-compliant care management platform automating family updates and staff workflows for nursing homes.

Next.jsTypeScriptTailwind CSSPostgreSQLPrismatRPCVercelLive Project

Technical Challenge

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.

Engineering Solution

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.

Portal
Next.js
RBAC
tRPC
Events
Worker
Records
Postgres

Code Spotlight

"residentRouter.ts"

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.

Technical_Dossier_Source
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;
    })
});

Technical Metrics

Callback Time
-65%
Compliance
HIPAA
Roles Served
4 Tiers

Dossier Context

Archive Status
Active
Engineering Role
Lead
Commencement
Q4 2024
Distribution
Public_Repo

GitHub Intelligence

72
Stars
9
Forks
Git Checkout Repo

Product Deep Dive?

I specialize in high-scale architectural builds. Let's discuss the mechanics of your next project.

Initiate Discovery