Examples of ModuleModel


Examples of open.dolphin.infomodel.ModuleModel

                return;
            }
           
            // 新たなスタンプ作成
            BundleMed srcBundle = (BundleMed)ctx.getStamp().getModel();
            ModuleModel stamp = createModuleModel(ctx.getStamp());
            BundleMed bundle = (BundleMed) stamp.getModel();
           
            ArrayList<ClaimItem> list = new ArrayList<ClaimItem>();
           
            // 既存のコメント以外はそのまま登録,追加登録の場合は既存のコメントも登録
            for(ClaimItem src : srcBundle.getClaimItem()) {
View Full Code Here

Examples of open.dolphin.infomodel.ModuleModel

            generic.setNumberCode(ClaimConst.YAKUZAI_TOYORYO); // = "10"
            generic.setNumberCodeSystem("Claim004");
           
            // 新たなスタンプ作成
            BundleMed srcBundle = (BundleMed)ctx.getStamp().getModel();
            ModuleModel stamp = createModuleModel(ctx.getStamp());
            BundleMed bundle = (BundleMed) stamp.getModel();
           
            ArrayList<ClaimItem> list = new ArrayList<ClaimItem>();
           
            // 薬を検索して,最初に見つかった薬の後に一般名処方を入れる
            boolean found = false;
View Full Code Here

Examples of open.dolphin.infomodel.ModuleModel

       
        ModuleInfoBean srcModuleInfo = src.getModuleInfo();
        BundleMed srcBundle = (BundleMed) src.getModel();
       
        // 複製
        ModuleModel dist = new ModuleModel();
       
        BundleMed distBundle = createBundleMed(srcBundle);
        dist.setModel(distBundle);
       
        ModuleInfoBean distModuleInfo = dist.getModuleInfo();
        distModuleInfo.setEntity(srcModuleInfo.getEntity());
        distModuleInfo.setStampRole(srcModuleInfo.getStampRole());
        distModuleInfo.setStampName(srcModuleInfo.getStampName());

        return dist;
View Full Code Here

Examples of open.dolphin.infomodel.ModuleModel

            // 変更されていなければそのまま帰る
            BundleMed srcBundle = (BundleMed) ctx.getStamp().getModel();
            if (srcBundle.getBundleNumber().equals(String.valueOf(value))) return;
           
            // コピーして stamp を新たに作成
            ModuleModel stamp = createModuleModel(ctx.getStamp());
            BundleMed bundle = (BundleMed) stamp.getModel();
            // ClaimItem をコピー
            bundle.setClaimItem(createClaimItemInArray());
            // 何日分の部分をセット
            bundle.setBundleNumber(String.valueOf(value));           
           
View Full Code Here

Examples of open.dolphin.infomodel.ModuleModel

            // 変更されていなければそのまま帰る
            BundleMed srcBundle = (BundleMed) ctx.getStamp().getModel();
            if (admin.code.equals(srcBundle.getAdminCode())) return;
           
            // 新たなスタンプ作成
            ModuleModel stamp = createModuleModel(ctx.getStamp());
            BundleMed bundle = (BundleMed) stamp.getModel();
            bundle.setAdmin(admin.str);
            bundle.setAdminCode(admin.code);           

            // 変更に応じて投与量が何倍になるか = factor
            int srcTimes = getTimes(srcBundle.getAdminCode());
View Full Code Here

Examples of open.dolphin.infomodel.ModuleModel

            BundleMed srcBundle = (BundleMed) ctx.getStamp().getModel();
           
            // 変更されていなければそのまま帰る
            if (admin.code.equals(srcBundle.getAdminCode())) return;
           
            ModuleModel stamp = createModuleModel(ctx.getStamp());
            BundleMed bundle = (BundleMed) stamp.getModel();
            bundle.setAdmin(admin.str);
            bundle.setAdminCode(admin.code);
            bundle.setClaimItem(createClaimItemInArray());
           
            propertyChanged(stamp);
View Full Code Here

Examples of open.dolphin.infomodel.ModuleModel

        public void actionPerformed(ActionEvent e) {
           
            BundleMed srcBundle = (BundleMed)ctx.getStamp().getModel();
                       
            // 新たなスタンプ作成
            ModuleModel stamp = createModuleModel(ctx.getStamp());
            BundleMed bundle = (BundleMed) stamp.getModel();
            ArrayList<ClaimItem> list = new ArrayList<ClaimItem>();
           
            // ClaimItem をチェックしながらコピー
            boolean changed = false;
            String num = String.valueOf(value);
View Full Code Here

Examples of open.dolphin.infomodel.ModuleModel

                dialog.dispose();
                return;
            }
           
            // 新たなスタンプ作成
            ModuleModel stamp = createModuleModel(ctx.getStamp());
            BundleMed bundle = (BundleMed) stamp.getModel();
           
            // あらたな ClaimItem を作る
            ArrayList<ClaimItem> list = new ArrayList<ClaimItem>();
           
            // 部位 ClaimItem 以外をコピー  001000607,608,001,002 はマスター設定の問題で別扱い
View Full Code Here

Examples of open.dolphin.infomodel.ModuleModel

        @Override
        public void actionPerformed(ActionEvent e) {
            BundleMed srcBundle = (BundleMed)ctx.getStamp().getModel();
           
            // 新たなスタンプ作成
            ModuleModel stamp = createModuleModel(ctx.getStamp());
            BundleMed bundle = (BundleMed) stamp.getModel();
           
            // あらたな ClaimItem を作る
            ArrayList<ClaimItem> list = new ArrayList<ClaimItem>();
           
            for (ClaimItem src : srcBundle.getClaimItem()) {
View Full Code Here

Examples of open.dolphin.infomodel.ModuleModel

                // KartePaneからDropされたオーダをインポートする
                } else if (tr.isDataFlavorSupported(orderFlavor)) {

                    OrderList list = (OrderList) tr.getTransferData(OrderListTransferable.orderListFlavor);
                    ModuleModel droppedStamp = list.orderList[0];

                    // 同一エンティティの場合、選択は必ず起っている
                    if (droppedStamp.getModuleInfo().getEntity().equals(targetEntity)) {
                        return tree.addStamp(droppedStamp, targetNode);

                    // パス Tree の場合
                    } else if (targetEntity.equals(IInfoModel.ENTITY_PATH)) {
                        if (targetNode == null) {
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.