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

项目:AvoinApotti    文件:Logic.java   
private void setNameLabel(ClinicalImagingResultVo invest)
{

    if(invest != null && invest.getInvestigationIsNotNull() && invest.getInvestigation().getProviderServiceIsNotNull() && invest.getInvestigation().getProviderService().getLocationServiceIsNotNull() && invest.getInvestigation().getProviderService().getLocationService().getLocation() != null) //wdev-14023
    {
        form.lblName().setValue(invest.getInvestigation().getProviderService().getLocationService().getLocation().getName());
        if (invest.getInvestigation().getProviderService().getLocationService().getService() != null)
        {
            form.lblName().setValue(form.lblName().getValue() + " (" + invest.getInvestigation().getProviderService().getLocationService().getService().getServiceName() + ")");
        }
    }


    if(invest != null && invest.getInvestigationIsNotNull() && invest.getInvestigation().getProviderServiceIsNotNull() && invest.getInvestigation().getProviderService().getLocationServiceIsNotNull() && invest.getInvestigation().getProviderService().getLocationService().getContact() != null)  //wdev-14023
    {
        StringBuffer val = new StringBuffer();

        if(invest.getInvestigation().getProviderService().getLocationService().getContact().getName() != null)
        {
            if(invest.getInvestigation().getProviderService().getLocationService().getContact().getName().getForenameIsNotNull())
            {
                val.append(invest.getInvestigation().getProviderService().getLocationService().getContact().getName().getForename());
            }
            if(invest.getInvestigation().getProviderService().getLocationService().getContact().getName().getSurnameIsNotNull())
            {
                val.append(" ").append(invest.getInvestigation().getProviderService().getLocationService().getContact().getName().getSurname());
            }

        }
        if(invest.getInvestigation().getProviderService().getLocationService().getContact().getContactNumberIsNotNull())
        {
            val.append(" (").append(invest.getInvestigation().getProviderService().getLocationService().getContact().getContactNumber()).append(")");
        }

        form.lblName().setValue(form.lblName().getValue() + " - " + val);

    }
}
项目:AvoinApotti    文件:Logic.java   
private void displayCumulateResults()
{
    OcsPathRadResultVo currRep = form.getGlobalContext().OCRR.getCurrentPathRadResult();

    if(currRep == null)     
        return;

    if(currRep.getCategoryIsNotNull())
    {
        if (currRep.getCategory().equals(Category.PATHOLOGY))
        {
            PathologySpecimenVo specimen = domain.getSpecimen(form.getGlobalContext().OCRR.getCurrentPathRadResult().getOrderInvestigation());

            if(specimen != null && specimen.getOrderIsNotNull())//WDEV-16463
            {
                form.getGlobalContext().Core.setSecondPatientShort(specimen.getOrder().getPatient());
            }
        }
        else if (currRep.getCategory().equals(Category.CLINICALIMAGING))
        {
            ClinicalImagingResultVo radRes = domain.getClinicalImagingResult(form.getGlobalContext().OCRR.getCurrentPathRadResult().getOrderInvestigation());

            if(radRes != null && radRes.getOrderDetailsIsNotNull())//WDEV-16463
            {
                form.getGlobalContext().Core.setSecondPatientShort(radRes.getOrderDetails().getPatient());
            }
        }
    }   

    form.getGlobalContext().OCRR.setCumulateAnalytes(form.getLocalContext().getAnalytes());
    if(form.getGlobalContext().OCRR.getCurrentPathRadResult() != null)
    {
        form.getGlobalContext().OCRR.setOrderInvestigationReference(form.getGlobalContext().OCRR.getCurrentPathRadResult().getOrderInvestigation());
    }

    engine.open(form.getForms().OCRR.CumulateResults);
}
项目:AvoinApotti    文件:PathologyDialogImpl.java   
public ClinicalImagingResultVo getClinicalImagingResult(OrderInvestigationRefVo resultId)
{
    if(resultId == null || resultId.getID_OrderInvestigation() == null)
        throw new DomainRuntimeException("Invalid OrderInvestigation id");

    return ClinicalImagingResultVoAssembler.create((OrderInvestigation)getDomainFactory().getDomainObject(OrderInvestigation.class, resultId.getID_OrderInvestigation()));      
}
项目:openMAXIMS    文件:Logic.java   
private void setNameLabel(ClinicalImagingResultVo invest)
{

    if(invest != null && invest.getInvestigationIsNotNull() && invest.getInvestigation().getProviderServiceIsNotNull() && invest.getInvestigation().getProviderService().getLocationServiceIsNotNull() && invest.getInvestigation().getProviderService().getLocationService().getLocation() != null) //wdev-14023
    {
        form.lblName().setValue(invest.getInvestigation().getProviderService().getLocationService().getLocation().getName());
        if (invest.getInvestigation().getProviderService().getLocationService().getService() != null)
        {
            form.lblName().setValue(form.lblName().getValue() + " (" + invest.getInvestigation().getProviderService().getLocationService().getService().getServiceName() + ")");
        }
    }


    if(invest != null && invest.getInvestigationIsNotNull() && invest.getInvestigation().getProviderServiceIsNotNull() && invest.getInvestigation().getProviderService().getLocationServiceIsNotNull() && invest.getInvestigation().getProviderService().getLocationService().getContact() != null)  //wdev-14023
    {
        StringBuffer val = new StringBuffer();

        if(invest.getInvestigation().getProviderService().getLocationService().getContact().getName() != null)
        {
            if(invest.getInvestigation().getProviderService().getLocationService().getContact().getName().getForenameIsNotNull())
            {
                val.append(invest.getInvestigation().getProviderService().getLocationService().getContact().getName().getForename());
            }
            if(invest.getInvestigation().getProviderService().getLocationService().getContact().getName().getSurnameIsNotNull())
            {
                val.append(" ").append(invest.getInvestigation().getProviderService().getLocationService().getContact().getName().getSurname());
            }

        }
        if(invest.getInvestigation().getProviderService().getLocationService().getContact().getContactNumberIsNotNull())
        {
            val.append(" (").append(invest.getInvestigation().getProviderService().getLocationService().getContact().getContactNumber()).append(")");
        }

        form.lblName().setValue(form.lblName().getValue() + " - " + val);

    }
}
项目:openMAXIMS    文件:Logic.java   
private void displayCumulateResults()
{
    OcsPathRadResultVo currRep = form.getGlobalContext().OCRR.getCurrentPathRadResult();

    if(currRep == null)     
        return;

    if(currRep.getCategoryIsNotNull())
    {
        if (currRep.getCategory().equals(Category.PATHOLOGY))
        {
            PathologySpecimenVo specimen = domain.getSpecimen(form.getGlobalContext().OCRR.getCurrentPathRadResult().getOrderInvestigation());

            if(specimen != null && specimen.getOrderIsNotNull())//WDEV-16463
            {
                form.getGlobalContext().Core.setSecondPatientShort(specimen.getOrder().getPatient());
            }
        }
        else if (currRep.getCategory().equals(Category.CLINICALIMAGING))
        {
            ClinicalImagingResultVo radRes = domain.getClinicalImagingResult(form.getGlobalContext().OCRR.getCurrentPathRadResult().getOrderInvestigation());

            if(radRes != null && radRes.getOrderDetailsIsNotNull())//WDEV-16463
            {
                form.getGlobalContext().Core.setSecondPatientShort(radRes.getOrderDetails().getPatient());
            }
        }
    }   

    form.getGlobalContext().OCRR.setCumulateAnalytes(form.getLocalContext().getAnalytes());
    if(form.getGlobalContext().OCRR.getCurrentPathRadResult() != null)
    {
        form.getGlobalContext().OCRR.setOrderInvestigationReference(form.getGlobalContext().OCRR.getCurrentPathRadResult().getOrderInvestigation());
    }

    engine.open(form.getForms().OCRR.CumulateResults);
}
项目:openMAXIMS    文件:PatientResultsAndOrdersImpl.java   
public ClinicalImagingResultVo getClinicalImagingResult(OrderInvestigationRefVo resultId)
{
    if (resultId == null || resultId.getID_OrderInvestigation() == null)
        throw new DomainRuntimeException("Invalid OrderInvestigation id");

    return ClinicalImagingResultVoAssembler.create((OrderInvestigation) getDomainFactory().getDomainObject(OrderInvestigation.class, resultId.getID_OrderInvestigation()));
}
项目:openMAXIMS    文件:PathologyDialogImpl.java   
public ClinicalImagingResultVo getClinicalImagingResult(OrderInvestigationRefVo resultId)
{
    if(resultId == null || resultId.getID_OrderInvestigation() == null)
        throw new DomainRuntimeException("Invalid OrderInvestigation id");

    return ClinicalImagingResultVoAssembler.create((OrderInvestigation)getDomainFactory().getDomainObject(OrderInvestigation.class, resultId.getID_OrderInvestigation()));      
}
项目:openMAXIMS    文件:Logic.java   
private void setNameLabel(ClinicalImagingResultVo invest)
{

    if(invest != null && invest.getInvestigationIsNotNull() && invest.getInvestigation().getProviderServiceIsNotNull() && invest.getInvestigation().getProviderService().getLocationServiceIsNotNull() && invest.getInvestigation().getProviderService().getLocationService().getLocation() != null) //wdev-14023
    {
        form.lblName().setValue(invest.getInvestigation().getProviderService().getLocationService().getLocation().getName());
        if (invest.getInvestigation().getProviderService().getLocationService().getService() != null)
        {
            form.lblName().setValue(form.lblName().getValue() + " (" + invest.getInvestigation().getProviderService().getLocationService().getService().getServiceName() + ")");
        }
    }


    if(invest != null && invest.getInvestigationIsNotNull() && invest.getInvestigation().getProviderServiceIsNotNull() && invest.getInvestigation().getProviderService().getLocationServiceIsNotNull() && invest.getInvestigation().getProviderService().getLocationService().getContact() != null)  //wdev-14023
    {
        StringBuffer val = new StringBuffer();

        if(invest.getInvestigation().getProviderService().getLocationService().getContact().getName() != null)
        {
            if(invest.getInvestigation().getProviderService().getLocationService().getContact().getName().getForenameIsNotNull())
            {
                val.append(invest.getInvestigation().getProviderService().getLocationService().getContact().getName().getForename());
            }
            if(invest.getInvestigation().getProviderService().getLocationService().getContact().getName().getSurnameIsNotNull())
            {
                val.append(" ").append(invest.getInvestigation().getProviderService().getLocationService().getContact().getName().getSurname());
            }

        }
        if(invest.getInvestigation().getProviderService().getLocationService().getContact().getContactNumberIsNotNull())
        {
            val.append(" (").append(invest.getInvestigation().getProviderService().getLocationService().getContact().getContactNumber()).append(")");
        }

        form.lblName().setValue(form.lblName().getValue() + " - " + val);

    }
}
项目:openMAXIMS    文件:Logic.java   
private void displayCumulateResults()
{
    OcsPathRadResultVo currRep = form.getGlobalContext().OCRR.getCurrentPathRadResult();

    if(currRep == null)     
        return;

    if(currRep.getCategoryIsNotNull())
    {
        if (currRep.getCategory().equals(Category.PATHOLOGY))
        {
            PathologySpecimenVo specimen = domain.getSpecimen(form.getGlobalContext().OCRR.getCurrentPathRadResult().getOrderInvestigation());

            if(specimen != null && specimen.getOrderIsNotNull())//WDEV-16463
            {
                form.getGlobalContext().Core.setSecondPatientShort(specimen.getOrder().getPatient());
            }
        }
        else if (currRep.getCategory().equals(Category.CLINICALIMAGING))
        {
            ClinicalImagingResultVo radRes = domain.getClinicalImagingResult(form.getGlobalContext().OCRR.getCurrentPathRadResult().getOrderInvestigation());

            if(radRes != null && radRes.getOrderDetailsIsNotNull())//WDEV-16463
            {
                form.getGlobalContext().Core.setSecondPatientShort(radRes.getOrderDetails().getPatient());
            }
        }
    }   

    form.getGlobalContext().OCRR.setCumulateAnalytes(form.getLocalContext().getAnalytes());
    if(form.getGlobalContext().OCRR.getCurrentPathRadResult() != null)
    {
        form.getGlobalContext().OCRR.setOrderInvestigationReference(form.getGlobalContext().OCRR.getCurrentPathRadResult().getOrderInvestigation());
    }

    engine.open(form.getForms().OCRR.CumulateResults);
}
项目:openMAXIMS    文件:PathologyDialogImpl.java   
public ClinicalImagingResultVo getClinicalImagingResult(OrderInvestigationRefVo resultId)
{
    if(resultId == null || resultId.getID_OrderInvestigation() == null)
        throw new DomainRuntimeException("Invalid OrderInvestigation id");

    return ClinicalImagingResultVoAssembler.create((OrderInvestigation)getDomainFactory().getDomainObject(OrderInvestigation.class, resultId.getID_OrderInvestigation()));      
}
项目:openmaxims-linux    文件:Logic.java   
private void setNameLabel(ClinicalImagingResultVo invest)
{

    if(invest != null && invest.getInvestigationIsNotNull() && invest.getInvestigation().getProviderServiceIsNotNull() && invest.getInvestigation().getProviderService().getLocationServiceIsNotNull() && invest.getInvestigation().getProviderService().getLocationService().getLocation() != null) //wdev-14023
    {
        form.lblName().setValue(invest.getInvestigation().getProviderService().getLocationService().getLocation().getName());
        if (invest.getInvestigation().getProviderService().getLocationService().getService() != null)
        {
            form.lblName().setValue(form.lblName().getValue() + " (" + invest.getInvestigation().getProviderService().getLocationService().getService().getServiceName() + ")");
        }
    }


    if(invest != null && invest.getInvestigationIsNotNull() && invest.getInvestigation().getProviderServiceIsNotNull() && invest.getInvestigation().getProviderService().getLocationServiceIsNotNull() && invest.getInvestigation().getProviderService().getLocationService().getContact() != null)  //wdev-14023
    {
        StringBuffer val = new StringBuffer();

        if(invest.getInvestigation().getProviderService().getLocationService().getContact().getName() != null)
        {
            if(invest.getInvestigation().getProviderService().getLocationService().getContact().getName().getForenameIsNotNull())
            {
                val.append(invest.getInvestigation().getProviderService().getLocationService().getContact().getName().getForename());
            }
            if(invest.getInvestigation().getProviderService().getLocationService().getContact().getName().getSurnameIsNotNull())
            {
                val.append(" ").append(invest.getInvestigation().getProviderService().getLocationService().getContact().getName().getSurname());
            }

        }
        if(invest.getInvestigation().getProviderService().getLocationService().getContact().getContactNumberIsNotNull())
        {
            val.append(" (").append(invest.getInvestigation().getProviderService().getLocationService().getContact().getContactNumber()).append(")");
        }

        form.lblName().setValue(form.lblName().getValue() + " - " + val);

    }
}
项目:openmaxims-linux    文件:Logic.java   
private void displayCumulateResults()
{
    OcsPathRadResultVo currRep = form.getGlobalContext().OCRR.getCurrentPathRadResult();

    if(currRep == null)     
        return;

    if(currRep.getCategoryIsNotNull())
    {
        if (currRep.getCategory().equals(Category.PATHOLOGY))
        {
            PathologySpecimenVo specimen = domain.getSpecimen(form.getGlobalContext().OCRR.getCurrentPathRadResult().getOrderInvestigation());

            if(specimen != null && specimen.getOrderIsNotNull())//WDEV-16463
            {
                form.getGlobalContext().Core.setSecondPatientShort(specimen.getOrder().getPatient());
            }
        }
        else if (currRep.getCategory().equals(Category.CLINICALIMAGING))
        {
            ClinicalImagingResultVo radRes = domain.getClinicalImagingResult(form.getGlobalContext().OCRR.getCurrentPathRadResult().getOrderInvestigation());

            if(radRes != null && radRes.getOrderDetailsIsNotNull())//WDEV-16463
            {
                form.getGlobalContext().Core.setSecondPatientShort(radRes.getOrderDetails().getPatient());
            }
        }
    }   

    form.getGlobalContext().OCRR.setCumulateAnalytes(form.getLocalContext().getAnalytes());
    if(form.getGlobalContext().OCRR.getCurrentPathRadResult() != null)
    {
        form.getGlobalContext().OCRR.setOrderInvestigationReference(form.getGlobalContext().OCRR.getCurrentPathRadResult().getOrderInvestigation());
    }

    engine.open(form.getForms().OCRR.CumulateResults);
}
项目:openmaxims-linux    文件:PathologyDialogImpl.java   
public ClinicalImagingResultVo getClinicalImagingResult(OrderInvestigationRefVo resultId)
{
    if(resultId == null || resultId.getID_OrderInvestigation() == null)
        throw new DomainRuntimeException("Invalid OrderInvestigation id");

    return ClinicalImagingResultVoAssembler.create((OrderInvestigation)getDomainFactory().getDomainObject(OrderInvestigation.class, resultId.getID_OrderInvestigation()));      
}