Skip to content

Commit

Permalink
MAT-7349: remove usage of US locale collator, and update field used f…
Browse files Browse the repository at this point in the history
…or sorting the two lists that comprise the Terminology section of the QDM HR
  • Loading branch information
nmorasb committed Jun 20, 2024
1 parent 62cf3b4 commit f7f46a7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ List<HumanReadableTerminologyModel> buildValueSetTerminology(Set<CQLValueSet> cq
new HumanReadableValuesetModel(
cqlValueSet.getName(), cqlValueSet.getOid(), cqlValueSet.getVersion(), ""))
.sorted(
Comparator.comparing(HumanReadableValuesetModel::getDataCriteriaDisplay, collator))
Comparator.comparing(HumanReadableValuesetModel::getTerminologyDisplay))
.toList();
return new ArrayList<>(valueSetTerminology);
}
Expand All @@ -426,7 +426,7 @@ List<HumanReadableTerminologyModel> buildCodeTerminology(Set<CQLCode> cqlCodes)
.isCodesystemVersionIncluded(
StringUtils.isNotBlank(cqlCode.getCodeSystemVersion()))
.build())
.sorted(Comparator.comparing(HumanReadableCodeModel::getDataCriteriaDisplay, collator))
.sorted(Comparator.comparing(HumanReadableCodeModel::getTerminologyDisplay))
.toList();
return new ArrayList<>(codeTerminology);
}
Expand Down

0 comments on commit f7f46a7

Please sign in to comment.