private boolean validationIPMode(ClinicalNoteStatusVo currentStatus) { if (currentStatus != null && currentStatus.getStatusIsNotNull() && (currentStatus.getStatus().equals(ClinicalNotesStatus.PREVALIDATION)) && domain.getHcpLiteUser() != null && testDiscipline()) //domain.getHcpLiteUser().equals(form.customControlAuthoring().getValue().getAuthoringHcp())) return true; else return false; }
private boolean correctModeIP(ClinicalNoteStatusVo currentStatus) { if (currentStatus != null && currentStatus.getStatusIsNotNull() && (currentStatus.getStatus().equals(ClinicalNotesStatus.ACTIVE) || currentStatus.getStatus().equals(ClinicalNotesStatus.CORRECTED) ) && domain.getHcpLiteUser() != null && testDiscipline()) //domain.getHcpLiteUser().equals(form.customControlAuthoring().getValue().getAuthoringHcp())) return true; else return false; }
private boolean correctModeIP(ClinicalNoteStatusVo currentStatus) { if (currentStatus != null && currentStatus.getStatusIsNotNull() && (currentStatus.getStatus().equals(ClinicalNotesStatus.ACTIVE) || currentStatus.getStatus().equals(ClinicalNotesStatus.CORRECTED)) && domain.getHcpLiteUser() != null && testIpDiscipline()) // domain.getHcpLiteUser().equals(form.lyrTabs().tabClinicalNotes().customControlClinicalNotesAuthoiring().getValue().getAuthoringHcp())) return true; else return false; }
private boolean validationIPMode(ClinicalNoteStatusVo currentStatus) { if (currentStatus != null && currentStatus.getStatusIsNotNull() && (currentStatus.getStatus().equals(ClinicalNotesStatus.PREVALIDATION)) && domain.getHcpLiteUser() != null && testIpDiscipline()) // domain.getHcpLiteUser().equals(form.lyrTabs().tabClinicalNotes().customControlClinicalNotesAuthoiring().getValue().getAuthoringHcp())) return true; else return false; }
private boolean validationOPMode(ClinicalNoteStatusVo currentStatus) { if (currentStatus != null && currentStatus.getStatusIsNotNull() && (currentStatus.getStatus().equals(ClinicalNotesStatus.PREVALIDATION)) && domain.getHcpLiteUser() != null && testOpDiscipline()) // domain.getHcpLiteUser().equals(form.lyrTabs().tabOPDNote().customControlOPAuthoring().getValue().getAuthoringHcp())) return true; else return false; }
private boolean correctModeOP(ClinicalNoteStatusVo voPreviousStat) { if (voPreviousStat != null && voPreviousStat.getStatusIsNotNull() && (voPreviousStat.getStatus().equals(ClinicalNotesStatus.ACTIVE) || voPreviousStat.getStatus().equals(ClinicalNotesStatus.CORRECTED)) && domain.getHcpLiteUser() != null && testOpDiscipline()) // domain.getHcpLiteUser().equals(form.lyrTabs().tabOPDNote().customControlOPAuthoring().getValue().getAuthoringHcp())) return true; else return false; }
private boolean correctModeIP(ClinicalNoteStatusVo currentStatus) { if (currentStatus != null && currentStatus.getStatusIsNotNull() && (currentStatus.getStatus().equals(ClinicalNotesStatus.ACTIVE) || currentStatus.getStatus().equals(ClinicalNotesStatus.CORRECTED) ) && domain.getHcpLiteUser() != null && /*domain.getHcpLiteUser().equals(form.customControlAuthoring().getValue().getAuthoringHcp())*/ testDiscipline()) return true; else return false; }
private boolean validationIPMode(ClinicalNoteStatusVo currentStatus) { if (currentStatus != null && currentStatus.getStatusIsNotNull() && (currentStatus.getStatus().equals(ClinicalNotesStatus.PREVALIDATION)) && domain.getHcpLiteUser() != null /*&& domain.getHcpLiteUser().equals(form.customControlAuthoring().getValue().getAuthoringHcp())*/ && testDiscipline()) return true; else return false; }
private void addCorrectedText(StringBuffer sb, ClinicalNoteStatusVo currentStatus) { sb.append("<br>"); sb.append(" Corrected by : "); sb.append(currentStatus.getCorrectedByIsNotNull() ? currentStatus.getCorrectedBy().getName() : ""); sb.append(" on "); sb.append(currentStatus.getDateTimeIsNotNull() ? currentStatus.getDateTime().getDate().toString() : " "); sb.append(" at "); sb.append(currentStatus.getDateTimeIsNotNull() ? currentStatus.getDateTime().getTime().toString() : " "); sb.append(" for the following reason :- "); sb.append("<br>"); sb.append(currentStatus.getCorrectionReasonIsNotNull() ? currentStatus.getCorrectionReason() : " NO REASON GIVEN"); }
private void copyArrayListIntoColl(Object obj, ArrayList collActions) { if (obj instanceof ClinicalNoteStatusVoCollection) { ClinicalNoteStatusVoCollection coll = (ClinicalNoteStatusVoCollection)obj; if(coll != null) coll.clear(); for (int i = 0; coll != null && collActions != null && i < collActions.size(); i++) { coll.add((ClinicalNoteStatusVo)collActions.get(i)); } } }
private ClinicalNoteStatusVo findConfirmedInfo(ClinicalNoteStatusVoCollection clinicalNoteStatusVoCollection) { for (int i = 0 ; clinicalNoteStatusVoCollection != null && i < clinicalNoteStatusVoCollection.size() ; i++) { if (clinicalNoteStatusVoCollection.get(i).getStatusIsNotNull() && clinicalNoteStatusVoCollection.get(i).getStatus().equals(ClinicalNotesStatus.CONFIRMED)) return clinicalNoteStatusVoCollection.get(i); } return null; }
private boolean validationIPMode(ClinicalNoteStatusVo currentStatus) { if (currentStatus != null && currentStatus.getStatusIsNotNull() && (currentStatus.getStatus().equals(ClinicalNotesStatus.PREVALIDATION)) && domain.getHcpLiteUser() != null && testDiscipline()) return true; else return false; }
private boolean correctModeIP(ClinicalNoteStatusVo currentStatus) //WDEV-18473 { if (currentStatus != null && currentStatus.getStatusIsNotNull() && (currentStatus.getStatus().equals(ClinicalNotesStatus.ACTIVE) || currentStatus.getStatus().equals(ClinicalNotesStatus.CORRECTED) ) && domain.getHcpLiteUser() != null) /*domain.getHcpLiteUser().equals(form.customControlAuthoring().getValue().getAuthoringHcp())*/ return true; else return false; }