CG CellGen OrderOps Pre-engagement system blueprint
Interactive concept View architecture
Built for CellGen Wellness · July 2026

One order spine.
Four protected views.

A role-aware B2B ordering portal that keeps the clinician experience effortless while protecting wholesale cost, company margin, and rep-level account boundaries.

01 Payment-gated fulfillment 02 Field-level RBAC 03 Auditable margin logic 04 API-ready operations

Interactive product proof

The same system,
seen responsibly.

Switch roles to see how one shared order record can expose the right actions and metrics without leaking margin, unrelated accounts, or operational controls.

ADMIN COMMAND CENTER

Good afternoon, Maya.

MW

LIVE ORDER QUEUE

Needs a decision

MARGIN HEALTH

Pricing integrity

Jul 01–29
31.8% Gross margin

Product concept only. All organizations, orders, figures, and records shown above are synthetic.

Recommended architecture

A controlled flow from
catalog to cash.

Start with a custom Next.js + Supabase core for durable RBAC and auditability; use managed services where they reduce risk rather than forcing the workflow into a no-code constraint.

01 / EXPERIENCE

Role-aware portal

Next.js views for clinicians, reps, admins, and future manufacturer access.

  • Magic link + MFA options
  • Field-level permissions
  • Responsive order workspace
02 / SYSTEM OF RECORD

Transactional core

Supabase/Postgres with row-level security, audit events, and explicit state transitions.

  • Products + price versions
  • Order + commission ledger
  • CSV staging and validation
03 / MONEY

Stripe payment gate

Payment Intent or invoice workflows for card and ACH, reconciled by signed webhooks.

  • Idempotent event handling
  • No fulfillment before paid
  • Refund + dispute visibility
04 / FULFILLMENT

Dispatch adapter

One approval action routes a least-privilege payload by API, webhook, or secure email.

  • Manufacturer-specific adapters
  • Shipment event ingestion
  • Clinician + rep notifications
Cross-cutting controls
RBACAudit trailIdempotency Exception queueObservability

Delivery plan

Prove the risky path.
Then expand.

The first milestone validates identity, price authority, payment confirmation, and manufacturer dispatch before secondary reporting and integrations grow the surface area.

WEEK 01

Blueprint

Workflow mapping, role matrix, product/pricing model, webhook contract, acceptance criteria.

Output: build-ready specification
WEEKS 05–07

Operational breadth

Rep workspace, commissions, shipment events, notifications, CSV import/export, exception handling.

Output: pilot-ready system
WEEK 08+

Scale safely

QuickBooks/EHR adapters, performance hardening, runbooks, monitoring, handoff, prioritized backlog.

Output: production operating rhythm

First working session

Bring one catalog, one commission rule,
and one real order path.

We will leave with the role matrix, canonical order states, integration boundaries, and a narrow proof milestone everyone can evaluate against real acceptance criteria.

Role matrix State machine Payment contract Pilot scope