ppazos / cabolabs-ehrserver

Open platform to manage and share standardized clinical data, designed by @ppazos at CaboLabs Health Informatics.
https://cabolabs.com
Apache License 2.0
177 stars 110 forks source link

SYNC template: is not detecting duplicates on the slave server #1015

Open ppazos opened 5 years ago

ppazos commented 5 years ago

If the master syncs a template, shuts down, and syncs the same template again, the slave will create the same template twice. Should be using the template id to compare and avoid creating a duplicate.

Only if the revision number is different, then is OK to store it, but also should be a revision in the slave.

ppazos commented 4 years ago

sync will be removed from EHRServer, this could be valid for Atomik though.