Examples of PatientDelegater


Examples of open.dolphin.delegater.PatientDelegater

            Runnable r = new Runnable() {
                @Override
                public void run() {
                   
                    // 健康保険情報をフェッチする
                    PatientDelegater ptdl = new PatientDelegater();
                    ptdl.fetchHealthInsurance(pvtModel.getPatient());
                   
                    // 現在の state をサーバからとってくる
                    PVTDelegater pvdl = new PVTDelegater();
                    int state = pvdl.getPvtState(pvtModel.getId());
                    // 読んだら table を update    → カルテが開くと update がよばれるのでここでは不要
View Full Code Here

Examples of open.dolphin.delegater.PatientDelegater

     */
    @Override
    public void save() {
       
        final PatientModel update = getContext().getPatient();
        final PatientDelegater pdl = new PatientDelegater();
       
        DBTask task = new DBTask<Void>(getContext()) {
           
            @Override
            public Void doInBackground() throws Exception {
                pdl.updatePatient(update);
                return null;
            }
           
            @Override
            public void succeeded(Void result) {
View Full Code Here

Examples of open.dolphin.delegater.PatientDelegater

            Thread t = new Thread() {
                @Override
                public void run() {
                   
                    // 健康保険情報をフェッチする
                    PatientDelegater pdl = new PatientDelegater();
                    pdl.fetchHealthInsurance(patient);

                    // pvt 情報があるかどうかチェック
                    PVTDelegater pvtdl = new PVTDelegater();
                    PatientVisitModel pvtModel = pvtdl.getPvt(patient);
View Full Code Here

Examples of open.dolphin.delegater.PatientDelegater

                ids.add(pm.getId());
            }
        }
        spec.setNarrowingIds(ids);

        PatientDelegater pdl = new PatientDelegater();
        List<PatientModel> pm = pdl.getPatients(spec);
       
        // カルテ検索で薬の名前を検索すると患者名と判断されてしまうので,
        // 検索結果が 0 だったら,full text search に切り替えることにする
        if (pm.isEmpty() && (
                spec.getCode() == PatientSearchSpec.KANA_SEARCH
                || spec.getCode() == PatientSearchSpec.ROMAN_SEARCH
                || spec.getCode() == PatientSearchSpec.NAME_SEARCH)) {
               
            spec.setCode(PatientSearchSpec.FULL_TEXT_SEARCH);
            spec.setSearchText(spec.getName());
            pm = pdl.getPatients(spec);
        }
               
        result = new ArrayList<PatientModel>();
        result.addAll(pm);
       
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.