private void populateOtherProblems() { form.grdProblem().getRows().clear(); if(form.getGlobalContext().Core.getCurrentCareContext() == null) return; TriageProtocolAssessmentForTriageVoCollection otherProblems = domain.listOtherProblems(form.getGlobalContext().Core.getCurrentCareContext()); for(TriageProtocolAssessmentForTriageVo otherProblem : otherProblems) { addOtherProblemRow(otherProblem); } }
private void addOtherProblemRow(TriageProtocolAssessmentForTriageVo otherProblem) { if(otherProblem == null) return; ims.emergency.forms.clinicianassessmentworklist.GenForm.grdProblemRow row = form.grdProblem().getRows().newRow(); row.setColOtherProblems(otherProblem.getPatientProblem() != null ? otherProblem.getPatientProblem().getPatientProblem() : null); row.setColDiscriminator((otherProblem.getDiscriminator() != null && otherProblem.getDiscriminator().getDiscriminator() != null) ? otherProblem.getDiscriminator().getDiscriminator().getDiscriminatorName() : null); row.setValue(otherProblem); }
private void addOtherProblemRow(TriageProtocolAssessmentForTriageVo otherProblem) { if(otherProblem == null) return; ims.emergency.forms.edassessmentcomponent.GenForm.grdProblemRow row = form.grdProblem().getRows().newRow(); row.setColOtherProblems(otherProblem.getPatientProblem() != null ? otherProblem.getPatientProblem().getPatientProblem() : null); row.setColDiscriminator((otherProblem.getDiscriminator() != null && otherProblem.getDiscriminator().getDiscriminator() != null) ? otherProblem.getDiscriminator().getDiscriminator().getDiscriminatorName() : null); row.setValue(otherProblem); }
private void addOtherProblemRow(TriageProtocolAssessmentForTriageVo otherProblem) { if(otherProblem == null) return; grdProblemRow row = form.grdProblem().getRows().newRow(); row.setColOtherProblems(otherProblem.getPatientProblem() != null ? otherProblem.getPatientProblem().getPatientProblem() : null); row.setColDiscriminator((otherProblem.getDiscriminator() != null && otherProblem.getDiscriminator().getDiscriminator() != null) ? otherProblem.getDiscriminator().getDiscriminator().getDiscriminatorName() : null); row.setValue(otherProblem); }