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;
}
Aggregations