Rainbow Children's Hospital and BirthRight
Data backbone

EMR & CRM Integration

How patient records, appointments and marketing leads stay in sync across Rainbow's EMR/HIS, CRM and engagement channels — closing the loop from ad click to delivery and follow-up. All figures are samples until systems are connected.

Records synced today
18,420
+6% vs avg
Lead → patient match
87%
+4 pts
Revenue closed-loop
64%
Target 80%
Clinical fields shared
0
By design

EMR / HIS

Clinical record, OPD/IPD, billing

Read + appointment write
  • Patient master (MRN)
  • Appointments & slots
  • Admissions / deliveries
  • Billing & packages
  • Discharge summary flag

CRM

Leads, tasks, campaigns

Two-way
  • Lead & enquiry
  • Call / WhatsApp activity
  • Follow-up tasks
  • Campaign source
  • Consent status

Engagement channels

Voice AI, WhatsApp, ads

Event stream
  • Call outcomes
  • WhatsApp replies
  • Meta / Google lead forms
  • Offline conversions back to ads

Closed-loop patient flow

Every step writes back so marketing sees real outcomes

Ad lead formCRM lead created< 5 s
CRM leadMatch to EMR patient (phone + DOB)< 30 s
Voice AI / agentSlot booked in EMR schedulerreal time
EMR check-inCRM stage → Walk-in< 1 min
EMR admission / deliveryOffline conversion to Meta & Googlehourly
EMR discharge / vaccine dueRecall task + WhatsApp reminderdaily 6 AM

Patient 360 — unified record

Sample: Priya S.

MRN
RCH-BH-204418
Unit
Banjara Hills
Journey stage
Appointment booked
Doctor
Dr. Pranathi Reddy A
Source
Meta · Birthright
Package interest
Normal delivery
Insurance
Star Health
Consent
WhatsApp + calls
Next due
Antenatal scan, 30 wk
Lifetime value band
₹1.5–2 L

Sync quality

Lead → patient match rate87%
Appointments with source92%
Consent captured78%
Revenue attributed to campaign64%
Duplicate-free records95%

Field mapping

What moves between EMR and CRM — and what never does

EMR fieldCRM fieldDirectionRule
MRN / UHIDpatient_mrnEMR → CRMKey
Mobile numberphone_e164Two-wayHashed for ads
Unit / branchpreferred_unitTwo-way—
Appointment date & doctorappt_at, doctor_idEMR → CRM—
Visit statusjourney_stageEMR → CRM—
Package / bill valuerevenue_bandEMR → CRMBanded, not exact
Due service (vaccine, scan)next_dueEMR → CRM—
Lead source & campaignutm_source, campaign_idCRM → EMR—
Marketing consentconsent_mktCRM → EMRRequired for recall
Diagnosis / clinical notesnot syncedBlockedNever leaves EMR

Live sync events

Sample stream

10:52
Appointment booked · Priya S.
Voice AI → EMR
Synced
10:49
Walk-in checked in · Vikram P.
EMR → CRM
Synced
10:41
Duplicate patient match · Meera J.
CRM ↔ EMR
Review
10:33
Delivery conversion sent · Birthright Hyd
EMR → Meta CAPI
Synced
10:20
Consent missing — recall held · Aarav N.
CRM
Review
10:12
Vaccine due task created · Baby of Kavya R.
EMR → CRM
Synced

Exception queue & safeguards

  • Duplicate patients: 42 pending merge review by front office
  • Recalls held for missing consent: 118
  • Unmatched walk-ins (no lead source): 9% of today
  • Clinical notes, diagnoses and reports never sent to CRM or ad platforms
  • Phone numbers hashed before any ad-platform upload
  • Every write to EMR is logged with user / agent and time