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

Block expired patients from being transfered #2293

Merged
merged 6 commits into from
Jul 13, 2024
Merged

Block expired patients from being transfered #2293

merged 6 commits into from
Jul 13, 2024

Conversation

khavinshankar
Copy link
Member

Proposed Changes

  • Added is_expired property on patient model and PatientSearchSerializer
  • Added is_expired validation in patient/transfer

Associated Issue

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

Copy link

codecov bot commented Jul 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 63.50%. Comparing base (7d756d6) to head (f23128d).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2293      +/-   ##
===========================================
+ Coverage    63.49%   63.50%   +0.01%     
===========================================
  Files          238      238              
  Lines        13265    13270       +5     
  Branches      1886     1888       +2     
===========================================
+ Hits          8422     8427       +5     
  Misses        4490     4490              
  Partials       353      353              

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

Copy link
Member

@rithviknishad rithviknishad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests needed

@vigneshhari vigneshhari merged commit 5aca29e into develop Jul 13, 2024
11 checks passed
@vigneshhari vigneshhari deleted the fix-6022 branch July 13, 2024 14:05
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.

Marking Death on patient profile
5 participants