Package open.dolphin.infomodel

Examples of open.dolphin.infomodel.DiagnosisCategoryModel


    public DiagnosisCategoryModel[] getDiagnosisCategoryModel() {
        String[] desc = getStringArray("diagnosis.outcomeDesc");
        String[] code = getStringArray("diagnosis.outcome");
        String[] codeSys = getStringArray("diagnosis.outcomeCodeSys");
        DiagnosisCategoryModel[] ret = new DiagnosisCategoryModel[desc.length];
        DiagnosisCategoryModel model = null;
        for (int i = 0; i < desc.length; i++) {
            model = new DiagnosisCategoryModel();
            model.setDiagnosisCategory(code[i]);
            model.setDiagnosisCategoryDesc(desc[i]);
            model.setDiagnosisCategoryCodeSys(codeSys[i]);
            ret[i] = model;
        }
        return ret;
    }
View Full Code Here


                break;

            case DiagnosisDocument.CATEGORY_COL:
                // JComboBox から選択
                String saveCategory = rd.getCategory();
                DiagnosisCategoryModel dcm = (DiagnosisCategoryModel) value;
                String test = dcm.getDiagnosisCategory();
                test = test != null && (!test.equals("")) ? test : null;
                if (saveCategory != null) {
                    if (test != null) {
                        if (!test.equals(saveCategory)) {
                            // undo 用に保存
                            offerQueue(undoMap, rd);
                            rd.setCategory(dcm.getDiagnosisCategory());
                            rd.setCategoryDesc(dcm.getDiagnosisCategoryDesc());
                            rd.setCategoryCodeSys(dcm.getDiagnosisCategoryCodeSys());
                            update(row, rd);
                        }
                    } else {
                        // undo 用に保存
                        offerQueue(undoMap, rd);
                        rd.setDiagnosisCategoryModel(null);
                        update(row, rd);
                    }

                } else {
                    if (test != null) {
                        // undo 用に保存
                        offerQueue(undoMap, rd);
                        rd.setCategory(dcm.getDiagnosisCategory());
                        rd.setCategoryDesc(dcm.getDiagnosisCategoryDesc());
                        rd.setCategoryCodeSys(dcm.getDiagnosisCategoryCodeSys());
                        update(row, rd);
                    }
                }
                break;
View Full Code Here

TOP

Related Classes of open.dolphin.infomodel.DiagnosisCategoryModel

Copyright © 2018 www.massapicom. 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.