private void fillConditionRowValue(PatientDiagnosisListVo voPatDiagnosis) { grdCauseofDeathRow row = form.grdCauseofDeath().getSelectedRow(); row.setColCondition(voPatDiagnosis.getDiagnosisDescriptionIsNotNull() ? voPatDiagnosis.getDiagnosisDescription() : ""); DeathConditionsVo voDC = new DeathConditionsVo(); voDC.setPatientDiagnosis(voPatDiagnosis.getID_PatientDiagnosisIsNotNull() ? voPatDiagnosis : null); if (voPatDiagnosis.getDiagnosisIsNotNull()) voDC.setDiagnosis(voPatDiagnosis.getDiagnosis()); voDC.setCauseofDeath(row.getColCause()); row.setValue(voDC); }
private void fillConditionRowValue(PatientDiagnosisListVo voPatDiagnosis) { grdCauseofDeathRow row = form.grdCauseofDeath().getSelectedRow(); row.setColCondition(voPatDiagnosis.getDiagnosisDescriptionIsNotNull() ? voPatDiagnosis.getDiagnosisDescription() : ""); row.setCellColConditionTooltip(voPatDiagnosis.getDiagnosisDescriptionIsNotNull() ? voPatDiagnosis.getDiagnosisDescription() : ""); DeathConditionsVo voDC = new DeathConditionsVo(); voDC.setPatientDiagnosis(voPatDiagnosis.getID_PatientDiagnosisIsNotNull() ? voPatDiagnosis : null); if (voPatDiagnosis.getDiagnosisIsNotNull()) voDC.setDiagnosis(voPatDiagnosis.getDiagnosis()); voDC.setCauseofDeath(row.getColCause()); row.setValue(voDC); }