Java 类ims.core.vo.lookups.ClinicalNotingMode 实例源码
项目:AvoinApotti
文件:Logic.java
protected void onBtnUpdateClick() throws ims.framework.exceptions.PresentationLogicException
{
form.setMode(FormMode.EDIT);
showHideCustomComponent(form.customControlAuthoring(), Boolean.FALSE, false);
if (isDialog())
{
form.btnClose().setVisible(false);
form.getGlobalContext().Clinical.setReturnToFormMode(FormMode.EDIT);
}
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.UPDATE);
form.btnClose().setEnabled(false);
if (form.getGlobalContext().Clinical.getCurrentClinicalNoteIsNotNull() &&
validationIPMode(form.getGlobalContext().Clinical.getCurrentClinicalNote().getCurrentStatus()))
{
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.VALIDATE);
}
}
项目:AvoinApotti
文件:Logic.java
private void enableFollowUpInstructions(boolean clearControls)
{
if (form.getMode().equals(FormMode.EDIT) && !(form.getGlobalContext().Core.getClinicalNotingModeIsNotNull() && form.getGlobalContext().Core.getClinicalNotingMode().equals(ClinicalNotingMode.REVIEW)))
{
OpdFollowUp followUp = form.lyrTabs().tabOPDNote().cmbFollowUp().getValue();
boolean enablefollowUpControls = true;
if (followUp != null && followUp.equals(OpdFollowUp.DISCHARGEDFROMCLINIC))
enablefollowUpControls = false;
form.lyrTabs().tabOPDNote().cmbReview().setEnabled(enablefollowUpControls);
form.lyrTabs().tabOPDNote().intReview().setEnabled(enablefollowUpControls);
form.lyrTabs().tabOPDNote().richTextInstructions().setEnabled(enablefollowUpControls);
if (enablefollowUpControls == false && clearControls)
{
form.lyrTabs().tabOPDNote().cmbReview().setValue(null);
form.lyrTabs().tabOPDNote().intReview().setValue(null);
form.lyrTabs().tabOPDNote().richTextInstructions().setValue("");
form.lyrTabs().tabOPDNote().cmbReview().setFocus();
}
}
}
项目:AvoinApotti
文件:Logic.java
protected void onBtnUpdateOPNotesClick() throws PresentationLogicException
{
form.setMode(FormMode.EDIT);
showHideCustomComponent(form.lyrTabs().tabOPDNote().customControlOPAuthoring(), Boolean.FALSE, false);
setRichBoxControls(true);
form.lyrTabs().tabOPDNote().cmbFollowUp().setEnabled(true);
updateOPNotingButtonsStatus();
form.lyrTabs().tabAssessment().setHeaderEnabled(false);
form.lyrTabs().tabClinicalNotes().setHeaderEnabled(false);
form.lyrTabs().tabOPDNote().setHeaderEnabled(true);
form.lyrTabs().tabDetails().setHeaderEnabled(false);
form.lyrTabs().tabDrawing().setHeaderEnabled(false);
//---------------------------------
form.lyrTabs().tabOPDNote().customControlOPAuthoring().setEnabledAuthoringHCP(true);
form.lyrTabs().tabOPDNote().customControlOPAuthoring().setEnabledDateTime(true);
form.lyrTabs().tabOPDNote().customControlOPAuthoring().setIsRequiredPropertyToControls(true);
//-----------------------------------
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.UPDATE);
if (form.getGlobalContext().Clinical.getCurrentClinicalNoteIsNotNull() && validationOPMode(form.getGlobalContext().Clinical.getCurrentClinicalNote().getCurrentStatus()))
{
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.VALIDATE);
}
}
项目:AvoinApotti
文件:Logic.java
protected void onBtnUpdateClick() throws ims.framework.exceptions.PresentationLogicException
{
form.setMode(FormMode.EDIT);
showHideCustomComponent(form.customControlAuthoring(), Boolean.FALSE, false);
form.richNotes().setEnabled(true);
form.btnClose().setVisible(false);
if (isDialog())
form.getGlobalContext().Clinical.setReturnToFormMode(FormMode.EDIT);
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.UPDATE);
if (form.getGlobalContext().Clinical.getCurrentClinicalNoteIsNotNull() &&
validationIPMode(form.getGlobalContext().Clinical.getCurrentClinicalNote().getCurrentStatus()))
{
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.VALIDATE);
}
}
项目:AvoinApotti
文件:Logic.java
private void correctClinicalNote()
{
selectClinicalNoteInGlobalContext();
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.CORRECTION);
form.getGlobalContext().Clinical.setReturnToFormMode(FormMode.EDIT);
if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.THERAPYSOAPNOTE))
engine.open(form.getForms().Therapies.SOAPNoteDialog);
else if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.TLT_NOTE))
engine.open(form.getForms().Clinical.TherapiesNoteDialog);
else if (form.getGlobalContext().Core.getClinicalNotesShort().getIsDerivedNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getIsDerivedNote().booleanValue())
{
if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.CLINICALNOTEDRAWINGIP))
engine.open(form.getForms().Clinical.ClinicalNoteDrawingDialog);
if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.CLINICALNOTEDRAWINGOP))
engine.open(form.getForms().Clinical.ClinicalNoteDrawingDialog);
}
else
engine.open(form.getForms().Clinical.ExtendedClinicalNotesDialog);
}
项目:AvoinApotti
文件:Logic.java
private void newClinicalNote()
{
form.getGlobalContext().Core.setClinicalNotesShort(null);
form.getGlobalContext().Clinical.setCurrentClinicalNote(null);
form.getGlobalContext().Clinical.setReturnToFormMode(FormMode.EDIT);
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.NEW);
//WDEV-14616
form.getLocalContext().setcontextMenuSelected(ims.clinical.vo.enums.ExtendedPatientClinicalNotes_ContextMenuSelected.ADD);
engine.open(form.getForms().Clinical.ExtendedCarePlanClinicalNotesDialog);
// if (engine.getFormName().equals(form.getForms().Clinical.ExtendedPatientClinicalNotesCarePlansList))
// engine.open(form.getForms().Clinical.ExtendedCarePlanClinicalNotesDialog);
// else
// engine.open(form.getForms().Clinical.ExtendedClinicalNotesDialog);
}
项目:AvoinApotti
文件:Logic.java
private void open()
{
if (form.getGlobalContext().Core.getClinicalNotingMode() == null)
{
loadCarePlans(false);
openClinicalNote();
removeUncheckedCarePlans();
form.setMode(FormMode.VIEW);
}
else if (form.getGlobalContext().Core.getClinicalNotingMode().equals(ClinicalNotingMode.NEW))
{
newClinicalNote();
loadCarePlans(true);
form.setMode(FormMode.EDIT);
}
else if (form.getGlobalContext().Core.getClinicalNotingMode().equals(ClinicalNotingMode.UPDATE))
{
loadCarePlans(false);
openClinicalNote();
removeUncheckedCarePlans();
form.setMode(FormMode.EDIT);
form.cmbNoteType().setEnabled(false);
form.gridCarePlan().setReadOnly(true);
}
}
项目:AvoinApotti
文件:Logic.java
protected void onBtnUpdateClick() throws ims.framework.exceptions.PresentationLogicException
{
form.setMode(FormMode.EDIT);
showHideCustomComponent(form.customControlAuthoring(), Boolean.FALSE, false);
form.richNotes().setEnabled(true);
form.btnClose().setVisible(false);
if (isDialog())
form.getGlobalContext().Clinical.setReturnToFormMode(FormMode.EDIT);
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.UPDATE);
if (form.getGlobalContext().Clinical.getCurrentClinicalNoteIsNotNull() &&
validationIPMode(form.getGlobalContext().Clinical.getCurrentClinicalNote().getCurrentStatus()))
{
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.VALIDATE);
}
}
项目:AvoinApotti
文件:Logic.java
private void editClinicalNote()
{
selectClinicalNoteInGlobalContext();
form.getGlobalContext().Clinical.setReturnToFormMode(FormMode.EDIT);
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.UPDATE);
if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.THERAPYSOAPNOTE))
engine.open(form.getForms().Therapies.SOAPNoteDialog);
else if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.TLT_NOTE))
engine.open(form.getForms().Clinical.TherapiesNoteDialog);
else if (form.getGlobalContext().Core.getClinicalNotesShort().getIsDerivedNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getIsDerivedNote().booleanValue())
{
if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.CLINICALNOTEDRAWINGIP))
engine.open(form.getForms().Clinical.ClinicalNoteDrawingDialog);
if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.CLINICALNOTEDRAWINGOP))
engine.open(form.getForms().Clinical.ClinicalNoteDrawingDialog);
}
else
engine.open(form.getForms().Clinical.ClinicalNotesDialog);
}
项目:AvoinApotti
文件:Logic.java
private void reviewClinicalNote()
{
selectClinicalNoteInGlobalContext();
form.getGlobalContext().Clinical.setReturnToFormMode(FormMode.EDIT);
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.REVIEW);
if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.THERAPYSOAPNOTE))
engine.open(form.getForms().Therapies.SOAPNoteDialog);
if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.TLT_NOTE))
engine.open(form.getForms().Clinical.TherapiesNoteDialog);
if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.CLINICALNOTEDRAWINGIP))
engine.open(form.getForms().Clinical.ClinicalNoteDrawingDialog);
if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.CLINICALNOTEDRAWINGOP))
engine.open(form.getForms().Clinical.ClinicalNoteDrawingDialog);
if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.CLINICALCLINICALNOTE))
engine.open(form.getForms().Clinical.ClinicalNotesDialog);
}
项目:AvoinApotti
文件:Logic.java
private void validateClinicalNote()
{
selectClinicalNoteInGlobalContext();
form.getGlobalContext().Clinical.setReturnToFormMode(FormMode.EDIT);
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.VALIDATE);
if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.THERAPYSOAPNOTE))
engine.open(form.getForms().Therapies.SOAPNoteDialog);
else if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.TLT_NOTE))
{
engine.open(form.getForms().Clinical.TherapiesNoteDialog);
}
else if (form.getGlobalContext().Core.getClinicalNotesShort().getIsDerivedNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getIsDerivedNote().booleanValue())
{
if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.CLINICALNOTEDRAWINGIP))
engine.open(form.getForms().Clinical.ClinicalNoteDrawingDialog);
if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.CLINICALNOTEDRAWINGOP))
engine.open(form.getForms().Clinical.ClinicalNoteDrawingDialog);
}
else
engine.open(form.getForms().Clinical.ClinicalNotesDialog);
// engine.open(form.getForms().Clinical.ClinicalNoteDrawing);
}
项目:openMAXIMS
文件:Logic.java
protected void onBtnUpdateClick() throws ims.framework.exceptions.PresentationLogicException
{
form.setMode(FormMode.EDIT);
showHideCustomComponent(form.customControlAuthoring(), Boolean.FALSE, false);
if (isDialog())
{
form.btnClose().setVisible(false);
form.getGlobalContext().Clinical.setReturnToFormMode(FormMode.EDIT);
}
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.UPDATE);
form.btnClose().setEnabled(false);
if (form.getGlobalContext().Clinical.getCurrentClinicalNoteIsNotNull() &&
validationIPMode(form.getGlobalContext().Clinical.getCurrentClinicalNote().getCurrentStatus()))
{
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.VALIDATE);
}
}
项目:openMAXIMS
文件:Logic.java
private void setCurrentClinicalNote() throws FormOpenException
{
ClinicalNotesVo clinicalNotesForContact = null;
if( form.getGlobalContext().Clinical.getCurrentClinicalNoteIsNotNull() )
{
clinicalNotesForContact = domain.getClinicalNote(form.getGlobalContext().Clinical.getCurrentClinicalNote());
}
if (clinicalNotesForContact != null && !ClinicalNotingMode.NEW.equals(form.getGlobalContext().Core.getClinicalNotingMode()))
form.getGlobalContext().Clinical.setCurrentClinicalNote(clinicalNotesForContact);
else
form.getGlobalContext().Clinical.setCurrentClinicalNote(null);
}
项目:openMAXIMS
文件:Logic.java
protected void onBtnUpdateClick() throws ims.framework.exceptions.PresentationLogicException
{
form.setMode(FormMode.EDIT);
showHideCustomComponent(form.customControlAuthoring(), Boolean.FALSE, false);
form.btnClose().setVisible(false);
form.getGlobalContext().Clinical.setReturnToFormMode(FormMode.EDIT);
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.UPDATE);
form.btnClose().setEnabled(false);
if (form.getGlobalContext().Clinical.getCurrentClinicalNoteIsNotNull() &&
validationIPMode(form.getGlobalContext().Clinical.getCurrentClinicalNote().getCurrentStatus()))
{
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.VALIDATE);
}
}
项目:openMAXIMS
文件:Logic.java
private void enableFollowUpInstructions(boolean clearControls)
{
if (form.getMode().equals(FormMode.EDIT) && !(form.getGlobalContext().Core.getClinicalNotingModeIsNotNull() && form.getGlobalContext().Core.getClinicalNotingMode().equals(ClinicalNotingMode.REVIEW)))
{
OpdFollowUp followUp = form.lyrTabs().tabOPDNote().cmbFollowUp().getValue();
boolean enablefollowUpControls = true;
if (followUp != null && followUp.equals(OpdFollowUp.DISCHARGEDFROMCLINIC))
enablefollowUpControls = false;
form.lyrTabs().tabOPDNote().cmbReview().setEnabled(enablefollowUpControls);
form.lyrTabs().tabOPDNote().intReview().setEnabled(enablefollowUpControls);
form.lyrTabs().tabOPDNote().richTextInstructions().setEnabled(enablefollowUpControls);
if (enablefollowUpControls == false && clearControls)
{
form.lyrTabs().tabOPDNote().cmbReview().setValue(null);
form.lyrTabs().tabOPDNote().intReview().setValue(null);
form.lyrTabs().tabOPDNote().richTextInstructions().setValue("");
form.lyrTabs().tabOPDNote().cmbReview().setFocus();
}
}
}
项目:openMAXIMS
文件:Logic.java
protected void onBtnUpdateOPNotesClick() throws PresentationLogicException
{
form.setMode(FormMode.EDIT);
showHideCustomComponent(form.lyrTabs().tabOPDNote().customControlOPAuthoring(), Boolean.FALSE, false);
setRichBoxControls(true);
form.lyrTabs().tabOPDNote().cmbFollowUp().setEnabled(true);
updateOPNotingButtonsStatus();
form.lyrTabs().tabAssessment().setHeaderEnabled(false);
form.lyrTabs().tabClinicalNotes().setHeaderEnabled(false);
form.lyrTabs().tabOPDNote().setHeaderEnabled(true);
form.lyrTabs().tabDetails().setHeaderEnabled(false);
form.lyrTabs().tabDrawing().setHeaderEnabled(false);
//---------------------------------
form.lyrTabs().tabOPDNote().customControlOPAuthoring().setEnabledAuthoringHCP(true);
form.lyrTabs().tabOPDNote().customControlOPAuthoring().setEnabledDateTime(true);
form.lyrTabs().tabOPDNote().customControlOPAuthoring().setIsRequiredPropertyToControls(true);
//-----------------------------------
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.UPDATE);
if (form.getGlobalContext().Clinical.getCurrentClinicalNoteIsNotNull() && validationOPMode(form.getGlobalContext().Clinical.getCurrentClinicalNote().getCurrentStatus()))
{
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.VALIDATE);
}
}
项目:openMAXIMS
文件:Logic.java
protected void onBtnUpdateClick() throws ims.framework.exceptions.PresentationLogicException
{
form.setMode(FormMode.EDIT);
showHideCustomComponent(form.customControlAuthoring(), Boolean.FALSE, false);
form.richNotes().setEnabled(true);
form.btnClose().setVisible(false);
if (isDialog())
form.getGlobalContext().Clinical.setReturnToFormMode(FormMode.EDIT);
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.UPDATE);
if (form.getGlobalContext().Clinical.getCurrentClinicalNoteIsNotNull() &&
validationIPMode(form.getGlobalContext().Clinical.getCurrentClinicalNote().getCurrentStatus()))
{
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.VALIDATE);
}
}
项目:openMAXIMS
文件:Logic.java
private void correctClinicalNote()
{
selectClinicalNoteInGlobalContext();
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.CORRECTION);
form.getGlobalContext().Clinical.setReturnToFormMode(FormMode.EDIT);
if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.THERAPYSOAPNOTE))
engine.open(form.getForms().Therapies.SOAPNoteDialog);
else if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.TLT_NOTE))
engine.open(form.getForms().Clinical.TherapiesNoteDialog);
else if (form.getGlobalContext().Core.getClinicalNotesShort().getIsDerivedNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getIsDerivedNote().booleanValue())
{
if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.CLINICALNOTEDRAWINGIP))
engine.open(form.getForms().Clinical.ClinicalNoteDrawingDialog);
if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.CLINICALNOTEDRAWINGOP))
engine.open(form.getForms().Clinical.ClinicalNoteDrawingDialog);
}
else
engine.open(form.getForms().Clinical.ExtendedClinicalNotesDialog);
}
项目:openMAXIMS
文件:Logic.java
private void newClinicalNote()
{
form.getGlobalContext().Core.setClinicalNotesShort(null);
form.getGlobalContext().Clinical.setCurrentClinicalNote(null);
form.getGlobalContext().Clinical.setReturnToFormMode(FormMode.EDIT);
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.NEW);
//WDEV-14616
form.getLocalContext().setcontextMenuSelected(ims.clinical.vo.enums.ExtendedPatientClinicalNotes_ContextMenuSelected.ADD);
engine.open(form.getForms().Clinical.ExtendedCarePlanClinicalNotesDialog);
// if (engine.getFormName().equals(form.getForms().Clinical.ExtendedPatientClinicalNotesCarePlansList))
// engine.open(form.getForms().Clinical.ExtendedCarePlanClinicalNotesDialog);
// else
// engine.open(form.getForms().Clinical.ExtendedClinicalNotesDialog);
}
项目:openMAXIMS
文件:Logic.java
private void open()
{
if (form.getGlobalContext().Core.getClinicalNotingMode() == null)
{
loadCarePlans(false);
openClinicalNote();
removeUncheckedCarePlans();
form.setMode(FormMode.VIEW);
}
else if (form.getGlobalContext().Core.getClinicalNotingMode().equals(ClinicalNotingMode.NEW))
{
newClinicalNote();
loadCarePlans(true);
form.setMode(FormMode.EDIT);
}
else if (form.getGlobalContext().Core.getClinicalNotingMode().equals(ClinicalNotingMode.UPDATE))
{
loadCarePlans(false);
openClinicalNote();
removeUncheckedCarePlans();
form.setMode(FormMode.EDIT);
form.cmbNoteType().setEnabled(false);
form.gridCarePlan().setReadOnly(true);
}
}
项目:openMAXIMS
文件:Logic.java
protected void onBtnUpdateClick() throws ims.framework.exceptions.PresentationLogicException
{
form.setMode(FormMode.EDIT);
showHideCustomComponent(form.customControlAuthoring(), Boolean.FALSE, false);
form.richNotes().setEnabled(true);
form.btnClose().setVisible(false);
if (isDialog())
form.getGlobalContext().Clinical.setReturnToFormMode(FormMode.EDIT);
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.UPDATE);
if (form.getGlobalContext().Clinical.getCurrentClinicalNoteIsNotNull() &&
validationIPMode(form.getGlobalContext().Clinical.getCurrentClinicalNote().getCurrentStatus()))
{
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.VALIDATE);
}
}
项目:openMAXIMS
文件:Logic.java
private void editClinicalNote()
{
selectClinicalNoteInGlobalContext();
form.getGlobalContext().Clinical.setReturnToFormMode(FormMode.EDIT);
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.UPDATE);
if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.THERAPYSOAPNOTE))
engine.open(form.getForms().Therapies.SoapNoteDlg);
//engine.open(form.getForms().Therapies.SOAPNoteDialog);
else if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.TLT_NOTE))
engine.open(form.getForms().Clinical.TherapiesNoteDialog);
else if (form.getGlobalContext().Core.getClinicalNotesShort().getIsDerivedNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getIsDerivedNote().booleanValue())
{
if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.CLINICALNOTEDRAWINGIP))
engine.open(form.getForms().Clinical.ClinicalNoteDrawingDialog);
if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.CLINICALNOTEDRAWINGOP))
engine.open(form.getForms().Clinical.ClinicalNoteDrawingDialog);
}
else
engine.open(form.getForms().Clinical.ClinicalNotesDialog);
}
项目:openMAXIMS
文件:Logic.java
private void reviewClinicalNote()
{
selectClinicalNoteInGlobalContext();
form.getGlobalContext().Clinical.setReturnToFormMode(FormMode.EDIT);
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.REVIEW);
if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.THERAPYSOAPNOTE))
engine.open(form.getForms().Therapies.SoapNoteDlg);
//engine.open(form.getForms().Therapies.SOAPNoteDialog);
if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.TLT_NOTE))
engine.open(form.getForms().Clinical.TherapiesNoteDialog);
if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.CLINICALNOTEDRAWINGIP))
engine.open(form.getForms().Clinical.ClinicalNoteDrawingDialog);
if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.CLINICALNOTEDRAWINGOP))
engine.open(form.getForms().Clinical.ClinicalNoteDrawingDialog);
if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.CLINICALCLINICALNOTE))
engine.open(form.getForms().Clinical.ClinicalNotesDialog);
}
项目:openMAXIMS
文件:Logic.java
private void validateClinicalNote()
{
selectClinicalNoteInGlobalContext();
form.getGlobalContext().Clinical.setReturnToFormMode(FormMode.EDIT);
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.VALIDATE);
if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.THERAPYSOAPNOTE))
engine.open(form.getForms().Therapies.SOAPNoteDialog);
else if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.TLT_NOTE))
{
engine.open(form.getForms().Clinical.TherapiesNoteDialog);
}
else if (form.getGlobalContext().Core.getClinicalNotesShort().getIsDerivedNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getIsDerivedNote().booleanValue())
{
if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.CLINICALNOTEDRAWINGIP))
engine.open(form.getForms().Clinical.ClinicalNoteDrawingDialog);
if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.CLINICALNOTEDRAWINGOP))
engine.open(form.getForms().Clinical.ClinicalNoteDrawingDialog);
}
else
engine.open(form.getForms().Clinical.ClinicalNotesDialog);
// engine.open(form.getForms().Clinical.ClinicalNoteDrawing);
}
项目:openMAXIMS
文件:Logic.java
protected void onBtnUpdateClick() throws ims.framework.exceptions.PresentationLogicException
{
form.setMode(FormMode.EDIT);
showHideCustomComponent(form.customControlAuthoring(), Boolean.FALSE, false);
if (isDialog())
{
form.btnClose().setVisible(false);
form.getGlobalContext().Clinical.setReturnToFormMode(FormMode.EDIT);
}
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.UPDATE);
form.btnClose().setEnabled(false);
if (form.getGlobalContext().Clinical.getCurrentClinicalNoteIsNotNull() &&
validationIPMode(form.getGlobalContext().Clinical.getCurrentClinicalNote().getCurrentStatus()))
{
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.VALIDATE);
}
}
项目:openMAXIMS
文件:Logic.java
private void enableFollowUpInstructions(boolean clearControls)
{
if (form.getMode().equals(FormMode.EDIT) && !(form.getGlobalContext().Core.getClinicalNotingModeIsNotNull() && form.getGlobalContext().Core.getClinicalNotingMode().equals(ClinicalNotingMode.REVIEW)))
{
OpdFollowUp followUp = form.lyrTabs().tabOPDNote().cmbFollowUp().getValue();
boolean enablefollowUpControls = true;
if (followUp != null && followUp.equals(OpdFollowUp.DISCHARGEDFROMCLINIC))
enablefollowUpControls = false;
form.lyrTabs().tabOPDNote().cmbReview().setEnabled(enablefollowUpControls);
form.lyrTabs().tabOPDNote().intReview().setEnabled(enablefollowUpControls);
form.lyrTabs().tabOPDNote().richTextInstructions().setEnabled(enablefollowUpControls);
if (enablefollowUpControls == false && clearControls)
{
form.lyrTabs().tabOPDNote().cmbReview().setValue(null);
form.lyrTabs().tabOPDNote().intReview().setValue(null);
form.lyrTabs().tabOPDNote().richTextInstructions().setValue("");
form.lyrTabs().tabOPDNote().cmbReview().setFocus();
}
}
}
项目:openMAXIMS
文件:Logic.java
protected void onBtnUpdateOPNotesClick() throws PresentationLogicException
{
form.setMode(FormMode.EDIT);
showHideCustomComponent(form.lyrTabs().tabOPDNote().customControlOPAuthoring(), Boolean.FALSE, false);
setRichBoxControls(true);
form.lyrTabs().tabOPDNote().cmbFollowUp().setEnabled(true);
updateOPNotingButtonsStatus();
form.lyrTabs().tabAssessment().setHeaderEnabled(false);
form.lyrTabs().tabClinicalNotes().setHeaderEnabled(false);
form.lyrTabs().tabOPDNote().setHeaderEnabled(true);
form.lyrTabs().tabDetails().setHeaderEnabled(false);
form.lyrTabs().tabDrawing().setHeaderEnabled(false);
//---------------------------------
form.lyrTabs().tabOPDNote().customControlOPAuthoring().setEnabledAuthoringHCP(true);
form.lyrTabs().tabOPDNote().customControlOPAuthoring().setEnabledDateTime(true);
form.lyrTabs().tabOPDNote().customControlOPAuthoring().setIsRequiredPropertyToControls(true);
//-----------------------------------
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.UPDATE);
if (form.getGlobalContext().Clinical.getCurrentClinicalNoteIsNotNull() && validationOPMode(form.getGlobalContext().Clinical.getCurrentClinicalNote().getCurrentStatus()))
{
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.VALIDATE);
}
}
项目:openMAXIMS
文件:Logic.java
protected void onBtnUpdateClick() throws ims.framework.exceptions.PresentationLogicException
{
form.setMode(FormMode.EDIT);
showHideCustomComponent(form.customControlAuthoring(), Boolean.FALSE, false);
form.richNotes().setEnabled(true);
form.btnClose().setVisible(false);
if (isDialog())
form.getGlobalContext().Clinical.setReturnToFormMode(FormMode.EDIT);
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.UPDATE);
if (form.getGlobalContext().Clinical.getCurrentClinicalNoteIsNotNull() &&
validationIPMode(form.getGlobalContext().Clinical.getCurrentClinicalNote().getCurrentStatus()))
{
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.VALIDATE);
}
}
项目:openMAXIMS
文件:Logic.java
private void correctClinicalNote()
{
selectClinicalNoteInGlobalContext();
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.CORRECTION);
form.getGlobalContext().Clinical.setReturnToFormMode(FormMode.EDIT);
if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.THERAPYSOAPNOTE))
engine.open(form.getForms().Therapies.SOAPNoteDialog);
else if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.TLT_NOTE))
engine.open(form.getForms().Clinical.TherapiesNoteDialog);
else if (form.getGlobalContext().Core.getClinicalNotesShort().getIsDerivedNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getIsDerivedNote().booleanValue())
{
if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.CLINICALNOTEDRAWINGIP))
engine.open(form.getForms().Clinical.ClinicalNoteDrawingDialog);
if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.CLINICALNOTEDRAWINGOP))
engine.open(form.getForms().Clinical.ClinicalNoteDrawingDialog);
}
else
engine.open(form.getForms().Clinical.ExtendedClinicalNotesDialog);
}
项目:openMAXIMS
文件:Logic.java
private void newClinicalNote()
{
form.getGlobalContext().Core.setClinicalNotesShort(null);
form.getGlobalContext().Clinical.setCurrentClinicalNote(null);
form.getGlobalContext().Clinical.setReturnToFormMode(FormMode.EDIT);
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.NEW);
//WDEV-14616
form.getLocalContext().setcontextMenuSelected(ims.clinical.vo.enums.ExtendedPatientClinicalNotes_ContextMenuSelected.ADD);
engine.open(form.getForms().Clinical.ExtendedCarePlanClinicalNotesDialog);
// if (engine.getFormName().equals(form.getForms().Clinical.ExtendedPatientClinicalNotesCarePlansList))
// engine.open(form.getForms().Clinical.ExtendedCarePlanClinicalNotesDialog);
// else
// engine.open(form.getForms().Clinical.ExtendedClinicalNotesDialog);
}
项目:openMAXIMS
文件:Logic.java
private void open()
{
if (form.getGlobalContext().Core.getClinicalNotingMode() == null)
{
loadCarePlans(false);
openClinicalNote();
removeUncheckedCarePlans();
form.setMode(FormMode.VIEW);
}
else if (form.getGlobalContext().Core.getClinicalNotingMode().equals(ClinicalNotingMode.NEW))
{
newClinicalNote();
loadCarePlans(true);
form.setMode(FormMode.EDIT);
}
else if (form.getGlobalContext().Core.getClinicalNotingMode().equals(ClinicalNotingMode.UPDATE))
{
loadCarePlans(false);
openClinicalNote();
removeUncheckedCarePlans();
form.setMode(FormMode.EDIT);
form.cmbNoteType().setEnabled(false);
form.gridCarePlan().setReadOnly(true);
}
}
项目:openMAXIMS
文件:Logic.java
protected void onBtnUpdateClick() throws ims.framework.exceptions.PresentationLogicException
{
form.setMode(FormMode.EDIT);
showHideCustomComponent(form.customControlAuthoring(), Boolean.FALSE, false);
form.richNotes().setEnabled(true);
form.btnClose().setVisible(false);
if (isDialog())
form.getGlobalContext().Clinical.setReturnToFormMode(FormMode.EDIT);
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.UPDATE);
if (form.getGlobalContext().Clinical.getCurrentClinicalNoteIsNotNull() &&
validationIPMode(form.getGlobalContext().Clinical.getCurrentClinicalNote().getCurrentStatus()))
{
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.VALIDATE);
}
}
项目:openMAXIMS
文件:Logic.java
private void editClinicalNote()
{
selectClinicalNoteInGlobalContext();
form.getGlobalContext().Clinical.setReturnToFormMode(FormMode.EDIT);
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.UPDATE);
if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.THERAPYSOAPNOTE))
engine.open(form.getForms().Therapies.SOAPNoteDialog);
else if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.TLT_NOTE))
engine.open(form.getForms().Clinical.TherapiesNoteDialog);
else if (form.getGlobalContext().Core.getClinicalNotesShort().getIsDerivedNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getIsDerivedNote().booleanValue())
{
if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.CLINICALNOTEDRAWINGIP))
engine.open(form.getForms().Clinical.ClinicalNoteDrawingDialog);
if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.CLINICALNOTEDRAWINGOP))
engine.open(form.getForms().Clinical.ClinicalNoteDrawingDialog);
}
else
engine.open(form.getForms().Clinical.ClinicalNotesDialog);
}
项目:openMAXIMS
文件:Logic.java
private void reviewClinicalNote()
{
selectClinicalNoteInGlobalContext();
form.getGlobalContext().Clinical.setReturnToFormMode(FormMode.EDIT);
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.REVIEW);
if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.THERAPYSOAPNOTE))
engine.open(form.getForms().Therapies.SOAPNoteDialog);
if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.TLT_NOTE))
engine.open(form.getForms().Clinical.TherapiesNoteDialog);
if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.CLINICALNOTEDRAWINGIP))
engine.open(form.getForms().Clinical.ClinicalNoteDrawingDialog);
if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.CLINICALNOTEDRAWINGOP))
engine.open(form.getForms().Clinical.ClinicalNoteDrawingDialog);
if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.CLINICALCLINICALNOTE))
engine.open(form.getForms().Clinical.ClinicalNotesDialog);
}
项目:openMAXIMS
文件:Logic.java
private void validateClinicalNote()
{
selectClinicalNoteInGlobalContext();
form.getGlobalContext().Clinical.setReturnToFormMode(FormMode.EDIT);
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.VALIDATE);
if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.THERAPYSOAPNOTE))
engine.open(form.getForms().Therapies.SOAPNoteDialog);
else if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.TLT_NOTE))
{
engine.open(form.getForms().Clinical.TherapiesNoteDialog);
}
else if (form.getGlobalContext().Core.getClinicalNotesShort().getIsDerivedNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getIsDerivedNote().booleanValue())
{
if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.CLINICALNOTEDRAWINGIP))
engine.open(form.getForms().Clinical.ClinicalNoteDrawingDialog);
if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.CLINICALNOTEDRAWINGOP))
engine.open(form.getForms().Clinical.ClinicalNoteDrawingDialog);
}
else
engine.open(form.getForms().Clinical.ClinicalNotesDialog);
// engine.open(form.getForms().Clinical.ClinicalNoteDrawing);
}
项目:openmaxims-linux
文件:Logic.java
protected void onBtnUpdateClick() throws ims.framework.exceptions.PresentationLogicException
{
form.setMode(FormMode.EDIT);
showHideCustomComponent(form.customControlAuthoring(), Boolean.FALSE, false);
if (isDialog())
{
form.btnClose().setVisible(false);
form.getGlobalContext().Clinical.setReturnToFormMode(FormMode.EDIT);
}
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.UPDATE);
form.btnClose().setEnabled(false);
if (form.getGlobalContext().Clinical.getCurrentClinicalNoteIsNotNull() &&
validationIPMode(form.getGlobalContext().Clinical.getCurrentClinicalNote().getCurrentStatus()))
{
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.VALIDATE);
}
}
项目:openmaxims-linux
文件:Logic.java
private void enableFollowUpInstructions(boolean clearControls)
{
if (form.getMode().equals(FormMode.EDIT) && !(form.getGlobalContext().Core.getClinicalNotingModeIsNotNull() && form.getGlobalContext().Core.getClinicalNotingMode().equals(ClinicalNotingMode.REVIEW)))
{
OpdFollowUp followUp = form.lyrTabs().tabOPDNote().cmbFollowUp().getValue();
boolean enablefollowUpControls = true;
if (followUp != null && followUp.equals(OpdFollowUp.DISCHARGEDFROMCLINIC))
enablefollowUpControls = false;
form.lyrTabs().tabOPDNote().cmbReview().setEnabled(enablefollowUpControls);
form.lyrTabs().tabOPDNote().intReview().setEnabled(enablefollowUpControls);
form.lyrTabs().tabOPDNote().richTextInstructions().setEnabled(enablefollowUpControls);
if (enablefollowUpControls == false && clearControls)
{
form.lyrTabs().tabOPDNote().cmbReview().setValue(null);
form.lyrTabs().tabOPDNote().intReview().setValue(null);
form.lyrTabs().tabOPDNote().richTextInstructions().setValue("");
form.lyrTabs().tabOPDNote().cmbReview().setFocus();
}
}
}
项目:openmaxims-linux
文件:Logic.java
protected void onBtnUpdateOPNotesClick() throws PresentationLogicException
{
form.setMode(FormMode.EDIT);
showHideCustomComponent(form.lyrTabs().tabOPDNote().customControlOPAuthoring(), Boolean.FALSE, false);
setRichBoxControls(true);
form.lyrTabs().tabOPDNote().cmbFollowUp().setEnabled(true);
updateOPNotingButtonsStatus();
form.lyrTabs().tabAssessment().setHeaderEnabled(false);
form.lyrTabs().tabClinicalNotes().setHeaderEnabled(false);
form.lyrTabs().tabOPDNote().setHeaderEnabled(true);
form.lyrTabs().tabDetails().setHeaderEnabled(false);
form.lyrTabs().tabDrawing().setHeaderEnabled(false);
//---------------------------------
form.lyrTabs().tabOPDNote().customControlOPAuthoring().setEnabledAuthoringHCP(true);
form.lyrTabs().tabOPDNote().customControlOPAuthoring().setEnabledDateTime(true);
form.lyrTabs().tabOPDNote().customControlOPAuthoring().setIsRequiredPropertyToControls(true);
//-----------------------------------
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.UPDATE);
if (form.getGlobalContext().Clinical.getCurrentClinicalNoteIsNotNull() && validationOPMode(form.getGlobalContext().Clinical.getCurrentClinicalNote().getCurrentStatus()))
{
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.VALIDATE);
}
}
项目:openmaxims-linux
文件:Logic.java
protected void onBtnUpdateClick() throws ims.framework.exceptions.PresentationLogicException
{
form.setMode(FormMode.EDIT);
showHideCustomComponent(form.customControlAuthoring(), Boolean.FALSE, false);
form.richNotes().setEnabled(true);
form.btnClose().setVisible(false);
if (isDialog())
form.getGlobalContext().Clinical.setReturnToFormMode(FormMode.EDIT);
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.UPDATE);
if (form.getGlobalContext().Clinical.getCurrentClinicalNoteIsNotNull() &&
validationIPMode(form.getGlobalContext().Clinical.getCurrentClinicalNote().getCurrentStatus()))
{
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.VALIDATE);
}
}
项目:openmaxims-linux
文件:Logic.java
private void correctClinicalNote()
{
selectClinicalNoteInGlobalContext();
form.getGlobalContext().Core.setClinicalNotingMode(ClinicalNotingMode.CORRECTION);
form.getGlobalContext().Clinical.setReturnToFormMode(FormMode.EDIT);
if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.THERAPYSOAPNOTE))
engine.open(form.getForms().Therapies.SOAPNoteDialog);
else if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.TLT_NOTE))
engine.open(form.getForms().Clinical.TherapiesNoteDialog);
else if (form.getGlobalContext().Core.getClinicalNotesShort().getIsDerivedNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getIsDerivedNote().booleanValue())
{
if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.CLINICALNOTEDRAWINGIP))
engine.open(form.getForms().Clinical.ClinicalNoteDrawingDialog);
if (form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNoteIsNotNull() && form.getGlobalContext().Core.getClinicalNotesShort().getSourceOfNote().equals(SourceOfNote.CLINICALNOTEDRAWINGOP))
engine.open(form.getForms().Clinical.ClinicalNoteDrawingDialog);
}
else
engine.open(form.getForms().Clinical.ExtendedClinicalNotesDialog);
}