Search in sources :

Example 1 with TestAllTypesEvaluation

use of org.ehrbase.client.classgenerator.examples.testalltypesenv1composition.definition.TestAllTypesEvaluation in project openEHR_SDK by ehrbase.

the class TestData method buildTestAllTypesEnV1Composition.

public static TestAllTypesEnV1Composition buildTestAllTypesEnV1Composition() {
    TestAllTypesEnV1Composition composition = new TestAllTypesEnV1Composition();
    composition.setTestAllTypes2(new ArrayList<>());
    TestAllTypesEvaluation evaluation = new TestAllTypesEvaluation();
    composition.getTestAllTypes2().add(evaluation);
    evaluation.setIntervalCountLowerIncluded(true);
    evaluation.setIntervalCountUpperIncluded(true);
    evaluation.setUpperMagnitude(20l);
    evaluation.setLowerMagnitude(10l);
    return composition;
}
Also used : TestAllTypesEvaluation(org.ehrbase.client.classgenerator.examples.testalltypesenv1composition.definition.TestAllTypesEvaluation) TestAllTypesEnV1Composition(org.ehrbase.client.classgenerator.examples.testalltypesenv1composition.TestAllTypesEnV1Composition)

Aggregations

TestAllTypesEnV1Composition (org.ehrbase.client.classgenerator.examples.testalltypesenv1composition.TestAllTypesEnV1Composition)1 TestAllTypesEvaluation (org.ehrbase.client.classgenerator.examples.testalltypesenv1composition.definition.TestAllTypesEvaluation)1