care icon indicating copy to clipboard operation
care copied to clipboard

Loading medibase and icd11 static json and migrations

Open DraKen0009 opened this issue 11 months ago • 0 comments

Proposed Changes

1.Updated medibase.json

  • removed _id field
  • added id field

2.Updated MedibaseMedicine model , removed external_id

3.Updated python manage.py load_redis_index command to directly use the json to populate the redis

4.Migrate all related models to use id as fk instead of external_id

Associated Issue

  • Fixes #1817
  • Fixes #2003

Merge Checklist

  • [x] Tests added/fixed
  • [x] Linting Complete

Only PR's with test cases included and passing lint and test pipelines will be reviewed

@coronasafe/care-backend-maintainers @coronasafe/care-backend-admins

DraKen0009 avatar Mar 04 '24 21:03 DraKen0009