Java 类ims.clinical.vo.ClinicalCodingVo 实例源码

项目:AvoinApotti    文件:Logic.java   
public IClinicalCodingValue getValue() 
{
    if (form.qmbCodingItem().getValue() != null && form.txtDescription().getValue() != null )
    {
        if (form.getLocalContext().getCodingLookupTypeIsNotNull() &&
                form.getLocalContext().getCodingLookupType().equals(CodingItemType.MEDICATION))
        {
            if (Boolean.FALSE.equals(form.getLocalContext().getEnableDescriptionField()))
            {                   
                if( form.getLocalContext().getNoValueFoundIsNotNull() && form.getLocalContext().getNoValueFound())
                {
                    return null;
                }
            }
        }
        ClinicalCodingVo vo = new ClinicalCodingVo();
        vo.setIClinicalCodingValue(form.qmbCodingItem().getValue());
        vo.setIClinicalCodingValueDescription(form.txtDescription().getValue() == null ? "" : form.txtDescription().getValue());
        return vo;
    }

    return null;
}
项目:openMAXIMS    文件:Logic.java   
public IClinicalCodingValue getValue() 
{
    if (form.qmbCodingItem().getValue() != null && form.txtDescription().getValue() != null )
    {
        if (form.getLocalContext().getCodingLookupTypeIsNotNull() &&
                form.getLocalContext().getCodingLookupType().equals(CodingItemType.MEDICATION))
        {
            if (Boolean.FALSE.equals(form.getLocalContext().getEnableDescriptionField()))
            {                   
                if( form.getLocalContext().getNoValueFoundIsNotNull() && form.getLocalContext().getNoValueFound())
                {
                    return null;
                }
            }
        }
        ClinicalCodingVo vo = new ClinicalCodingVo();
        vo.setIClinicalCodingValue(form.qmbCodingItem().getValue());
        vo.setIClinicalCodingValueDescription(form.txtDescription().getValue() == null ? "" : form.txtDescription().getValue());
        return vo;
    }

    return null;
}
项目:openMAXIMS    文件:Logic.java   
public IClinicalCodingValue getValue() 
{
    if (form.qmbCodingItem().getValue() != null && form.txtDescription().getValue() != null )
    {
        if (form.getLocalContext().getCodingLookupTypeIsNotNull() &&
                form.getLocalContext().getCodingLookupType().equals(CodingItemType.MEDICATION))
        {
            if (Boolean.FALSE.equals(form.getLocalContext().getEnableDescriptionField()))
            {                   
                if( form.getLocalContext().getNoValueFoundIsNotNull() && form.getLocalContext().getNoValueFound())
                {
                    return null;
                }
            }
        }
        ClinicalCodingVo vo = new ClinicalCodingVo();
        vo.setIClinicalCodingValue(form.qmbCodingItem().getValue());
        vo.setIClinicalCodingValueDescription(form.txtDescription().getValue() == null ? "" : form.txtDescription().getValue());
        return vo;
    }

    return null;
}
项目:openmaxims-linux    文件:Logic.java   
public IClinicalCodingValue getValue() 
{
    if (form.qmbCodingItem().getValue() != null && form.txtDescription().getValue() != null )
    {
        if (form.getLocalContext().getCodingLookupTypeIsNotNull() &&
                form.getLocalContext().getCodingLookupType().equals(CodingItemType.MEDICATION))
        {
            if (Boolean.FALSE.equals(form.getLocalContext().getEnableDescriptionField()))
            {                   
                if( form.getLocalContext().getNoValueFoundIsNotNull() && form.getLocalContext().getNoValueFound())
                {
                    return null;
                }
            }
        }
        ClinicalCodingVo vo = new ClinicalCodingVo();
        vo.setIClinicalCodingValue(form.qmbCodingItem().getValue());
        vo.setIClinicalCodingValueDescription(form.txtDescription().getValue() == null ? "" : form.txtDescription().getValue());
        return vo;
    }

    return null;
}