本文整理汇总了Java中ims.coe.vo.Discharge.getDateTimeDischarged方法的典型用法代码示例。如果您正苦于以下问题:Java Discharge.getDateTimeDischarged方法的具体用法?Java Discharge.getDateTimeDischarged怎么用?Java Discharge.getDateTimeDischarged使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ims.coe.vo.Discharge
的用法示例。
在下文中一共展示了Discharge.getDateTimeDischarged方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: initialize
import ims.coe.vo.Discharge; //导入方法依赖的package包/类
private void initialize()
{
if (form.getLocalContext().getFromReview() == null)
form.getLocalContext().setFromReview(Boolean.FALSE);
form.getLocalContext().setIsNewEvalNote(new Boolean(false));
if (engine.getPreviousNonDialogFormName() != null)
form.getLocalContext().setLastFormName(engine.getPreviousNonDialogFormName());
if (form.getLocalContext().getLastFormName() != null && form.getLocalContext().getLastFormName().equals(form.getForms().Nursing.CarePlanReview))
{
form.btnReview().setVisible(true);
form.btnReview().setEnabled(true);
form.bClose().setVisible(false);
form.bPrint().setVisible(false);
form.getLocalContext().setFromReview(Boolean.TRUE);
}
else
{
form.bPrint().setEnabled(true);
form.btnReview().setVisible(false);
Discharge dischargeVO = domain.getDischarge(form.getGlobalContext().Core.getCurrentCareContext());
if (dischargeVO != null)
{
if (dischargeVO.getDateTimeDischarged() != null)
form.bUpdate().setEnabled(false);
}
else
{
form.bUpdate().setEnabled(true);
}
}
if (ims.configuration.gen.ConfigFlag.UI.DISPLAY_CAREPLAN_NOTE_LINK.getValue())
{
form.lnkClinicalNote().setVisible(true);
}
else
{
form.lnkClinicalNote().setVisible(false);
}
form.cbFilter().clear();
form.cbFilter().newRow("0", "Active Actions");
form.cbFilter().newRow("1", "All Actions");
boolean isCcoSpecific = ConfigFlag.GEN.CARE_PLAN_FUNCTIONALITY_TYPE.getValue().equals("CCO");
form.cbFilter().setValue(isCcoSpecific ? "1" : "0");
form.chkActive().setValue(true);
form.dteNotesFrom().setValue(new Date().addDay(-30));
form.dteNotesTo().setValue(new Date());
form.chkActive().setVisible( ! isCcoSpecific);//wdev-13781
initDynGrid();
//------------
//form.getGlobalContext().Nursing.setCarePlanInterventions(null);
//------------
}
示例2: populateActionsDetails
import ims.coe.vo.Discharge; //导入方法依赖的package包/类
private void populateActionsDetails(Discharge dischargeVO)
{
form.layerControl1().tab1().dateCommenced().setValue(dischargeVO.getDateCommenced());
form.layerControl1().tab1().comDest().setValue(dischargeVO.getDestination());
if (dischargeVO.getDateTimeDischarged() != null)
{
form.layerControl1().tab1().textBoxDate().setValue(dischargeVO.getDateTimeDischarged().getDate().toString(DateFormat.STANDARD));
form.layerControl1().tab1().textBoxTime().setValue(dischargeVO.getDateTimeDischarged().getTime().toString(TimeFormat.DEFAULT));
}
if (dischargeVO.getHCP() != null)
form.layerControl1().tab1().textBoxBy().setValue(dischargeVO.getHCP().toString());
// Action List Grid
if (dischargeVO.getActions() != null)
{
for (int i = 0; i < dischargeVO.getActions().size(); i++)
{
gridActionsRow row = null;
for (int j = 0; j < form.layerControl1().tab1().gridActions().getRows().size(); j++)
{
row = form.layerControl1().tab1().gridActions().getRows().get(j);
if (dischargeVO.getActions().get(i).getActionList().equals(row.getColAction()))
{
row.setColStatus(dischargeVO.getActions().get(i).getStatus().booleanValue());
if (dischargeVO.getActions().get(i).getDate() != null)
row.setColActionDate(dischargeVO.getActions().get(i).getDate().toString(DateFormat.STANDARD));
if (dischargeVO.getActions().get(i).getHCP() != null)
{
row.setColBy(dischargeVO.getActions().get(i).getHCP().toString());
row.setColByValue(dischargeVO.getActions().get(i).getHCP());
}
else
row.setColByValue(null);
row.setColDetails(dischargeVO.getActions().get(i).getDetails());
row.setValue(dischargeVO.getActions().get(i));
break;
}
}
}
}
}