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; May Week 4 #1317

Merged
merged 62 commits into from
May 27, 2023
Merged

Production Release; May Week 4 #1317

merged 62 commits into from
May 27, 2023

Conversation

mathew-alex
Copy link
Contributor

No description provided.

rithviknishad and others added 26 commits May 11, 2023 21:32
fixes #1284, Makefile: move to `docker compose`
support for filtering asset beds by facility
Fix facility capacity permission issue
Fix user type check order in get_queryset
Refactor discharge summary endpoints and Converted prescription field to their own models, views and serializers
add direnv config to load venv and env vars automatically
* nullable dosage, re-order and adds missing fileupload migration

* clean prescriptions data when migrating

* skip if medicine is none

* nullable prescribed_by and set default for notes

* increase medicine max_length to 256

* round off min_hours_between_doses

* increase medicine max_length to 1023

* round off days

* clean int: return None if empty string or other exceptions

* squash migrations

* merge migrations
…on-admission `ConsultationBed`s. (#1314)

* create consultation bed only on admission

* migratees existing non-admission consultation beds

* optimize query

* delete after update
adds check is_occupied on bed delete
adds PatientAssetBed viewset, serializer and filters
optional: discharge notes; required: discharge date
* optional: discharge notes; required: discharge date

* minor fix, allow blank too
@mathew-alex mathew-alex requested a review from a team as a code owner May 26, 2023 18:48
@sonarcloud
Copy link

sonarcloud bot commented May 26, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
2.8% 2.8% Duplication

@codecov-commenter
Copy link

Codecov Report

Patch coverage: 55.18% and project coverage change: +0.53 🎉

Comparison is base (cd15b6e) 56.18% compared to head (7d14e41) 56.71%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@              Coverage Diff               @@
##           production    #1317      +/-   ##
==============================================
+ Coverage       56.18%   56.71%   +0.53%     
==============================================
  Files             195      199       +4     
  Lines            9625     9905     +280     
  Branches         1615     1654      +39     
==============================================
+ Hits             5408     5618     +210     
- Misses           4162     4232      +70     
  Partials           55       55              
Impacted Files Coverage Δ
care/facility/api/serializers/daily_round.py 33.55% <0.00%> (-0.23%) ⬇️
care/facility/api/viewsets/facility_capacity.py 48.78% <0.00%> (ø)
care/facility/api/viewsets/hospital_doctor.py 51.61% <0.00%> (ø)
care/facility/api/viewsets/inventory.py 48.38% <0.00%> (ø)
care/facility/api/viewsets/patient.py 52.23% <16.66%> (+6.86%) ⬆️
care/facility/static_data/icd11.py 78.78% <25.00%> (-17.22%) ⬇️
care/facility/tasks/patient/discharge_report.py 34.28% <28.33%> (+5.11%) ⬆️
care/facility/models/file_upload.py 67.21% <30.76%> (-2.60%) ⬇️
care/facility/api/viewsets/patient_consultation.py 51.61% <40.00%> (-11.66%) ⬇️
care/facility/api/viewsets/bed.py 54.23% <46.42%> (-2.43%) ⬇️
... and 14 more

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@mathew-alex mathew-alex merged commit 466f3df into production May 27, 2023
15 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

6 participants