-
Notifications
You must be signed in to change notification settings - Fork 1
Architecture
Maap Store Architecture comprises the following parts:
- API
- ActiveAdmin
- Workers
This part of the application provides endpoints that enable communications with the client (Maap Collector).
Endpoints' routes are scoped under /api/
.
A UI for admins is provided almost out-of-the-box through ActiveAdmin gem (https://activeadmin.info/). There, admins will be able to view and manage the different aspects of the application such as Sites, Antibiotic Consumption, Lab Record Imports, etc. Additionally, they can grant access to collectors and other admins to start using the app.
Obfuscation of Personal Health Information (PHI) and Patient Identification Numbers (PIDs) is carried out by workers, that run in background processes. By doing this, we avoid doing heavy processing when handling client requests. Workers are managed by Sidekiq Gem (https://github.com/mperham/sidekiq).