Admin
Dashboard
KPIs, launch checklist, and quick links
hospitalnode.in · hnorder.in control center
Catalog, orders, partners, retention, and settlements — one admin surface for hospitalnode.in · hnorder.in launch.
Modules
Human Intelligence
Memory · Neural · Body — pharmacy & lab
Pharmacy module
Medicines — pick, cart, Rx checkout, delivery
Lab module (B2B)
Diagnostics B2B — tiers, bookings, collection, reports
Master catalog
Bulk CSV, OpenSearch sync, vendor add-SKU approvals
Bulk sync & cron
Chunked upsert, OpenSearch bulk, vendor job audit
Inventory
All vendor listings — stock, price, Rx flag
Orders
Platform orders — status, Rx, and delivery override
Partners
Pharmacy & lab vendors — KYC and verification
Customers & RFM
Spend, profit, segments, and personalized coupons
Ads & campaigns
Sponsored listings and OpenSearch boost
GMV risk
Fraud GMV, dead stock, settlements, refund exposure
Settlements
Platform GMV, fees, and vendor payout ledger
B2B audit
Unified audit logs — price, stock, orders, fraud flags
Reference
Thesis feature map and architecture notes
Master SKUs
…
Pending catalog requests
…
Shipped (admin scope)
15
Remaining
4 in progress · 1 to do
Launch checklist
hospitalnode.in · hnorder.in medical shop is the focus. Green = done, amber = started, grey = not started.
Catalog & data
Master catalog control room
CSV import, vendor add-SKU requests, approve/reject
OpenSearch → master catalog sync
POST /api/admin/catalog/sync-ingest after ingest_data.py
Drug file ingest (OpenSearch)
services/aethersis-db/ingest_data.py — Medicare T20* skipped by default
Auto-enrichment API (C)
openfda | truemd | cims — test in catalog #enrichment
Supabase migrations 011–014
Taxonomy, coupons, RFM view, payment columns — apply 014 in SQL Editor
Customer RFM & coupon control
Spend, profit, manual Offer Coupon — /admin/customers
Inventory & shop
hospitalnode.in · hnorder.in · Shop (customer)
Browse, cart, checkout, delivery demos
Admin inventory console
Live vendor_products — search, filter, edit stock
Smart listing (master link)
Master catalog picker + custom SKU — /admin/inventory/new
Vendor catalog CSV upload
Inventory page → master catalog bulk (service role)
Partners & ops
Platform
Admin API auth
admin@eaglink.in + Bearer; service_role for writes
Admin shell (advanced)
Sidebar nav, badges, KPIs, sub-links per section
Payment & delivery demos
Checkout, logistics, track-order links
Krishna AI analytics
Delivery ML / district demand
Admin route guard (middleware)
Shipped — enable ENFORCE_ADMIN_ROUTE_GUARD=true on deploy
Automated vendor payouts
Manual mark settled only; Razorpay transfer API todo
Before launch — customer go-live
Admin panel mostly done. Ye table batati hai real transactions, vendor self-serve, aur delivery clear hain ya nahi.
Ab: Razorpay Checkout.js wired when RAZORPAY_KEY_ID + secret set. UPI/cards/wallets go through Razorpay. Demo path works without keys (fake confirm). PhonePe & Cashfree are NOT separate integrations — only if enabled inside Razorpay dashboard.
Launch se pehle: Production Razorpay account, webhook, test ₹1 order, refund flow. No Razorpay Route (auto vendor split) yet.
Ab: Full vendor shell: /vendor/dashboard — Orders, Inventory, Rx verify, KYC, Settlements, Logistics. Admin does NOT need to handle every order if vendor logs in as vendor@eaglink.in or owner-linked account.
Launch se pehle: Onboard 1 real pharmacy, KYC approve, train them on dashboard + settlements tab.
Ab: Connecting-link timeline, India Post lane, dispatch route labels, delivery agent register API + /logistics/join. NO dedicated rider app with live GPS jobs yet. Vendor sees logistics; customer tracks order.
Launch se pehle: Pilot one hub + 2 agents; print dispatch label (digipin/route). Bike-taxi API (Rapido/Porter) = future.
Ab: MVP at /shop/rx: photo or paste → parse lines → master catalog match → vendor SKU → cart + WhatsApp draft. Mock OCR without OPENAI_API_KEY; gpt-4o-mini vision when key set.
Launch se pehle: Pilot with real Rx photos; tune match rate; vendor confirms on WhatsApp before payment.
Ab: L1/L2/L3 filters on /shop; /shop/product/[id] with OpenFDA; migration 014 + launch:prep.
Launch se pehle: Run migration 014; npm run launch:prep; upload real photos to Storage.
Ab: /admin/customers, checkout validation, auto-assign after order, WhatsApp draft hook.
Launch se pehle: Assign SUPERPROFIT20 to pilot VIPs; test LOVENEWMED on checkout.
Ab: Master catalog has generic_name field; shop shows out-of-stock. NO auto-suggest Paracetamol if Dolo OOS.
Launch se pehle: Wire search by generic_name + in-stock vendor listing.
Chronic refill reminders (WhatsApp/push)
Ab: Not built.
Launch se pehle: Cron + patient medicine profile + 25-day reminder template.
Ab: Settlement ledger + manual mark settled. NO automatic split on payment capture.
Launch se pehle: Razorpay Route linked accounts per verified vendor.
AEOLUS pharmacovigilance DB
Ab: TSV files in hospitalnode/aeolus_v1 (drug–outcome adverse events, OHDSI concepts). NOT wired to pharmacy cart/OCR. Use later for drug safety Q&A in Krishna AI, not Rx scanning.
Launch se pehle: Load into DB; API for 'side effects / interactions' — separate from Rx OCR roadmap.
Super-app roadmap (killer features)
P0 launch
- Live Razorpay
- 1 vendor live
- Catalog ingest sync
- KYC
P1 super-app
- Rx OCR + WhatsApp confirm flow
- Smart substitutes
- Razorpay Route
P2 retention
- Chronic refill
- Rider app / 3PL API
- AEOLUS safety layer