Examples of PairIntStr


Examples of framework.utils.PairIntStr

        super(certificateLocal, reportParam, diseaseLocal);
    }

    @Override
    public void fillItems() throws ClipsException {
        allItems.add(new PairIntStr(1, "морфологический"));
        allItems.add(new PairIntStr(2, "цитологический"));
        allItems.add(new PairIntStr(3, "эксплоративная операция"));
        allItems.add(new PairIntStr(4, "лабораторно-инструментальный"));
        allItems.add(new PairIntStr(5, "только клинический"));
        allItems.add(new PairIntStr(6, "неизвестен"));
    }
View Full Code Here

Examples of framework.utils.PairIntStr

        }
    }

    @Override
    public void fillItems() throws ClipsException {
        allItems.add(new PairIntStr(0, ""));
        allItems.add(new PairIntStr(1, "нормальное"));
        allItems.add(new PairIntStr(2, "дефицит массы тела"));
        allItems.add(new PairIntStr(3, "избыток массы тела"));
        allItems.add(new PairIntStr(4, "низкий рост"));
        allItems.add(new PairIntStr(5, "высокий рост"));
    }
View Full Code Here

Examples of framework.utils.PairIntStr

        }
    }

    @Override
    public void fillItems() throws ClipsException {
        allItems.add(new PairIntStr(0,""));
        allItems.add(new PairIntStr(1,"ребенок"));
        allItems.add(new PairIntStr(2,"взрослый"));
    }
View Full Code Here

Examples of framework.utils.PairIntStr

        //Добавление основного диагноза
        for (int i = 0; i < fullDiagnosisList.size(); i++) {
            DiagnosisLocal dl = fullDiagnosisList.get(i);
            if (dl.getID() == mainID) {
                PairIntStr pair = new PairIntStr(dl.getID(), "(Основной) " + dl.getMkbAndStage());
                allItems.add(pair);
            }
        }
        //Добавление остальных диагнозов (исключая сопутствующие)
        for (int i = 0; i < fullDiagnosisList.size(); i++) {
            DiagnosisLocal dl = fullDiagnosisList.get(i);
            if (dl.getID() != mainID && !dl.hasReferencedDiagnosis()) {
                PairIntStr pair = new PairIntStr(dl.getID(), "(" + dl.getType().getTitle() + ") " + dl.getMkbAndStage());
                allItems.add(pair);
            }
        }
        //Добавление сопутствующих диагнозов
        for (int i = 0; i < fullDiagnosisList.size(); i++) {
            DiagnosisLocal dl = fullDiagnosisList.get(i);
            if (dl.hasReferencedDiagnosis()) {
                PairIntStr pair = new PairIntStr(dl.getID(), "(Сопутствующий) " + dl.getMkbAndStage());
                allItems.add(pair);
            }
        }
    }
View Full Code Here

Examples of framework.utils.PairIntStr

        }
    }

    @Override
    public void fillItems() throws ClipsException {
        allItems.add(new PairIntStr(0, ""));
        allItems.add(new PairIntStr(1, "нет"));
        allItems.add(new PairIntStr(2, "сахарн. диабет"));
        allItems.add(new PairIntStr(3, "ХНЗЛ"));
        allItems.add(new PairIntStr(4, "гипертон. болезнь, ИБС"));
        allItems.add(new PairIntStr(5, "язв. болезнь жел. и 12-перст кишки"));
        allItems.add(new PairIntStr(6, "психическое заболевание"));
        allItems.add(new PairIntStr(7, "онкологическое забол."));
        allItems.add(new PairIntStr(8, "прочее (указать, какое)"));

        editableItems = new HashSet<Integer>();
        editableItems.add(8);
    }
View Full Code Here

Examples of framework.utils.PairIntStr

            if (!jobLocal.isFired()) {
                if (defaultid == 0) {
                    defaultid = jobLocal.getID();
                }
                String fullTitle = jobLocal.getEnterprise().getFullTitle(false);
                PairIntStr pair = new PairIntStr(jobLocal.getID(), fullTitle.replaceAll("\n", ""));
                allItems.add(pair);
            }
        }
    }
View Full Code Here

Examples of framework.utils.PairIntStr

        additionalText = text;
    }*/

    @Override
    final public PairIntStr getValue() throws ClipsException {
        return new PairIntStr(certTagResult.items.get(0), getText());
    }
View Full Code Here

Examples of framework.utils.PairIntStr

    public void setItem(int id) throws ClipsException {
        certTagResult.items = new ArrayList<Integer>();
        certTagResult.items.add(id);
        int founded = -1;
        for (int i = 0; i < allItems.size(); i++) {
            PairIntStr pairIntStr = allItems.get(i);
            if (pairIntStr.num == id) {
                founded = i;
            }
        }
        if (founded != -1) {
View Full Code Here

Examples of framework.utils.PairIntStr

            if (!jobLocal.isFired()) {
                if (defaultid == 0) {
                    defaultid = jobLocal.getID();
                }
                DirectoryProfessionItem profession = jobLocal.getProfession();
                PairIntStr pair = new PairIntStr(jobLocal.getID(), profession.getTitle());
                allItems.add(pair);
            }
        }
    }
View Full Code Here

Examples of framework.utils.PairIntStr

        }
    }

    @Override
    public void fillItems() throws ClipsException {
        allItems.add(new PairIntStr(0, ""));
        allItems.add(new PairIntStr(1, "I стадия"));
        allItems.add(new PairIntStr(2, "Iа"));
        allItems.add(new PairIntStr(3, "Iб"));
        allItems.add(new PairIntStr(4, "Iс"));
        allItems.add(new PairIntStr(5, "II стадия"));
        allItems.add(new PairIntStr(6, "IIа"));
        allItems.add(new PairIntStr(7, "IIб"));
        allItems.add(new PairIntStr(8, "IIс"));
        allItems.add(new PairIntStr(9, "III стадия"));
        allItems.add(new PairIntStr(10, "IIIа"));
        allItems.add(new PairIntStr(11, "IIIб"));
        allItems.add(new PairIntStr(12, "IIIс"));
        allItems.add(new PairIntStr(13, "IV стадия"));
        allItems.add(new PairIntStr(14, "IVа"));
        allItems.add(new PairIntStr(15, "IVб"));
        allItems.add(new PairIntStr(16, "IVс"));
        allItems.add(new PairIntStr(17, "in situ"));
        allItems.add(new PairIntStr(18, "неприменимо"));
        allItems.add(new PairIntStr(19, "неизвестно"));
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.