EQAR / eqar_backend

REST API backend for the DEQAR database.
GNU General Public License v3.0
1 stars 0 forks source link

Logic for new institutions #504

Open ctueck opened 6 months ago

ctueck commented 6 months ago

It turns out that OrgReg from time to time adds new institutions that are already in DEQAR. In those cases, they usually add the existing DEQARINST ID in their records.

Our current logic however leads to duplicates in this case, and we've had some cases with whole countries added where this was a major issue. So a suggestion to change below.

Current logic

What happens now: OrgReg ID is unknown in DEQAR, new record is created, then it turns out that the DEQARINST IDs mismatch.

Proposed logic

This should result in new additions to OrgReg being linked up correctly, provided OrgReg add the existing DEQARINST IDs when adding new records.