当前位置: 首页>>代码示例>>Java>>正文


Java AppointmentAction类代码示例

本文整理汇总了Java中ims.scheduling.vo.lookups.AppointmentAction的典型用法代码示例。如果您正苦于以下问题:Java AppointmentAction类的具体用法?Java AppointmentAction怎么用?Java AppointmentAction使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


AppointmentAction类属于ims.scheduling.vo.lookups包,在下文中一共展示了AppointmentAction类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: wasFutureAppointmentsButtonsPressed

import ims.scheduling.vo.lookups.AppointmentAction; //导入依赖的package包/类
private Boolean wasFutureAppointmentsButtonsPressed()
{
	if(form.getLocalContext().getAppointment() == null || form.getLocalContext().getAppointment().getOutcomeActions() == null)
		return false;
	
	for(AppointmentOutcomeActionVo action : form.getLocalContext().getAppointment().getOutcomeActions())
	{
		if(action == null)
			continue;
		
		if(AppointmentAction.BOOK_APPT_ACTION.equals(action.getAppointmentAction()))
			return true;
	}
	
	return false;
}
 
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:17,代码来源:Logic.java

示例2: addAction

import ims.scheduling.vo.lookups.AppointmentAction; //导入依赖的package包/类
private void addAction(AppointmentAction apptAction, OutcomeAction outcomeAction, FutureAppointmentDetailsVo futureAppointmentDetails)
{
	if(form.getLocalContext().getAppointment() == null)
		return;
	
	if(wasOnwardReferralORTransferActionAlreadyAdded(apptAction))
		return;
	
	if(wasDO_LATERAlreadyAdded(apptAction, outcomeAction))
		return;
	
	AppointmentOutcomeActionVo action = new AppointmentOutcomeActionVo();
	action.setAppointmentAction(apptAction);
	action.setOutcomeOfAction(outcomeAction);
	action.setFutureAppointmentDetails(futureAppointmentDetails);
	
	if(form.getLocalContext().getAppointment().getOutcomeActions() == null)
		form.getLocalContext().getAppointment().setOutcomeActions(new AppointmentOutcomeActionVoCollection());
	
	form.getLocalContext().getAppointment().getOutcomeActions().add(action);
}
 
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:22,代码来源:Logic.java

示例3: wasOnwardReferralORTransferActionAlreadyAdded

import ims.scheduling.vo.lookups.AppointmentAction; //导入依赖的package包/类
private boolean wasOnwardReferralORTransferActionAlreadyAdded(AppointmentAction apptAction)
{
	if(form.getLocalContext().getAppointment() == null || form.getLocalContext().getAppointment().getOutcomeActions() == null)
		return false;
	
	for(AppointmentOutcomeActionVo action : form.getLocalContext().getAppointment().getOutcomeActions())
	{
		if(action == null)
			continue;
		
		if(AppointmentAction.TRANSFER_ACTION.equals(action.getAppointmentAction()) && AppointmentAction.TRANSFER_ACTION.equals(apptAction))
			return true;
		
		if(AppointmentAction.ONWARD_REFERRAL_ACTION.equals(action.getAppointmentAction()) && AppointmentAction.ONWARD_REFERRAL_ACTION.equals(apptAction))
			return true;
	}
	
	return false;
}
 
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:20,代码来源:Logic.java

示例4: updateControlsState

import ims.scheduling.vo.lookups.AppointmentAction; //导入依赖的package包/类
private void updateControlsState()
{
	boolean apptHasOutcome = form.grdResults().getSelectedRow() != null && form.grdResults().getSelectedRow().getValue().getOutcome() != null;

	form.btnViewOutcome().setEnabled(apptHasOutcome);
	form.btnTaskComplete().setEnabled(atLeastOneIncompleteTask());

	form.getContextMenus().Clinical.hideAllClinicListActionSummaryMenuMenuItems();

	form.getContextMenus().Clinical.getClinicListActionSummaryMenuADD_TO_WAITING_LISTItem().setVisible(checkOutstandingWaitingListAction());
	form.getContextMenus().Clinical.getClinicListActionSummaryMenuADD_TO_BOOKED_LISTItem().setVisible(checkOutstandingBookedListAction());
	form.getContextMenus().Clinical.getClinicListActionSummaryMenuADD_TO_PLANNED_LISTItem().setVisible(checkOutstandingPlannedListAction());
	form.getContextMenus().Clinical.getClinicListActionSummaryMenuBOOK_APPOINTMENTItem().setVisible(checkOutstandingBookAppointmentAction());
	
	boolean showApptDates = AppointmentAction.BOOK_APPT_ACTION.equals(form.cmbAction().getValue());
	
	form.lblAppReqBetwwen().setVisible(showApptDates);
	form.dteFrom().setVisible(showApptDates);
	form.lblAnd().setVisible(showApptDates);
	form.dteTo().setVisible(showApptDates);
}
 
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:22,代码来源:Logic.java

示例5: checkOutstandingBookAppointmentAction

import ims.scheduling.vo.lookups.AppointmentAction; //导入依赖的package包/类
private boolean checkOutstandingBookAppointmentAction()
{
	if (form.grdResults().getSelectedRow() == null)
		return false;

	OutpatientEpisodeWithICPInfoVo temp = form.grdResults().getSelectedRow().getValue();

	for (int i = 0; i < temp.getOutcomeActions().size(); i++)
	{
		AppointmentOutcomeActionVo action = temp.getOutcomeActions().get(i);

		if (AppointmentAction.BOOK_APPT_ACTION.equals(action.getAppointmentAction()) && OutcomeAction.DO_LATER.equals(action.getOutcomeOfAction()))
		{
			return true;
		}
	}

	return false;
}
 
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:20,代码来源:Logic.java

示例6: checkOutstandingPlannedListAction

import ims.scheduling.vo.lookups.AppointmentAction; //导入依赖的package包/类
private boolean checkOutstandingPlannedListAction()
{
	if (form.grdResults().getSelectedRow() == null)
		return false;

	OutpatientEpisodeWithICPInfoVo temp = form.grdResults().getSelectedRow().getValue();

	for (int i = 0; i < temp.getOutcomeActions().size(); i++)
	{
		AppointmentOutcomeActionVo action = temp.getOutcomeActions().get(i);

		if (AppointmentAction.PLANNED_LIST_ACTION.equals(action.getAppointmentAction()) && OutcomeAction.DO_LATER.equals(action.getOutcomeOfAction()))
		{
			return true;
		}
	}

	return false;
}
 
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:20,代码来源:Logic.java

示例7: checkOutstandingBookedListAction

import ims.scheduling.vo.lookups.AppointmentAction; //导入依赖的package包/类
private boolean checkOutstandingBookedListAction()
{
	if (form.grdResults().getSelectedRow() == null)
		return false;

	OutpatientEpisodeWithICPInfoVo temp = form.grdResults().getSelectedRow().getValue();

	for (int i = 0; i < temp.getOutcomeActions().size(); i++)
	{
		AppointmentOutcomeActionVo action = temp.getOutcomeActions().get(i);

		if (AppointmentAction.BOOKED_LIST_ACTION.equals(action.getAppointmentAction()) && OutcomeAction.DO_LATER.equals(action.getOutcomeOfAction()))
		{
			return true;
		}
	}

	return false;
}
 
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:20,代码来源:Logic.java

示例8: checkOutstandingWaitingListAction

import ims.scheduling.vo.lookups.AppointmentAction; //导入依赖的package包/类
private boolean checkOutstandingWaitingListAction()
{
	if (form.grdResults().getSelectedRow() == null)
		return false;

	OutpatientEpisodeWithICPInfoVo temp = form.grdResults().getSelectedRow().getValue();

	for (int i = 0; i < temp.getOutcomeActions().size(); i++)
	{
		AppointmentOutcomeActionVo action = temp.getOutcomeActions().get(i);

		if (AppointmentAction.WAITING_LIST_ACTION.equals(action.getAppointmentAction()) && OutcomeAction.DO_LATER.equals(action.getOutcomeOfAction()))
		{
			return true;
		}
	}

	return false;
}
 
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:20,代码来源:Logic.java

示例9: onBtnWaitingListClick

import ims.scheduling.vo.lookups.AppointmentAction; //导入依赖的package包/类
@Override
 	protected void onBtnWaitingListClick() throws PresentationLogicException
 	{
 		PatientElectiveListAddLaterVo patientElectiveList = getPatientElectiveListAddLater(AppointmentAction.WAITING_LIST_ACTION);
 		ElectiveListAddLaterDlgOpenMode electiveListOpenMode = getElectiveListMode(patientElectiveList, form.getLocalContext().getFormMode());
 		
 		Object[] electiveListOpenParameters = new Object[] {
 																ims.admin.vo.enums.ElectiveListDetails.ADDTOWAITINGLIST,
 																form.getLocalContext().getAppointment(),
 																patientElectiveList,
 																electiveListOpenMode
 															};
 		
 		
engine.open(form.getForms().RefMan.ElectiveListAddLaterDialog, electiveListOpenParameters, "Waiting List Details"); 	//WDEV-19634,wdev-20561
 	}
 
开发者ID:IMS-MAXIMS,项目名称:openMAXIMS,代码行数:17,代码来源:Logic.java

示例10: onBtnRequestForServiceClick

import ims.scheduling.vo.lookups.AppointmentAction; //导入依赖的package包/类
@Override
 	protected void onBtnRequestForServiceClick() throws PresentationLogicException
 	{
 		BookingAppointmentOutcomeVo appointmentOutcome = form.getLocalContext().getAppointment();
 		CatsReferralParentVo parentReferral = domain.getParentCatsReferrall(form.getGlobalContext().RefMan.getCatsReferral());

 		LinkedCatsReferralForOutcomeVoCollection requestForServiceCatsReferral = getRequestForServiceCatsReferral(AppointmentAction.REQUEST_FOR_SERVICE_ACTION);
 		form.getGlobalContext().RefMan.setReferralServiceRequests(requestForServiceCatsReferral);
 		
 		form.getLocalContext().setParentCatsReferral(parentReferral);
 		Boolean openInReadOnlyMode = AppointmentOutcomeAction.VIEW.equals(form.getLocalContext().getFormMode()) || AppointmentOutcomeAction.VIEW_READ_ONLY.equals(form.getLocalContext().getFormMode());
 		
Object[] paramsRequestForService = new Object[] 
 		                                   {
 												parentReferral,												// Parent Cats Referral
 												appointmentOutcome,											// Appointment
 												CommitMode.COMMIT_TO_GLOBAL_CONTEXT,						// Indicate the Request For Service dialog to commit into a Global Context rather than database
 												openInReadOnlyMode											// Indicate dialog to open in Read-Only mode
 											};

 		engine.open(form.getForms().RefMan.CatsReferralRequestServiceDlg, paramsRequestForService, "Request For Service", false);
 	}
 
开发者ID:IMS-MAXIMS,项目名称:openMAXIMS,代码行数:23,代码来源:Logic.java

示例11: getIPTOut

import ims.scheduling.vo.lookups.AppointmentAction; //导入依赖的package包/类
private InterProviderTransferOutVo getIPTOut(AppointmentAction action)
{
  		if (action == null)
  			return null;
  		
  		BookingAppointmentOutcomeVo appointment = form.getLocalContext().getAppointment();
  		
  		if (appointment == null || appointment.getOutcomeActions() == null)
  			return null;
  		
  		for (AppointmentOutcomeActionVo appointmentOutcomeAction : appointment.getOutcomeActions())
  		{
  			if (action.equals(appointmentOutcomeAction.getAppointmentAction()))
  				return appointmentOutcomeAction.getInterProviderTransfer();
  		}
  		
  		return null;
}
 
开发者ID:IMS-MAXIMS,项目名称:openMAXIMS,代码行数:19,代码来源:Logic.java

示例12: getRequestForServiceCatsReferral

import ims.scheduling.vo.lookups.AppointmentAction; //导入依赖的package包/类
/**
  	 *	Function used to return the associated Requests For Service for Appointment Outcome
  	 * @param action
  	 * @return
  	 */
  	private LinkedCatsReferralForOutcomeVoCollection getRequestForServiceCatsReferral(AppointmentAction action)
{
  		if (action == null)
		return null;
	
	BookingAppointmentOutcomeVo appointment = form.getLocalContext().getAppointment();
	
	if (appointment == null || appointment.getOutcomeActions() == null)
		return null;
	
	for (AppointmentOutcomeActionVo outcomeAction : appointment.getOutcomeActions())
  		{
		if (action.equals(outcomeAction.getAppointmentAction()) && !Boolean.TRUE.equals(outcomeAction.getRemove()))
		{
			return outcomeAction.getRequestsForService();
		}
  		}
	
	return null;
}
 
开发者ID:IMS-MAXIMS,项目名称:openMAXIMS,代码行数:26,代码来源:Logic.java

示例13: getPatientElectiveListAddLater

import ims.scheduling.vo.lookups.AppointmentAction; //导入依赖的package包/类
private PatientElectiveListAddLaterVo getPatientElectiveListAddLater(AppointmentAction action)
{
	if (action == null)
		return null;
	
	BookingAppointmentOutcomeVo appointment = form.getLocalContext().getAppointment();
	
	if (appointment == null || appointment.getOutcomeActions() == null)
		return null;
	
	for (AppointmentOutcomeActionVo appointmentOutcomeActionVo : appointment.getOutcomeActions())
  		{
		if (AppointmentAction.WAITING_LIST_ACTION.equals(action) && action.equals(appointmentOutcomeActionVo.getAppointmentAction()))
  				return appointmentOutcomeActionVo.getWaitingListAction();
		
		if (AppointmentAction.PLANNED_LIST_ACTION.equals(action) && action.equals(appointmentOutcomeActionVo.getAppointmentAction()))
			return appointmentOutcomeActionVo.getPlannedListAction();
  		}
	
	return null;
}
 
开发者ID:IMS-MAXIMS,项目名称:openMAXIMS,代码行数:22,代码来源:Logic.java

示例14: getFutureAppointmentDetails

import ims.scheduling.vo.lookups.AppointmentAction; //导入依赖的package包/类
private FutureAppointmentDetailsVo getFutureAppointmentDetails(AppointmentAction action)
{
  		if (action == null)
  			return null;
  		
  		BookingAppointmentOutcomeVo appointment = form.getLocalContext().getAppointment();
  		
  		if (appointment == null || appointment.getOutcomeActions() == null)
  			return null;
  		
  		for (AppointmentOutcomeActionVo appointmentOutcomeAction : appointment.getOutcomeActions())
  		{
  			if (action.equals(appointmentOutcomeAction.getAppointmentAction()))
  				return appointmentOutcomeAction.getFutureAppointment();
  		}
  		
  		return null;
}
 
开发者ID:IMS-MAXIMS,项目名称:openMAXIMS,代码行数:19,代码来源:Logic.java

示例15: hasRecordedOutcomeAction

import ims.scheduling.vo.lookups.AppointmentAction; //导入依赖的package包/类
private boolean hasRecordedOutcomeAction(BookingAppointmentOutcomeVo appointment, AppointmentAction action)
{
	if (appointment == null || action == null)
		return false;
	
	AppointmentOutcomeActionVoCollection outcomeActions = appointment.getOutcomeActions();
	
	if (outcomeActions == null)
		return false;
	
	for (AppointmentOutcomeActionVo outcomeAction : outcomeActions)
	{
		if (action.equals(outcomeAction.getAppointmentAction()) && !Boolean.TRUE.equals(outcomeAction.getRemove()))
			return true;
	}

	return false;
}
 
开发者ID:IMS-MAXIMS,项目名称:openMAXIMS,代码行数:19,代码来源:Logic.java


注:本文中的ims.scheduling.vo.lookups.AppointmentAction类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。