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

Load medibase and icd11 from static json #1817

Open
sainak opened this issue Jan 10, 2024 · 1 comment
Open

Load medibase and icd11 from static json #1817

sainak opened this issue Jan 10, 2024 · 1 comment
Assignees

Comments

@sainak
Copy link
Member

sainak commented Jan 10, 2024

medibase and icd 11 are static data which could be loaded to directly to cache without fetching them from the db

  • update the medibase model to use atc_classification key as unique id

  • migrate all related models to use this id as fk

  • make id(atc_classification) as pk

  • remove external_id

  • update the load redis index functions to directly use the json to populate the index

  • make loading static data run parallel to the migration in the beat container

cc: @rithviknishad

@DraKen0009
Copy link
Contributor

@sainak I would like to work on this issue , please assign it to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants