FHIR Core / OpenSRP 2 is a Kotlin application for delivering offline-capable, mobile-first healthcare project implementations from local community to national and international scale using FHIR and WHO Smart Guidelines on Android.
Authentication strategy
Check if you are in the same team or location based on the logged in practitioner details
Fetch the following details
Location id
Organization id
P2P sync version number
Practitioner role (CHA, Supervisor e.t.c)
App Id
App flavor
Reject the connection request if
i) the P2P sync version number is incompatible
ii) the authentication credentials do not match
The authentication conditions are configurable and implemented on the implementing application. Examples of the conditions that can be evaluated are listed below:
Location needs to be the same
Organization needs to be the same
Team needs to be the same
Authentication can only be accepted for supervisor and CHW with certain conditions
Epic Create Session interfaces + Authentication (Team/Location)
Authentication strategy Check if you are in the same team or location based on the logged in practitioner details
Requires #1077