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

项目:AvoinApotti    文件:Logic.java   
private void setNameLabel(ClinicalResultVo 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    文件:PathologyDialogImpl.java   
public ClinicalResultVo getClinicalResult(OrderInvestigationRefVo resultId)
{
    if(resultId == null || resultId.getID_OrderInvestigation() == null)
        throw new DomainRuntimeException("Invalid OrderInvestigation id");

    return ClinicalResultVoAssembler.create((OrderInvestigation)getDomainFactory().getDomainObject(OrderInvestigation.class, resultId.getID_OrderInvestigation()));
}
项目:openMAXIMS    文件:Logic.java   
private void setNameLabel(ClinicalResultVo 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    文件:PatientResultsAndOrdersImpl.java   
public ClinicalResultVo getClinicalResult(OrderInvestigationRefVo resultId)
{
    if (resultId == null || resultId.getID_OrderInvestigation() == null)
        throw new DomainRuntimeException("Invalid OrderInvestigation id");

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

    return ClinicalResultVoAssembler.create((OrderInvestigation)getDomainFactory().getDomainObject(OrderInvestigation.class, resultId.getID_OrderInvestigation()));
}
项目:openMAXIMS    文件:Logic.java   
private void setNameLabel(ClinicalResultVo 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    文件:PathologyDialogImpl.java   
public ClinicalResultVo getClinicalResult(OrderInvestigationRefVo resultId)
{
    if(resultId == null || resultId.getID_OrderInvestigation() == null)
        throw new DomainRuntimeException("Invalid OrderInvestigation id");

    return ClinicalResultVoAssembler.create((OrderInvestigation)getDomainFactory().getDomainObject(OrderInvestigation.class, resultId.getID_OrderInvestigation()));
}
项目:openmaxims-linux    文件:Logic.java   
private void setNameLabel(ClinicalResultVo 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    文件:PathologyDialogImpl.java   
public ClinicalResultVo getClinicalResult(OrderInvestigationRefVo resultId)
{
    if(resultId == null || resultId.getID_OrderInvestigation() == null)
        throw new DomainRuntimeException("Invalid OrderInvestigation id");

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