Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Sandbox/Version demo/2.0

From OHC Network Wiki
Revision as of 04:25, 5 July 2026 by Admin (talk | contribs) (OHC identity seed)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
🧊 You are viewing documentation frozen at CARE 3.0. For the latest version see Sandbox/Version demo.
guideplatformCARE 2.0 – 3.0


⚠️ Warning
This is a sandbox demonstration of the wiki's versioning system. It is not real documentation. See Sandbox/Version demo for the latest version.

Notification system (v2.0)

Version 2.0 introduced async delivery and user preferences.

Channels

Channel Added in Notes
Email 1.0 Now sent via background queue
In-app 2.0 Bell icon + dropdown
SMS 2.0 Optional, requires Twilio credentials

User preferences

Users could now toggle channels per notification type:

{
  "appointment_reminder": { "email": true, "sms": true, "in_app": true },
  "lab_result":           { "email": true, "sms": false, "in_app": true },
  "system_alert":         { "email": true, "sms": false, "in_app": true }
}

Architecture

Action → Queue (Redis) → Worker → Channel adapter → Delivery
                                 ↘ Retry (3x exponential backoff)

What improved over 1.0

  • Async delivery — no more UI blocking
  • Multi-channel support
  • User opt-out per type/channel
  • Basic retry logic

Still missing

  • No templating engine (messages still hardcoded)
  • No delivery receipts / read tracking
  • No batching (100 users = 100 individual sends)