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 v24.14.0 | April week 1 #2038

Merged
merged 29 commits into from
Apr 1, 2024
Merged

Production release v24.14.0 | April week 1 #2038

merged 29 commits into from
Apr 1, 2024

Conversation

sainak
Copy link
Member

@sainak sainak commented Apr 1, 2024

Proposed Changes

  • Brief of changes made.

Associated Issue

  • Link to issue here, explain how the proposed solution will solve the reported issue/ feature request.

Architecture changes

  • Remove this section if not used

Merge Checklist

  • Tests added/fixed
  • Update docs in /docs
  • Linting Complete
  • Any other necessary step

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

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

dependabot bot and others added 29 commits March 17, 2024 11:05
Bumps [jwcrypto](https://github.com/latchset/jwcrypto) from 1.5.1 to 1.5.6.
- [Release notes](https://github.com/latchset/jwcrypto/releases)
- [Commits](latchset/jwcrypto@v1.5.1...v1.5.6)

---
updated-dependencies:
- dependency-name: jwcrypto
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* adds titrated prescription

* fix linting

* optimize prn copy query in migration

* fix reverse migration

* added tests and implemented suggested changes

* fix lint errors

* Add titration dosage information to patient
discharge summary

* Refactor prescription serializer validation

* Merge two facility migrations

* Fix validation for titrated prescriptions in
MedicineAdministrationSerializer

* recreated migrations

* Refactor prescription serializers and models

* fix migrations

* update tests and redo migration

* fix: imports that are incorrectly sorted and/or formatted

* rebase migrations

* Rename dosage field to base_dosage and add dosage_type field in dummy data

* update migrations

* Rebase migrations and adds missing custom migration for setting dosage_type for existing prn prescriptions

---------

Co-authored-by: Ashesh <[email protected]>
Co-authored-by: Aakash Singh <[email protected]>
Co-authored-by: Rithvik Nishad <[email protected]>
Co-authored-by: rithviknishad <[email protected]>
…s table (#1839)

* fix(daily_rounds): migrated all fields that has zero values to  null

* fix(daily_rounds): migrated blood pressure field

* fix: resolved comments

* fix: updated migrations

* fix(daily_round): resolved comments
* Add validation checks in ResourceRequestSerializer

* add test for resource

* Fix lint errors in Contributing.md

* Discard changes to CONTRIBUTING.md

* lint fix

---------

Co-authored-by: Aakash Singh <[email protected]>
* Add assigned_clinicians field to PatientConsultation model

* Make related_name more intuitive

Co-authored-by: Aakash Singh <[email protected]>

* Fix lint and migration

* use a through model

---------

Co-authored-by: Aakash Singh <[email protected]>
Bumps the boto group with 2 updates: [boto3](https://github.com/boto/boto3) and [boto3-stubs](https://github.com/youtype/mypy_boto3_builder).


Updates `boto3` from 1.34.27 to 1.34.64
- [Release notes](https://github.com/boto/boto3/releases)
- [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst)
- [Commits](boto/boto3@1.34.27...1.34.64)

Updates `boto3-stubs` from 1.34.27 to 1.34.64
- [Release notes](https://github.com/youtype/mypy_boto3_builder/releases)
- [Commits](https://github.com/youtype/mypy_boto3_builder/commits)

---
updated-dependencies:
- dependency-name: boto3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: boto
- dependency-name: boto3-stubs
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: boto
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Add test for discharge summary file name

* Remove .pdf from discharge summary file name

---------

Co-authored-by: Aakash Singh <[email protected]>
Bumps the boto group with 2 updates: [boto3](https://github.com/boto/boto3) and [boto3-stubs](https://github.com/youtype/mypy_boto3_builder).


Updates `boto3` from 1.34.64 to 1.34.65
- [Release notes](https://github.com/boto/boto3/releases)
- [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst)
- [Commits](boto/boto3@1.34.64...1.34.65)

Updates `boto3-stubs` from 1.34.64 to 1.34.65
- [Release notes](https://github.com/youtype/mypy_boto3_builder/releases)
- [Commits](https://github.com/youtype/mypy_boto3_builder/commits)

---
updated-dependencies:
- dependency-name: boto3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: boto
- dependency-name: boto3-stubs
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: boto
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vignesh Hari <[email protected]>
Refresh Lockfile with upgraded dependencies
… export (#1999)

* fixes issues with annotate + distinct not implemented for csv export

* fixes #1998

* fix typo
* reset password schema for API docs swagger updated

* removed unused libs

* fixed parameters

* lint

* use serializers to correctly generate schema

* fix test cases

---------

Co-authored-by: Aakash Singh <[email protected]>
* Replace age field with DOB in users model

* Add custom migrations

* Add imports

* squash migrations and add dummy data

* Add reverse function

* fix lint errors

* Update dummy data and DOB field

* update tests

---------

Co-authored-by: Aakash Singh <[email protected]>
Co-authored-by: Vignesh Hari <[email protected]>
* update facility.json with more consultations for same patient

* track previous consulation

* use Aakashs's suggestion - sort queryset by created_date descending

Co-authored-by: Aakash Singh <[email protected]>

* Lint

---------

Co-authored-by: Aakash Singh <[email protected]>
* Fixes discharged patients CSV export

* default `is_active` to False
* Fixes discharged patients csv export

* default is_active to false
Staging release for v24.14.0
* added consent records to patient consultation

* fix migrations

* fix warning

* updated perms

* fix permission-error

* merged migrations

* updates

* added migration

* lint

* tests and migrations

* refactor associating id logic

* remove archive logic

---------

Co-authored-by: Rithvik Nishad <[email protected]>
Co-authored-by: Aakash Singh <[email protected]>
Copy link

codecov bot commented Apr 1, 2024

Codecov Report

Attention: Patch coverage is 73.75887% with 37 lines in your changes are missing coverage. Please review.

Project coverage is 62.54%. Comparing base (08e56d7) to head (ae87c53).
Report is 199 commits behind head on production.

Files Patch % Lines
care/facility/api/serializers/file_upload.py 22.22% 3 Missing and 4 partials ⚠️
care/users/models.py 22.22% 7 Missing ⚠️
care/facility/api/serializers/prescription.py 82.35% 3 Missing and 3 partials ⚠️
care/facility/api/viewsets/patient.py 28.57% 4 Missing and 1 partial ⚠️
care/users/api/serializers/user.py 58.33% 3 Missing and 2 partials ⚠️
care/facility/models/daily_round.py 55.55% 1 Missing and 3 partials ⚠️
care/facility/api/serializers/patient.py 0.00% 2 Missing ⚠️
...e/facility/api/serializers/patient_consultation.py 66.66% 1 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff               @@
##           production    #2038      +/-   ##
==============================================
+ Coverage       62.20%   62.54%   +0.34%     
==============================================
  Files             221      223       +2     
  Lines           12204    12270      +66     
  Branches         1742     1752      +10     
==============================================
+ Hits             7591     7674      +83     
+ Misses           4305     4274      -31     
- Partials          308      322      +14     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@gigincg gigincg merged commit 9cbf251 into production Apr 1, 2024
18 of 20 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.