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); } }
public PatientNoSupportNetworkServicesInfoVo savePatientNoSupportNetworkServicesInfo(PatientNoSupportNetworkServicesInfoVo voPatientNoSupportNetworkServicesInfo) throws DomainInterfaceException, StaleObjectException, UniqueKeyViolationException { DomainFactory factory = getDomainFactory(); PatientNoSupportNetworkServicesInfo doPatientNoSupportNetworkServicesInfo = PatientNoSupportNetworkServicesInfoVoAssembler.extractPatientNoSupportNetworkServicesInfo(factory, voPatientNoSupportNetworkServicesInfo); factory.save(doPatientNoSupportNetworkServicesInfo); return (PatientNoSupportNetworkServicesInfoVoAssembler.create(doPatientNoSupportNetworkServicesInfo)); }
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); }
public PatientNoSupportNetworkServicesInfoVo savePatientNoSupportNetworkServicesInfo(PatientNoSupportNetworkServicesInfoVo voPatientNoSupportNetworkServicesInfo) throws DomainInterfaceException, StaleObjectException { DomainFactory factory = getDomainFactory(); PatientNoSupportNetworkServicesInfo doPatientNoSupportNetworkServicesInfo = PatientNoSupportNetworkServicesInfoVoAssembler.extractPatientNoSupportNetworkServicesInfo(factory, voPatientNoSupportNetworkServicesInfo); factory.save(doPatientNoSupportNetworkServicesInfo); return (PatientNoSupportNetworkServicesInfoVoAssembler.create(doPatientNoSupportNetworkServicesInfo)); }
public PatientNoSupportNetworkServicesInfoVo getPatientNoSupportNetworkServicesInfo(PatientRefVo patientRefVo) { DomainFactory factory = getDomainFactory(); PatientNoSupportNetworkServicesInfo patientNoSupportNetworkServicesInfo = PatientNoSupportNetworkServicesInfo.getPatientNoSupportNetworkServicesInfoFromPatient(factory, patientRefVo.getID_Patient()); return PatientNoSupportNetworkServicesInfoVoAssembler.create(patientNoSupportNetworkServicesInfo); }