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

项目:AvoinApotti    文件:Logic.java   
private ChartResultVoCollection getResultsFromDFTOrderInvestigation(boolean isTabularView) 
{
    if(form.getLocalContext().getDFTOrderInvestigation() == null || form.getLocalContext().getDFTOrderInvestigation().getResultDetails() == null || form.getLocalContext().getDFTOrderInvestigation().getResultDetails().getPathologyResultDetails() == null)
        return null;

    OrderInvestigationChartVo oi = domain.getOrderInvestigation(form.getLocalContext().getDFTOrderInvestigation());

    ChartResultVoCollection results = new ChartResultVoCollection();

    for(PathologyResultDetailsForCumulateResultsVo pathResult : form.getLocalContext().getDFTOrderInvestigation().getResultDetails().getPathologyResultDetails())
    {
        if(pathResult == null || pathResult.getResultComponents() == null)
            continue;

        for(ChartResultVo component : pathResult.getResultComponents())
        {
            if(component == null)
                continue;

            if(ResultValueType.NM.equals(component.getResValType()) || (isTabularView && (ResultValueType.SN.equals(component.getResValType()) || ResultValueType.ST.equals(component.getResValType()))))
            {
                component.setInvestigationData(oi);
                component.setSpecimenComments(pathResult.getOrderSpecimen());
                component.setPathologyResultId(pathResult.getID_PathResultDetails());

                results.add(component);
            }
        }
    }

    return results;
}
项目:openMAXIMS    文件:Logic.java   
private ChartResultVoCollection getResultsFromDFTOrderInvestigation(boolean isTabularView) 
{
    if(form.getLocalContext().getDFTOrderInvestigation() == null || form.getLocalContext().getDFTOrderInvestigation().getResultDetails() == null || form.getLocalContext().getDFTOrderInvestigation().getResultDetails().getPathologyResultDetails() == null)
        return null;

    OrderInvestigationChartVo oi = domain.getOrderInvestigation(form.getLocalContext().getDFTOrderInvestigation());

    ChartResultVoCollection results = new ChartResultVoCollection();

    for(PathologyResultDetailsForCumulateResultsVo pathResult : form.getLocalContext().getDFTOrderInvestigation().getResultDetails().getPathologyResultDetails())
    {
        if(pathResult == null || pathResult.getResultComponents() == null)
            continue;

        for(ChartResultVo component : pathResult.getResultComponents())
        {
            if(component == null)
                continue;

            if(ResultValueType.NM.equals(component.getResValType()) || (isTabularView && (ResultValueType.SN.equals(component.getResValType()) || ResultValueType.ST.equals(component.getResValType()))))
            {
                component.setInvestigationData(oi);
                component.setSpecimenComments(pathResult.getOrderSpecimen());
                component.setPathologyResultId(pathResult.getID_PathResultDetails());

                results.add(component);
            }
        }
    }

    return results;
}
项目:openMAXIMS    文件:Logic.java   
private ChartResultVoCollection getResultsFromDFTOrderInvestigation(boolean isTabularView) 
{
    if(form.getLocalContext().getDFTOrderInvestigation() == null || form.getLocalContext().getDFTOrderInvestigation().getResultDetails() == null || form.getLocalContext().getDFTOrderInvestigation().getResultDetails().getPathologyResultDetails() == null)
        return null;

    OrderInvestigationChartVo oi = domain.getOrderInvestigation(form.getLocalContext().getDFTOrderInvestigation());

    ChartResultVoCollection results = new ChartResultVoCollection();

    for(PathologyResultDetailsForCumulateResultsVo pathResult : form.getLocalContext().getDFTOrderInvestigation().getResultDetails().getPathologyResultDetails())
    {
        if(pathResult == null || pathResult.getResultComponents() == null)
            continue;

        for(ChartResultVo component : pathResult.getResultComponents())
        {
            if(component == null)
                continue;

            if(ResultValueType.NM.equals(component.getResValType()) || (isTabularView && (ResultValueType.SN.equals(component.getResValType()) || ResultValueType.ST.equals(component.getResValType()))))
            {
                component.setInvestigationData(oi);
                component.setSpecimenComments(pathResult.getOrderSpecimen());
                component.setPathologyResultId(pathResult.getID_PathResultDetails());

                results.add(component);
            }
        }
    }

    return results;
}
项目:openmaxims-linux    文件:Logic.java   
private ChartResultVoCollection getResultsFromDFTOrderInvestigation(boolean isTabularView) 
{
    if(form.getLocalContext().getDFTOrderInvestigation() == null || form.getLocalContext().getDFTOrderInvestigation().getResultDetails() == null || form.getLocalContext().getDFTOrderInvestigation().getResultDetails().getPathologyResultDetails() == null)
        return null;

    OrderInvestigationChartVo oi = domain.getOrderInvestigation(form.getLocalContext().getDFTOrderInvestigation());

    ChartResultVoCollection results = new ChartResultVoCollection();

    for(PathologyResultDetailsForCumulateResultsVo pathResult : form.getLocalContext().getDFTOrderInvestigation().getResultDetails().getPathologyResultDetails())
    {
        if(pathResult == null || pathResult.getResultComponents() == null)
            continue;

        for(ChartResultVo component : pathResult.getResultComponents())
        {
            if(component == null)
                continue;

            if(ResultValueType.NM.equals(component.getResValType()) || (isTabularView && (ResultValueType.SN.equals(component.getResValType()) || ResultValueType.ST.equals(component.getResValType()))))
            {
                component.setInvestigationData(oi);
                component.setSpecimenComments(pathResult.getOrderSpecimen());
                component.setPathologyResultId(pathResult.getID_PathResultDetails());

                results.add(component);
            }
        }
    }

    return results;
}