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

FM2-481: Clean up parameter passing for Condition Service Search #510

Merged
merged 2 commits into from Jul 24, 2023

Conversation

mherman22
Copy link
Contributor

@mherman22 mherman22 commented Jul 15, 2023

Description of what I changed

Issue I worked on

see https://issues.openmrs.org/browse/FM2-481

Checklist: I completed these to help reviewers :)

  • My IDE is configured to follow the code style of this project.

    No? Unsure? -> configure your IDE, format the code and add the changes with git add . && git commit --amend

  • I have added tests to cover my changes. (If you refactored
    existing code that was well tested you do not have to add tests)

    No? -> write tests and add them to this commit git add . && git commit --amend

  • I ran mvn clean package right before creating this pull request and
    added all formatting changes to my commit.

    No? -> execute above command

  • All new and existing tests passed.

    No? -> figure out why and add the fix to your commit. It is your responsibility to make sure your code works.

  • My pull request is based on the latest changes of the master branch.

    No? Unsure? -> execute command git pull --rebase upstream master

@codecov
Copy link

codecov bot commented Jul 15, 2023

Codecov Report

Patch coverage: 87.10% and project coverage change: -0.04 ⚠️

Comparison is base (42b8c45) 77.24% compared to head (f3b4e90) 77.20%.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #510      +/-   ##
============================================
- Coverage     77.24%   77.20%   -0.04%     
- Complexity     2648     2672      +24     
============================================
  Files           246      249       +3     
  Lines          7426     7464      +38     
  Branches        911      911              
============================================
+ Hits           5736     5762      +26     
- Misses         1142     1151       +9     
- Partials        548      551       +3     
Impacted Files Coverage Δ
.../fhir2/api/search/param/ConditionSearchParams.java 82.61% <82.61%> (ø)
...e/fhir2/api/impl/FhirConditionServiceImpl_2_2.java 77.78% <100.00%> (-10.46%) ⬇️
...odule/fhir2/api/impl/FhirConditionServiceImpl.java 77.78% <100.00%> (-9.72%) ⬇️
...r2/providers/r3/ConditionFhirResourceProvider.java 76.19% <100.00%> (ø)
...r2/providers/r4/ConditionFhirResourceProvider.java 60.87% <100.00%> (ø)

... and 9 files with indirect coverage changes

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

DateRangeParam recordedDate, TokenAndListParam id, DateRangeParam lastUpdated, @Sort SortSpec sort,
HashSet<Include> includes) {
public IBundleProvider searchConditions(ConditionSearchParams conditionSearchParams) {
if (conditionSearchParams.getClinicalStatus() != null
Copy link
Member

Choose a reason for hiding this comment

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

We probably don't need this.

@ibacher ibacher merged commit 7bb9ef5 into openmrs:master Jul 24, 2023
3 of 4 checks passed
@mherman22 mherman22 deleted the FM2-481-Condition branch August 2, 2023 05:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants