Skip to content

↑↓ to move↵ to openesc to close

Talk to Us
Menu
Services

View all services

Codebase AssessmentProject ScopingTechnology Consulting

Hire & Teams

Browse all roles

Solutions
Industries

Explore All Industries

Company
Color theme
Talk to Us
A physiotherapist guiding a patient through an exercise

Case study · Healthcare

Healthcare referrals: one auditable record for every case

One governed referral workflow that connects doctors, hospitals, patients and administrators through a single auditable record

Client
A Baghdad-based digital payments and healthcare group (one of Iraq's largest card issuers)
Industry
Healthcare
What we did
Product Engineering
Engagement
Delivery Pod
Team
4 engineers
Duration
12 months, ongoing

In short

A Baghdad-based digital payments and healthcare group, operator of a live medical appointment-booking app (10,000+ installs) and one of Iraq's largest card issuers, engaged ValueCoders (a subsidiary of Vinove Software & Services Pvt Ltd) to design and build an electronic referral system: a secure, multilingual (Arabic/English, RTL) platform connecting doctors, hospitals, patients and administrators, with referral creation, acceptance, scheduling and settlement integrated with the group's own card/payment gateway. The first phase is an MVP scope; the requirements and user-stories phase has been delivered. Built on React/TypeScript web portals, a Flutter patient mini-app, a Node.js (NestJS) backend, PostgreSQL/Redis/S3 and AWS.

What was the situation?Give a growing healthcare network a single, traceable referral workflow, replacing ad-hoc, cross-hospital referral handoffs with a structured digital journey from case creation through treatment to settlement.

The group's existing platform already handled clinic management and appointment booking, but it had no structured referral workflow and no shared visibility once a patient needed to move between doctors and hospitals. A doctor creating a referral, a hospital accepting or rejecting it, a patient tracking progress and paying, and an administrator reconciling settlements were all separate, manual acts with no single record of the case. For a network spanning Iraq and cross-border care, that meant referrals could not be tracked end-to-end, payments and commissions could not be reconciled against a ledger, and clinical attachments moved outside any audited system. The platform also had to work in Arabic first with full right-to-left layout, integrate with the group's own card/payment gateway, and stay aligned with healthcare data-protection expectations.

The real constraint

Every part of the referral journey (creation, acceptance, scheduling, notification and settlement) had to be one auditable, role-based record integrated with the group's existing platform and its own card/payment gateway, delivered Arabic-first with full RTL, rather than a set of disconnected tools.

What did we do?

The platform uses four role-based interfaces over a modular, service-based backend. The architecture combines React/TypeScript for the doctor and hospital portals, Flutter for the patient app, Node.js (NestJS) for business logic and services, PostgreSQL for core data, and AWS for cloud infrastructure.

  1. Scope: requirements and signed-off user stories

    Requirement workshops produced an understanding document, prerequisite and third-party-integration sheets, an estimation model and a full user-stories set across all four roles, put forward to the client for formal sign-off before build.

  2. Doctor and Hospital web portals

    React/TypeScript portals let doctors create referrals with clinical attachments and track status, and let hospitals receive, review, accept/reject and update referred cases with role-based access.

  3. Patient mini-app and notifications

    A Flutter (Android/iOS) patient mini-app tracks referral progress, appointments and payments, with push notifications via Firebase Cloud Messaging and SMS/WhatsApp/email reminders, in Arabic and English with full RTL.

  4. Admin dashboard, payments and settlement

    An admin dashboard centralizes user onboarding, referral monitoring, an audit trail, reporting and settlement, with payments and installments run through the group's card gateway and a nightly reconciliation job flagging exceptions.

How was it built?

The proposed architecture is modular and service-based, separating presentation, business logic and data so the referral, payment and notification services can evolve independently. Web portals and the patient app sit over a Node.js (NestJS) service layer, a PostgreSQL/Redis/S3 data layer, and an integration layer handling the card gateway and notification channels, all deployed on AWS.

Built with

  • React
  • TypeScript
  • Flutter
  • Dart
  • Node.js
  • NestJS
  • PostgreSQL
  • Redis
  • AWS
  • Firebase Cloud Messaging

The layers

  1. Presentation

    Doctor and Hospital web portals in React.js/TypeScript; patient mini-app in Flutter, multilingual (Arabic/English) with RTL.

  2. Business logic

    Node.js (NestJS) services implementing referral workflow, authentication, notifications and integrations as modular services.

  3. Data

    PostgreSQL for referral/payment/user/audit data, Redis cache, and S3 for secure document and attachment storage.

  4. Integration and infrastructure

    REST APIs, webhooks and a message queue (RabbitMQ / AWS SQS) for the card gateway and notification channels; deployed on AWS (ECS/Lambda/RDS/S3/CloudWatch) with CI/CD.

What changed?

The group’s existing appointment-booking platform had no structured referral capability. ValueCoders engineered an electronic referral system that enables doctors, hospitals, patients and administrators to manage referrals through a single auditable, role-based record. Doctors can create referrals with clinical information and attachments, hospitals can review and manage referred cases, patients can track referral progress and appointments, and administrators can oversee referral activity and audit trails. The platform is Arabic-first with full RTL support and English, with the architecture designed around secure, role-based access and integrated healthcare workflows.

What can the client count on?

  • Auditable. Every referral carries a full audit trail of status changes and actions; settlement and reconciliation run against the gateway ledger with exceptions flagged.
  • Role-based. Doctor, hospital, patient and administrator each get scoped, permission-controlled access to the same case record.
  • Secure. No card PAN stored in the referral system: tokenization/redirect via the card gateway, signed webhook validation, encryption and RBAC, engineered to HIPAA-aligned and GDPR-aligned intent.
  • Localized. Arabic-first with full RTL rendering and English, with externalised i18n strings and RTL visual-regression testing in the acceptance criteria.
The outcomeShow less

The referral system transforms a fragmented referral process into one governed, connected workflow across doctors, hospitals, patients and administrators. Instead of referrals being handled through separate manual actions and disconnected records, each case becomes a single role-based record with a traceable lifecycle, from referral creation and hospital review through patient tracking and case closure.

This creates shared visibility across the referral journey while keeping access appropriate to each user role. Doctors can create and manage referrals with clinical attachments, hospitals can review and update referred cases, patients can follow their referral progress and appointments, and administrators can monitor activity through a centralized dashboard and audit trail.

The platform also brings communication, clinical documentation and operational workflows into a common system, with Arabic-first support and full right-to-left rendering alongside English. Secure document handling, role-based access and auditable actions provide a structured foundation for managing sensitive healthcare information.

The key change is therefore structural: a referral that previously moved between separate people, processes and systems becomes a connected, auditable record that gives every authorized participant visibility into the same case.

Tell us about the project you have in mind.We sign an NDA before you share confidential details. Your account owner replies with where to start.

Who you'll talk to

  • Sanjiv SethiSanjiv SethiVP, Sales
  • Ankit GuptaAnkit GuptaSenior Manager, Sales

Set up a call30 minutes with Sanjiv or Ankit, in your time zone

Loading open times…

Pick a time and add your details on the next screen.

Send a briefReply within four business hours

Your brief goes to our customer records, as set out in our privacy policy.

Last updated

Talk to UsBook a Call