Java 类ims.clinical.vo.SurgicalAuditTheatreWorklistVo 实例源码

项目:AvoinApotti    文件:Logic.java   
@Override
protected void onFormOpen(Object[] args) throws PresentationLogicException
{

    if (args != null)
    {
        if (args.length == 1 && args[0] != null && args[0] instanceof SurgicalAuditTheatreWorklistVo)
        {
            form.getLocalContext().setselectedSurgicalAuditOpDetail(domain.getSurgicalAuditOperationDetail((SurgicalAuditTheatreWorklistVo) args[0]));
            form.getLocalContext().setisFormOpenedFromTheatreWorklist(true);

        }
        else
            form.getLocalContext().setisFormOpenedFromTheatreWorklist(false);
    }
    else
        form.getLocalContext().setisFormOpenedFromTheatreWorklist(false);

    open();
}
项目:AvoinApotti    文件:Logic.java   
private void populateGridResults(SurgicalAuditTheatreWorklistVoCollection listSurgicalAudit)
{
    form.grdResults().getRows().clear();

    if (listSurgicalAudit == null || listSurgicalAudit.size() == 0)
        return;

    for (int i = 0; i < listSurgicalAudit.size(); i++)
    {
        SurgicalAuditTheatreWorklistVo record = listSurgicalAudit.get(i);
        if (record == null)
            continue;

        addCarePlanWorklistRow(record);

    }
}
项目:openMAXIMS    文件:Logic.java   
@Override
protected void onFormOpen(Object[] args) throws PresentationLogicException
{

    if (args != null)
    {
        if (args.length == 1 && args[0] != null && args[0] instanceof SurgicalAuditTheatreWorklistVo)
        {
            form.getLocalContext().setselectedSurgicalAuditOpDetail(domain.getSurgicalAuditOperationDetail((SurgicalAuditTheatreWorklistVo) args[0]));
            form.getLocalContext().setisFormOpenedFromTheatreWorklist(true);

        }
        else
            form.getLocalContext().setisFormOpenedFromTheatreWorklist(false);
    }
    else
        form.getLocalContext().setisFormOpenedFromTheatreWorklist(false);

    open();
}
项目:openMAXIMS    文件:Logic.java   
private void populateGridResults(SurgicalAuditTheatreWorklistVoCollection listSurgicalAudit)
{
    form.grdResults().getRows().clear();

    if (listSurgicalAudit == null || listSurgicalAudit.size() == 0)
        return;

    for (int i = 0; i < listSurgicalAudit.size(); i++)
    {
        SurgicalAuditTheatreWorklistVo record = listSurgicalAudit.get(i);
        if (record == null)
            continue;

        addCarePlanWorklistRow(record);

    }
}
项目:openMAXIMS    文件:Logic.java   
@Override
protected void onFormOpen(Object[] args) throws PresentationLogicException
{

    if (args != null)
    {
        if (args.length == 1 && args[0] != null && args[0] instanceof SurgicalAuditTheatreWorklistVo)
        {
            form.getLocalContext().setselectedSurgicalAuditOpDetail(domain.getSurgicalAuditOperationDetail((SurgicalAuditTheatreWorklistVo) args[0]));
            form.getLocalContext().setisFormOpenedFromTheatreWorklist(true);

        }
        else
            form.getLocalContext().setisFormOpenedFromTheatreWorklist(false);
    }
    else
        form.getLocalContext().setisFormOpenedFromTheatreWorklist(false);

    open();
}
项目:openMAXIMS    文件:Logic.java   
private void populateGridResults(SurgicalAuditTheatreWorklistVoCollection listSurgicalAudit)
{
    form.grdResults().getRows().clear();

    if (listSurgicalAudit == null || listSurgicalAudit.size() == 0)
        return;

    for (int i = 0; i < listSurgicalAudit.size(); i++)
    {
        SurgicalAuditTheatreWorklistVo record = listSurgicalAudit.get(i);
        if (record == null)
            continue;

        addCarePlanWorklistRow(record);

    }
}
项目:openmaxims-linux    文件:Logic.java   
@Override
protected void onFormOpen(Object[] args) throws PresentationLogicException
{

    if (args != null)
    {
        if (args.length == 1 && args[0] != null && args[0] instanceof SurgicalAuditTheatreWorklistVo)
        {
            form.getLocalContext().setselectedSurgicalAuditOpDetail(domain.getSurgicalAuditOperationDetail((SurgicalAuditTheatreWorklistVo) args[0]));
            form.getLocalContext().setisFormOpenedFromTheatreWorklist(true);

        }
        else
            form.getLocalContext().setisFormOpenedFromTheatreWorklist(false);
    }
    else
        form.getLocalContext().setisFormOpenedFromTheatreWorklist(false);

    open();
}
项目:openmaxims-linux    文件:Logic.java   
private void populateGridResults(SurgicalAuditTheatreWorklistVoCollection listSurgicalAudit)
{
    form.grdResults().getRows().clear();

    if (listSurgicalAudit == null || listSurgicalAudit.size() == 0)
        return;

    for (int i = 0; i < listSurgicalAudit.size(); i++)
    {
        SurgicalAuditTheatreWorklistVo record = listSurgicalAudit.get(i);
        if (record == null)
            continue;

        addCarePlanWorklistRow(record);

    }
}
项目:AvoinApotti    文件:Logic.java   
private void addCarePlanWorklistRow(SurgicalAuditTheatreWorklistVo record)
{
    if (record == null)
        return;

    grdResultsRow row = form.grdResults().getRows().newRow();

    row.setcolSurname(record.getPatient().getName().getSurname());
    row.setTooltipForcolSurname(record.getPatient().getName().getSurname());

    row.setcolForname(record.getPatient().getName().getForename());
    row.setTooltipForcolForname(record.getPatient().getName().getForename());

    PatientIdListVoCollection identifiers = record.getPatient().getIdentifiers();

    for (int i = 0; i < identifiers.size(); i++)
    {
        if (identifiers.get(i).getType().equals(PatIdType.MRNNUM))
        {
            row.setcolMRNo(identifiers.get(i).getValue().toString());
            row.setTooltipForcolMRNo(identifiers.get(i).getValue().toString());
        }
    }

    row.setcolStatus(record.getCurrentStatus().getOperationStatus().getText()+" - "+record.getCurrentStatus().getStatusDateTime());
    row.setTooltipForcolStatus(record.getCurrentStatus().getOperationStatus().getText()+" - "+record.getCurrentStatus().getStatusDateTime());

    // Populate Procedure Column & Primary Procedure Column
    PatientProcedureForSurgicalAuditPreOpChecksVoCollection collProcedure = null;
    if (record.getActualProcedureIsNotNull())
        collProcedure = record.getActualProcedure().getPlannedActualProcedures();
    else
        collProcedure = record.getPreOpChecks().getPlannedProcedures();

    StringBuffer textForColProcedure = new StringBuffer();
    StringBuffer tooltipForColProcedure = new StringBuffer();
    PatientProcedureForSurgicalAuditPreOpChecksVo primaryProcedure = null;

    for (int i = 0; i < collProcedure.size(); i++)
    {
        textForColProcedure.append((i != 0 ? "," : "") + collProcedure.get(i).getProcedureDescription());
        tooltipForColProcedure.append(collProcedure.get(i).getProcedureDescription() + "<br>");

        if (collProcedure.get(i).getIsPrimary() !=null && collProcedure.get(i).getIsPrimary())
            primaryProcedure = collProcedure.get(i);

    }

    row.setcolProcedure(textForColProcedure.toString());
    row.setTooltipForcolProcedure(tooltipForColProcedure.toString());
    if (primaryProcedure != null)
    {
        row.setcolPrimaryProc(primaryProcedure.getProcedureDescription());
        row.setTooltipForcolPrimaryProc(primaryProcedure.getProcedureDescription());
    }
    row.setValue(record);

}
项目:openMAXIMS    文件:Logic.java   
private void addCarePlanWorklistRow(SurgicalAuditTheatreWorklistVo record)
{
    if (record == null)
        return;

    grdResultsRow row = form.grdResults().getRows().newRow();

    row.setcolSurname(record.getPatient().getName().getSurname());
    row.setTooltipForcolSurname(record.getPatient().getName().getSurname());

    row.setcolForname(record.getPatient().getName().getForename());
    row.setTooltipForcolForname(record.getPatient().getName().getForename());

    PatientIdListVoCollection identifiers = record.getPatient().getIdentifiers();

    for (int i = 0; i < identifiers.size(); i++)
    {
        if (identifiers.get(i).getType().equals(PatIdType.MRNNUM))
        {
            row.setcolMRNo(identifiers.get(i).getValue().toString());
            row.setTooltipForcolMRNo(identifiers.get(i).getValue().toString());
        }
    }

    row.setcolStatus(record.getCurrentStatus().getOperationStatus().getText()+" - "+record.getCurrentStatus().getStatusDateTime());
    row.setTooltipForcolStatus(record.getCurrentStatus().getOperationStatus().getText()+" - "+record.getCurrentStatus().getStatusDateTime());

    // Populate Procedure Column & Primary Procedure Column
    PatientProcedureForSurgicalAuditPreOpChecksVoCollection collProcedure = null;
    if (record.getActualProcedureIsNotNull())
        collProcedure = record.getActualProcedure().getPlannedActualProcedures();
    else
        collProcedure = record.getPreOpChecks().getPlannedProcedures();

    StringBuffer textForColProcedure = new StringBuffer();
    StringBuffer tooltipForColProcedure = new StringBuffer();
    PatientProcedureForSurgicalAuditPreOpChecksVo primaryProcedure = null;

    for (int i = 0; i < collProcedure.size(); i++)
    {
        textForColProcedure.append((i != 0 ? "," : "") + collProcedure.get(i).getProcedureDescription());
        tooltipForColProcedure.append(collProcedure.get(i).getProcedureDescription() + "<br>");

        if (collProcedure.get(i).getIsPrimary() !=null && collProcedure.get(i).getIsPrimary())
            primaryProcedure = collProcedure.get(i);

    }

    row.setcolProcedure(textForColProcedure.toString());
    row.setTooltipForcolProcedure(tooltipForColProcedure.toString());
    if (primaryProcedure != null)
    {
        row.setcolPrimaryProc(primaryProcedure.getProcedureDescription());
        row.setTooltipForcolPrimaryProc(primaryProcedure.getProcedureDescription());
    }
    row.setValue(record);

}
项目:openMAXIMS    文件:Logic.java   
private void addCarePlanWorklistRow(SurgicalAuditTheatreWorklistVo record)
{
    if (record == null)
        return;

    grdResultsRow row = form.grdResults().getRows().newRow();

    row.setcolSurname(record.getPatient().getName().getSurname());
    row.setTooltipForcolSurname(record.getPatient().getName().getSurname());

    row.setcolForname(record.getPatient().getName().getForename());
    row.setTooltipForcolForname(record.getPatient().getName().getForename());

    PatientIdListVoCollection identifiers = record.getPatient().getIdentifiers();

    for (int i = 0; i < identifiers.size(); i++)
    {
        if (identifiers.get(i).getType().equals(PatIdType.MRNNUM))
        {
            row.setcolMRNo(identifiers.get(i).getValue().toString());
            row.setTooltipForcolMRNo(identifiers.get(i).getValue().toString());
        }
    }

    row.setcolStatus(record.getCurrentStatus().getOperationStatus().getText()+" - "+record.getCurrentStatus().getStatusDateTime());
    row.setTooltipForcolStatus(record.getCurrentStatus().getOperationStatus().getText()+" - "+record.getCurrentStatus().getStatusDateTime());

    // Populate Procedure Column & Primary Procedure Column
    PatientProcedureForSurgicalAuditPreOpChecksVoCollection collProcedure = null;
    if (record.getActualProcedureIsNotNull())
        collProcedure = record.getActualProcedure().getPlannedActualProcedures();
    else
        collProcedure = record.getPreOpChecks().getPlannedProcedures();

    StringBuffer textForColProcedure = new StringBuffer();
    StringBuffer tooltipForColProcedure = new StringBuffer();
    PatientProcedureForSurgicalAuditPreOpChecksVo primaryProcedure = null;

    for (int i = 0; i < collProcedure.size(); i++)
    {
        textForColProcedure.append((i != 0 ? "," : "") + collProcedure.get(i).getProcedureDescription());
        tooltipForColProcedure.append(collProcedure.get(i).getProcedureDescription() + "<br>");

        if (collProcedure.get(i).getIsPrimary() !=null && collProcedure.get(i).getIsPrimary())
            primaryProcedure = collProcedure.get(i);

    }

    row.setcolProcedure(textForColProcedure.toString());
    row.setTooltipForcolProcedure(tooltipForColProcedure.toString());
    if (primaryProcedure != null)
    {
        row.setcolPrimaryProc(primaryProcedure.getProcedureDescription());
        row.setTooltipForcolPrimaryProc(primaryProcedure.getProcedureDescription());
    }
    row.setValue(record);

}
项目:openmaxims-linux    文件:Logic.java   
private void addCarePlanWorklistRow(SurgicalAuditTheatreWorklistVo record)
{
    if (record == null)
        return;

    grdResultsRow row = form.grdResults().getRows().newRow();

    row.setcolSurname(record.getPatient().getName().getSurname());
    row.setTooltipForcolSurname(record.getPatient().getName().getSurname());

    row.setcolForname(record.getPatient().getName().getForename());
    row.setTooltipForcolForname(record.getPatient().getName().getForename());

    PatientIdListVoCollection identifiers = record.getPatient().getIdentifiers();

    for (int i = 0; i < identifiers.size(); i++)
    {
        if (identifiers.get(i).getType().equals(PatIdType.MRNNUM))
        {
            row.setcolMRNo(identifiers.get(i).getValue().toString());
            row.setTooltipForcolMRNo(identifiers.get(i).getValue().toString());
        }
    }

    row.setcolStatus(record.getCurrentStatus().getOperationStatus().getText()+" - "+record.getCurrentStatus().getStatusDateTime());
    row.setTooltipForcolStatus(record.getCurrentStatus().getOperationStatus().getText()+" - "+record.getCurrentStatus().getStatusDateTime());

    // Populate Procedure Column & Primary Procedure Column
    PatientProcedureForSurgicalAuditPreOpChecksVoCollection collProcedure = null;
    if (record.getActualProcedureIsNotNull())
        collProcedure = record.getActualProcedure().getPlannedActualProcedures();
    else
        collProcedure = record.getPreOpChecks().getPlannedProcedures();

    StringBuffer textForColProcedure = new StringBuffer();
    StringBuffer tooltipForColProcedure = new StringBuffer();
    PatientProcedureForSurgicalAuditPreOpChecksVo primaryProcedure = null;

    for (int i = 0; i < collProcedure.size(); i++)
    {
        textForColProcedure.append((i != 0 ? "," : "") + collProcedure.get(i).getProcedureDescription());
        tooltipForColProcedure.append(collProcedure.get(i).getProcedureDescription() + "<br>");

        if (collProcedure.get(i).getIsPrimary() !=null && collProcedure.get(i).getIsPrimary())
            primaryProcedure = collProcedure.get(i);

    }

    row.setcolProcedure(textForColProcedure.toString());
    row.setTooltipForcolProcedure(tooltipForColProcedure.toString());
    if (primaryProcedure != null)
    {
        row.setcolPrimaryProc(primaryProcedure.getProcedureDescription());
        row.setTooltipForcolPrimaryProc(primaryProcedure.getProcedureDescription());
    }
    row.setValue(record);

}