Пример #1
0
  @Override
  public List<Test> getEDTATubeTests(BaseActionForm dynaForm) {
    List<Test> testList = new ArrayList<Test>();

    if (projectData.getNfsTest()) {
      CollectionUtils.addIgnoreNull(testList, createTest("GB", true));
      CollectionUtils.addIgnoreNull(testList, createTest("Neut %", true));
      CollectionUtils.addIgnoreNull(testList, createTest("Lymph %", true));
      CollectionUtils.addIgnoreNull(testList, createTest("Mono %", true));
      CollectionUtils.addIgnoreNull(testList, createTest("Eo %", true));
      CollectionUtils.addIgnoreNull(testList, createTest("Baso %", true));
      CollectionUtils.addIgnoreNull(testList, createTest("GR", true));
      CollectionUtils.addIgnoreNull(testList, createTest("Hb", true));
      CollectionUtils.addIgnoreNull(testList, createTest("HCT", true));
      CollectionUtils.addIgnoreNull(testList, createTest("VGM", true));
      CollectionUtils.addIgnoreNull(testList, createTest("TCMH", true));
      CollectionUtils.addIgnoreNull(testList, createTest("CCMH", true));
      CollectionUtils.addIgnoreNull(testList, createTest("PLQ", true));
    }

    if (projectData.getGbTest()) {
      CollectionUtils.addIgnoreNull(testList, createTest("GB", true));
    }
    if (projectData.getNeutTest()) {
      CollectionUtils.addIgnoreNull(testList, createTest("Neut %", true));
    }
    if (projectData.getLymphTest()) {
      CollectionUtils.addIgnoreNull(testList, createTest("Lymph %", true));
    }
    if (projectData.getMonoTest()) {
      CollectionUtils.addIgnoreNull(testList, createTest("Mono %", true));
    }
    if (projectData.getEoTest()) {
      CollectionUtils.addIgnoreNull(testList, createTest("Eo %", true));
    }
    if (projectData.getBasoTest()) {
      CollectionUtils.addIgnoreNull(testList, createTest("Baso %", true));
    }
    if (projectData.getGrTest()) {
      CollectionUtils.addIgnoreNull(testList, createTest("GR", true));
    }
    if (projectData.getHbTest()) {
      CollectionUtils.addIgnoreNull(testList, createTest("Hb", true));
    }
    if (projectData.getHctTest()) {
      CollectionUtils.addIgnoreNull(testList, createTest("HCT", true));
    }
    if (projectData.getVgmTest()) {
      CollectionUtils.addIgnoreNull(testList, createTest("VGM", true));
    }
    if (projectData.getTcmhTest()) {
      CollectionUtils.addIgnoreNull(testList, createTest("TCMH", true));
    }
    if (projectData.getCcmhTest()) {
      CollectionUtils.addIgnoreNull(testList, createTest("CCMH", true));
    }
    if (projectData.getPlqTest()) {
      CollectionUtils.addIgnoreNull(testList, createTest("PLQ", true));
    }
    if (projectData.getCd4cd8Test()) {
      CollectionUtils.addIgnoreNull(testList, createTest("CD3 percentage count", true));
      CollectionUtils.addIgnoreNull(testList, createTest("CD4 percentage count", true));
    }
    if (projectData.getCd3CountTest()) {
      CollectionUtils.addIgnoreNull(testList, createTest("CD3 percentage count", true));
    }
    if (projectData.getCd4CountTest()) {
      CollectionUtils.addIgnoreNull(testList, createTest("CD4 percentage count", true));
    }

    if (projectData.getViralLoadTest()) {
      CollectionUtils.addIgnoreNull(testList, createTest("Viral Load", true));
    }
    if (projectData.getGenotypingTest()) {
      CollectionUtils.addIgnoreNull(testList, createTest("Génotypage", true));
    }

    return testList;
  }
Пример #2
0
  @Override
  public List<Test> getDryTubeTests() {
    List<Test> testList = new ArrayList<Test>();

    if (projectData.getSerologyHIVTest()) {
      CollectionUtils.addIgnoreNull(testList, createTest("Vironostika", true));
      CollectionUtils.addIgnoreNull(testList, createTest("Murex", true));
      CollectionUtils.addIgnoreNull(testList, createTest("Integral", true));
    }

    if (projectData.getMurexTest()) {
      CollectionUtils.addIgnoreNull(testList, createTest("Murex", true));
    }
    if (projectData.getIntegralTest()) {
      CollectionUtils.addIgnoreNull(testList, createTest("Integral", true));
    }
    if (projectData.getVironostikaTest()) {
      CollectionUtils.addIgnoreNull(testList, createTest("Vironostika", true));
    }
    if (projectData.getGenieIITest()) {
      CollectionUtils.addIgnoreNull(testList, createTest("Genie II", true));
    }
    if (projectData.getGenieII100Test()) {
      CollectionUtils.addIgnoreNull(testList, createTest("Genie II 100", true));
    }
    if (projectData.getGenieII10Test()) {
      CollectionUtils.addIgnoreNull(testList, createTest("Genie II 10", true));
    }
    if (projectData.getWB1Test()) {
      CollectionUtils.addIgnoreNull(testList, createTest("Western Blot 1", true));
    }
    if (projectData.getWB2Test()) {
      CollectionUtils.addIgnoreNull(testList, createTest("Western Blot 2", true));
    }
    if (projectData.getP24AgTest()) {
      CollectionUtils.addIgnoreNull(testList, createTest("p24 Ag", true));
    }
    if (projectData.getCreatinineTest()) {
      CollectionUtils.addIgnoreNull(testList, createTest("Créatininémie", true));
    }
    if (projectData.getGlycemiaTest()) {
      CollectionUtils.addIgnoreNull(testList, createTest("Glycémie", true));
    }

    if (projectData.getTransaminaseTest()) {
      CollectionUtils.addIgnoreNull(testList, createTest("Transaminases ALTL", true));
      CollectionUtils.addIgnoreNull(testList, createTest("Transaminases ASTL", true));
    } else {
      if (projectData.getTransaminaseALTLTest()) {
        CollectionUtils.addIgnoreNull(testList, createTest("Transaminases ALTL", true));
      }
      if (projectData.getTransaminaseASTLTest()) {
        CollectionUtils.addIgnoreNull(testList, createTest("Transaminases ASTL", true));
      }
    }
    return testList;
  }