Chup Online x MySejahtera
Overview
Chup is a real-time congestion management system that utilizes dynamic queue and appointment automation to reduce long wait times on-premise.
MySejahtera is an app that has been integrated with clinics under Kementrian Kesihatan Malaysia (KKM) to streamline appointment scheduling.
By integrating Chup Online with MySejahtera, we will streamline clinic operations and enhance efficiency through a more synchronized approach to appointment management.
Key Data Synchronization Points
The integration will synchronize the following data points between Chup Online and MySejahtera:
Clinic Info
We need to synchronize clinic information (clinic names, locations, contact details, etc.) between Chup Online and MySejahtera. This ensures that patients and staff have access to consistent and up-to-date clinic details across both platforms.
Service / Department
This involves synchronizing the list of services and departments available at the clinic (e.g., general check-ups, specialist consultations). Ensuring both systems have the same data prevents inconsistencies and allows patients to book the correct services through either platform.
Staff
Synchronizing staff data (e.g., doctors, nurses, specialists) across both systems ensures accurate staff availability and scheduling, improving the efficiency of appointment booking and avoiding double bookings or conflicts.
List available date & times
We need to synchronize available appointment slots (dates and times) in real-time. This enables patients to see the most up-to-date appointment availability, preventing overbooking and ensuring seamless scheduling across both platforms.
Once the data synchronization for the above points is in place, we will enable the following actions:
Create Appointment
Allowing users to create new appointments through either Chup Online or MySejahtera, with the appointment data updated in both systems instantly.
Update / Reschedule Appointment
Synchronization will ensure that any appointment updates or rescheduling performed in one system is reflected in the other, maintaining consistency and reducing confusion for patients and staff.
Cancel Appointment
Cancellations in one system will automatically be updated in the other to ensure no conflicts or overbookings occur, and to free up slots for other patients.
Integration Process
The integration between Chup Online and MySejahtera will involve multiple methods to ensure seamless data exchange and synchronization. The primary methods for this integration will include webhooks, APIs, and CSV imports. Below is a detailed breakdown of each method:
Methods
Webhooks: Handle real-time updates such as appointment changes or staff availability.
APIs: Enable on-demand data retrieval and ensure that the systems can query or post data when necessary.
CSV Imports: Allow bulk synchronization of large datasets such as clinic or service information.
Webhooks will be used for real-time data synchronization between Chup Online and MySejahtera. Webhooks allow one system to notify the other when certain events occur, such as the creation, update, or cancellation of appointments. This ensures that changes made in one system are immediately reflected in the other without the need for manual synchronization.
Process Flow:
Trigger: When a specific event occurs in one system (e.g., an appointment is created, updated, or canceled), the webhook is triggered.
Notification: The webhook sends a payload of relevant data (e.g., appointment details, updated schedules) to the other system's endpoint.
Data Update: The receiving system processes the webhook and updates its records accordingly.
Use Cases:
Appointment creation: If a user creates an appointment in MySejahtera, a webhook will trigger and send the data to Chup Online.
Appointment updates: Any rescheduling or updates will be sent through webhooks so that both systems reflect the latest changes in real-time.
Appointment cancellations: If an appointment is canceled in one system, the webhook will notify the other system to free up the time slot.
Benefits:
Real-time synchronization of data.
Ensures that data across both systems is consistent and up-to-date.
Eliminates manual synchronization or delayed data transfers.
APIs will be used to facilitate direct communication and data exchange between Chup Online and MySejahtera. APIs allow systems to request or send data, which makes them ideal for more complex operations such as retrieving available appointment slots, creating appointments, or querying clinic details.
Process Flow:
Request: One system (e.g., MySejahtera) sends an API request to the other (e.g., Chup Online) to either retrieve or send data.
Response: The receiving system processes the request and returns a response (e.g., a list of available time slots or confirmation of appointment creation).
Use Cases:
Fetching Data: Chup Online may request MySejahtera for the latest clinic, department, or staff information using an API.
Creating Appointments: Users may book an appointment on Chup Online, which will trigger an API call to MySejahtera to create the same appointment in their system.
Data Sync: Data such as staff availability, service offerings, and clinic schedules can be requested via API to ensure both systems stay synchronized.
Benefits:
Flexible and secure method of exchanging data.
Allows for both real-time data retrieval and submission.
Facilitates complex data transactions such as multi-step appointment booking or validation.
CSV Import Integration
CSV imports will be used for bulk data synchronization between the systems, especially when onboarding or updating large amounts of data (e.g., clinics, services, staff details). This method is particularly useful for initial data setup or scheduled updates where real-time synchronization is not necessary.
Process Flow:
Export Data: Data from one system (e.g., MySejahtera) is exported into a CSV file, containing fields such as clinic information, services, staff, or appointment schedules.
Import Data: The CSV file is then imported into Chup Online, which processes the data and updates its records accordingly.
Use Cases:
Initial Setup: A bulk import of clinic data, staff details, and available services from MySejahtera to Chup Online to get both systems aligned.
Periodic Sync: Scheduled imports can be used to periodically update services or clinic details where real-time synchronization is not required.
Historical Data Transfer: Import of past appointments or historical data to ensure both systems have a complete record.
Patient Action: When a user in MySejahtera attempts to create an appointment, they will be presented with a button (e.g., "Create Appointment on Chup Online").
Redirect: Clicking the button will redirect the user to the Chup Online portal, where they can finalize the appointment booking process.
Chup Online Handles Appointment Creation: Appointment details are entered directly into Chup Online, ensuring the system's advanced scheduling features are fully utilized.
No Real-Time Data Exchange Needed: Since the appointment is handled entirely within Chup Online after the user is redirected, thereβs no need for real-time synchronization of appointment data at this stage. Instead, the two systems rely on the periodic bulk import for service and clinic information.
Benefits:
Seamless User Experience: Users in MySejahtera can easily transition to Chup Online for appointment creation, maintaining a smooth experience.
Full Utilization of Chup Online's Features: Redirecting users to Chup Online allows clinics to leverage Chup Onlineβs dynamic and advanced scheduling capabilities, such as live queues and real-time appointment management.
Reduced Complexity: By handling appointment creation exclusively within Chup Online, we avoid the need for complex, real-time appointment data exchange between the two systems.
Efficient Bulk Data Sync: Synchronizing clinics, services, and staff details via CSV import simplifies large-scale data updates without needing real-time processes.
By integrating both systems, KKM clinics will benefit from the advanced features of Chup Online while maintaining the familiarity and accessibility of MySejahtera.
Chup Online API List
Auth
Business info / Clinic Info
Service
Staff
List available date & times
Create appointment
Update / reschedule appointment
Cancel appointment
Last updated
Was this helpful?