Java 类ims.emergency.vo.AttendanceHistoryDialogParamsVo 实例源码

项目:AvoinApotti    文件:Logic.java   
@Override
protected void onFormOpen(Object[] args) throws ims.framework.exceptions.PresentationLogicException
{
    if (form.getGlobalContext().Emergency.getAttendanceHistoryDialogIsNotNull() &&
            form.getGlobalContext().Emergency.getAttendanceHistoryDialogParamsIsNotNull())
    {       
        AttendanceHistoryDialogParamsVo voSetting = form.getGlobalContext().Emergency.getAttendanceHistoryDialogParams();
        EpisodeDetailsVoCollection voCollEpisodeDetails = null;
        if (form.getGlobalContext().Emergency.getAttendanceHistoryDialog().equals(AttendanceHistoryDialog.SCHEDULED))
        {
            voCollEpisodeDetails = domain.listEmergencyEpisodeByPatient(
                    voSetting.getPatientRefVo(), 
                        0, 
                            AttendanceHistoryDialog.SCHEDULED,
                                voSetting.getScheduledDate(),
                                    null);
        }

        if (form.getGlobalContext().Emergency.getAttendanceHistoryDialog().equals(AttendanceHistoryDialog.UNSCHEDULED))
        {
            voCollEpisodeDetails = domain.listEmergencyEpisodeByPatient(
                    voSetting.getPatientRefVo(), 
                        0, 
                            AttendanceHistoryDialog.UNSCHEDULED,
                                voSetting.getScheduledDate(),
                                    voSetting.getScheduledDate());
        }

        if (form.getGlobalContext().Emergency.getAttendanceHistoryDialog().equals(AttendanceHistoryDialog.HISTORY))
        {
            voCollEpisodeDetails = domain.listEmergencyEpisodeByPatient(
                    voSetting.getPatientRefVo(), 
                        0, 
                            null,
                                null,
                                    null);
        }

        populateGrdDisplay(voCollEpisodeDetails);

    }
}
项目:openMAXIMS    文件:Logic.java   
@Override
protected void onFormOpen(Object[] args) throws ims.framework.exceptions.PresentationLogicException
{
    if (form.getGlobalContext().Emergency.getAttendanceHistoryDialogIsNotNull() &&
            form.getGlobalContext().Emergency.getAttendanceHistoryDialogParamsIsNotNull())
    {       
        AttendanceHistoryDialogParamsVo voSetting = form.getGlobalContext().Emergency.getAttendanceHistoryDialogParams();
        EmergencyEpisodeShortVoCollection voCollEpisodeDetails = null;
        if (form.getGlobalContext().Emergency.getAttendanceHistoryDialog().equals(AttendanceHistoryDialog.SCHEDULED))
        {
            voCollEpisodeDetails = domain.listEmergencyEpisodeByPatient(
                    voSetting.getPatientRefVo(), 
                        0, 
                            AttendanceHistoryDialog.SCHEDULED,
                                voSetting.getScheduledDate(),
                                    null);
        }

        if (form.getGlobalContext().Emergency.getAttendanceHistoryDialog().equals(AttendanceHistoryDialog.UNSCHEDULED))
        {
            voCollEpisodeDetails = domain.listEmergencyEpisodeByPatient(
                    voSetting.getPatientRefVo(), 
                        0, 
                            AttendanceHistoryDialog.UNSCHEDULED,
                                voSetting.getScheduledDate(),
                                    voSetting.getScheduledDate());
        }

        if (form.getGlobalContext().Emergency.getAttendanceHistoryDialog().equals(AttendanceHistoryDialog.HISTORY))
        {
            voCollEpisodeDetails = domain.listEmergencyEpisodeByPatient(
                    voSetting.getPatientRefVo(), 
                        0, 
                            null,
                                null,
                                    null);
        }

        populateGrdDisplay(voCollEpisodeDetails);

    }
}
项目:openMAXIMS    文件:Logic.java   
@Override
protected void onFormOpen(Object[] args) throws ims.framework.exceptions.PresentationLogicException
{
    if (form.getGlobalContext().Emergency.getAttendanceHistoryDialogIsNotNull() &&
            form.getGlobalContext().Emergency.getAttendanceHistoryDialogParamsIsNotNull())
    {       
        AttendanceHistoryDialogParamsVo voSetting = form.getGlobalContext().Emergency.getAttendanceHistoryDialogParams();
        EpisodeDetailsVoCollection voCollEpisodeDetails = null;
        if (form.getGlobalContext().Emergency.getAttendanceHistoryDialog().equals(AttendanceHistoryDialog.SCHEDULED))
        {
            voCollEpisodeDetails = domain.listEmergencyEpisodeByPatient(
                    voSetting.getPatientRefVo(), 
                        0, 
                            AttendanceHistoryDialog.SCHEDULED,
                                voSetting.getScheduledDate(),
                                    null);
        }

        if (form.getGlobalContext().Emergency.getAttendanceHistoryDialog().equals(AttendanceHistoryDialog.UNSCHEDULED))
        {
            voCollEpisodeDetails = domain.listEmergencyEpisodeByPatient(
                    voSetting.getPatientRefVo(), 
                        0, 
                            AttendanceHistoryDialog.UNSCHEDULED,
                                voSetting.getScheduledDate(),
                                    voSetting.getScheduledDate());
        }

        if (form.getGlobalContext().Emergency.getAttendanceHistoryDialog().equals(AttendanceHistoryDialog.HISTORY))
        {
            voCollEpisodeDetails = domain.listEmergencyEpisodeByPatient(
                    voSetting.getPatientRefVo(), 
                        0, 
                            null,
                                null,
                                    null);
        }

        populateGrdDisplay(voCollEpisodeDetails);

    }
}
项目:openmaxims-linux    文件:Logic.java   
@Override
protected void onFormOpen(Object[] args) throws ims.framework.exceptions.PresentationLogicException
{
    if (form.getGlobalContext().Emergency.getAttendanceHistoryDialogIsNotNull() &&
            form.getGlobalContext().Emergency.getAttendanceHistoryDialogParamsIsNotNull())
    {       
        AttendanceHistoryDialogParamsVo voSetting = form.getGlobalContext().Emergency.getAttendanceHistoryDialogParams();
        EpisodeDetailsVoCollection voCollEpisodeDetails = null;
        if (form.getGlobalContext().Emergency.getAttendanceHistoryDialog().equals(AttendanceHistoryDialog.SCHEDULED))
        {
            voCollEpisodeDetails = domain.listEmergencyEpisodeByPatient(
                    voSetting.getPatientRefVo(), 
                        0, 
                            AttendanceHistoryDialog.SCHEDULED,
                                voSetting.getScheduledDate(),
                                    null);
        }

        if (form.getGlobalContext().Emergency.getAttendanceHistoryDialog().equals(AttendanceHistoryDialog.UNSCHEDULED))
        {
            voCollEpisodeDetails = domain.listEmergencyEpisodeByPatient(
                    voSetting.getPatientRefVo(), 
                        0, 
                            AttendanceHistoryDialog.UNSCHEDULED,
                                voSetting.getScheduledDate(),
                                    voSetting.getScheduledDate());
        }

        if (form.getGlobalContext().Emergency.getAttendanceHistoryDialog().equals(AttendanceHistoryDialog.HISTORY))
        {
            voCollEpisodeDetails = domain.listEmergencyEpisodeByPatient(
                    voSetting.getPatientRefVo(), 
                        0, 
                            null,
                                null,
                                    null);
        }

        populateGrdDisplay(voCollEpisodeDetails);

    }
}