private void initializeNoneAtPresent() { PatientNoSupportNetworkServicesInfoVo voPatientNoSupportNetworkServicesInfo = domain.getPatientNoSupportNetworkServicesInfo(form.getGlobalContext().Core.getPatientShort()); PatientNoSupportNetworkStatusInfoVo voPatientNoSupportNetworkStatusInfo = domain.getPatientNoSupportNetworkStatusInfo(form.getGlobalContext().Core.getPatientShort()); form.getLocalContext().setPatientNoSupportNetworkServicesInfo(voPatientNoSupportNetworkServicesInfo); form.getLocalContext().setPatientNoSupportNetworkStatusInfo(voPatientNoSupportNetworkStatusInfo); if(voPatientNoSupportNetworkServicesInfo != null && voPatientNoSupportNetworkServicesInfo.getSupportNetworkServiceStatusIsNotNull() && voPatientNoSupportNetworkServicesInfo.getSupportNetworkServiceStatus().equals(PatientSupportNetworkStatus.NONEATPRESENT)) { form.lyrProServices().tabServices().lblNoneAtPresentSer().setVisible(true); form.lyrProServices().tabServices().lblNoneAtPresentSer().setTooltip(voPatientNoSupportNetworkServicesInfo.getAuthoringInformationIsNotNull()? voPatientNoSupportNetworkServicesInfo.getAuthoringInformation().toString("<br>") : ""); } else { form.lyrProServices().tabProfessional().lblNoneAtPresentPro().setVisible(false); form.lyrProServices().tabServices().lblNoneAtPresentSer().setVisible(false); } if (voPatientNoSupportNetworkStatusInfo != null && voPatientNoSupportNetworkStatusInfo.getSupportNetworkStatusIsNotNull() && voPatientNoSupportNetworkStatusInfo.getSupportNetworkStatus().equals(PatientSupportNetworkStatus.NONEATPRESENT)) { form.lyrProServices().tabProfessional().lblNoneAtPresentPro().setVisible(true); form.lyrProServices().tabProfessional().lblNoneAtPresentPro().setTooltip(voPatientNoSupportNetworkStatusInfo.getAuthoringInformationIsNotNull() ? voPatientNoSupportNetworkStatusInfo.getAuthoringInformation().toString("<br>") : ""); } else { form.lyrProServices().tabProfessional().lblNoneAtPresentPro().setVisible(false); form.lyrProServices().tabServices().lblNoneAtPresentSer().setVisible(false); } }
private void setServicesNoneAtPresent() { PatientNoSupportNetworkServicesInfoVo voPatientNoSupportNetworkServicesInfo = domain.getPatientNoSupportNetworkServicesInfo(form.getLocalContext().getPatientRef()); form.getLocalContext().setPatientNoSupportNetworkServicesInfo(voPatientNoSupportNetworkServicesInfo); if(voPatientNoSupportNetworkServicesInfo != null && voPatientNoSupportNetworkServicesInfo.getSupportNetworkServiceStatusIsNotNull() && voPatientNoSupportNetworkServicesInfo.getSupportNetworkServiceStatus().equals(PatientSupportNetworkStatus.NONEATPRESENT)) { form.lyrSupportServices().tabPageServices().lblNoneAtPresentSer().setVisible(true); form.lyrSupportServices().tabPageServices().lblNoneAtPresentSer().setTooltip(voPatientNoSupportNetworkServicesInfo.getAuthoringInformationIsNotNull()? voPatientNoSupportNetworkServicesInfo.getAuthoringInformation().toString("<br>") : ""); } else form.lyrSupportServices().tabPageServices().lblNoneAtPresentSer().setVisible(false); }
private void setProfessionalNoneAtPresent() { PatientNoSupportNetworkStatusInfoVo voPatientNoSupportNetworkStatusInfo = domain.getPatientNoSupportNetworkStatusInfo(form.getLocalContext().getPatientRef()); form.getLocalContext().setPatientNoSupportNetworkStatusInfo(voPatientNoSupportNetworkStatusInfo); if(voPatientNoSupportNetworkStatusInfo!=null && (voPatientNoSupportNetworkStatusInfo.getSupportNetworkStatusIsNotNull() && voPatientNoSupportNetworkStatusInfo.getSupportNetworkStatus().equals(PatientSupportNetworkStatus.NONEATPRESENT))) form.lyrSupportServices().tabPageProf().lblNoneAtPresentPro().setVisible(true); else form.lyrSupportServices().tabPageProf().lblNoneAtPresentPro().setVisible(false); }