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

Update terminology client to use url param #485

Closed
wants to merge 10 commits into from

Conversation

TahaAttari
Copy link
Collaborator

No description provided.

Copy link

github-actions bot commented Jun 27, 2024

Formatting check succeeded!

@@ -54,13 +54,27 @@ void testR4UrlAndVersion() {

// when the valueset has a version it should be in params
vs.setVersion(version);
client.expand(vs, authoritativeSource, new org.hl7.fhir.r4.model.Parameters(), username, password);
client.expand(vs, authoritativeSource, null, username, password);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

these changes are to add a bit more coverage

@TahaAttari TahaAttari marked this pull request as ready for review June 27, 2024 22:25
@TahaAttari TahaAttari requested a review from barhodes June 27, 2024 22:26
Copy link

codecov bot commented Jun 27, 2024

Codecov Report

Attention: Patch coverage is 86.95652% with 3 lines in your changes missing coverage. Please review.

Project coverage is 62.11%. Comparing base (c8d5317) to head (1a34101).

Files Patch % Lines
...f/fhir/utility/client/TerminologyServerClient.java 86.95% 0 Missing and 3 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master     #485      +/-   ##
============================================
+ Coverage     62.02%   62.11%   +0.08%     
- Complexity     3558     3571      +13     
============================================
  Files           328      328              
  Lines         17603    17621      +18     
  Branches       2715     2715              
============================================
+ Hits          10919    10946      +27     
+ Misses         5472     5469       -3     
+ Partials       1212     1206       -6     

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

expansionParameters = new org.hl7.fhir.r4.model.Parameters();
}
expansionParameters.addParameter("url", new org.hl7.fhir.r4.model.UriType(url));
expansionParameters.addParameter("valueSetVersion", new org.hl7.fhir.r4.model.StringType(version));
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe extract valueSetVersion to a const as it's used in many places?

Copy link
Contributor

@barhodes barhodes left a comment

Choose a reason for hiding this comment

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

My branch makes significant changes to this class. Will need to discuss.

@TahaAttari
Copy link
Collaborator Author

TahaAttari commented Jul 3, 2024

superseded by #488

@TahaAttari TahaAttari closed this Jul 3, 2024
@JPercival JPercival deleted the update-terminology-client-to-use-url-param branch October 15, 2024 17:29
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.

3 participants