Java 类ims.admin.vo.DemographicFeedVoCollection 实例源码

项目:AvoinApotti    文件:Logic.java   
private void populate(DemographicFeedVoCollection entries)
{
    form.lyrHL7().tabDemographicFeed().grdList().getRows().clear();
    form.lyrHL7().tabDemographicFeed().grdList().resetScrollPosition();
    form.lyrHL7().tabDemographicFeed().txtMessage().setValue(null);
    form.lyrHL7().tabDemographicFeed().txtResponse().setValue(null);

    if (entries==null)
        return;

    //WDEV-14647
    if (entries.size()==0)
    {
        engine.showMessage("There are no Records for the Search Criteria Provided");
        return;
    }

    for (DemographicFeedVo demographicFeedVo : entries)
    {
        grdListRow row = form.lyrHL7().tabDemographicFeed().grdList().getRows().newRow();
        row.setValue(demographicFeedVo);
        if(demographicFeedVo.getPatientIsNotNull() && demographicFeedVo.getPatient().getNameIsNotNull())
            row.setPatient(demographicFeedVo.getPatient().getName().toString());
        if(demographicFeedVo.getSystemInformationIsNotNull()&&demographicFeedVo.getSystemInformation().getCreationDateTime()!=null)
            row.setCreated(demographicFeedVo.getSystemInformation().getCreationDateTime().toString());
        if(demographicFeedVo.getSystemInformationIsNotNull()&& demographicFeedVo.getSystemInformation().getLastupdateDateTime()!=null)
            row.setUpdated(demographicFeedVo.getSystemInformation().getLastupdateDateTime().toString());
        if(demographicFeedVo.getMsgTextIsNotNull())
            row.setmsgType(demographicFeedVo.getMsgType().getText());
        if (demographicFeedVo.getProviderSystemIsNotNull())
            row.setProviderSystem(demographicFeedVo.getProviderSystem().getSystemName());
        if(demographicFeedVo.getMessageStatusIsNotNull())
            row.setstatus(demographicFeedVo.getMessageStatus().getText());

    }

}
项目:openMAXIMS    文件:Logic.java   
private void populate(DemographicFeedVoCollection entries)
{
    form.lyrHL7().tabDemographicFeed().grdList().getRows().clear();
    form.lyrHL7().tabDemographicFeed().grdList().resetScrollPosition();
    form.lyrHL7().tabDemographicFeed().txtMessage().setValue(null);
    form.lyrHL7().tabDemographicFeed().txtResponse().setValue(null);

    if (entries==null)
        return;

    //WDEV-14647
    if (entries.size()==0)
    {
        engine.showMessage("There are no Records for the Search Criteria Provided");
        return;
    }

    for (DemographicFeedVo demographicFeedVo : entries)
    {
        grdListRow row = form.lyrHL7().tabDemographicFeed().grdList().getRows().newRow();
        row.setValue(demographicFeedVo);
        if(demographicFeedVo.getPatientIsNotNull() && demographicFeedVo.getPatient().getNameIsNotNull())
            row.setPatient(demographicFeedVo.getPatient().getName().toString());
        if(demographicFeedVo.getSystemInformationIsNotNull()&&demographicFeedVo.getSystemInformation().getCreationDateTime()!=null)
            row.setCreated(demographicFeedVo.getSystemInformation().getCreationDateTime().toString());
        if(demographicFeedVo.getSystemInformationIsNotNull()&& demographicFeedVo.getSystemInformation().getLastupdateDateTime()!=null)
            row.setUpdated(demographicFeedVo.getSystemInformation().getLastupdateDateTime().toString());
        if(demographicFeedVo.getMsgTextIsNotNull())
            row.setmsgType(demographicFeedVo.getMsgType().getText());
        if (demographicFeedVo.getProviderSystemIsNotNull())
            row.setProviderSystem(demographicFeedVo.getProviderSystem().getSystemName());
        if(demographicFeedVo.getMessageStatusIsNotNull())
            row.setstatus(demographicFeedVo.getMessageStatus().getText());

    }

}
项目:openMAXIMS    文件:Logic.java   
private void populate(DemographicFeedVoCollection entries)
{
    form.lyrHL7().tabDemographicFeed().grdList().getRows().clear();
    form.lyrHL7().tabDemographicFeed().grdList().resetScrollPosition();
    form.lyrHL7().tabDemographicFeed().txtMessage().setValue(null);
    form.lyrHL7().tabDemographicFeed().txtResponse().setValue(null);

    if (entries==null)
        return;

    //WDEV-14647
    if (entries.size()==0)
    {
        engine.showMessage("There are no Records for the Search Criteria Provided");
        return;
    }

    for (DemographicFeedVo demographicFeedVo : entries)
    {
        grdListRow row = form.lyrHL7().tabDemographicFeed().grdList().getRows().newRow();
        row.setValue(demographicFeedVo);
        if(demographicFeedVo.getPatientIsNotNull() && demographicFeedVo.getPatient().getNameIsNotNull())
            row.setPatient(demographicFeedVo.getPatient().getName().toString());
        if(demographicFeedVo.getSystemInformationIsNotNull()&&demographicFeedVo.getSystemInformation().getCreationDateTime()!=null)
            row.setCreated(demographicFeedVo.getSystemInformation().getCreationDateTime().toString());
        if(demographicFeedVo.getSystemInformationIsNotNull()&& demographicFeedVo.getSystemInformation().getLastupdateDateTime()!=null)
            row.setUpdated(demographicFeedVo.getSystemInformation().getLastupdateDateTime().toString());
        if(demographicFeedVo.getMsgTextIsNotNull())
            row.setmsgType(demographicFeedVo.getMsgType().getText());
        if (demographicFeedVo.getProviderSystemIsNotNull())
            row.setProviderSystem(demographicFeedVo.getProviderSystem().getSystemName());
        if(demographicFeedVo.getMessageStatusIsNotNull())
            row.setstatus(demographicFeedVo.getMessageStatus().getText());

    }

}
项目:openmaxims-linux    文件:Logic.java   
private void populate(DemographicFeedVoCollection entries)
{
    form.lyrHL7().tabDemographicFeed().grdList().getRows().clear();
    form.lyrHL7().tabDemographicFeed().grdList().resetScrollPosition();
    form.lyrHL7().tabDemographicFeed().txtMessage().setValue(null);
    form.lyrHL7().tabDemographicFeed().txtResponse().setValue(null);

    if (entries==null)
        return;

    //WDEV-14647
    if (entries.size()==0)
    {
        engine.showMessage("There are no Records for the Search Criteria Provided");
        return;
    }

    for (DemographicFeedVo demographicFeedVo : entries)
    {
        grdListRow row = form.lyrHL7().tabDemographicFeed().grdList().getRows().newRow();
        row.setValue(demographicFeedVo);
        if(demographicFeedVo.getPatientIsNotNull() && demographicFeedVo.getPatient().getNameIsNotNull())
            row.setPatient(demographicFeedVo.getPatient().getName().toString());
        if(demographicFeedVo.getSystemInformationIsNotNull()&&demographicFeedVo.getSystemInformation().getCreationDateTime()!=null)
            row.setCreated(demographicFeedVo.getSystemInformation().getCreationDateTime().toString());
        if(demographicFeedVo.getSystemInformationIsNotNull()&& demographicFeedVo.getSystemInformation().getLastupdateDateTime()!=null)
            row.setUpdated(demographicFeedVo.getSystemInformation().getLastupdateDateTime().toString());
        if(demographicFeedVo.getMsgTextIsNotNull())
            row.setmsgType(demographicFeedVo.getMsgType().getText());
        if (demographicFeedVo.getProviderSystemIsNotNull())
            row.setProviderSystem(demographicFeedVo.getProviderSystem().getSystemName());
        if(demographicFeedVo.getMessageStatusIsNotNull())
            row.setstatus(demographicFeedVo.getMessageStatus().getText());

    }

}