Search in sources :

Example 6 with ExprCondition

use of org.karnak.backend.model.expression.ExprCondition in project karnak by OsiriX-Foundation.

the class ExprConditionTest method setUpBeforeClass.

@BeforeAll
protected static void setUpBeforeClass() throws Exception {
    final Attributes dataset = new Attributes();
    dataset.setString(Tag.StudyDate, VR.DA, "20180209");
    dataset.setString(Tag.PatientAge, VR.AS, "043Y");
    dataset.setString(Tag.SeriesInstanceUID, VR.UI, "2.25.1234567890123456");
    dataset.setString(Tag.ClinicalTrialSiteName, VR.LO, "Unicorn Land");
    dataset.setString(Tag.SmokingStatus, VR.CS, "YES");
    dataset.setString(Tag.Modality, VR.CS, "CT");
    exprCondition = new ExprCondition(dataset);
}
Also used : ExprCondition(org.karnak.backend.model.expression.ExprCondition) Attributes(org.dcm4che3.data.Attributes) BeforeAll(org.junit.jupiter.api.BeforeAll)

Aggregations

ExprCondition (org.karnak.backend.model.expression.ExprCondition)6 ExpressionResult (org.karnak.backend.model.expression.ExpressionResult)3 Span (com.vaadin.flow.component.html.Span)2 TextField (com.vaadin.flow.component.textfield.TextField)2 Binder (com.vaadin.flow.data.binder.Binder)2 List (java.util.List)2 Attributes (org.dcm4che3.data.Attributes)2 DestinationEntity (org.karnak.backend.data.entity.DestinationEntity)2 ExpressionError (org.karnak.backend.model.expression.ExpressionError)2 ProfileItem (org.karnak.backend.model.profiles.ProfileItem)2 Div (com.vaadin.flow.component.html.Div)1 HorizontalLayout (com.vaadin.flow.component.orderedlayout.HorizontalLayout)1 BeanValidationBinder (com.vaadin.flow.data.binder.BeanValidationBinder)1 Color (java.awt.Color)1 Shape (java.awt.Shape)1 BigInteger (java.math.BigInteger)1 ArrayList (java.util.ArrayList)1 Collections (java.util.Collections)1 Comparator (java.util.Comparator)1 HashMap (java.util.HashMap)1