Table of Contents |
---|
Introduction
...
- Select party_id from PRM.Party_users where user_id = token.user_id
- Select id from PRM.Employee where
- party_id = a Select 1.
- legal_entitty_id= token.client_id
- Select patient_id from OPS.Declarations where
- employee_id = b Select 2.
- status = active
- Write selected records into Redis in the structure:
user_id | client_id | employee_id | [{patient_id}|
The data in the Redis expires after N minutes or when declared event happens:
...