Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checking for duplicate terms in translation data when updating concept #39

Open
filak opened this issue Nov 21, 2023 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@filak
Copy link
Owner

filak commented Nov 21, 2023

Store all the trx terms in a db table

/* terms */
--drop table if exists terms;
create table audit (
  id integer primary key autoincrement,
  dui text not null,   -- DescriptorUI | QualifierUI
  cui text not null,   -- ConceptUI
  term text not null, 
  created text DEFAULT (strftime('%Y-%m-%dT%H:%M:%S','now', 'localtime'))
);

Analyze how to:

  1. populate the table initially
  2. check terms for duplicates before concept update
  3. insert rows for new terms
  4. update when deleting terms

If duplicate is found issue a danger alert - including created + dui + link .../search/dui:

@filak filak added the enhancement New feature or request label Nov 21, 2023
@filak filak self-assigned this Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant