Package open.dolphin.dao

Examples of open.dolphin.dao.OrcaEntry


            @Override
            public void mousePressed(MouseEvent e) {
                int viewRow = table.rowAtPoint(e.getPoint());
                if (viewRow == -1) return;
                table.getSelectionModel().setSelectionInterval(viewRow, viewRow);
                OrcaEntry o = (OrcaEntry) tableModel.getObject(table.convertRowIndexToModel(viewRow));
                if (o != null) {
                    MasterItem mItem = new MasterItem();
                   
                    // claim 003 コード
                    String code = o.getCode();
                    if (code.startsWith(ClaimConst.ADMIN_CODE_START)) {
                        // 部位コード 001000800-999,コメント 0010000 00-99 は薬剤コードで登録する
                        if (code.matches("^001000[0,8,9].*")) {
                            mItem.setClassCode(ClaimConst.YAKUZAI);
                        } else {
                            mItem.setClassCode(ClaimConst.ADMIN);
                        }
                    } else if (code.startsWith(ClaimConst.YAKUZAI_CODE_START)) {
                        mItem.setClassCode(ClaimConst.YAKUZAI);
                    } else if (code.startsWith(ClaimConst.ZAIRYO_CODE_START)) {
                        mItem.setClassCode(ClaimConst.ZAIRYO);
                    } else {
                        mItem.setClassCode(ClaimConst.SYUGI);
                    }
                   
                    mItem.setCode(code);
                    mItem.setName(o.getName());
                    mItem.setUnit(o.getUnit());
                    mItem.setClaimClassCode(o.getClaimClassCode());
                    mItem.setYkzKbn(o.getYkzkbn());
                   
                    if (IInfoModel.ENTITY_DIAGNOSIS.equals(entity)) {
                        mItem.setMasterTableId(ClaimConst.DISEASE_MASTER_TABLE_ID);
                    }
                    // ItemTablePanel に通知
View Full Code Here

TOP

Related Classes of open.dolphin.dao.OrcaEntry

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.