care icon indicating copy to clipboard operation
care copied to clipboard

Patient privacy feature

Open JahnabDutta opened this issue 1 year ago • 2 comments

Proposed Changes

  • Backend changes realted to Patient Privacy Alert feature.
  • Created a field privacy in consultationBed model.
  • Created API toggle_patient_privacy in consultationBed viewset.

Associated Issue

Architecture changes

  • addition of toggle_patient_privacy API in consultationBed viewset.
  • Addition of boolean field privacy in consultationBed model.

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

JahnabDutta avatar Aug 07 '23 13:08 JahnabDutta

@sainak Hey, I made this branch from the 'Add boundary based validation' banch. After reviewing that, please review this as well. Thanks !!

JahnabDutta avatar Aug 27 '23 15:08 JahnabDutta

Codecov Report

Attention: 8 lines in your changes are missing coverage. Please review.

Comparison is base (f287b46) 60.76% compared to head (cc60a1f) 61.14%.

Files Patch % Lines
care/utils/assetintegration/onvif.py 76.47% 2 Missing and 2 partials :warning:
care/facility/api/viewsets/bed.py 81.25% 2 Missing and 1 partial :warning:
care/utils/assetintegration/base.py 50.00% 1 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1518      +/-   ##
==========================================
+ Coverage   60.76%   61.14%   +0.38%     
==========================================
  Files         210      210              
  Lines       11530    11567      +37     
  Branches     1642     1651       +9     
==========================================
+ Hits         7006     7073      +67     
+ Misses       4283     4244      -39     
- Partials      241      250       +9     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Nov 23 '23 13:11 codecov[bot]