Java 类ims.core.vo.lookups.DocumentEmailStatus 实例源码

项目:AvoinApotti    文件:Logic.java   
private void updatePatientDocumentWithEmailStatus(DocumentEmailStatus emailStatus) 
{
    if(emailStatus == null)
        return;

    if(form.getLocalContext().getSelectedDocument() != null)
    {
        try 
        {
            form.getLocalContext().getSelectedDocument().setEmailStatus(emailStatus);
            String[] errors = form.getLocalContext().getSelectedDocument().validate();
            if(errors != null && errors.length > 0)
            {
                engine.showErrors(new String[] {"Patient document could not be updated with 'Sent Email' status."});
                open();
                return;
            }

            domain.savePatientDocument(form.getLocalContext().getSelectedDocument());
        } 
        catch (StaleObjectException e)
        {
            e.printStackTrace();
            engine.showErrors(new String[] {"Patient document could not be updated with 'Sent Email' status."});
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private void updatePatientDocumentWithEmailStatus(DocumentEmailStatus emailStatus) 
{
    if(emailStatus == null)
        return;

    if(form.getLocalContext().getSelectedDocument() != null)
    {
        try 
        {
            form.getLocalContext().getSelectedDocument().setEmailStatus(emailStatus);
            String[] errors = form.getLocalContext().getSelectedDocument().validate();
            if(errors != null && errors.length > 0)
            {
                engine.showErrors(new String[] {"Patient document could not be updated with 'Sent Email' status."});
                open();
                return;
            }

            domain.savePatientDocument(form.getLocalContext().getSelectedDocument());
        } 
        catch (StaleObjectException e)
        {
            e.printStackTrace();
            engine.showErrors(new String[] {"Patient document could not be updated with 'Sent Email' status."});
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private void updatePatientDocumentWithEmailStatus(DocumentEmailStatus emailStatus) 
{
    if(emailStatus == null)
        return;

    if(form.getLocalContext().getSelectedDocument() != null)
    {
        try 
        {
            form.getLocalContext().getSelectedDocument().setEmailStatus(emailStatus);
            String[] errors = form.getLocalContext().getSelectedDocument().validate();
            if(errors != null && errors.length > 0)
            {
                engine.showErrors(new String[] {"Patient document could not be updated with 'Sent Email' status."});
                open();
                return;
            }

            domain.savePatientDocument(form.getLocalContext().getSelectedDocument());
        } 
        catch (StaleObjectException e)
        {
            e.printStackTrace();
            engine.showErrors(new String[] {"Patient document could not be updated with 'Sent Email' status."});
        }
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void updatePatientDocumentWithEmailStatus(DocumentEmailStatus emailStatus) 
{
    if(emailStatus == null)
        return;

    if(form.getLocalContext().getSelectedDocument() != null)
    {
        try 
        {
            form.getLocalContext().getSelectedDocument().setEmailStatus(emailStatus);
            String[] errors = form.getLocalContext().getSelectedDocument().validate();
            if(errors != null && errors.length > 0)
            {
                engine.showErrors(new String[] {"Patient document could not be updated with 'Sent Email' status."});
                open();
                return;
            }

            domain.savePatientDocument(form.getLocalContext().getSelectedDocument());
        } 
        catch (StaleObjectException e)
        {
            e.printStackTrace();
            engine.showErrors(new String[] {"Patient document could not be updated with 'Sent Email' status."});
        }
    }
}
项目:AvoinApotti    文件:Logic.java   
private void newPatDocRow(PatientDocumentforDocumentWorklistVo patientDocument)
{
    if (patientDocument == null)
        return;

    grdDocumentsRow newRow = form.grdDocuments().getRows().newRow();
    newRow.setValue(patientDocument);

    boolean nameNotNull = patientDocument.getPatientIsNotNull() && patientDocument.getPatient().getNameIsNotNull();
    newRow.setSurname(nameNotNull && patientDocument.getPatient().getName().getSurnameIsNotNull() ? patientDocument.getPatient().getName().getSurname() : "");
    //WDEV-12012
    newRow.setTooltipForSurname(nameNotNull && patientDocument.getPatient().getName().getSurnameIsNotNull() ? patientDocument.getPatient().getName().getSurname() : "");

    newRow.setForename(nameNotNull && patientDocument.getPatient().getName().getForenameIsNotNull() ? patientDocument.getPatient().getName().getForename() : "");
    //WDEV-12012
    newRow.setTooltipForForename(nameNotNull && patientDocument.getPatient().getName().getForenameIsNotNull() ? patientDocument.getPatient().getName().getForename() : "");

    newRow.setNHSNo(getNHSNumber(patientDocument.getPatient()));
    //WDEV-12012
    newRow.setTooltipForNHSNo(getNHSNumber(patientDocument.getPatient()));

    //WDEV-12012 - starts here
    String documentTitle = "";

    if(patientDocument.getCategoryIsNotNull())
        documentTitle += patientDocument.getCategory().getText();

    if(patientDocument.getNameIsNotNull())
        documentTitle += " - " + patientDocument.getName();

    newRow.setColTitle(documentTitle);
    newRow.setTooltipForColTitle(documentTitle);

    String typistInitials = patientDocument.getRecordingUser() != null ? patientDocument.getRecordingUser().getInitials() : null;//WDEV-14174

    //WDEV-12012 - ends here
    if (ConfigFlag.UI.DISPLAY_AUTHORINGHCP_OR_RESPHCP_ON_DOCUMENT_WORKLIST.getValue().equals("Responsible HCP"))
    {
        String responsable = (patientDocument.getResponsibleHCP() != null ? patientDocument.getResponsibleHCP().getIHcpName() : "") + (typistInitials != null ? " (" + typistInitials + ")": "");//WDEV-14174
        newRow.setAuthor(responsable);//WDEV-14174
        newRow.setTooltipForAuthor(responsable);//WDEV-12319, WDEV-14174

    }
    else
    {
        String authoring = (patientDocument.getAuthoringHCP() != null ? patientDocument.getAuthoringHCP().getIHcpName() : "") + (typistInitials != null ? " (" + typistInitials + ")": "");//WDEV-14174
        newRow.setAuthor(authoring);//WDEV-14174
        newRow.setTooltipForAuthor(authoring);  //WDEV-12319, WDEV-14174
    }

    newRow.setDate(patientDocument.getDocumentDate());
    //WDEV-12012
    newRow.setTooltipForDate(patientDocument.getDocumentDate() != null ? patientDocument.getDocumentDate().toString() : null);

    newRow.setStatus(patientDocument.getCurrentDocumentStatusIsNotNull() && patientDocument.getCurrentDocumentStatus().getCorrespondenceStatusIsNotNull() ? patientDocument.getCurrentDocumentStatus().getCorrespondenceStatus().getText() : "");
    //WDEV-12012, WDEV-15957
    if(patientDocument.getCopyPatientOnCorrespondenceIsNotNull())
    {
        newRow.setTooltipForStatus((patientDocument.getCurrentDocumentStatusIsNotNull() && patientDocument.getCurrentDocumentStatus().getCorrespondenceStatusIsNotNull() ? patientDocument.getCurrentDocumentStatus().getCorrespondenceStatus().getText() : "") + ", Copy Letter to Patient: " + (Boolean.TRUE.equals(patientDocument.getCopyPatientOnCorrespondence()) ? "Yes" : "No"));
    }
    else
    {
        newRow.setTooltipForStatus(patientDocument.getCurrentDocumentStatusIsNotNull() && patientDocument.getCurrentDocumentStatus().getCorrespondenceStatusIsNotNull() ? patientDocument.getCurrentDocumentStatus().getCorrespondenceStatus().getText() : "");
    }

    //WDEV-11714
    newRow.setColNoOfCopies(patientDocument.getNoOfCopies());

    newRow.setColPrinted((patientDocument.getWasPrintedIsNotNull() && patientDocument.getWasPrinted()) ? form.getImages().Correspondence.FinaliseAndPrint16 : null);//  WDEV-14174
    newRow.setTooltipForColPrinted((patientDocument.getWasPrintedIsNotNull() && patientDocument.getWasPrinted()) ? "Printed" : null);// WDEV-14174

    newRow.setColEmailed(DocumentEmailStatus.SENT.equals(patientDocument.getEmailStatus()) ? form.getImages().Correspondence.FinaliseAndEmail16 : (DocumentEmailStatus.NOT_SENT.equals(patientDocument.getEmailStatus()) ? form.getImages().Correspondence.Email_not_send : null));//   WDEV-14174
    newRow.setTooltipForColEmailed(DocumentEmailStatus.SENT.equals(patientDocument.getEmailStatus()) ? DocumentEmailStatus.SENT.getText() : (DocumentEmailStatus.NOT_SENT.equals(patientDocument.getEmailStatus()) ? DocumentEmailStatus.NOT_SENT.getText() : null));// WDEV-14174
}
项目:openMAXIMS    文件:Logic.java   
private void newPatDocRow(PatientDocumentforDocumentWorklistVo patientDocument)
{
    if (patientDocument == null)
        return;

    grdDocumentsRow newRow = form.grdDocuments().getRows().newRow();
    newRow.setValue(patientDocument);

    boolean nameNotNull = patientDocument.getPatientIsNotNull() && patientDocument.getPatient().getNameIsNotNull();
    newRow.setSurname(nameNotNull && patientDocument.getPatient().getName().getSurnameIsNotNull() ? patientDocument.getPatient().getName().getSurname() : "");
    //WDEV-12012
    newRow.setTooltipForSurname(nameNotNull && patientDocument.getPatient().getName().getSurnameIsNotNull() ? patientDocument.getPatient().getName().getSurname() : "");

    newRow.setForename(nameNotNull && patientDocument.getPatient().getName().getForenameIsNotNull() ? patientDocument.getPatient().getName().getForename() : "");
    //WDEV-12012
    newRow.setTooltipForForename(nameNotNull && patientDocument.getPatient().getName().getForenameIsNotNull() ? patientDocument.getPatient().getName().getForename() : "");

    newRow.setNHSNo(getNHSNumber(patientDocument.getPatient()));
    //WDEV-12012
    newRow.setTooltipForNHSNo(getNHSNumber(patientDocument.getPatient()));

    //WDEV-12012 - starts here
    String documentTitle = "";

    if(patientDocument.getCategoryIsNotNull())
        documentTitle += patientDocument.getCategory().getText();

    if(patientDocument.getNameIsNotNull())
        documentTitle += " - " + patientDocument.getName();

    newRow.setColTitle(documentTitle);
    newRow.setTooltipForColTitle(documentTitle);

    String typistInitials = patientDocument.getRecordingUser() != null ? patientDocument.getRecordingUser().getInitials() : null;//WDEV-14174

    //WDEV-12012 - ends here
    if (ConfigFlag.UI.DISPLAY_AUTHORINGHCP_OR_RESPHCP_ON_DOCUMENT_WORKLIST.getValue().equals("Responsible HCP"))
    {
        String responsable = (patientDocument.getResponsibleHCP() != null ? patientDocument.getResponsibleHCP().getIHcpName() : "") + (typistInitials != null ? " (" + typistInitials + ")": "");//WDEV-14174
        newRow.setAuthor(responsable);//WDEV-14174
        newRow.setTooltipForAuthor(responsable);//WDEV-12319, WDEV-14174

    }
    else
    {
        String authoring = (patientDocument.getAuthoringHCP() != null ? patientDocument.getAuthoringHCP().getIHcpName() : "") + (typistInitials != null ? " (" + typistInitials + ")": "");//WDEV-14174
        newRow.setAuthor(authoring);//WDEV-14174
        newRow.setTooltipForAuthor(authoring);  //WDEV-12319, WDEV-14174
    }

    newRow.setDate(patientDocument.getDocumentDate());
    //WDEV-12012
    newRow.setTooltipForDate(patientDocument.getDocumentDate() != null ? patientDocument.getDocumentDate().toString() : null);

    newRow.setStatus(patientDocument.getCurrentDocumentStatusIsNotNull() && patientDocument.getCurrentDocumentStatus().getCorrespondenceStatusIsNotNull() ? patientDocument.getCurrentDocumentStatus().getCorrespondenceStatus().getText() : "");
    //WDEV-12012, WDEV-15957
    if(patientDocument.getCopyPatientOnCorrespondenceIsNotNull())
    {
        newRow.setTooltipForStatus((patientDocument.getCurrentDocumentStatusIsNotNull() && patientDocument.getCurrentDocumentStatus().getCorrespondenceStatusIsNotNull() ? patientDocument.getCurrentDocumentStatus().getCorrespondenceStatus().getText() : "") + ", Copy Letter to Patient: " + (Boolean.TRUE.equals(patientDocument.getCopyPatientOnCorrespondence()) ? "Yes" : "No"));
    }
    else
    {
        newRow.setTooltipForStatus(patientDocument.getCurrentDocumentStatusIsNotNull() && patientDocument.getCurrentDocumentStatus().getCorrespondenceStatusIsNotNull() ? patientDocument.getCurrentDocumentStatus().getCorrespondenceStatus().getText() : "");
    }

    //WDEV-11714
    newRow.setColNoOfCopies(patientDocument.getNoOfCopies());

    newRow.setColPrinted((patientDocument.getWasPrintedIsNotNull() && patientDocument.getWasPrinted()) ? form.getImages().Correspondence.FinaliseAndPrint16 : null);//  WDEV-14174
    newRow.setTooltipForColPrinted((patientDocument.getWasPrintedIsNotNull() && patientDocument.getWasPrinted()) ? "Printed" : null);// WDEV-14174

    newRow.setColEmailed(DocumentEmailStatus.SENT.equals(patientDocument.getEmailStatus()) ? form.getImages().Correspondence.FinaliseAndEmail16 : (DocumentEmailStatus.NOT_SENT.equals(patientDocument.getEmailStatus()) ? form.getImages().Correspondence.Email_not_send : null));//   WDEV-14174
    newRow.setTooltipForColEmailed(DocumentEmailStatus.SENT.equals(patientDocument.getEmailStatus()) ? DocumentEmailStatus.SENT.getText() : (DocumentEmailStatus.NOT_SENT.equals(patientDocument.getEmailStatus()) ? DocumentEmailStatus.NOT_SENT.getText() : null));// WDEV-14174

    //WDEV-18815
    newRow.setColEnclosure(Boolean.TRUE.equals(patientDocument.getHasEnclosure()) ? form.getImages().Core.OpenLetter16 : null);
}
项目:openMAXIMS    文件:Logic.java   
private void newPatDocRow(PatientDocumentforDocumentWorklistVo patientDocument)
{
    if (patientDocument == null)
        return;

    grdDocumentsRow newRow = form.grdDocuments().getRows().newRow();
    newRow.setValue(patientDocument);

    boolean nameNotNull = patientDocument.getPatientIsNotNull() && patientDocument.getPatient().getNameIsNotNull();
    newRow.setSurname(nameNotNull && patientDocument.getPatient().getName().getSurnameIsNotNull() ? patientDocument.getPatient().getName().getSurname() : "");
    //WDEV-12012
    newRow.setTooltipForSurname(nameNotNull && patientDocument.getPatient().getName().getSurnameIsNotNull() ? patientDocument.getPatient().getName().getSurname() : "");

    newRow.setForename(nameNotNull && patientDocument.getPatient().getName().getForenameIsNotNull() ? patientDocument.getPatient().getName().getForename() : "");
    //WDEV-12012
    newRow.setTooltipForForename(nameNotNull && patientDocument.getPatient().getName().getForenameIsNotNull() ? patientDocument.getPatient().getName().getForename() : "");

    newRow.setNHSNo(getNHSNumber(patientDocument.getPatient()));
    //WDEV-12012
    newRow.setTooltipForNHSNo(getNHSNumber(patientDocument.getPatient()));

    //WDEV-12012 - starts here
    String documentTitle = "";

    if(patientDocument.getCategoryIsNotNull())
        documentTitle += patientDocument.getCategory().getText();

    if(patientDocument.getNameIsNotNull())
        documentTitle += " - " + patientDocument.getName();

    newRow.setColTitle(documentTitle);
    newRow.setTooltipForColTitle(documentTitle);

    String typistInitials = patientDocument.getRecordingUser() != null ? patientDocument.getRecordingUser().getInitials() : null;//WDEV-14174

    //WDEV-12012 - ends here
    if (ConfigFlag.UI.DISPLAY_AUTHORINGHCP_OR_RESPHCP_ON_DOCUMENT_WORKLIST.getValue().equals("Responsible HCP"))
    {
        String responsable = (patientDocument.getResponsibleHCP() != null ? patientDocument.getResponsibleHCP().getIHcpName() : "") + (typistInitials != null ? " (" + typistInitials + ")": "");//WDEV-14174
        newRow.setAuthor(responsable);//WDEV-14174
        newRow.setTooltipForAuthor(responsable);//WDEV-12319, WDEV-14174

    }
    else
    {
        String authoring = (patientDocument.getAuthoringHCP() != null ? patientDocument.getAuthoringHCP().getIHcpName() : "") + (typistInitials != null ? " (" + typistInitials + ")": "");//WDEV-14174
        newRow.setAuthor(authoring);//WDEV-14174
        newRow.setTooltipForAuthor(authoring);  //WDEV-12319, WDEV-14174
    }

    newRow.setDate(patientDocument.getDocumentDate());
    //WDEV-12012
    newRow.setTooltipForDate(patientDocument.getDocumentDate() != null ? patientDocument.getDocumentDate().toString() : null);

    newRow.setStatus(patientDocument.getCurrentDocumentStatusIsNotNull() && patientDocument.getCurrentDocumentStatus().getCorrespondenceStatusIsNotNull() ? patientDocument.getCurrentDocumentStatus().getCorrespondenceStatus().getText() : "");
    //WDEV-12012, WDEV-15957
    if(patientDocument.getCopyPatientOnCorrespondenceIsNotNull())
    {
        newRow.setTooltipForStatus((patientDocument.getCurrentDocumentStatusIsNotNull() && patientDocument.getCurrentDocumentStatus().getCorrespondenceStatusIsNotNull() ? patientDocument.getCurrentDocumentStatus().getCorrespondenceStatus().getText() : "") + ", Copy Letter to Patient: " + (Boolean.TRUE.equals(patientDocument.getCopyPatientOnCorrespondence()) ? "Yes" : "No"));
    }
    else
    {
        newRow.setTooltipForStatus(patientDocument.getCurrentDocumentStatusIsNotNull() && patientDocument.getCurrentDocumentStatus().getCorrespondenceStatusIsNotNull() ? patientDocument.getCurrentDocumentStatus().getCorrespondenceStatus().getText() : "");
    }

    //WDEV-11714
    newRow.setColNoOfCopies(patientDocument.getNoOfCopies());

    newRow.setColPrinted((patientDocument.getWasPrintedIsNotNull() && patientDocument.getWasPrinted()) ? form.getImages().Correspondence.FinaliseAndPrint16 : null);//  WDEV-14174
    newRow.setTooltipForColPrinted((patientDocument.getWasPrintedIsNotNull() && patientDocument.getWasPrinted()) ? "Printed" : null);// WDEV-14174

    newRow.setColEmailed(DocumentEmailStatus.SENT.equals(patientDocument.getEmailStatus()) ? form.getImages().Correspondence.FinaliseAndEmail16 : (DocumentEmailStatus.NOT_SENT.equals(patientDocument.getEmailStatus()) ? form.getImages().Correspondence.Email_not_send : null));//   WDEV-14174
    newRow.setTooltipForColEmailed(DocumentEmailStatus.SENT.equals(patientDocument.getEmailStatus()) ? DocumentEmailStatus.SENT.getText() : (DocumentEmailStatus.NOT_SENT.equals(patientDocument.getEmailStatus()) ? DocumentEmailStatus.NOT_SENT.getText() : null));// WDEV-14174
}
项目:openmaxims-linux    文件:Logic.java   
private void newPatDocRow(PatientDocumentforDocumentWorklistVo patientDocument)
{
    if (patientDocument == null)
        return;

    grdDocumentsRow newRow = form.grdDocuments().getRows().newRow();
    newRow.setValue(patientDocument);

    boolean nameNotNull = patientDocument.getPatientIsNotNull() && patientDocument.getPatient().getNameIsNotNull();
    newRow.setSurname(nameNotNull && patientDocument.getPatient().getName().getSurnameIsNotNull() ? patientDocument.getPatient().getName().getSurname() : "");
    //WDEV-12012
    newRow.setTooltipForSurname(nameNotNull && patientDocument.getPatient().getName().getSurnameIsNotNull() ? patientDocument.getPatient().getName().getSurname() : "");

    newRow.setForename(nameNotNull && patientDocument.getPatient().getName().getForenameIsNotNull() ? patientDocument.getPatient().getName().getForename() : "");
    //WDEV-12012
    newRow.setTooltipForForename(nameNotNull && patientDocument.getPatient().getName().getForenameIsNotNull() ? patientDocument.getPatient().getName().getForename() : "");

    newRow.setNHSNo(getNHSNumber(patientDocument.getPatient()));
    //WDEV-12012
    newRow.setTooltipForNHSNo(getNHSNumber(patientDocument.getPatient()));

    //WDEV-12012 - starts here
    String documentTitle = "";

    if(patientDocument.getCategoryIsNotNull())
        documentTitle += patientDocument.getCategory().getText();

    if(patientDocument.getNameIsNotNull())
        documentTitle += " - " + patientDocument.getName();

    newRow.setColTitle(documentTitle);
    newRow.setTooltipForColTitle(documentTitle);

    String typistInitials = patientDocument.getRecordingUser() != null ? patientDocument.getRecordingUser().getInitials() : null;//WDEV-14174

    //WDEV-12012 - ends here
    if (ConfigFlag.UI.DISPLAY_AUTHORINGHCP_OR_RESPHCP_ON_DOCUMENT_WORKLIST.getValue().equals("Responsible HCP"))
    {
        String responsable = (patientDocument.getResponsibleHCP() != null ? patientDocument.getResponsibleHCP().getIHcpName() : "") + (typistInitials != null ? " (" + typistInitials + ")": "");//WDEV-14174
        newRow.setAuthor(responsable);//WDEV-14174
        newRow.setTooltipForAuthor(responsable);//WDEV-12319, WDEV-14174

    }
    else
    {
        String authoring = (patientDocument.getAuthoringHCP() != null ? patientDocument.getAuthoringHCP().getIHcpName() : "") + (typistInitials != null ? " (" + typistInitials + ")": "");//WDEV-14174
        newRow.setAuthor(authoring);//WDEV-14174
        newRow.setTooltipForAuthor(authoring);  //WDEV-12319, WDEV-14174
    }

    newRow.setDate(patientDocument.getDocumentDate());
    //WDEV-12012
    newRow.setTooltipForDate(patientDocument.getDocumentDate() != null ? patientDocument.getDocumentDate().toString() : null);

    newRow.setStatus(patientDocument.getCurrentDocumentStatusIsNotNull() && patientDocument.getCurrentDocumentStatus().getCorrespondenceStatusIsNotNull() ? patientDocument.getCurrentDocumentStatus().getCorrespondenceStatus().getText() : "");
    //WDEV-12012, WDEV-15957
    if(patientDocument.getCopyPatientOnCorrespondenceIsNotNull())
    {
        newRow.setTooltipForStatus((patientDocument.getCurrentDocumentStatusIsNotNull() && patientDocument.getCurrentDocumentStatus().getCorrespondenceStatusIsNotNull() ? patientDocument.getCurrentDocumentStatus().getCorrespondenceStatus().getText() : "") + ", Copy Letter to Patient: " + (Boolean.TRUE.equals(patientDocument.getCopyPatientOnCorrespondence()) ? "Yes" : "No"));
    }
    else
    {
        newRow.setTooltipForStatus(patientDocument.getCurrentDocumentStatusIsNotNull() && patientDocument.getCurrentDocumentStatus().getCorrespondenceStatusIsNotNull() ? patientDocument.getCurrentDocumentStatus().getCorrespondenceStatus().getText() : "");
    }

    //WDEV-11714
    newRow.setColNoOfCopies(patientDocument.getNoOfCopies());

    newRow.setColPrinted((patientDocument.getWasPrintedIsNotNull() && patientDocument.getWasPrinted()) ? form.getImages().Correspondence.FinaliseAndPrint16 : null);//  WDEV-14174
    newRow.setTooltipForColPrinted((patientDocument.getWasPrintedIsNotNull() && patientDocument.getWasPrinted()) ? "Printed" : null);// WDEV-14174

    newRow.setColEmailed(DocumentEmailStatus.SENT.equals(patientDocument.getEmailStatus()) ? form.getImages().Correspondence.FinaliseAndEmail16 : (DocumentEmailStatus.NOT_SENT.equals(patientDocument.getEmailStatus()) ? form.getImages().Correspondence.Email_not_send : null));//   WDEV-14174
    newRow.setTooltipForColEmailed(DocumentEmailStatus.SENT.equals(patientDocument.getEmailStatus()) ? DocumentEmailStatus.SENT.getText() : (DocumentEmailStatus.NOT_SENT.equals(patientDocument.getEmailStatus()) ? DocumentEmailStatus.NOT_SENT.getText() : null));// WDEV-14174
}