Package systole.domain.clinicalInformation.standardValues

Examples of systole.domain.clinicalInformation.standardValues.StandardValue


    }

     @Action
    public void setNormalValueToPD() {
        try {
            StandardValue st = FacadeDB.getInstance().getStandardValuesBroker().getStandardValueByParamType(StandardParams.PD);
            this.jTxtPD.setText(st != null ? st.getNormal().toString() : StandardParams.PD.getNormal().toString());
        } catch (ExceptionDAO e) {
            this.jTxtPD.setText(StandardParams.PD.getNormal().toString());
            FacadeDB.getInstance().refreshSession();
        }
    }
View Full Code Here


    }

    @Action
    public void setMediumValueToPD() {
        try {
            StandardValue st = FacadeDB.getInstance().getStandardValuesBroker().getStandardValueByParamType(StandardParams.PD);
            this.jTxtPD.setText(st != null ? st.getMedium().toString() : StandardParams.PD.getMedium().toString());
        } catch (ExceptionDAO edao) {
            this.jTxtPD.setText(StandardParams.PD.getMedium().toString());
            FacadeDB.getInstance().refreshSession();
        }
    }
View Full Code Here

    }

    @Action
    public void setHighValueToPD() {
        try {
            StandardValue st = FacadeDB.getInstance().getStandardValuesBroker().getStandardValueByParamType(StandardParams.PD);
            this.jTxtPD.setText(st != null ? st.getHigh().toString() : StandardParams.PD.getHigh().toString());
        } catch (ExceptionDAO edao) {
            this.jTxtPD.setText(StandardParams.PD.getHigh().toString());
            FacadeDB.getInstance().refreshSession();
        }
    }
View Full Code Here


    public void setNormalValueToLDL() {
        JDialogClinicalInfo jDialogClinicalInfo = (JDialogClinicalInfo) this.editForm;
        try {
            StandardValue st =this.facadeDB.getStandardValuesBroker().getStandardValueByParamType(StandardParams.LDL);
            jDialogClinicalInfo.getjTxtLDL().setText(st != null ? st.getNormal().toString() : StandardParams.LDL.getNormal().toString());
        } catch (ExceptionDAO e) {
            jDialogClinicalInfo.getjTxtLDL().setText(StandardParams.LDL.getNormal().toString());
            this.facadeDB.refreshSession();
        }
    }
View Full Code Here


    public void setMediumValueToLDL() {
        JDialogClinicalInfo jDialogClinicalInfo = (JDialogClinicalInfo) this.editForm;
        try {
            StandardValue st = this.facadeDB.getStandardValuesBroker().getStandardValueByParamType(StandardParams.LDL);
           jDialogClinicalInfo.getjTxtLDL().setText(st != null ? st.getMedium().toString() : StandardParams.LDL.getMedium().toString());
        } catch (ExceptionDAO edao) {
            jDialogClinicalInfo.getjTxtLDL().setText(StandardParams.LDL.getMedium().toString());
            this.facadeDB.refreshSession();
        }
    }
View Full Code Here


    public void setHighValueToLDL() {
        JDialogClinicalInfo jDialogClinicalInfo = (JDialogClinicalInfo) this.editForm;
        try {
            StandardValue st = this.facadeDB.getStandardValuesBroker().getStandardValueByParamType(StandardParams.LDL);
            jDialogClinicalInfo.getjTxtLDL().setText(st != null ? st.getHigh().toString() : StandardParams.LDL.getHigh().toString());
        } catch (ExceptionDAO edao) {
            jDialogClinicalInfo.getjTxtLDL().setText(StandardParams.LDL.getHigh().toString());
            this.facadeDB.refreshSession();
        }
    }
View Full Code Here


    public void setNormalValueToHDL() {
        JDialogClinicalInfo jDialogClinicalInfo = (JDialogClinicalInfo) this.editForm;
        try {
            StandardValue st = this.facadeDB.getStandardValuesBroker().getStandardValueByParamType(StandardParams.HDL);
            jDialogClinicalInfo.getjTxtHDL().setText(st != null ? st.getNormal().toString() : StandardParams.HDL.getNormal().toString());
        } catch (ExceptionDAO e) {
            jDialogClinicalInfo.getjTxtHDL().setText(StandardParams.HDL.getNormal().toString());
            this.facadeDB.refreshSession();
        }
    }
View Full Code Here


    public void setMediumValueToHDL() {
        JDialogClinicalInfo jDialogClinicalInfo = (JDialogClinicalInfo) this.editForm;
        try {
            StandardValue st = this.facadeDB.getStandardValuesBroker().getStandardValueByParamType(StandardParams.HDL);
            jDialogClinicalInfo.getjTxtHDL().setText(st != null ? st.getMedium().toString() : StandardParams.HDL.getMedium().toString());
        } catch (ExceptionDAO edao) {
           jDialogClinicalInfo.getjTxtHDL().setText(StandardParams.HDL.getMedium().toString());
            this.facadeDB.refreshSession();
        }
    }
View Full Code Here


    public void setHighValueToHDL() {
        JDialogClinicalInfo jDialogClinicalInfo = (JDialogClinicalInfo) this.editForm;
        try {
            StandardValue st = this.facadeDB.getStandardValuesBroker().getStandardValueByParamType(StandardParams.HDL);
           jDialogClinicalInfo.getjTxtHDL().setText(st != null ? st.getHigh().toString() : StandardParams.HDL.getHigh().toString());
        } catch (ExceptionDAO edao) {
            jDialogClinicalInfo.getjTxtHDL().setText(StandardParams.HDL.getHigh().toString());
            this.facadeDB.refreshSession();
        }
    }
View Full Code Here


    public void setNormalValueToCTotal() {
        JDialogClinicalInfo jDialogClinicalInfo = (JDialogClinicalInfo) this.editForm;
        try {
            StandardValue st = this.facadeDB.getStandardValuesBroker().getStandardValueByParamType(StandardParams.TOTAL);
            jDialogClinicalInfo.getjTxtTotal().setText(st != null ? st.getNormal().toString() : StandardParams.TOTAL.getNormal().toString());
        } catch (ExceptionDAO e) {
            jDialogClinicalInfo.getjTxtTotal().setText(StandardParams.TOTAL.getNormal().toString());
            this.facadeDB.refreshSession();
        }
    }
View Full Code Here

TOP

Related Classes of systole.domain.clinicalInformation.standardValues.StandardValue

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.