本文整理汇总了Java中ims.clinical.forms.intraoperativecarerecord.GenForm.lyr1Layer.tabCareRecordContainer.PlannedUnplannedEnumeration类的典型用法代码示例。如果您正苦于以下问题:Java PlannedUnplannedEnumeration类的具体用法?Java PlannedUnplannedEnumeration怎么用?Java PlannedUnplannedEnumeration使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
PlannedUnplannedEnumeration类属于ims.clinical.forms.intraoperativecarerecord.GenForm.lyr1Layer.tabCareRecordContainer包,在下文中一共展示了PlannedUnplannedEnumeration类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: validateUIRules
import ims.clinical.forms.intraoperativecarerecord.GenForm.lyr1Layer.tabCareRecordContainer.PlannedUnplannedEnumeration; //导入依赖的package包/类
private String[] validateUIRules()
{
List<String> uiErrors = new ArrayList<String>();
/*if (form.lyr1().tabCareRecord().dtimInTheatreTime().getValue() != null && form.lyr1().tabCareRecord().dtimOutTheatreTime().getValue() != null && form.lyr1().tabCareRecord().dtimInTheatreTime().getValue().isGreaterThan(form.lyr1().tabCareRecord().dtimOutTheatreTime().getValue()))
{
uiErrors.add("In Theatre Time can not be set after Out Theatre Time.");
}*/
if (form.lyr1().tabCareRecord().dtimSurgeryStart().getValue() != null && form.lyr1().tabCareRecord().dtimSurgeryFinish().getValue() != null && form.lyr1().tabCareRecord().dtimSurgeryStart().getValue().isGreaterThan(form.lyr1().tabCareRecord().dtimSurgeryFinish().getValue()))
{
uiErrors.add("Surgery start can not be set after Surgery finish.");
}
if (!(form.lyr1().tabCareRecord().PlannedUnplanned().getValue().equals(PlannedUnplannedEnumeration.rdoPlanned) || form.lyr1().tabCareRecord().PlannedUnplanned().getValue().equals(PlannedUnplannedEnumeration.rdoUnplanned)))
{
uiErrors.add("Please specify if the actual procedure is planned or unplanned.");
}
if (form.lyr1().tabDetails().ctn1().dtimTimeOn().getValue() != null && form.lyr1().tabDetails().ctn1().dtimTimeOff().getValue() != null && form.lyr1().tabDetails().ctn1().dtimTimeOn().getValue().isGreaterThan(form.lyr1().tabDetails().ctn1().dtimTimeOff().getValue()))
{
uiErrors.add("Time On cannot be set after Time Off.");
}
//wdev-11676
if (form.lyr1().tabDetails().ctn1().dtimCatheterInTime().getValue() != null && form.lyr1().tabDetails().ctn1().dtimCatheterOutTime().getValue() != null && form.lyr1().tabDetails().ctn1().dtimCatheterInTime().getValue().isGreaterThan(form.lyr1().tabDetails().ctn1().dtimCatheterOutTime().getValue()))
{
uiErrors.add("Catheter In Time can not be set after Catheter Out Time.");
}
//----------
if (checkOtherSkinPreparation())
{
uiErrors.add("Please set Other Skin Preparation Used.");
}
if (checkOtherTable())
{
uiErrors.add("Please set Other Table Device.");
}
/* if (checkOtherDiathermyPlate())
{
uiErrors.add("Please set Other Other Diathermy Plate.");
}
//wdev-11676 */
/*if (checkOtherDiathermyPlateSite2())
{
uiErrors.add("Please set Other Other Diathermy Plate.");
}
*/
//------------
if (form.lyr1().tabDetails().ctn1().chkCatheter().getValue() == true && form.lyr1().tabDetails().ctn1().ccCatherterInsertedBy().getValue() == null)
{
uiErrors.add("Catheter Inserted by is mandatory");
}
String[] result = new String[uiErrors.size()];
uiErrors.toArray(result);
return result;
}
示例2: populateIntraOperativeCareRecords
import ims.clinical.forms.intraoperativecarerecord.GenForm.lyr1Layer.tabCareRecordContainer.PlannedUnplannedEnumeration; //导入依赖的package包/类
private void populateIntraOperativeCareRecords(IntraOperativeCareRecordVo currentRecord)
{
if (currentRecord == null)
return;
form.lyr1().tabCareRecord().ccAuth().setValue(currentRecord.getAuthoringInformationIsNotNull() ? currentRecord.getAuthoringInformation() : null);
form.lyr1().tabCareRecord().ccPlannedProcedure().setValue(form.getGlobalContext().Clinical.getPatientProcedureForIntraOperativeDialog());
form.lyr1().tabCareRecord().ccActualProcedurePerformed().setValue(currentRecord.getActualProcedureIsNotNull() ? currentRecord.getActualProcedure() : null);
form.lyr1().tabCareRecord().dteDate().setValue(currentRecord.getProcedureDateIsNotNull() ? currentRecord.getProcedureDate() : null);
if (currentRecord.getTheatreIsNotNull())
{
form.lyr1().tabCareRecord().cmbTheatre().newRow(currentRecord.getTheatre(), currentRecord.getTheatre().getName());
form.lyr1().tabCareRecord().cmbTheatre().setValue(currentRecord.getTheatre());
}
form.lyr1().tabCareRecord().dtimInTheatreTime().setValue(currentRecord.getInTheatreTimeIsNotNull() ? currentRecord.getInTheatreTime() : null);
//wdev-12096
//form.lyr1().tabCareRecord().txtAnaestheticUsed().setValue(currentRecord.getAnaestheticUsedIsNotNull() ? currentRecord.getAnaestheticUsed():null);
form.lyr1().tabCareRecord().cmbAnaestheticUsed().setValue(currentRecord.getAnaestheticUsedIsNotNull() ? currentRecord.getAnaestheticUsed():null); //wdev-13774
form.lyr1().tabCareRecord().dtimTimeIntoPACU().setValue(currentRecord.getIntoPacuTimeIsNotNull() ? currentRecord.getIntoPacuTime():null);
form.lyr1().tabCareRecord().dtimStageOneRecovery().setValue(currentRecord.getTimeIntoRecoveryIsNotNull() ? currentRecord.getTimeIntoRecovery():null);
form.lyr1().tabCareRecord().dtimTimeOutOfRecovery().setValue(currentRecord.getTimeOutOfRecoveryIsNotNull() ? currentRecord.getTimeOutOfRecovery():null);
//WDEV-12173
Booking_AppointmentShortVo voAppt = domain.getTheatreApptForIntraOperativeCareRecord(currentRecord);
if(voAppt != null && voAppt.getAppointmentDateIsNotNull())
form.lyr1().tabCareRecord().cmbTheatreBooking().newRow(voAppt, voAppt.getAppointmentDate().toString()+(voAppt.getApptStartTime()!=null?" "+
voAppt.getApptStartTime().toString():(voAppt.getTheatreBookingIsNotNull()&&voAppt.getTheatreBooking().getTCITimeIsNotNull()?" "+voAppt.getTheatreBooking().getTCITime().getText():"")));
form.lyr1().tabCareRecord().cmbTheatreBooking().setValue(voAppt);
//-------------
form.lyr1().tabCareRecord().dtimSurgeryStart().setValue(currentRecord.getSurgeryStartTimeIsNotNull() ? currentRecord.getSurgeryStartTime() : null);
form.lyr1().tabCareRecord().dtimSurgeryFinish().setValue(currentRecord.getSurgeryEndTimeIsNotNull() ? currentRecord.getSurgeryEndTime() : null);
form.lyr1().tabCareRecord().dtimAnaesthetistS().setValue(currentRecord.getAnaesthetistStartTimeIsNotNull() ? currentRecord.getAnaesthetistStartTime() : null);
form.lyr1().tabCareRecord().ccSurgeon().setValue(currentRecord.getSurgeonIsNotNull() ? currentRecord.getSurgeon() : null);
form.lyr1().tabCareRecord().ccSurgeonAssistant().setValue(currentRecord.getSurgeonAssistantIsNotNull() ? currentRecord.getSurgeonAssistant() : null);
form.lyr1().tabCareRecord().ccAnaesthetist().setValue(currentRecord.getAnaesthetistIsNotNull() ? currentRecord.getAnaesthetist() : null);
form.lyr1().tabCareRecord().ccODAODP().setValue(currentRecord.getODAIsNotNull() ? currentRecord.getODA() : null);
form.lyr1().tabCareRecord().ccScrubNurse().setValue(currentRecord.getScrubNurseIsNotNull() ? currentRecord.getScrubNurse() : null);
form.lyr1().tabCareRecord().ccCirculatingNurse().setValue(currentRecord.getCirculatingNurseIsNotNull() ? currentRecord.getCirculatingNurse() : null);
form.lyr1().tabCareRecord().txtOther().setValue(currentRecord.getOtherIsNotNull() ? currentRecord.getOther() : null);
form.lyr1().tabCareRecord().PlannedUnplanned().setValue(currentRecord.getWasPlannedProcedureIsNotNull() && currentRecord.getWasPlannedProcedure() ? PlannedUnplannedEnumeration.rdoPlanned : PlannedUnplannedEnumeration.rdoUnplanned);
}
示例3: validateUIRules
import ims.clinical.forms.intraoperativecarerecord.GenForm.lyr1Layer.tabCareRecordContainer.PlannedUnplannedEnumeration; //导入依赖的package包/类
private String[] validateUIRules()
{
List<String> uiErrors = new ArrayList<String>();
/*if (form.lyr1().tabCareRecord().dtimInTheatreTime().getValue() != null && form.lyr1().tabCareRecord().dtimOutTheatreTime().getValue() != null && form.lyr1().tabCareRecord().dtimInTheatreTime().getValue().isGreaterThan(form.lyr1().tabCareRecord().dtimOutTheatreTime().getValue()))
{
uiErrors.add("In Theatre Time can not be set after Out Theatre Time.");
}*/
if (form.lyr1().tabCareRecord().dtimSurgeryStart().getValue() != null && form.lyr1().tabCareRecord().dtimSurgeryFinish().getValue() != null && form.lyr1().tabCareRecord().dtimSurgeryStart().getValue().isGreaterThan(form.lyr1().tabCareRecord().dtimSurgeryFinish().getValue()))
{
uiErrors.add("'Surgery Start' date/time cannot be later than 'Surgery Finish' date/time."); //WDEV-18762
}
if (!(form.lyr1().tabCareRecord().PlannedUnplanned().getValue().equals(PlannedUnplannedEnumeration.rdoPlanned) || form.lyr1().tabCareRecord().PlannedUnplanned().getValue().equals(PlannedUnplannedEnumeration.rdoUnplanned)))
{
uiErrors.add("Please specify if the actual procedure is planned or unplanned.");
}
if (form.lyr1().tabDetails().ctn1().dtimTimeOn().getValue() != null && form.lyr1().tabDetails().ctn1().dtimTimeOff().getValue() != null && form.lyr1().tabDetails().ctn1().dtimTimeOn().getValue().isGreaterThan(form.lyr1().tabDetails().ctn1().dtimTimeOff().getValue()))
{
uiErrors.add("Time On cannot be set after Time Off.");
}
//wdev-11676
if (form.lyr1().tabDetails().ctn1().dtimCatheterInTime().getValue() != null && form.lyr1().tabDetails().ctn1().dtimCatheterOutTime().getValue() != null && form.lyr1().tabDetails().ctn1().dtimCatheterInTime().getValue().isGreaterThan(form.lyr1().tabDetails().ctn1().dtimCatheterOutTime().getValue()))
{
uiErrors.add("'Catheter In Time' cannot be later than 'Catheter Out Time'."); //WDEV-18762
}
//----------
if (checkOtherSkinPreparation())
{
uiErrors.add("Please set Other Skin Preparation Used.");
}
if (checkOtherTable())
{
uiErrors.add("Please set Other Table Device.");
}
/* if (checkOtherDiathermyPlate())
{
uiErrors.add("Please set Other Other Diathermy Plate.");
}
//wdev-11676 */
/*if (checkOtherDiathermyPlateSite2())
{
uiErrors.add("Please set Other Other Diathermy Plate.");
}
*/
//------------
if (form.lyr1().tabDetails().ctn1().chkCatheter().getValue() == true && form.lyr1().tabDetails().ctn1().ccCatherterInsertedBy().getValue() == null)
{
uiErrors.add("Catheter Inserted by is mandatory");
}
String[] result = new String[uiErrors.size()];
uiErrors.toArray(result);
return result;
}