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

Production Release; July Week 2 #1456

Merged
merged 16 commits into from
Jul 15, 2023
Merged

Production Release; July Week 2 #1456

merged 16 commits into from
Jul 15, 2023

Conversation

mathew-alex
Copy link
Contributor

No description provided.

mathew-alex and others added 16 commits July 4, 2023 18:14
* Adds medibase medicines data

* Adds MedibaseMedicine Table and migrations

* in-memory search and updated viewsetrs and serializers

* rebase migrations

* fix import preventing migration

* set batch_size on medibase population

* noop for medibase population migration

* minor fix

* cleanup

* sort by word matches first

* adds test for medibase

* fix test casing

* fix discharge summary

* merge migrations

* load medicines data management command

* update docs

* updated load_dummy_data to call load_medicines_data

* merge migrations

* fresh migrations, drop medibase_id, use name as unique

* remove redundant slice operator

* call load_medicines_data in migration

* merge migrations

---------

Co-authored-by: Vignesh Hari <vichuhari100@gmail.com>
Co-authored-by: Aakash Singh <mail@singhaakash.dev>
…rge_date`, `death_datetime`) (#1415)

* validation: disallow admision_date to be future

* validation: death_datetime not future or before admission date

* validation: disallow discharge_date before admission or future

* clean

* add tests, draft

* fix tests

* fix user test

---------

Co-authored-by: Vignesh Hari <vichuhari100@gmail.com>
…ions (#1428)

* migration to move ip_no to op_no for non admission

* merge migrations

---------

Co-authored-by: Vignesh Hari <vichuhari100@gmail.com>
* load medicines to inmemory on django start

* import when gunicorn starts instead

* load at end of wsgi instead
* feat: added auth tests

* split auth tests and remove non relevant cases

* refactor

---------

Co-authored-by: Vignesh Hari <vichuhari100@gmail.com>
Co-authored-by: Aakash Singh <mail@singhaakash.dev>
add discharge_reason filter for patient
Co-authored-by: Vignesh Hari <vichuhari100@gmail.com>
add home_facility to serializer and tests for patient notes

Co-authored-by: Vignesh Hari <vichuhari100@gmail.com>
…list` (#1443)

* custom in memory search

* as tuple

* fix tests

* remove db queryset reference after loading to in-memory

* minor optimization

* remove commented code

* load to in-mem using ORM's `values_list`

* Update care/facility/api/viewsets/prescription.py

Co-authored-by: Aakash Singh <mail@singhaakash.dev>

---------

Co-authored-by: Aakash Singh <mail@singhaakash.dev>
…diagnosis` DB table (#1448)

* add `root_label` column to `meta_icd11_diagnosis` db table

* adds `chapter`, `root_block`, `root_category`

* fix category being None
* fix repr of `MedibaseMedicine`

* improve string repr

* make it prettier :)
@mathew-alex mathew-alex merged commit cf8cd55 into production Jul 15, 2023
12 checks passed
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 this pull request may close these issues.

None yet

7 participants