Illustration

Teleradiology Partner Program turns doctors' and medical reps' recommendations into a controllable channel where every reward is explainable.

10 days to build the partner module
5 reward tiers with per-partner overrides
3 ways to refer a patient: code, link or QR
Project
Project

Partner's Profile

Background

The client is a teleradiology platform in Ukraine for remote reading of CT, MRI, X-ray and mammography for clinics and patients. Paid ads performed poorly, so the business bet on recommendations from doctors and medical representatives. But there was no way to register partners, attribute the patients they brought or pay them rewards, so the channel could not be run or measured.

Objective

Build a partner program as a new module of the platform: registration with moderation, patient attribution through promo codes, links and QR codes, tiered rewards and recorded payouts. Every amount had to be explainable and tied to money the platform had actually received, and partners had to stay structurally cut off from medical data.

Solution

We built a separate partner portal on its own subdomain, applying the same discipline we use in SaaS development. Doctors and medical reps register with a questionnaire and go through manual moderation; the team gets a Telegram alert about partners waiting. Each partner receives a personal promo code that gives the patient a discount, plus a referral link and a downloadable QR code that pre-fill it. Rewards follow 5 tiers with per-partner overrides. Med reps earn a share from patients of the doctors they brought, activation bonuses trigger when a recruited partner's third patient pays, and doctors invite doctors, reps invite reps, one level deep. Partners get statements for any period, a materials library, transactional emails and a mobile layout.

Privacy is enforced by construction, not by hiding buttons. A partner is a user with a partner profile and no staff role, so the medical side is closed to them structurally: they see patient initials, study type and their own reward, never payments, images or reports. The module was built in about 10 days, from late August to mid-September 2026, with roughly 460 automated tests, on a Python and Django backend.

The real engineering was money correctness. An order is attributed after the main payment; the reward accrues once the report is issued and becomes payable only when all held payments of the order are captured. The balance is not a stored counter but the sum of unpaid rewards, and an append-only ledger must reconcile with it.

  • Reaching a higher tier mid-month reprices the whole month retroactively; a refund or failed capture reverses it, a repeated capture restores it.
  • Corrections carry the event date, so a statement for a closed period never changes.
  • Paid-out rewards are never reversed, and repeated payment-provider webhooks never double-count.
  • Payouts take only unpaid rewards, require a bank document, and lock partner profiles in one consistent order: no double payouts, no deadlocks.

Promo Code, Referral Link and QR

Each approved partner gets a personal promo code that gives the patient a discount, a referral link and a downloadable QR code. The link and QR pre-fill the code, so attribution does not depend on the patient remembering it.

Five Tiers, Retroactive Repricing

Rewards follow 5 tiers with per-partner overrides. Reaching a higher tier mid-month reprices the whole month; a refund or failed capture reverses it. Corrections carry the event date, so closed-period statements never change.

Privacy by Construction

A partner is a user with a partner profile and no staff role, so the medical side is structurally closed. Partners see patient initials, study type and their own reward, never payments, images or reports.

Ledger-Backed Payouts

The balance is the sum of unpaid rewards and must reconcile with an append-only ledger. Payouts take only unpaid rewards, require a bank document and lock partner profiles in one order, ruling out double payouts and deadlocks.

Technologies

Backend

Python 3.11, Django 5.2, DRF, Celery

Data

PostgreSQL, MongoDB, Redis, AWS S3

Frontend

React 19, TypeScript, Vite, Tailwind

Payments & Infrastructure

LiqPay, Sentry, Docker

Project

Projects

AI AgentLLM

AI Intake Agent for a Teleradiology Patient Service

A multilingual AI agent that consults patients 24/7, collects structured requests and hands each one to a manager for confirmation.

83% of dialogs end with a request and summary
50% of conversations happen outside work hours
21% click-through to the order page, up from 10%

LLMData Pipeline

LLM Matching of Veterinary Drugs to the State Registry

A data pipeline and API that join ~3,200 online catalog pages with the state registry into one structured veterinary drug reference.

99.8% of product records imported
887 products linked to the state registry
829 matches with confidence of 0.9 or higher

MedicalHealth monitoring

Remote Patient Monitoring App

for remote medical diagnostics and health monitoring.

$50K raised investment
MVP was launched in 3 months

AILLM

AI Translation of Radiology Reports with Doctor Review

An LLM drafts the report translation in 8 languages, the radiologist reviews it, and only then do customers and patients see it.

8 report languages, more added without code
100% of translations reviewed by a radiologist before release
0 outdated translations visible after the original changes

HealthcareSaaS

Referral and Payout Portal for a Teleradiology Platform

Doctors and medical reps refer patients by promo code, link or QR, and every reward is backed by money the platform actually received.

10 days to build the partner module
5 reward tiers with per-partner overrides
3 ways to refer a patient: code, link or QR

eHealthDigital Workspaces

e-Prescribing App

for easy medical prescription issues and management.

300 e-prescriptions are issued daily
-86% reducing recipe errors

Need a project estimate?

Drop us a line, and we provide you with a qualified consultation.

x

Partnership That Works for You

Your Trusted Agency for Digital Transformation and Custom Software Innovation.

Start typing to search...