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

项目:AvoinApotti    文件:VoMapper.java   
private boolean isAlertInMessage(PatientAlertLiteVo existingAlert,PatientAlertLiteVoCollection alertsFromMsg)
    {
        for (PatientAlertLiteVo msgAlertLiteVo : alertsFromMsg)
        {
            if ((msgAlertLiteVo. getAlertType() == null ? existingAlert.getAlertType() == null : msgAlertLiteVo. getAlertType().equals(  existingAlert.getAlertType()))
                &&(msgAlertLiteVo.getIsCurrentlyActiveAlert()==null ? existingAlert.getIsCurrentlyActiveAlert()==null : msgAlertLiteVo.getIsCurrentlyActiveAlert().equals(existingAlert.getIsCurrentlyActiveAlert()))
                &&(msgAlertLiteVo.getSourceofInformation()==null ? existingAlert.getSourceofInformation()==null : msgAlertLiteVo.getSourceofInformation().equals(existingAlert.getSourceofInformation()))
//WDEV-17156                &&(msgAlertLiteVo.getComments()==null ? existingAlert.getComments()==null : msgAlertLiteVo.getComments().equals(existingAlert.getComments()))
//WDEV-17156                &&(msgAlertLiteVo.getDateIdentified()==null ? existingAlert.getDateIdentified()==null : msgAlertLiteVo.getDateIdentified().equals(existingAlert.getDateIdentified()))
                    )
                {
                    //  Same alert
                    return true;

                }
        }
        return false;
    }
项目:openMAXIMS    文件:Logic.java   
private void populateAlerts(PatientAlertLiteVoCollection patientAlerts)
{
    if (patientAlerts == null)
        return;
    for (int i = 0 ; i < patientAlerts.size() ; i++)
    {
        PatientAlertLiteVo x = patientAlerts.get(i);
        grdAlertsRow newRow = form.grdAlerts().getRows().newRow();
        newRow.setColumnAlert(x.getAlertType().getIItemText());
        newRow.setTooltip(x.getAlertType().getIItemText());
    }

}
项目:openMAXIMS    文件:VoMapper.java   
private boolean isAlertInMessage(PatientAlertLiteVo existingAlert,PatientAlertLiteVoCollection alertsFromMsg)
    {
        for (PatientAlertLiteVo msgAlertLiteVo : alertsFromMsg)
        {
            if ((msgAlertLiteVo. getAlertType() == null ? existingAlert.getAlertType() == null : msgAlertLiteVo. getAlertType().equals(  existingAlert.getAlertType()))
                &&(msgAlertLiteVo.getIsCurrentlyActiveAlert()==null ? existingAlert.getIsCurrentlyActiveAlert()==null : msgAlertLiteVo.getIsCurrentlyActiveAlert().equals(existingAlert.getIsCurrentlyActiveAlert()))
                &&(msgAlertLiteVo.getSourceofInformation()==null ? existingAlert.getSourceofInformation()==null : msgAlertLiteVo.getSourceofInformation().equals(existingAlert.getSourceofInformation()))
//WDEV-17156                &&(msgAlertLiteVo.getComments()==null ? existingAlert.getComments()==null : msgAlertLiteVo.getComments().equals(existingAlert.getComments()))
//WDEV-17156                &&(msgAlertLiteVo.getDateIdentified()==null ? existingAlert.getDateIdentified()==null : msgAlertLiteVo.getDateIdentified().equals(existingAlert.getDateIdentified()))
                    )
                {
                    //  Same alert
                    return true;

                }
        }
        return false;
    }
项目:openMAXIMS    文件:Logic.java   
private void populateAnaestheticHazardsGrid(PatientAlertLiteVoCollection tempColl)
{
    form.grdAnaestheticHazard().getRows().clear();
    if( tempColl == null || tempColl.size() == 0)
        return;

    for(int i = 0 ; i < tempColl.size();i++)
    {
        PatientAlertLiteVo rowVo = tempColl.get(i);
        grdAnaestheticHazardRow row = form.grdAnaestheticHazard().getRows().newRow();
        if( rowVo != null && rowVo.getAlertTypeIsNotNull())
            row.setColumnAnaestheticHazards(rowVo.getAlertType().getText());
        row.setValue(rowVo);
    }

}
项目:openMAXIMS    文件:VoMapper.java   
private boolean isAlertInMessage(PatientAlertLiteVo existingAlert,PatientAlertLiteVoCollection alertsFromMsg)
    {
        for (PatientAlertLiteVo msgAlertLiteVo : alertsFromMsg)
        {
            if ((msgAlertLiteVo. getAlertType() == null ? existingAlert.getAlertType() == null : msgAlertLiteVo. getAlertType().equals(  existingAlert.getAlertType()))
                &&(msgAlertLiteVo.getIsCurrentlyActiveAlert()==null ? existingAlert.getIsCurrentlyActiveAlert()==null : msgAlertLiteVo.getIsCurrentlyActiveAlert().equals(existingAlert.getIsCurrentlyActiveAlert()))
                &&(msgAlertLiteVo.getSourceofInformation()==null ? existingAlert.getSourceofInformation()==null : msgAlertLiteVo.getSourceofInformation().equals(existingAlert.getSourceofInformation()))
//WDEV-17156                &&(msgAlertLiteVo.getComments()==null ? existingAlert.getComments()==null : msgAlertLiteVo.getComments().equals(existingAlert.getComments()))
//WDEV-17156                &&(msgAlertLiteVo.getDateIdentified()==null ? existingAlert.getDateIdentified()==null : msgAlertLiteVo.getDateIdentified().equals(existingAlert.getDateIdentified()))
                    )
                {
                    //  Same alert
                    return true;

                }
        }
        return false;
    }
项目:openmaxims-linux    文件:VoMapper.java   
private boolean isAlertInMessage(PatientAlertLiteVo existingAlert,PatientAlertLiteVoCollection alertsFromMsg)
    {
        for (PatientAlertLiteVo msgAlertLiteVo : alertsFromMsg)
        {
            if ((msgAlertLiteVo. getAlertType() == null ? existingAlert.getAlertType() == null : msgAlertLiteVo. getAlertType().equals(  existingAlert.getAlertType()))
                &&(msgAlertLiteVo.getIsCurrentlyActiveAlert()==null ? existingAlert.getIsCurrentlyActiveAlert()==null : msgAlertLiteVo.getIsCurrentlyActiveAlert().equals(existingAlert.getIsCurrentlyActiveAlert()))
                &&(msgAlertLiteVo.getSourceofInformation()==null ? existingAlert.getSourceofInformation()==null : msgAlertLiteVo.getSourceofInformation().equals(existingAlert.getSourceofInformation()))
//WDEV-17156                &&(msgAlertLiteVo.getComments()==null ? existingAlert.getComments()==null : msgAlertLiteVo.getComments().equals(existingAlert.getComments()))
//WDEV-17156                &&(msgAlertLiteVo.getDateIdentified()==null ? existingAlert.getDateIdentified()==null : msgAlertLiteVo.getDateIdentified().equals(existingAlert.getDateIdentified()))
                    )
                {
                    //  Same alert
                    return true;

                }
        }
        return false;
    }
项目:AvoinApotti    文件:Logic.java   
private void populateAlerts(PatientAlertLiteVoCollection patientAlerts)
{
    if (patientAlerts == null)
        return;
    for (int i = 0 ; i < patientAlerts.size() ; i++)
    {
        PatientAlertLiteVo x = patientAlerts.get(i);
        grdAlertsRow newRow = form.grdAlerts().getRows().newRow();
        newRow.setColumnAlert(x.getAlertType().getIItemText());
        newRow.setTooltip(x.getAlertType().getIItemText());
    }

}
项目:AvoinApotti    文件:Logic.java   
private void populateAlertsGrid(PatientAlertLiteVoCollection listAlerts) 
{
    form.grdAlerts().getRows().clear();

    if(listAlerts == null)
        return;

    for(PatientAlertLiteVo alert :listAlerts)
    {
        addAlertRow(alert);
    }
    form.grdAlerts().setValue(form.getLocalContext().getselectedAlert());//WDEV-16176
}
项目:AvoinApotti    文件:Logic.java   
private void addAlertRow(PatientAlertLiteVo alert) 
{
    if(alert == null || alert.getAlertType() == null)
        return;

    grdAlertsRow row = form.grdAlerts().getRows().newRow();
    row.setColAlert(alert.getAlertType().getText());
    row.setTextColor(ConfigFlag.UI.ALERTS_COMPONENT_TEXT_COLOUR.getValue());  //wdev-16133
    row.setTooltipForColAlert(alert.getAlertType().getText());//WDEV-15092
    row.setValue(alert);
}
项目:openMAXIMS    文件:Logic.java   
private void populateAlertsGrid(PatientAlertLiteVoCollection listAlerts) 
{
    form.grdAlerts().getRows().clear();

    if(listAlerts == null)
        return;

    for(PatientAlertLiteVo alert :listAlerts)
    {
        addAlertRow(alert);
    }
    form.grdAlerts().setValue(form.getLocalContext().getselectedAlert());//WDEV-16176
}
项目:openMAXIMS    文件:Logic.java   
private void addAlertRow(PatientAlertLiteVo alert) 
{
    if(alert == null || alert.getAlertType() == null)
        return;

    grdAlertsRow row = form.grdAlerts().getRows().newRow();
    row.setColAlert(alert.getAlertType().getText());
    row.setTextColor(ConfigFlag.UI.ALERTS_COMPONENT_TEXT_COLOUR.getValue());  //wdev-16133
    row.setTooltipForColAlert(alert.getAlertType().getText());//WDEV-15092
    row.setValue(alert);
}
项目:openMAXIMS    文件:Logic.java   
private PatientAlertLiteVoCollection getAnaestheticHazards()
{
    if( form.grdAnaestheticHazard().getRows().size() == 0)
        return null;
    PatientAlertLiteVoCollection tempColl = new PatientAlertLiteVoCollection();
    for( int i = 0; i < form.grdAnaestheticHazard().getRows().size();i++)
    {
        PatientAlertLiteVo tempVo = form.grdAnaestheticHazard().getRows().get(i).getValue();
        tempColl.add(tempVo);

    }

    return tempColl;

}
项目:openMAXIMS    文件:Logic.java   
private void populateAlerts(PatientAlertLiteVoCollection patientAlerts)
{
    if (patientAlerts == null)
        return;
    for (int i = 0 ; i < patientAlerts.size() ; i++)
    {
        PatientAlertLiteVo x = patientAlerts.get(i);
        grdAlertsRow newRow = form.grdAlerts().getRows().newRow();
        newRow.setColumnAlert(x.getAlertType().getIItemText());
        newRow.setTooltip(x.getAlertType().getIItemText());
    }

}
项目:openMAXIMS    文件:Logic.java   
private void populateAlertsGrid(PatientAlertLiteVoCollection listAlerts) 
{
    form.grdAlerts().getRows().clear();

    if(listAlerts == null)
        return;

    for(PatientAlertLiteVo alert :listAlerts)
    {
        addAlertRow(alert);
    }
    form.grdAlerts().setValue(form.getLocalContext().getselectedAlert());//WDEV-16176
}
项目:openMAXIMS    文件:Logic.java   
private void addAlertRow(PatientAlertLiteVo alert) 
{
    if(alert == null || alert.getAlertType() == null)
        return;

    grdAlertsRow row = form.grdAlerts().getRows().newRow();
    row.setColAlert(alert.getAlertType().getText());
    row.setTextColor(ConfigFlag.UI.ALERTS_COMPONENT_TEXT_COLOUR.getValue());  //wdev-16133
    row.setTooltipForColAlert(alert.getAlertType().getText());//WDEV-15092
    row.setValue(alert);
}
项目:openmaxims-linux    文件:Logic.java   
private void populateAlerts(PatientAlertLiteVoCollection patientAlerts)
{
    if (patientAlerts == null)
        return;
    for (int i = 0 ; i < patientAlerts.size() ; i++)
    {
        PatientAlertLiteVo x = patientAlerts.get(i);
        grdAlertsRow newRow = form.grdAlerts().getRows().newRow();
        newRow.setColumnAlert(x.getAlertType().getIItemText());
        newRow.setTooltip(x.getAlertType().getIItemText());
    }

}
项目:openmaxims-linux    文件:Logic.java   
private void populateAlertsGrid(PatientAlertLiteVoCollection listAlerts) 
{
    form.grdAlerts().getRows().clear();

    if(listAlerts == null)
        return;

    for(PatientAlertLiteVo alert :listAlerts)
    {
        addAlertRow(alert);
    }
    form.grdAlerts().setValue(form.getLocalContext().getselectedAlert());//WDEV-16176
}
项目:openmaxims-linux    文件:Logic.java   
private void addAlertRow(PatientAlertLiteVo alert) 
{
    if(alert == null || alert.getAlertType() == null)
        return;

    grdAlertsRow row = form.grdAlerts().getRows().newRow();
    row.setColAlert(alert.getAlertType().getText());
    row.setTextColor(ConfigFlag.UI.ALERTS_COMPONENT_TEXT_COLOUR.getValue());  //wdev-16133
    row.setTooltipForColAlert(alert.getAlertType().getText());//WDEV-15092
    row.setValue(alert);
}