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
- Patient master (MRN)
- Appointments & slots
- Admissions / deliveries
- Billing & packages
- Discharge summary flag
CRM
Leads, tasks, campaigns
- Lead & enquiry
- Call / WhatsApp activity
- Follow-up tasks
- Campaign source
- Consent status
Engagement channels
Voice AI, WhatsApp, ads
- 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 field | CRM field | Direction | Rule |
|---|---|---|---|
| MRN / UHID | patient_mrn | EMR → CRM | Key |
| Mobile number | phone_e164 | Two-way | Hashed for ads |
| Unit / branch | preferred_unit | Two-way | — |
| Appointment date & doctor | appt_at, doctor_id | EMR → CRM | — |
| Visit status | journey_stage | EMR → CRM | — |
| Package / bill value | revenue_band | EMR → CRM | Banded, not exact |
| Due service (vaccine, scan) | next_due | EMR → CRM | — |
| Lead source & campaign | utm_source, campaign_id | CRM → EMR | — |
| Marketing consent | consent_mkt | CRM → EMR | Required for recall |
| Diagnosis / clinical notes | not synced | Blocked | Never leaves EMR |
Live sync events
Sample stream
10:52Synced
Appointment booked · Priya S.
Voice AI → EMR
10:49Synced
Walk-in checked in · Vikram P.
EMR → CRM
10:41Review
Duplicate patient match · Meera J.
CRM ↔ EMR
10:33Synced
Delivery conversion sent · Birthright Hyd
EMR → Meta CAPI
10:20Review
Consent missing — recall held · Aarav N.
CRM
10:12Synced
Vaccine due task created · Baby of Kavya R.
EMR → CRM
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