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

项目:AvoinApotti    文件:Logic.java   
private void addRowToGrid(QryOrderMsgVo messageVo) 
{
    grdMsgsRow row;

    row = form.lyrHL7().tabQuery().grdMsgs().getRows().newRow();
    row.setcolPatient(messageVo.getOrderDetails().getPatient().getName().toString());

    if (messageVo.getSysInfo() != null)
    {
        if ( messageVo.getSysInfo().getCreationDateTime() != null)
            row.setcolDateTime(messageVo.getSysInfo().getCreationDateTime().toString());

        if ( messageVo.getSysInfo().getLastupdateDateTime() != null)
            row.setcolLastUpdate(messageVo.getSysInfo().getLastupdateDateTime().toString());            
    }

    if (messageVo.getHL7Message() != null)
    {
        row.setcolMessage(messageVo.getHL7Message().substring(0, 20));
        row.setTooltipForcolMessage(messageVo.getHL7Message());
    }

    row.setcolCategory(messageVo.getOrderCategory().getText());
    row.setcolProvider(messageVo.getProviderSystem().getSystemName());
    if (messageVo.getFailureMessageIsNotNull()&&messageVo.getFailureMessage().length()>=20)
        row.setcolFailure(messageVo.getFailureMessage().substring(0, 20));
    row.setTooltipForcolFailure(messageVo.getFailureMessage());
    row.setcolPlacerNum(messageVo.getPlacerOrdNum().toString());
    row.setcolStatus(messageVo.getMessageStatus().getText());

}
项目:openMAXIMS    文件:Logic.java   
private void addRowToGrid(QryOrderMsgVo messageVo) 
{
    grdMsgsRow row;

    row = form.lyrHL7().tabQuery().grdMsgs().getRows().newRow();
    row.setcolPatient(messageVo.getOrderDetails().getPatient().getName().toString());

    if (messageVo.getSysInfo() != null)
    {
        if ( messageVo.getSysInfo().getCreationDateTime() != null)
            row.setcolDateTime(messageVo.getSysInfo().getCreationDateTime().toString());

        if ( messageVo.getSysInfo().getLastupdateDateTime() != null)
            row.setcolLastUpdate(messageVo.getSysInfo().getLastupdateDateTime().toString());            
    }

    if (messageVo.getHL7Message() != null)
    {
        row.setcolMessage(messageVo.getHL7Message().substring(0, 20));
        row.setTooltipForcolMessage(messageVo.getHL7Message());
    }

    row.setcolCategory(messageVo.getOrderCategory().getText());
    row.setcolProvider(messageVo.getProviderSystem().getSystemName());
    if (messageVo.getFailureMessageIsNotNull()&&messageVo.getFailureMessage().length()>=20)
        row.setcolFailure(messageVo.getFailureMessage().substring(0, 20));
    row.setTooltipForcolFailure(messageVo.getFailureMessage());
    row.setcolPlacerNum(messageVo.getPlacerOrdNum().toString());
    row.setcolStatus(messageVo.getMessageStatus().getText());

}
项目:openMAXIMS    文件:Logic.java   
private void addRowToGrid(QryOrderMsgVo messageVo) 
{
    grdMsgsRow row;

    row = form.lyrHL7().tabQuery().grdMsgs().getRows().newRow();
    row.setcolPatient(messageVo.getOrderDetails().getPatient().getName().toString());

    if (messageVo.getSysInfo() != null)
    {
        if ( messageVo.getSysInfo().getCreationDateTime() != null)
            row.setcolDateTime(messageVo.getSysInfo().getCreationDateTime().toString());

        if ( messageVo.getSysInfo().getLastupdateDateTime() != null)
            row.setcolLastUpdate(messageVo.getSysInfo().getLastupdateDateTime().toString());            
    }

    if (messageVo.getHL7Message() != null)
    {
        row.setcolMessage(messageVo.getHL7Message().substring(0, 20));
        row.setTooltipForcolMessage(messageVo.getHL7Message());
    }

    row.setcolCategory(messageVo.getOrderCategory().getText());
    row.setcolProvider(messageVo.getProviderSystem().getSystemName());
    if (messageVo.getFailureMessageIsNotNull()&&messageVo.getFailureMessage().length()>=20)
        row.setcolFailure(messageVo.getFailureMessage().substring(0, 20));
    row.setTooltipForcolFailure(messageVo.getFailureMessage());
    row.setcolPlacerNum(messageVo.getPlacerOrdNum().toString());
    row.setcolStatus(messageVo.getMessageStatus().getText());

}
项目:openmaxims-linux    文件:Logic.java   
private void addRowToGrid(QryOrderMsgVo messageVo) 
{
    grdMsgsRow row;

    row = form.lyrHL7().tabQuery().grdMsgs().getRows().newRow();
    row.setcolPatient(messageVo.getOrderDetails().getPatient().getName().toString());

    if (messageVo.getSysInfo() != null)
    {
        if ( messageVo.getSysInfo().getCreationDateTime() != null)
            row.setcolDateTime(messageVo.getSysInfo().getCreationDateTime().toString());

        if ( messageVo.getSysInfo().getLastupdateDateTime() != null)
            row.setcolLastUpdate(messageVo.getSysInfo().getLastupdateDateTime().toString());            
    }

    if (messageVo.getHL7Message() != null)
    {
        row.setcolMessage(messageVo.getHL7Message().substring(0, 20));
        row.setTooltipForcolMessage(messageVo.getHL7Message());
    }

    row.setcolCategory(messageVo.getOrderCategory().getText());
    row.setcolProvider(messageVo.getProviderSystem().getSystemName());
    if (messageVo.getFailureMessageIsNotNull()&&messageVo.getFailureMessage().length()>=20)
        row.setcolFailure(messageVo.getFailureMessage().substring(0, 20));
    row.setTooltipForcolFailure(messageVo.getFailureMessage());
    row.setcolPlacerNum(messageVo.getPlacerOrdNum().toString());
    row.setcolStatus(messageVo.getMessageStatus().getText());

}