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

项目:AvoinApotti    文件:Logic.java   
private void popululateSurgicalHistory(IntraOperativeCRforSummaryOverviewVoCollection surgicalHistory)
{
    if (surgicalHistory == null || surgicalHistory.size() == 0)
            return;
    for (int i = 0 ; i < surgicalHistory.size() ; i++)
    {
        IntraOperativeCRforSummaryOverviewVo x = surgicalHistory.get(i);
        if (x==null)
            continue;
        grdPSHRow newRow = form.grdPSH().getRows().newRow();
        newRow.setColumnDescription(x.getActualProcedureIsNotNull()?x.getActualProcedure().getProcedureDescription():null);
        newRow.setColumnDate(x.getSurgeryStartTimeIsNotNull()?x.getSurgeryStartTime().toString():null);

        newRow.setColumnHcp(x.getSurgeonIsNotNull()?x.getSurgeon().getIHcpName():null);
        String opcCode = getOpcCode(x.getActualProcedure());
        newRow.setColumnOpcs(opcCode);

        //WDEV-11901 - starts here
        String rowTooltip = getNumberOfDaysPostOp(x.getSurgeryStartTime());
        String cellTooltip = "";

        if (x.getActualProcedureIsNotNull())
        {
            cellTooltip = x.getActualProcedure().getProcedureDescription();
        }
        newRow.setTooltipForColumnDescription(cellTooltip + (cellTooltip.length() > 0 ? "<br>" : "") + rowTooltip);

        cellTooltip = "";
        if (x.getSurgeryStartTimeIsNotNull())
        {
            cellTooltip = x.getSurgeryStartTime().toString();
        }
        newRow.setTooltipForColumnDate(cellTooltip + (cellTooltip.length() > 0 ? "<br>" : "") + rowTooltip);

        cellTooltip = "";
        if (x.getSurgeonIsNotNull())
        {
            cellTooltip = x.getSurgeon().getIHcpName();
        }
        newRow.setTooltipForColumnHcp(cellTooltip + (cellTooltip.length() > 0 ? "<br>" : "") + rowTooltip);

        cellTooltip = "";
        if (opcCode!=null)
        {
            cellTooltip = opcCode;
        }
        newRow.setTooltipForColumnOpcs(cellTooltip + (cellTooltip.length() > 0 ? "<br>" : "") + rowTooltip);
        //wdev-11901 - ends here
    }   
}
项目:openMAXIMS    文件:Logic.java   
private void popululateSurgicalHistory(IntraOperativeCRforSummaryOverviewVoCollection surgicalHistory)
{
    if (surgicalHistory == null || surgicalHistory.size() == 0)
            return;
    for (int i = 0 ; i < surgicalHistory.size() ; i++)
    {
        IntraOperativeCRforSummaryOverviewVo x = surgicalHistory.get(i);
        if (x==null)
            continue;
        grdPSHRow newRow = form.grdPSH().getRows().newRow();
        newRow.setColumnDescription(x.getActualProcedureIsNotNull()?x.getActualProcedure().getProcedureDescription():null);
        newRow.setColumnDate(x.getSurgeryStartTimeIsNotNull()?x.getSurgeryStartTime().toString():null);

        newRow.setColumnHcp(x.getSurgeonIsNotNull()?x.getSurgeon().getIHcpName():null);
        String opcCode = getOpcCode(x.getActualProcedure());
        newRow.setColumnOpcs(opcCode);

        //WDEV-11901 - starts here
        String rowTooltip = getNumberOfDaysPostOp(x.getSurgeryStartTime());
        String cellTooltip = "";

        if (x.getActualProcedureIsNotNull())
        {
            cellTooltip = x.getActualProcedure().getProcedureDescription();
        }
        newRow.setTooltipForColumnDescription(cellTooltip + (cellTooltip.length() > 0 ? "<br>" : "") + rowTooltip);

        cellTooltip = "";
        if (x.getSurgeryStartTimeIsNotNull())
        {
            cellTooltip = x.getSurgeryStartTime().toString();
        }
        newRow.setTooltipForColumnDate(cellTooltip + (cellTooltip.length() > 0 ? "<br>" : "") + rowTooltip);

        cellTooltip = "";
        if (x.getSurgeonIsNotNull())
        {
            cellTooltip = x.getSurgeon().getIHcpName();
        }
        newRow.setTooltipForColumnHcp(cellTooltip + (cellTooltip.length() > 0 ? "<br>" : "") + rowTooltip);

        cellTooltip = "";
        if (opcCode!=null)
        {
            cellTooltip = opcCode;
        }
        newRow.setTooltipForColumnOpcs(cellTooltip + (cellTooltip.length() > 0 ? "<br>" : "") + rowTooltip);
        //wdev-11901 - ends here
    }   
}
项目:openMAXIMS    文件:Logic.java   
private void popululateSurgicalHistory(IntraOperativeCRforSummaryOverviewVoCollection surgicalHistory)
{
    if (surgicalHistory == null || surgicalHistory.size() == 0)
            return;
    for (int i = 0 ; i < surgicalHistory.size() ; i++)
    {
        IntraOperativeCRforSummaryOverviewVo x = surgicalHistory.get(i);
        if (x==null)
            continue;
        grdPSHRow newRow = form.grdPSH().getRows().newRow();
        newRow.setColumnDescription(x.getActualProcedureIsNotNull()?x.getActualProcedure().getProcedureDescription():null);
        newRow.setColumnDate(x.getSurgeryStartTimeIsNotNull()?x.getSurgeryStartTime().toString():null);

        newRow.setColumnHcp(x.getSurgeonIsNotNull()?x.getSurgeon().getIHcpName():null);
        String opcCode = getOpcCode(x.getActualProcedure());
        newRow.setColumnOpcs(opcCode);

        //WDEV-11901 - starts here
        String rowTooltip = getNumberOfDaysPostOp(x.getSurgeryStartTime());
        String cellTooltip = "";

        if (x.getActualProcedureIsNotNull())
        {
            cellTooltip = x.getActualProcedure().getProcedureDescription();
        }
        newRow.setTooltipForColumnDescription(cellTooltip + (cellTooltip.length() > 0 ? "<br>" : "") + rowTooltip);

        cellTooltip = "";
        if (x.getSurgeryStartTimeIsNotNull())
        {
            cellTooltip = x.getSurgeryStartTime().toString();
        }
        newRow.setTooltipForColumnDate(cellTooltip + (cellTooltip.length() > 0 ? "<br>" : "") + rowTooltip);

        cellTooltip = "";
        if (x.getSurgeonIsNotNull())
        {
            cellTooltip = x.getSurgeon().getIHcpName();
        }
        newRow.setTooltipForColumnHcp(cellTooltip + (cellTooltip.length() > 0 ? "<br>" : "") + rowTooltip);

        cellTooltip = "";
        if (opcCode!=null)
        {
            cellTooltip = opcCode;
        }
        newRow.setTooltipForColumnOpcs(cellTooltip + (cellTooltip.length() > 0 ? "<br>" : "") + rowTooltip);
        //wdev-11901 - ends here
    }   
}
项目:openmaxims-linux    文件:Logic.java   
private void popululateSurgicalHistory(IntraOperativeCRforSummaryOverviewVoCollection surgicalHistory)
{
    if (surgicalHistory == null || surgicalHistory.size() == 0)
            return;
    for (int i = 0 ; i < surgicalHistory.size() ; i++)
    {
        IntraOperativeCRforSummaryOverviewVo x = surgicalHistory.get(i);
        if (x==null)
            continue;
        grdPSHRow newRow = form.grdPSH().getRows().newRow();
        newRow.setColumnDescription(x.getActualProcedureIsNotNull()?x.getActualProcedure().getProcedureDescription():null);
        newRow.setColumnDate(x.getSurgeryStartTimeIsNotNull()?x.getSurgeryStartTime().toString():null);

        newRow.setColumnHcp(x.getSurgeonIsNotNull()?x.getSurgeon().getIHcpName():null);
        String opcCode = getOpcCode(x.getActualProcedure());
        newRow.setColumnOpcs(opcCode);

        //WDEV-11901 - starts here
        String rowTooltip = getNumberOfDaysPostOp(x.getSurgeryStartTime());
        String cellTooltip = "";

        if (x.getActualProcedureIsNotNull())
        {
            cellTooltip = x.getActualProcedure().getProcedureDescription();
        }
        newRow.setTooltipForColumnDescription(cellTooltip + (cellTooltip.length() > 0 ? "<br>" : "") + rowTooltip);

        cellTooltip = "";
        if (x.getSurgeryStartTimeIsNotNull())
        {
            cellTooltip = x.getSurgeryStartTime().toString();
        }
        newRow.setTooltipForColumnDate(cellTooltip + (cellTooltip.length() > 0 ? "<br>" : "") + rowTooltip);

        cellTooltip = "";
        if (x.getSurgeonIsNotNull())
        {
            cellTooltip = x.getSurgeon().getIHcpName();
        }
        newRow.setTooltipForColumnHcp(cellTooltip + (cellTooltip.length() > 0 ? "<br>" : "") + rowTooltip);

        cellTooltip = "";
        if (opcCode!=null)
        {
            cellTooltip = opcCode;
        }
        newRow.setTooltipForColumnOpcs(cellTooltip + (cellTooltip.length() > 0 ? "<br>" : "") + rowTooltip);
        //wdev-11901 - ends here
    }   
}