Skip to content

Commit

Permalink
removed comment
Browse files Browse the repository at this point in the history
  • Loading branch information
manimaarans committed Nov 10, 2023
1 parent 30ed5a2 commit 8a5337d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/snomed/cdsservice/model/CDSTrigger.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public void addReferenceConditionToCDSCard(Collection<Coding> conditionIntersect
List<CDSReference> cdsReferences = conditionIntersection.stream().map(coding -> new CDSCoding(coding.getSystem(), coding.getCode())).map(cdsCoding -> new CDSReference(Collections.singletonList(cdsCoding))).collect(Collectors.toList());
if(cardInstance.getReferenceConditions() == null) {
cardInstance.setReferenceConditions( new ArrayList<>());
}// todo check if it should be added as the list and filter already existing values
}
cardInstance.getReferenceConditions().addAll(cdsReferences);
}

Expand Down

0 comments on commit 8a5337d

Please sign in to comment.