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

Replace EFOTrait_Base variable type for synonyms and mapped_terms #263

Open
ens-lgil opened this issue Apr 25, 2023 · 0 comments
Open

Replace EFOTrait_Base variable type for synonyms and mapped_terms #263

ens-lgil opened this issue Apr 25, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@ens-lgil
Copy link
Member

Investigate the replacement of the | separated TextFields of synonyms and mapped_terms (from the model EFOTrait_Base) by JSON fields.

e.g.: for breast cancer

synonyms = [ {'name': 'cancer of breast'}, {'name': 'mammary cancer'}, ... ]
mapped_terms = [ {'name': 'DOID:1612'}, {'name': 'ICD10CM:C50'}, ...]

This will require changes in:

  • catalog/model.py (including the functions synonyms_list and mapped_terms_list)
  • search/search.py
@ens-lgil ens-lgil added the enhancement New feature or request label Apr 25, 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