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

SO-5901: support description languages in generic concept model #1275

Merged
merged 8 commits into from
Apr 10, 2024

Conversation

cmark
Copy link
Member

@cmark cmark commented Apr 3, 2024

This PR adds support for generic descriptions instead of a List of Strings on the generic Concept model.
The primary use for this is going to be FHIR endpoints where additional (even on the fly generated) designations need to be sent back in the response along with the concept's display.
In case of SNOMED CT Snow Owl now follows the latest spec version which requires designations to be returned for each languageCode + language reference set id combination.

@cmark cmark requested review from apeteri and nagyo April 3, 2024 14:01
@cmark cmark self-assigned this Apr 3, 2024
Concept.alternativeTerms is now deprecated.
Copy link

codecov bot commented Apr 3, 2024

Codecov Report

Attention: Patch coverage is 74.13793% with 15 lines in your changes are missing coverage. Please review.

Project coverage is 48.21%. Comparing base (3566465) to head (ca7e395).

Files Patch % Lines
...m/b2international/snowowl/core/domain/Concept.java 28.57% 4 Missing and 1 partial ⚠️
...rnational/snowowl/fhir/core/model/Designation.java 0.00% 4 Missing ⚠️
...international/snowowl/core/domain/Description.java 84.61% 2 Missing ⚠️
...e/request/SnomedConceptSearchRequestEvaluator.java 88.23% 0 Missing and 2 partials ⚠️
...core/request/suggest/ConceptSuggestionContext.java 75.00% 0 Missing and 1 partial ⚠️
...uest/codesystem/FhirCodeSystemLookupConverter.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##                9.x    #1275   +/-   ##
=========================================
  Coverage     48.21%   48.21%           
- Complexity    13923    13931    +8     
=========================================
  Files          1946     1947    +1     
  Lines         95122    95149   +27     
  Branches      10985    10985           
=========================================
+ Hits          45860    45877   +17     
- Misses        46269    46278    +9     
- Partials       2993     2994    +1     

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

Copy link
Member

@apeteri apeteri left a comment

Choose a reason for hiding this comment

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

👍

@cmark cmark requested a review from AAAlinaaa April 8, 2024 10:06
Copy link
Contributor

@AAAlinaaa AAAlinaaa left a comment

Choose a reason for hiding this comment

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

LGTM

@cmark cmark merged commit 9fbf6f3 into 9.x Apr 10, 2024
5 checks passed
@cmark cmark deleted the issue/SO-5901-valueset-expand-missing-designations branch April 10, 2024 08:07
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.

3 participants