Skip to content

Commit

Permalink
MAT-6856: formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
jkotanchik-SB committed May 10, 2024
1 parent 66aa329 commit c6c7ea5
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,8 @@ public List<Code> retrieveCodesAndCodeSystems(List<Map<String, String>> codeList
String codeSystemName = code.get("codeSystem");
String oid = code.get("oid") != null ? code.get("oid").replaceAll("'|'", "") : null;

Optional<Map.Entry<String, String>> mappedVersion = mapToFhirVersion(code.get("version"), oid, codeSystemEntries);
Optional<Map.Entry<String, String>> mappedVersion =
mapToFhirVersion(code.get("version"), oid, codeSystemEntries);

if (mappedVersion.isPresent()) {
String vsacVersion = mappedVersion.get().getKey();
Expand All @@ -305,7 +306,7 @@ public List<Code> retrieveCodesAndCodeSystems(List<Map<String, String>> codeList
private Optional<Map.Entry<String, String>> mapToFhirVersion(
String version, String oid, List<CodeSystemEntry> codeSystemEntries) {

if(oid == null){
if (oid == null) {
return Optional.empty();
}

Expand Down

0 comments on commit c6c7ea5

Please sign in to comment.