private void populateScreenFromData(DischargeDetailsWithAssessmentVo dischargeDetails) { clearData(); //WDEV-13946 if (dischargeDetails == null) return; form.getLocalContext().setDischargeDetails(dischargeDetails); if (dischargeDetails.getPatientAssessmentIsNotNull()) { form.ccAssessment().clearComponent(); form.ccAssessment().setPatientAssessment(dischargeDetails.getPatientAssessment(), form.getMode().equals(FormMode.VIEW)); populateCombos(dischargeDetails.getPatientAssessment()); populateAuthoring(dischargeDetails.getPatientAssessment()); populateCompletedHCPCustomControl(dischargeDetails.getPatientAssessment()); } else initializeCustomControl(); }
private void populateScreenFromData(DischargeDetailsWithAssessmentVo dischargeDetails) { if (dischargeDetails == null) return; form.getLocalContext().setDischargeDetails(dischargeDetails); if (dischargeDetails.getPatientAssessmentIsNotNull()) { form.ccOutpatientAssessment().clearComponent(); form.ccOutpatientAssessment().setPatientAssessment(dischargeDetails.getPatientAssessment(), form.getMode().equals(FormMode.VIEW)); } else initializeCustomControl(); }