Java 类ims.clinical.vo.ProblemListVo 实例源码

项目:AvoinApotti    文件:Logic.java   
private PresProblemChecklistConfigVo populateInstanceData(PresProblemChecklistConfigVo voPresProblemChecklistConfig)
{
    if (voPresProblemChecklistConfig.getPresentingProblems() != null)
        voPresProblemChecklistConfig.getPresentingProblems().clear();
    else
        voPresProblemChecklistConfig.setPresentingProblems(new ProblemListVoCollection());

    TreeNode node = findEnabledNode();

    if (node == null)
    {
        return voPresProblemChecklistConfig;
    }

    for (int i = 0; i < node.getNodes().size(); i++)
        voPresProblemChecklistConfig.getPresentingProblems().add((ProblemListVo) node.getNodes().get(i).getValue());

    return voPresProblemChecklistConfig;

}
项目:openMAXIMS    文件:Logic.java   
private PresProblemChecklistConfigVo populateInstanceData(PresProblemChecklistConfigVo voPresProblemChecklistConfig)
{
    if (voPresProblemChecklistConfig.getPresentingProblems() != null)
        voPresProblemChecklistConfig.getPresentingProblems().clear();
    else
        voPresProblemChecklistConfig.setPresentingProblems(new ProblemListVoCollection());

    TreeNode node = findEnabledNode();

    if (node == null)
    {
        return voPresProblemChecklistConfig;
    }

    for (int i = 0; i < node.getNodes().size(); i++)
        voPresProblemChecklistConfig.getPresentingProblems().add((ProblemListVo) node.getNodes().get(i).getValue());

    return voPresProblemChecklistConfig;

}
项目:openMAXIMS    文件:Logic.java   
private PresProblemChecklistConfigVo populateInstanceData(PresProblemChecklistConfigVo voPresProblemChecklistConfig)
{
    if (voPresProblemChecklistConfig.getPresentingProblems() != null)
        voPresProblemChecklistConfig.getPresentingProblems().clear();
    else
        voPresProblemChecklistConfig.setPresentingProblems(new ProblemListVoCollection());

    TreeNode node = findEnabledNode();

    if (node == null)
    {
        return voPresProblemChecklistConfig;
    }

    for (int i = 0; i < node.getNodes().size(); i++)
        voPresProblemChecklistConfig.getPresentingProblems().add((ProblemListVo) node.getNodes().get(i).getValue());

    return voPresProblemChecklistConfig;

}
项目:openmaxims-linux    文件:Logic.java   
private PresProblemChecklistConfigVo populateInstanceData(PresProblemChecklistConfigVo voPresProblemChecklistConfig)
{
    if (voPresProblemChecklistConfig.getPresentingProblems() != null)
        voPresProblemChecklistConfig.getPresentingProblems().clear();
    else
        voPresProblemChecklistConfig.setPresentingProblems(new ProblemListVoCollection());

    TreeNode node = findEnabledNode();

    if (node == null)
    {
        return voPresProblemChecklistConfig;
    }

    for (int i = 0; i < node.getNodes().size(); i++)
        voPresProblemChecklistConfig.getPresentingProblems().add((ProblemListVo) node.getNodes().get(i).getValue());

    return voPresProblemChecklistConfig;

}
项目:AvoinApotti    文件:Logic.java   
private PatientProblemVo getInstantiatedProblem(ProblemListVo problem, Specialty specialty, PatientProblemVoCollection list)
{
    if(list == null)
        return null;

    for (int i = 0; i < list.size(); i++)
    {
        if(list.get(i).getSpecialtyIsNotNull() && list.get(i).getSpecialty().equals(specialty) && list.get(i).getProblemIsNotNull() && list.get(i).getProblem().getID_ClinicalProblem().equals(problem.getPresentingProblem().getID_ClinicalProblem()))
            return list.get(i);
    }

    return null;
}
项目:openMAXIMS    文件:Logic.java   
private PatientProblemVo getInstantiatedProblem(ProblemListVo problem, Specialty specialty, PatientProblemVoCollection list)
{
    if(list == null)
        return null;

    for (int i = 0; i < list.size(); i++)
    {
        if(list.get(i).getSpecialtyIsNotNull() && list.get(i).getSpecialty().equals(specialty) && list.get(i).getProblemIsNotNull() && list.get(i).getProblem().getID_ClinicalProblem().equals(problem.getPresentingProblem().getID_ClinicalProblem()))
            return list.get(i);
    }

    return null;
}
项目:openMAXIMS    文件:Logic.java   
private PatientProblemVo getInstantiatedProblem(ProblemListVo problem, Specialty specialty, PatientProblemVoCollection list)
{
    if(list == null)
        return null;

    for (int i = 0; i < list.size(); i++)
    {
        if(list.get(i).getSpecialtyIsNotNull() && list.get(i).getSpecialty().equals(specialty) && list.get(i).getProblemIsNotNull() && list.get(i).getProblem().getID_ClinicalProblem().equals(problem.getPresentingProblem().getID_ClinicalProblem()))
            return list.get(i);
    }

    return null;
}
项目:openmaxims-linux    文件:Logic.java   
private PatientProblemVo getInstantiatedProblem(ProblemListVo problem, Specialty specialty, PatientProblemVoCollection list)
{
    if(list == null)
        return null;

    for (int i = 0; i < list.size(); i++)
    {
        if(list.get(i).getSpecialtyIsNotNull() && list.get(i).getSpecialty().equals(specialty) && list.get(i).getProblemIsNotNull() && list.get(i).getProblem().getID_ClinicalProblem().equals(problem.getPresentingProblem().getID_ClinicalProblem()))
            return list.get(i);
    }

    return null;
}