Native Architecture with LamaniPulse
LamaniPulse EHR is Lamanify's purpose-built healthcare management system designed specifically for private clinics, dental centers, and specialist practices across Southeast Asia.
Because LamaniPulse is built on modern web standards, the LamaniSync integration requires zero manual DOM scripting and operates over a high-throughput, native memory channel.
[LamaniPulse EHR Web Tab]
│
│ (Native BroadcastChannel / postMessage API)
▼
[LamaniSync MV3 Service Worker]
│
│ (Sub-100ms WebCrypto Ed25519 Payload Signing)
▼
[LamaniHub Cloud Engine]
Zero-Configuration Setup
Connecting LamaniPulse takes less than 60 seconds:
- Install LamaniSync from the Chrome Web Store.
- In the extension popup, paste your LamaniHub pairing token.
- Open LamaniPulse EHR in any tab and log in with your clinic credentials.
- Auto-Detection: LamaniSync automatically detects the verified LamaniPulse session header and completes the mutual WebCrypto handshake.
- The extension status immediately turns green:
LamaniPulse Native Bridge Active.
Native Adapter Capabilities
When running with LamaniPulse EHR, LamaniSync unlocks exclusive capabilities:
| Feature | Legacy CMS Adapters | LamaniPulse Native |
|---|---|---|
| Sync Latency | 500ms – 1200ms | < 80ms (Instantaneous) |
| Slot Ingestion | Polled DOM scraping | Event-driven reactive push |
| Patient Check-in | Manual status change | Automatic WhatsApp arrival trigger |
| Double-Booking Prevention | Workstation-level mutex | Real-time database atomic locks |
| Doctor Schedule Overrides | 60-second polling delay | Immediate WebSocket push notification |
Browser Tab Operating Rules & Route Flexibility
Do Staff Need to Keep the Tab Open Always?
Yes, during clinic operating hours.
LamaniSync operates on an Ambient Authentication architecture (Rule 4 of our security model). The extension never stores or transmits staff passwords, master API keys, or long-lived authentication tokens to the cloud. Instead, it relies on the front-desk staff member's active browser login session.
| State | What Happens | Action Required |
|---|---|---|
| Tab Open & Active | Real-time bi-directional synchronization (< 80ms latency). | None (Normal operation) |
| Tab Open in Background / Another Tab Focused | Full real-time synchronization continues uninterrupted. | None (Background workers handle events) |
| Tab Closed Accidentally | Inbound appointments from LamaniHub queue safely in public.sync_outbox as PENDING. Zero data loss. | Reopen any LamaniPulse tab. All queued appointments auto-flush and sync instantly. |
Does Sync Only Work on /appointments or Other Pages Too?
Any page under https://app.lamanipulse.com/* maintains 100% active sync.
Staff do not need to stay anchored to the /appointments screen. You can freely navigate throughout the entire system:
/patients: Manage patient demographics, registrations, and medical records./dashboard: View clinic KPI cards and daily overview./queue: Call patients to consultation rooms and monitor wait times./billing: Process invoices, insurance claims, and payments.
#### How Multi-Route Sync Functions:
- Hub → CMS Writes (Create, Reschedule, Cancel):
- When a patient books or modifies an appointment on WhatsApp via LamaniHub, LamaniSync executes the write via the PostgREST data layer directly inside the open page context.
- This executes seamlessly in the background regardless of whether staff is on
/patients,/queue, or/dashboard. - When staff later navigates to or refreshes
/appointments, the newly confirmed appointment is already rendered on the calendar.
- CMS → Hub Observations (Staff Activity Interception):
- When staff creates or edits patients on
/patients, the in-page observer intercepts the write and replicates it to LamaniHub. - When staff edits or cancels bookings on
/appointments, the observer instantly syncs the calendar state to LamaniHub.
- When staff creates or edits patients on
- In-Page Visual Indicator:
- The green LamaniSync sync badge (
#lamanisync-sync-indicator) floats unobtrusively in the bottom-right corner of every page across the portal, giving staff instant visual confirmation of every synchronized record.
- The green LamaniSync sync badge (
Best Practice: Tab Pinning & Chrome Memory Saver
To ensure uninterrupted sync throughout the working day:
- Pin the Tab: Right-click your LamaniPulse tab in Chrome and select Pin. A pinned tab stays compact on the left of the tab bar and cannot be closed with a single accidental click.
- Prevent Chrome Memory Saver from Discarding the Tab:
- Navigate to
chrome://settings/performancein Google Chrome. - Under Always keep these sites active, click Add.
- Enter
https://app.lamanipulse.comand save. - Chrome will never put the clinic tab to sleep.
- Navigate to