Java 类ims.core.vo.VitalSignsLiteVo 实例源码

项目:AvoinApotti    文件:Logic.java   
private void populateRecordBrowser(VitalSignsLiteVoCollection voColl)
{
    if(voColl == null)
        return;

    form.recbrHistory().clear();

    for (int i = 0; i < voColl.size(); i++)
    {
        VitalSignsLiteVo vo = voColl.get(i);            
        form.recbrHistory().newRow(voColl.get(i), getAuthoring(vo));
    }

    if (form.getLocalContext().getEditedRecordIsNotNull())
        form.recbrHistory().setValue(form.getLocalContext().getEditedRecord());
    else
        form.recbrHistory().setValue(voColl.get(0));
}
项目:AvoinApotti    文件:Logic.java   
private String getAuthoring(VitalSignsLiteVo vo)
{
    StringBuffer sb = new StringBuffer();
    if(vo != null)
    {
        if(vo.getAuthoringInformationIsNotNull())
        {
            if (vo.getAuthoringInformation().getAuthoringHcpIsNotNull())
            {
                sb.append(vo.getAuthoringInformation().getAuthoringHcp().toString());
            }
            if (vo.getAuthoringInformation().getAuthoringDateTimeIsNotNull())
            {
                sb.append(" " + vo.getAuthoringInformation().getAuthoringDateTime().toString());
            }
        }           
    }

    return sb.toString();
}
项目:openMAXIMS    文件:Logic.java   
private void populateRecordBrowser(VitalSignsLiteVoCollection voColl)
{
    if(voColl == null)
        return;

    form.recbrHistory().clear();

    for (int i = 0; i < voColl.size(); i++)
    {
        VitalSignsLiteVo vo = voColl.get(i);            
        form.recbrHistory().newRow(voColl.get(i), getAuthoring(vo));
    }

    if (form.getLocalContext().getEditedRecordIsNotNull())
        form.recbrHistory().setValue(form.getLocalContext().getEditedRecord());
    else
        form.recbrHistory().setValue(voColl.get(0));
}
项目:openMAXIMS    文件:Logic.java   
private String getAuthoring(VitalSignsLiteVo vo)
{
    StringBuffer sb = new StringBuffer();
    if(vo != null)
    {
        if(vo.getAuthoringInformationIsNotNull())
        {
            if (vo.getAuthoringInformation().getAuthoringHcpIsNotNull())
            {
                sb.append(vo.getAuthoringInformation().getAuthoringHcp().toString());
            }
            if (vo.getAuthoringInformation().getAuthoringDateTimeIsNotNull())
            {
                sb.append(" " + vo.getAuthoringInformation().getAuthoringDateTime().toString());
            }
        }           
    }

    return sb.toString();
}
项目:openMAXIMS    文件:Logic.java   
private void populateRecordBrowser(VitalSignsLiteVoCollection voColl)
{
    if(voColl == null)
        return;

    form.recbrHistory().clear();

    for (int i = 0; i < voColl.size(); i++)
    {
        VitalSignsLiteVo vo = voColl.get(i);            
        form.recbrHistory().newRow(voColl.get(i), getAuthoring(vo));
    }

    if (form.getLocalContext().getEditedRecordIsNotNull())
        form.recbrHistory().setValue(form.getLocalContext().getEditedRecord());
    else
        form.recbrHistory().setValue(voColl.get(0));
}
项目:openMAXIMS    文件:Logic.java   
private String getAuthoring(VitalSignsLiteVo vo)
{
    StringBuffer sb = new StringBuffer();
    if(vo != null)
    {
        if(vo.getAuthoringInformationIsNotNull())
        {
            if (vo.getAuthoringInformation().getAuthoringHcpIsNotNull())
            {
                sb.append(vo.getAuthoringInformation().getAuthoringHcp().toString());
            }
            if (vo.getAuthoringInformation().getAuthoringDateTimeIsNotNull())
            {
                sb.append(" " + vo.getAuthoringInformation().getAuthoringDateTime().toString());
            }
        }           
    }

    return sb.toString();
}
项目:openmaxims-linux    文件:Logic.java   
private void populateRecordBrowser(VitalSignsLiteVoCollection voColl)
{
    if(voColl == null)
        return;

    form.recbrHistory().clear();

    for (int i = 0; i < voColl.size(); i++)
    {
        VitalSignsLiteVo vo = voColl.get(i);            
        form.recbrHistory().newRow(voColl.get(i), getAuthoring(vo));
    }

    if (form.getLocalContext().getEditedRecordIsNotNull())
        form.recbrHistory().setValue(form.getLocalContext().getEditedRecord());
    else
        form.recbrHistory().setValue(voColl.get(0));
}
项目:openmaxims-linux    文件:Logic.java   
private String getAuthoring(VitalSignsLiteVo vo)
{
    StringBuffer sb = new StringBuffer();
    if(vo != null)
    {
        if(vo.getAuthoringInformationIsNotNull())
        {
            if (vo.getAuthoringInformation().getAuthoringHcpIsNotNull())
            {
                sb.append(vo.getAuthoringInformation().getAuthoringHcp().toString());
            }
            if (vo.getAuthoringInformation().getAuthoringDateTimeIsNotNull())
            {
                sb.append(" " + vo.getAuthoringInformation().getAuthoringDateTime().toString());
            }
        }           
    }

    return sb.toString();
}