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

Add consultation_filed filter in PatientFilterSet #1789

Closed
wants to merge 2 commits into from

Conversation

Ashesh3
Copy link
Member

@Ashesh3 Ashesh3 commented Dec 28, 2023

Associated Issue: ohcnetwork/care_fe#6921
Frontend PR: ohcnetwork/care_fe#6933

This pull request adds a new filter called consultation_filed to the PatientFilterSet class. The filter allows users to filter patients based on whether they have a filed consultation or not. The filter is implemented using the filter_consultation_filed method, which applies the necessary conditions to the queryset.

Copy link

codecov bot commented Dec 28, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (337d37d) 61.24% compared to head (1948a93) 61.26%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1789      +/-   ##
==========================================
+ Coverage   61.24%   61.26%   +0.02%     
==========================================
  Files         208      208              
  Lines       11480    11486       +6     
  Branches     1650     1651       +1     
==========================================
+ Hits         7031     7037       +6     
  Misses       4177     4177              
  Partials      272      272              

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

@Ashesh3
Copy link
Member Author

Ashesh3 commented Jan 2, 2024

@Ashesh3 Ashesh3 closed this Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants