Java 类ims.ocrr.vo.RadiologyResultListVo 实例源码

项目:AvoinApotti    文件:Logic.java   
private void viewClinicalImagingSelectOrder()
{
    form.getGlobalContext().OCRR.setCurrentPathRadResult(form.grdClinicalImaging().getValue());

    RadiologyResultListVo result = (RadiologyResultListVo) form.grdClinicalImaging().getValue().getOrderInvestigation();

    form.getGlobalContext().OCRR.PathologyResults.setOrder(result.getOrderDetails());
    form.getGlobalContext().OCRR.setLastUpdatedPathRadResult(null);

    if (AuthorisationOrderStatus.AWAITING_AUTHORISATION.equals(result.getOrderDetails().getAuthorisationOrderStatus()))
    {
        form.getGlobalContext().OCRR.setOrderAwaitingAuthorisation(result.getOrderDetails());
    }

    engine.open(form.getForms().OCRR.OrderSummaryDialog);
}
项目:openMAXIMS    文件:Logic.java   
private void viewClinicalImagingSelectOrder()
{
    form.getGlobalContext().OCRR.setCurrentPathRadResult(form.grdClinicalImaging().getValue());

    RadiologyResultListVo result = (RadiologyResultListVo) form.grdClinicalImaging().getValue().getOrderInvestigation();

    form.getGlobalContext().OCRR.PathologyResults.setOrder(result.getOrderDetails());
    form.getGlobalContext().OCRR.setLastUpdatedPathRadResult(null);

    if (AuthorisationOrderStatus.AWAITING_AUTHORISATION.equals(result.getOrderDetails().getAuthorisationOrderStatus()))
    {
        form.getGlobalContext().OCRR.setOrderAwaitingAuthorisation(result.getOrderDetails());
    }

    engine.open(form.getForms().OCRR.OrderSummaryDialog);
}
项目:openMAXIMS    文件:Logic.java   
private void viewClinicalImagingSelectOrder()
{
    form.getGlobalContext().OCRR.setCurrentPathRadResult(form.grdClinicalImaging().getValue());

    RadiologyResultListVo result = (RadiologyResultListVo) form.grdClinicalImaging().getValue().getOrderInvestigation();

    form.getGlobalContext().OCRR.PathologyResults.setOrder(result.getOrderDetails());
    form.getGlobalContext().OCRR.setLastUpdatedPathRadResult(null);

    if (AuthorisationOrderStatus.AWAITING_AUTHORISATION.equals(result.getOrderDetails().getAuthorisationOrderStatus()))
    {
        form.getGlobalContext().OCRR.setOrderAwaitingAuthorisation(result.getOrderDetails());
    }

    engine.open(form.getForms().OCRR.OrderSummaryDialog);
}
项目:openMAXIMS    文件:Logic.java   
private void viewClinicalImagingSelectOrder()
{
    form.getGlobalContext().OCRR.setCurrentPathRadResult(form.grdClinicalImaging().getValue());

    RadiologyResultListVo result = (RadiologyResultListVo) form.grdClinicalImaging().getValue().getOrderInvestigation();

    form.getGlobalContext().OCRR.PathologyResults.setOrder(result.getOrderDetails());
    form.getGlobalContext().OCRR.setLastUpdatedPathRadResult(null);

    if (AuthorisationOrderStatus.AWAITING_AUTHORISATION.equals(result.getOrderDetails().getAuthorisationOrderStatus()))
    {
        form.getGlobalContext().OCRR.setOrderAwaitingAuthorisation(result.getOrderDetails());
    }

    engine.open(form.getForms().OCRR.OrderSummaryDialog);
}
项目:openmaxims-linux    文件:Logic.java   
private void viewClinicalImagingSelectOrder()
{
    form.getGlobalContext().OCRR.setCurrentPathRadResult(form.grdClinicalImaging().getValue());

    RadiologyResultListVo result = (RadiologyResultListVo) form.grdClinicalImaging().getValue().getOrderInvestigation();

    form.getGlobalContext().OCRR.PathologyResults.setOrder(result.getOrderDetails());
    form.getGlobalContext().OCRR.setLastUpdatedPathRadResult(null);

    if (AuthorisationOrderStatus.AWAITING_AUTHORISATION.equals(result.getOrderDetails().getAuthorisationOrderStatus()))
    {
        form.getGlobalContext().OCRR.setOrderAwaitingAuthorisation(result.getOrderDetails());
    }

    engine.open(form.getForms().OCRR.OrderSummaryDialog);
}
项目:AvoinApotti    文件:Logic.java   
private void viewSelectedOrder()
{
    form.getGlobalContext().OCRR.setCurrentPathRadResult(form.grdClinicalImaging().getValue());
    RadiologyResultListVo res = (RadiologyResultListVo)form.grdClinicalImaging().getValue().getOrderInvestigation();
    form.getGlobalContext().OCRR.PathologyResults.setOrder(res.getOrderDetails());
    form.getGlobalContext().OCRR.setLastUpdatedPathRadResult(null);

    //WDEV-11097
    if(AuthorisationOrderStatus.AWAITING_AUTHORISATION.equals(res.getOrderDetails().getAuthorisationOrderStatus()))
    {
        form.getGlobalContext().OCRR.setOrderAwaitingAuthorisation(res.getOrderDetails());
    }

    engine.open(form.getForms().OCRR.OrderSummaryDialog);
}
项目:openMAXIMS    文件:Logic.java   
private void viewSelectedOrder()
{
    form.getGlobalContext().OCRR.setCurrentPathRadResult(form.grdClinicalImaging().getValue());
    RadiologyResultListVo res = (RadiologyResultListVo)form.grdClinicalImaging().getValue().getOrderInvestigation();
    form.getGlobalContext().OCRR.PathologyResults.setOrder(res.getOrderDetails());
    form.getGlobalContext().OCRR.setLastUpdatedPathRadResult(null);

    //WDEV-11097
    if(AuthorisationOrderStatus.AWAITING_AUTHORISATION.equals(res.getOrderDetails().getAuthorisationOrderStatus()))
    {
        form.getGlobalContext().OCRR.setOrderAwaitingAuthorisation(res.getOrderDetails());
    }

    engine.open(form.getForms().OCRR.OrderSummaryDialog);
}
项目:openMAXIMS    文件:Logic.java   
private void viewSelectedOrder()
{
    form.getGlobalContext().OCRR.setCurrentPathRadResult(form.grdClinicalImaging().getValue());
    RadiologyResultListVo res = (RadiologyResultListVo)form.grdClinicalImaging().getValue().getOrderInvestigation();
    form.getGlobalContext().OCRR.PathologyResults.setOrder(res.getOrderDetails());
    form.getGlobalContext().OCRR.setLastUpdatedPathRadResult(null);

    //WDEV-11097
    if(AuthorisationOrderStatus.AWAITING_AUTHORISATION.equals(res.getOrderDetails().getAuthorisationOrderStatus()))
    {
        form.getGlobalContext().OCRR.setOrderAwaitingAuthorisation(res.getOrderDetails());
    }

    engine.open(form.getForms().OCRR.OrderSummaryDialog);
}
项目:openmaxims-linux    文件:Logic.java   
private void viewSelectedOrder()
{
    form.getGlobalContext().OCRR.setCurrentPathRadResult(form.grdClinicalImaging().getValue());
    RadiologyResultListVo res = (RadiologyResultListVo)form.grdClinicalImaging().getValue().getOrderInvestigation();
    form.getGlobalContext().OCRR.PathologyResults.setOrder(res.getOrderDetails());
    form.getGlobalContext().OCRR.setLastUpdatedPathRadResult(null);

    //WDEV-11097
    if(AuthorisationOrderStatus.AWAITING_AUTHORISATION.equals(res.getOrderDetails().getAuthorisationOrderStatus()))
    {
        form.getGlobalContext().OCRR.setOrderAwaitingAuthorisation(res.getOrderDetails());
    }

    engine.open(form.getForms().OCRR.OrderSummaryDialog);
}
项目:AvoinApotti    文件:Logic.java   
private boolean hasResults(grdClinicalImagingRow selectedRow)
{
    RadiologyResultListVo result = (RadiologyResultListVo) selectedRow.getValue().getOrderInvestigation();

    return (result.getResultDetails() != null && result.getResultDetails().getClinicalResultDetails() != null);
}
项目:AvoinApotti    文件:Logic.java   
private String getClinicalImagingtStatusTooltipValue(RadiologyResultListVo result, Date dateUnseen)
{
    if (result == null)
        return null;

    StringBuffer displayString = new StringBuffer();


    OrderInvStatus currentStatus = result.getOrdInvCurrentStatus().getOrdInvStatus();

    if (currentStatus != null)
    {
        displayString.append("<b>Current status: </b>").append(currentStatus.getText());

        if (OrderInvStatus.CANCELLED.equals(currentStatus)
            && result.getOrdInvCurrentStatus().getStatusReason() != null
            && result.getOrdInvCurrentStatus().getStatusReason().length() > 0)
        {
            displayString.append("<br><b>Current status reason: </b>").append(result.getOrdInvCurrentStatus().getStatusReason());
        }

        displayString.append("<br><b>Date changed: </b>").append(result.getOrdInvCurrentStatus().getChangeDateTime());

        if (result.getOrdInvCurrentStatus().getChangeUser() != null)
        {
            displayString.append("<br><b>Changed by: </b>").append(result.getOrdInvCurrentStatus().getChangeUser().toString());
        }

        if (result.getRepDateTime() != null && dateUnseen != null)
        {
            if (OrderInvStatus.NEW_RESULT.equals(currentStatus) || OrderInvStatus.UPDATED_RESULT.equals(currentStatus))
            {
                if (result.getRepDateTime().getDate().isLessThan(dateUnseen))
                {
                    displayString.append("<br>Unseen");
                }
            }
            else if (OrderInvStatus.REVIEW.equals(currentStatus))
            {
                if (result.getOrdInvCurrentStatus().getChangeDateTime().getDate().isLessThan(dateUnseen))
                {
                    displayString.append("<br>Requires Attention");
                }
                else
                {
                    displayString.append("<br>").append(OrderInvStatus.REVIEW.toString());
                }
            }
        }
    }


    ResultCommentsLiteVoCollection comments = result.getResultConclusionComments();

    if (comments != null && comments.size() > 0)
    {
        comments.sort(SortOrder.DESCENDING);
        ResultCommentsLiteVo lastComment = comments.get(0);

        displayString.append("<br><b>").append(lastComment.getAuthoringInformation().getAuthoringDateTime().toString()).append(" ");
        displayString.append(lastComment.getAuthoringInformation().getAuthoringHcp().getName().toString()).append(":</b> ").append(lastComment.getComment());

        if (lastComment.getCorrectingDateTime() != null)
        {
            displayString.append("<br><b>Corrected ").append(lastComment.getCorrectingDateTime().toString()).append(" ");
            displayString.append(lastComment.getCorrectingHcp().getName().toString() + ":<b> " + lastComment.getCorrectionReason());
        }
    }

    return displayString.toString();
}
项目:AvoinApotti    文件:Logic.java   
private boolean hasResults(grdClinicalImagingRow selectedRow)
{
    RadiologyResultListVo res = (RadiologyResultListVo)selectedRow.getValue().getOrderInvestigation();
    return (res.getResultDetails() != null && res.getResultDetails().getClinicalResultDetails() != null);//WDEV-16232
}
项目:openMAXIMS    文件:Logic.java   
private boolean hasResults(grdClinicalImagingRow selectedRow)
{
    RadiologyResultListVo result = (RadiologyResultListVo) selectedRow.getValue().getOrderInvestigation();

    return (result.getResultDetails() != null && result.getResultDetails().getClinicalResultDetails() != null);
}
项目:openMAXIMS    文件:Logic.java   
private String getClinicalImagingtStatusTooltipValue(RadiologyResultListVo result, Date dateUnseen)
{
    if (result == null)
        return null;

    StringBuffer displayString = new StringBuffer();


    OrderInvStatus currentStatus = result.getOrdInvCurrentStatus().getOrdInvStatus();

    if (currentStatus != null)
    {
        displayString.append("<b>Current status: </b>").append(currentStatus.getText());

        if (OrderInvStatus.CANCELLED.equals(currentStatus)
            && result.getOrdInvCurrentStatus().getStatusReason() != null
            && result.getOrdInvCurrentStatus().getStatusReason().length() > 0)
        {
            displayString.append("<br><b>Current status reason: </b>").append(result.getOrdInvCurrentStatus().getStatusReason());
        }

        displayString.append("<br><b>Date changed: </b>").append(result.getOrdInvCurrentStatus().getChangeDateTime());

        if (result.getOrdInvCurrentStatus().getChangeUser() != null)
        {
            displayString.append("<br><b>Changed by: </b>").append(result.getOrdInvCurrentStatus().getChangeUser().toString());
        }

        if (result.getRepDateTime() != null && dateUnseen != null)
        {
            if (OrderInvStatus.NEW_RESULT.equals(currentStatus) || OrderInvStatus.UPDATED_RESULT.equals(currentStatus))
            {
                if (result.getRepDateTime().getDate().isLessThan(dateUnseen))
                {
                    displayString.append("<br>Unseen");
                }
            }
            else if (OrderInvStatus.REVIEW.equals(currentStatus))
            {
                if (result.getOrdInvCurrentStatus().getChangeDateTime().getDate().isLessThan(dateUnseen))
                {
                    displayString.append("<br>Requires Attention");
                }
                else
                {
                    displayString.append("<br>").append(OrderInvStatus.REVIEW.toString());
                }
            }
        }
    }


    ResultCommentsLiteVoCollection comments = result.getResultConclusionComments();

    if (comments != null && comments.size() > 0)
    {
        comments.sort(SortOrder.DESCENDING);
        ResultCommentsLiteVo lastComment = comments.get(0);

        displayString.append("<br><b>").append(lastComment.getAuthoringInformation().getAuthoringDateTime().toString()).append(" ");
        displayString.append(lastComment.getAuthoringInformation().getAuthoringHcp().getName().toString()).append(":</b> ").append(lastComment.getComment());

        if (lastComment.getCorrectingDateTime() != null)
        {
            displayString.append("<br><b>Corrected ").append(lastComment.getCorrectingDateTime().toString()).append(" ");
            displayString.append(lastComment.getCorrectingHcp().getName().toString() + ":<b> " + lastComment.getCorrectionReason());
        }
    }

    return displayString.toString();
}
项目:openMAXIMS    文件:Logic.java   
private boolean hasResults(grdClinicalImagingRow selectedRow)
{
    RadiologyResultListVo result = (RadiologyResultListVo) selectedRow.getValue().getOrderInvestigation();

    return (result.getResultDetails() != null && result.getResultDetails().getClinicalResultDetails() != null);
}
项目:openMAXIMS    文件:Logic.java   
private String getClinicalImagingtStatusTooltipValue(RadiologyResultListVo result, Date dateUnseen)
{
    if (result == null)
        return null;

    StringBuffer displayString = new StringBuffer();


    OrderInvStatus currentStatus = result.getOrdInvCurrentStatus().getOrdInvStatus();

    if (currentStatus != null)
    {
        displayString.append("<b>Current status: </b>").append(currentStatus.getText());

        if (OrderInvStatus.CANCELLED.equals(currentStatus)
            && result.getOrdInvCurrentStatus().getStatusReason() != null
            && result.getOrdInvCurrentStatus().getStatusReason().length() > 0)
        {
            displayString.append("<br><b>Current status reason: </b>").append(result.getOrdInvCurrentStatus().getStatusReason());
        }

        displayString.append("<br><b>Date changed: </b>").append(result.getOrdInvCurrentStatus().getChangeDateTime());

        if (result.getOrdInvCurrentStatus().getChangeUser() != null)
        {
            displayString.append("<br><b>Changed by: </b>").append(result.getOrdInvCurrentStatus().getChangeUser().toString());
        }

        if (result.getRepDateTime() != null && dateUnseen != null)
        {
            if (OrderInvStatus.NEW_RESULT.equals(currentStatus) || OrderInvStatus.UPDATED_RESULT.equals(currentStatus))
            {
                if (result.getRepDateTime().getDate().isLessThan(dateUnseen))
                {
                    displayString.append("<br>Unseen");
                }
            }
            else if (OrderInvStatus.REVIEW.equals(currentStatus))
            {
                if (result.getOrdInvCurrentStatus().getChangeDateTime().getDate().isLessThan(dateUnseen))
                {
                    displayString.append("<br>Requires Attention");
                }
                else
                {
                    displayString.append("<br>").append(OrderInvStatus.REVIEW.toString());
                }
            }
        }
    }


    ResultCommentsLiteVoCollection comments = result.getResultConclusionComments();

    if (comments != null && comments.size() > 0)
    {
        comments.sort(SortOrder.DESCENDING);
        ResultCommentsLiteVo lastComment = comments.get(0);

        displayString.append("<br><b>").append(lastComment.getAuthoringInformation().getAuthoringDateTime().toString()).append(" ");
        displayString.append(lastComment.getAuthoringInformation().getAuthoringHcp().getName().toString()).append(":</b> ").append(lastComment.getComment());

        if (lastComment.getCorrectingDateTime() != null)
        {
            displayString.append("<br><b>Corrected ").append(lastComment.getCorrectingDateTime().toString()).append(" ");
            displayString.append(lastComment.getCorrectingHcp().getName().toString() + ":<b> " + lastComment.getCorrectionReason());
        }
    }

    return displayString.toString();
}
项目:openMAXIMS    文件:Logic.java   
private boolean hasResults(grdClinicalImagingRow selectedRow)
{
    RadiologyResultListVo res = (RadiologyResultListVo)selectedRow.getValue().getOrderInvestigation();
    return (res.getResultDetails() != null && res.getResultDetails().getClinicalResultDetails() != null);//WDEV-16232
}
项目:openMAXIMS    文件:Logic.java   
private boolean hasResults(grdClinicalImagingRow selectedRow)
{
    RadiologyResultListVo result = (RadiologyResultListVo) selectedRow.getValue().getOrderInvestigation();

    return (result.getResultDetails() != null && result.getResultDetails().getClinicalResultDetails() != null);
}
项目:openMAXIMS    文件:Logic.java   
private String getClinicalImagingtStatusTooltipValue(RadiologyResultListVo result, Date dateUnseen)
{
    if (result == null)
        return null;

    StringBuffer displayString = new StringBuffer();


    OrderInvStatus currentStatus = result.getOrdInvCurrentStatus().getOrdInvStatus();

    if (currentStatus != null)
    {
        displayString.append("<b>Current status: </b>").append(currentStatus.getText());

        if (OrderInvStatus.CANCELLED.equals(currentStatus)
            && result.getOrdInvCurrentStatus().getStatusReason() != null
            && result.getOrdInvCurrentStatus().getStatusReason().length() > 0)
        {
            displayString.append("<br><b>Current status reason: </b>").append(result.getOrdInvCurrentStatus().getStatusReason());
        }

        displayString.append("<br><b>Date changed: </b>").append(result.getOrdInvCurrentStatus().getChangeDateTime());

        if (result.getOrdInvCurrentStatus().getChangeUser() != null)
        {
            displayString.append("<br><b>Changed by: </b>").append(result.getOrdInvCurrentStatus().getChangeUser().toString());
        }

        if (result.getRepDateTime() != null && dateUnseen != null)
        {
            if (OrderInvStatus.NEW_RESULT.equals(currentStatus) || OrderInvStatus.UPDATED_RESULT.equals(currentStatus))
            {
                if (result.getRepDateTime().getDate().isLessThan(dateUnseen))
                {
                    displayString.append("<br>Unseen");
                }
            }
            else if (OrderInvStatus.REVIEW.equals(currentStatus))
            {
                if (result.getOrdInvCurrentStatus().getChangeDateTime().getDate().isLessThan(dateUnseen))
                {
                    displayString.append("<br>Requires Attention");
                }
                else
                {
                    displayString.append("<br>").append(OrderInvStatus.REVIEW.toString());
                }
            }
        }
    }


    ResultCommentsLiteVoCollection comments = result.getResultConclusionComments();

    if (comments != null && comments.size() > 0)
    {
        comments.sort(SortOrder.DESCENDING);
        ResultCommentsLiteVo lastComment = comments.get(0);

        displayString.append("<br><b>").append(lastComment.getAuthoringInformation().getAuthoringDateTime().toString()).append(" ");
        displayString.append(lastComment.getAuthoringInformation().getAuthoringHcp().getName().toString()).append(":</b> ").append(lastComment.getComment());

        if (lastComment.getCorrectingDateTime() != null)
        {
            displayString.append("<br><b>Corrected ").append(lastComment.getCorrectingDateTime().toString()).append(" ");
            displayString.append(lastComment.getCorrectingHcp().getName().toString() + ":<b> " + lastComment.getCorrectionReason());
        }
    }

    return displayString.toString();
}
项目:openMAXIMS    文件:Logic.java   
private boolean hasResults(grdClinicalImagingRow selectedRow)
{
    RadiologyResultListVo res = (RadiologyResultListVo)selectedRow.getValue().getOrderInvestigation();
    return (res.getResultDetails() != null && res.getResultDetails().getClinicalResultDetails() != null);//WDEV-16232
}
项目:openmaxims-linux    文件:Logic.java   
private boolean hasResults(grdClinicalImagingRow selectedRow)
{
    RadiologyResultListVo result = (RadiologyResultListVo) selectedRow.getValue().getOrderInvestigation();

    return (result.getResultDetails() != null && result.getResultDetails().getClinicalResultDetails() != null);
}
项目:openmaxims-linux    文件:Logic.java   
private String getClinicalImagingtStatusTooltipValue(RadiologyResultListVo result, Date dateUnseen)
{
    if (result == null)
        return null;

    StringBuffer displayString = new StringBuffer();


    OrderInvStatus currentStatus = result.getOrdInvCurrentStatus().getOrdInvStatus();

    if (currentStatus != null)
    {
        displayString.append("<b>Current status: </b>").append(currentStatus.getText());

        if (OrderInvStatus.CANCELLED.equals(currentStatus)
            && result.getOrdInvCurrentStatus().getStatusReason() != null
            && result.getOrdInvCurrentStatus().getStatusReason().length() > 0)
        {
            displayString.append("<br><b>Current status reason: </b>").append(result.getOrdInvCurrentStatus().getStatusReason());
        }

        displayString.append("<br><b>Date changed: </b>").append(result.getOrdInvCurrentStatus().getChangeDateTime());

        if (result.getOrdInvCurrentStatus().getChangeUser() != null)
        {
            displayString.append("<br><b>Changed by: </b>").append(result.getOrdInvCurrentStatus().getChangeUser().toString());
        }

        if (result.getRepDateTime() != null && dateUnseen != null)
        {
            if (OrderInvStatus.NEW_RESULT.equals(currentStatus) || OrderInvStatus.UPDATED_RESULT.equals(currentStatus))
            {
                if (result.getRepDateTime().getDate().isLessThan(dateUnseen))
                {
                    displayString.append("<br>Unseen");
                }
            }
            else if (OrderInvStatus.REVIEW.equals(currentStatus))
            {
                if (result.getOrdInvCurrentStatus().getChangeDateTime().getDate().isLessThan(dateUnseen))
                {
                    displayString.append("<br>Requires Attention");
                }
                else
                {
                    displayString.append("<br>").append(OrderInvStatus.REVIEW.toString());
                }
            }
        }
    }


    ResultCommentsLiteVoCollection comments = result.getResultConclusionComments();

    if (comments != null && comments.size() > 0)
    {
        comments.sort(SortOrder.DESCENDING);
        ResultCommentsLiteVo lastComment = comments.get(0);

        displayString.append("<br><b>").append(lastComment.getAuthoringInformation().getAuthoringDateTime().toString()).append(" ");
        displayString.append(lastComment.getAuthoringInformation().getAuthoringHcp().getName().toString()).append(":</b> ").append(lastComment.getComment());

        if (lastComment.getCorrectingDateTime() != null)
        {
            displayString.append("<br><b>Corrected ").append(lastComment.getCorrectingDateTime().toString()).append(" ");
            displayString.append(lastComment.getCorrectingHcp().getName().toString() + ":<b> " + lastComment.getCorrectionReason());
        }
    }

    return displayString.toString();
}
项目:openmaxims-linux    文件:Logic.java   
private boolean hasResults(grdClinicalImagingRow selectedRow)
{
    RadiologyResultListVo res = (RadiologyResultListVo)selectedRow.getValue().getOrderInvestigation();
    return (res.getResultDetails() != null && res.getResultDetails().getClinicalResultDetails() != null);//WDEV-16232
}