Hello all

I'm trying to write a medical software ( desktop app ) using lazarus/fpc,
* The software will be distributed for every doctor ( everywhere where are they )
* It will work with internet connection.
* It will use the REST protocol ( I think using mORMot )
* It will connect to remote centralized REST Server who will manage SQL Database.
* Doctor must find patient informations even if it is not his doctor.
I Want to know your opinion for this architecture, about performance, scalability
or giving me suggestion if you find wikness.
I thought about using SQLite3 local database for every application distributed but I will
experiment problem of synchronization of data to remote Centralized SQL Database.
I use :
* Lazarus 2.0.12 / Fpc 3.2.0
* mORMot trunk
* MariaDB for SQL database.
Thanks you in advance.