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

3335 allow alternative character encoding length in searchparam #3336

Merged

Conversation

TipzCM
Copy link
Collaborator

@TipzCM TipzCM commented Jan 26, 2022

closes #3335

Added support to allow specifying max code length for phonetic encoders (for supported encoders only - metaphone and double_metaphone).
Added change log

@codecov
Copy link

codecov bot commented Jan 26, 2022

Codecov Report

Merging #3336 (89900d3) into master (31bb1d9) will increase coverage by 0.04%.
The diff coverage is 95.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #3336      +/-   ##
============================================
+ Coverage     82.80%   82.84%   +0.04%     
- Complexity    20460    20494      +34     
============================================
  Files          1367     1369       +2     
  Lines         73521    73626     +105     
  Branches      11053    11064      +11     
============================================
+ Hits          60882    60999     +117     
+ Misses         8390     8372      -18     
- Partials       4249     4255       +6     
Impacted Files Coverage Δ
...chparam/registry/SearchParameterCanonicalizer.java 73.76% <66.66%> (ø)
...ain/java/ca/uhn/fhir/util/PhoneticEncoderUtil.java 96.00% <96.00%> (ø)
...uhn/fhir/context/phonetic/PhoneticEncoderEnum.java 93.75% <100.00%> (-6.25%) ⬇️
...fhir/mdm/rules/matcher/PhoneticEncoderMatcher.java 100.00% <100.00%> (ø)
.../ca/uhn/fhir/jpa/search/builder/SearchBuilder.java 85.75% <0.00%> (-0.27%) ⬇️
.../src/main/java/ca/uhn/fhir/rest/api/Constants.java 100.00% <0.00%> (ø)
.../ca/uhn/fhir/jpa/mdm/config/MdmConsumerConfig.java 100.00% <0.00%> (ø)
...va/ca/uhn/fhir/jpa/mdm/config/MdmCommonConfig.java 100.00% <0.00%> (ø)
.../ca/uhn/fhir/jpa/dao/BaseTransactionProcessor.java 88.30% <0.00%> (+0.22%) ⬆️
... and 9 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 31bb1d9...89900d3. Read the comment docs.

@TipzCM TipzCM requested a review from tadgh January 27, 2022 13:42
@TipzCM TipzCM enabled auto-merge (squash) January 27, 2022 13:42
@TipzCM TipzCM merged commit 41193c6 into master Jan 27, 2022
@TipzCM TipzCM deleted the 3335-allow-alternative-character-encoding-length-in-searchparam branch January 27, 2022 17:29
michaelabuckley pushed a commit that referenced this pull request Jan 31, 2022
* added fixme

* 2714 added support for specifying max code lengths for supported phonetic encoders

* 3335git status

* 3335 updated changelog

* 3335 review fixes

* review fixes

* fixing test

Co-authored-by: Ken Stevens <khstevens@gmail.com>
Co-authored-by: leif stawnyczy <leifstawnyczy@leifs-MacBook-Pro.local>
michaelabuckley added a commit that referenced this pull request Jan 31, 2022
* master:
  Add error codes to all exceptions (#3278)
  3156 multiple tag race condition (#3297)
  Fix globbing pattern for log files
  Update instance_validator.md (#3328)
  add needed dependendencies for mysql and mssql (#3343)
  Add okhttp dep
  3335 allow alternative character encoding length in searchparam (#3336)
  Fix mdm config for single application context environment.  (#3338)
  Validate include statements for JPA (#3331)
  Add okhttp dep to r5 and indicate which deps need to be included (#3332)
  Bump RestEasy to 5.0.2 (#3329)

# Conflicts:
#	hapi-fhir-base/src/main/java/ca/uhn/fhir/i18n/Msg.java
#	hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/BaseHapiFhirDao.java
#	hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/search/lastn/ElasticsearchSvcImpl.java
#	hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/dstu2/FhirResourceDaoDstu2SearchNoFtTest.java
#	hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/subscription/module/matcher/InMemorySubscriptionMatcherR4Test.java
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.

Update phoneticencoders to allow defining custom max code length (for supported phoneticencoders)
3 participants