From 53846d166ad6b78b308c2055faccf79d63f8f055 Mon Sep 17 00:00:00 2001 From: manimaarans Date: Fri, 10 Nov 2023 09:33:44 +0530 Subject: [PATCH] removed the comment --- src/main/java/org/snomed/cdsservice/model/CDSTrigger.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/snomed/cdsservice/model/CDSTrigger.java b/src/main/java/org/snomed/cdsservice/model/CDSTrigger.java index e85b498..c7f76d2 100644 --- a/src/main/java/org/snomed/cdsservice/model/CDSTrigger.java +++ b/src/main/java/org/snomed/cdsservice/model/CDSTrigger.java @@ -43,7 +43,7 @@ public void addReferenceConditionToCDSCard(Collection conditionIntersect List 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); }