java类ims.core.vo.RCHTInpatientDischargeVo的实例源码

Logic.java 文件源码 项目:AvoinApotti 阅读 21 收藏 0 点赞 0 评论 0
@Override
protected void onBtnSaveClick() throws ims.framework.exceptions.PresentationLogicException
{
    StringBuffer errors = new StringBuffer();
    if (form.dtimDisch().getValue() == null)
    {
        errors.append("Discharge Date Time is mandatory. \n");
    }
    if (form.cmbDestination().getValue() == null)
    {
        errors.append("Discharge Destination is mandatory. \n");
    }
    if (form.cmbMethod().getValue() == null)
    {
        errors.append("Method of Discharge is mandatory. \n");
    }

    if (errors != null && errors.length() > 0)
    {
        engine.showMessage(errors.toString());
        return;
    }

    RCHTInpatientDischargeVo inpatientDischarge = new RCHTInpatientDischargeVo();

    inpatientDischarge.setDischargeDateTime(form.dtimDisch().getValue());
    inpatientDischarge.setDischargeDestination(form.cmbDestination().getValue());
    inpatientDischarge.setMethodOfDischarge(form.cmbMethod().getValue());

    form.getGlobalContext().Core.setRCHTInpatientDischarge(inpatientDischarge);
    engine.close(DialogResult.OK);
}
Logic.java 文件源码 项目:openMAXIMS 阅读 17 收藏 0 点赞 0 评论 0
@Override
protected void onBtnSaveClick() throws ims.framework.exceptions.PresentationLogicException
{
    StringBuffer errors = new StringBuffer();
    if (form.dtimDisch().getValue() == null)
    {
        errors.append("Discharge Date Time is mandatory. \n");
    }
    if (form.cmbDestination().getValue() == null)
    {
        errors.append("Discharge Destination is mandatory. \n");
    }
    if (form.cmbMethod().getValue() == null)
    {
        errors.append("Method of Discharge is mandatory. \n");
    }

    if (errors != null && errors.length() > 0)
    {
        engine.showMessage(errors.toString());
        return;
    }

    RCHTInpatientDischargeVo inpatientDischarge = new RCHTInpatientDischargeVo();

    inpatientDischarge.setDischargeDateTime(form.dtimDisch().getValue());
    inpatientDischarge.setDischargeDestination(form.cmbDestination().getValue());
    inpatientDischarge.setMethodOfDischarge(form.cmbMethod().getValue());

    form.getGlobalContext().Core.setRCHTInpatientDischarge(inpatientDischarge);
    engine.close(DialogResult.OK);
}
Logic.java 文件源码 项目:openMAXIMS 阅读 24 收藏 0 点赞 0 评论 0
@Override
protected void onBtnSaveClick() throws ims.framework.exceptions.PresentationLogicException
{
    StringBuffer errors = new StringBuffer();
    if (form.dtimDisch().getValue() == null)
    {
        errors.append("Discharge Date Time is mandatory. \n");
    }
    if (form.cmbDestination().getValue() == null)
    {
        errors.append("Discharge Destination is mandatory. \n");
    }
    if (form.cmbMethod().getValue() == null)
    {
        errors.append("Method of Discharge is mandatory. \n");
    }

    if (errors != null && errors.length() > 0)
    {
        engine.showMessage(errors.toString());
        return;
    }

    RCHTInpatientDischargeVo inpatientDischarge = new RCHTInpatientDischargeVo();

    inpatientDischarge.setDischargeDateTime(form.dtimDisch().getValue());
    inpatientDischarge.setDischargeDestination(form.cmbDestination().getValue());
    inpatientDischarge.setMethodOfDischarge(form.cmbMethod().getValue());

    form.getGlobalContext().Core.setRCHTInpatientDischarge(inpatientDischarge);
    engine.close(DialogResult.OK);
}
Logic.java 文件源码 项目:openmaxims-linux 阅读 16 收藏 0 点赞 0 评论 0
@Override
protected void onBtnSaveClick() throws ims.framework.exceptions.PresentationLogicException
{
    StringBuffer errors = new StringBuffer();
    if (form.dtimDisch().getValue() == null)
    {
        errors.append("Discharge Date Time is mandatory. \n");
    }
    if (form.cmbDestination().getValue() == null)
    {
        errors.append("Discharge Destination is mandatory. \n");
    }
    if (form.cmbMethod().getValue() == null)
    {
        errors.append("Method of Discharge is mandatory. \n");
    }

    if (errors != null && errors.length() > 0)
    {
        engine.showMessage(errors.toString());
        return;
    }

    RCHTInpatientDischargeVo inpatientDischarge = new RCHTInpatientDischargeVo();

    inpatientDischarge.setDischargeDateTime(form.dtimDisch().getValue());
    inpatientDischarge.setDischargeDestination(form.cmbDestination().getValue());
    inpatientDischarge.setMethodOfDischarge(form.cmbMethod().getValue());

    form.getGlobalContext().Core.setRCHTInpatientDischarge(inpatientDischarge);
    engine.close(DialogResult.OK);
}


问题


面经


文章

微信
公众号

扫码关注公众号