HL7 FHIR Malaysia Core (MY Core) Implementation Guide
2.0.0 - ci-build

HL7 FHIR Malaysia Core (MY Core) Implementation Guide - Local Development build (v2.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Notification API

Notification API to update user (patient/customer or practitioner) of information that would be of interest to them.

For a source system to integrate with HIE, certain flow requires the notification API to be used during the process to complete the operational flow.


Retrieving Bearer Token

To start using the notification API, a source system needs to be registered and will then be given a credential for them to interact with the API.

Sample Description Sample Body API Method API
Bearer Token
{
    "email":"sample@email.com",
    "password":"12345678"
}
                
POST http://111.22.33.44:55/api/v2/user/session

Use Cases

Below are the use cases that are related to notification APIs:

  1. Virtual Consultation (VC) sessions
  • Once a practitioner begins a VC session, a notification is required to update the customer/patient using RekodSaya to join the VC session.

    Sample Description Sample Body API Method API
    Send Notification
    {
        "title": "VC session starting",
        "body": "You can now join the meeting room",
        "patientIds": ["950728106051"]
    }
                    
    POST http://111.22.33.44:55/api/v2/notification-script
  • Please refer to the Virtual Consultation use case for the overall flow.