From 21da5c958dc3481f07a1ea1f4bfebf48602e103e Mon Sep 17 00:00:00 2001
From: Malo <mtc@kereval.com>
Date: Mon, 20 Mar 2023 12:31:08 +0100
Subject: [PATCH] Update mapper after GVT update

---
 .../hl7/gvt/GVTtoGazelleValidationReportMapper.java        | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/gvt-validation-jar/src/main/java/net/ihe/gazelle/hl7/gvt/GVTtoGazelleValidationReportMapper.java b/gvt-validation-jar/src/main/java/net/ihe/gazelle/hl7/gvt/GVTtoGazelleValidationReportMapper.java
index 3b36ba32..52f875dd 100644
--- a/gvt-validation-jar/src/main/java/net/ihe/gazelle/hl7/gvt/GVTtoGazelleValidationReportMapper.java
+++ b/gvt-validation-jar/src/main/java/net/ihe/gazelle/hl7/gvt/GVTtoGazelleValidationReportMapper.java
@@ -83,12 +83,7 @@ public class GVTtoGazelleValidationReportMapper {
             }
 
         } else if (WARNING.equals(entry.getClassification())) {
-            String temp = getAssertion(entry.getCategory());
-            if (entry.getDescription().contains(RE_PROFILE_EXCEPTION_DESCRIPTION) || "EXCLUDED_FROM_VALIDATION".equals(temp)) {
-                addWarning(vr,entry);
-            } else {
-                addProfileException(vr, entry);
-            }
+            addWarning(vr,entry);
         }
     }
 
-- 
GitLab