Java 类ims.core.vo.lookups.LateralityLRB 实例源码

项目:AvoinApotti    文件:Logic.java   
private void addICD10DiagnosisToCodingGrid(String icd10, LateralityLRB lateralityLRB)
{
    grdCodingRow rowCoding = form.grdCoding().getRows().newRow();

    rowCoding.setColDiagProc("");
    rowCoding.setTooltipForColDiagProc("");
    rowCoding.setColDiagVo(null);

    rowCoding.setColICD10(icd10);
    rowCoding.setColOPCS4("");
    rowCoding.setColEditICDReadOnly(true);
    rowCoding.setColEditOPCSReadOnly(true);
    rowCoding.setColLaterality(lateralityLRB);

    rowCoding.setBackColor(Color.Orange);
    rowCoding.setValue(null);
}
项目:AvoinApotti    文件:Logic.java   
private void addOPCS4ProcedureToCodingGrid(String string, LateralityLRB lateralityLRB) 
{
    grdCodingRow rowCoding = form.grdCoding().getRows().newRow();

    rowCoding.setColDiagProc("");
    rowCoding.setTooltipForColDiagProc("");
    rowCoding.setColDiagVo(null);

    rowCoding.setColICD10("");
    rowCoding.setColOPCS4(string);
    rowCoding.setColEditICDReadOnly(true);
    rowCoding.setColLaterality(lateralityLRB);

    rowCoding.setBackColor(Color.LightBlue);
    rowCoding.setValue(null);
}
项目:AvoinApotti    文件:Logic.java   
private Image getDiagnosisLateralityImg(LateralityLRB diagLaterality)
{
    if (diagLaterality != null)
    {
        if (diagLaterality.equals(LateralityLRB.LEFT))
            return form.getImages().COE.BlueLeft;
        else if (diagLaterality.equals(LateralityLRB.RIGHT))
            return form.getImages().COE.BlueRight;
        else if (diagLaterality.equals(LateralityLRB.BILATERAL))
            return form.getImages().COE.BlueBoth;
    }
    else
        return form.getImages().COE.Blue;

    return null;
}
项目:AvoinApotti    文件:Logic.java   
private Image getComplicationLateralityImg(LateralityLRB diagLaterality)
{
    if (diagLaterality != null)
    {
        if (diagLaterality.equals(LateralityLRB.LEFT))
            return form.getImages().COE.LightSkyBlueLeft;
        else if (diagLaterality.equals(LateralityLRB.RIGHT))
            return form.getImages().COE.LightSkyBlueRight;
        else if (diagLaterality.equals(LateralityLRB.BILATERAL))
            return form.getImages().COE.LightSkyBlueBoth;
    }
    else
        return form.getImages().COE.LightSkyBlue;

    return null;
}
项目:AvoinApotti    文件:Logic.java   
private Image getDiagnosisLateralityImg(LateralityLRB diagLaterality)
{
    if(diagLaterality != null)
    {
        if(diagLaterality.equals(LateralityLRB.LEFT))
            return form.getImages().COE.BlueLeft;
        else if(diagLaterality.equals(LateralityLRB.RIGHT))
            return form.getImages().COE.BlueRight;
        else if(diagLaterality.equals(LateralityLRB.BILATERAL))
            return form.getImages().COE.BlueBoth;
    }
    else
        return form.getImages().COE.Blue;

    return null;
}
项目:AvoinApotti    文件:Logic.java   
private Image getComplicationLateralityImg(LateralityLRB diagLaterality)
{
    if(diagLaterality != null)
    {
        if(diagLaterality.equals(LateralityLRB.LEFT))
            return form.getImages().COE.LightSkyBlueLeft;
        else if(diagLaterality.equals(LateralityLRB.RIGHT))
            return form.getImages().COE.LightSkyBlueRight;
        else if(diagLaterality.equals(LateralityLRB.BILATERAL))
            return form.getImages().COE.LightSkyBlueBoth;
    }
    else
        return form.getImages().COE.LightSkyBlue;

    return null;
}
项目:AvoinApotti    文件:Logic.java   
private Image getDiagnosisLateralityImg(LateralityLRB diagLaterality)
{
    if(diagLaterality != null)
    {
        if(diagLaterality.equals(LateralityLRB.LEFT))
            return form.getImages().COE.BlueLeft;
        else if(diagLaterality.equals(LateralityLRB.RIGHT))
            return form.getImages().COE.BlueRight;
        else if(diagLaterality.equals(LateralityLRB.BILATERAL))
            return form.getImages().COE.BlueBoth;
    }
    else
        return form.getImages().COE.Blue;

    return null;
}
项目:AvoinApotti    文件:Logic.java   
private Image getComplicationLateralityImg(LateralityLRB diagLaterality)
{
    if(diagLaterality != null)
    {
        if(diagLaterality.equals(LateralityLRB.LEFT))
            return form.getImages().COE.LightSkyBlueLeft;
        else if(diagLaterality.equals(LateralityLRB.RIGHT))
            return form.getImages().COE.LightSkyBlueRight;
        else if(diagLaterality.equals(LateralityLRB.BILATERAL))
            return form.getImages().COE.LightSkyBlueBoth;
    }
    else
        return form.getImages().COE.LightSkyBlue;

    return null;
}
项目:openMAXIMS    文件:Logic.java   
private void addICD10DiagnosisToOutpatientCodingGrid(String icd10, LateralityLRB lateralityLRB)
{
    grdOutpatientCodingRow rowCoding = form.lyrTabs().tabOutpatientCoding().grdOutpatientCoding().getRows().newRow();

    rowCoding.setColDiagProcInv("");
    rowCoding.setTooltipForColDiagProcInv("");
    rowCoding.setColDiagVo(null);

    rowCoding.setColICD10(icd10);
    rowCoding.setColOPCS4("");
    rowCoding.setColEditICDReadOnly(true);
    rowCoding.setColEditOPCSReadOnly(true);
    rowCoding.setColLaterality(lateralityLRB);

    rowCoding.setBackColor(Color.Orange);
    rowCoding.setValue(null);

}
项目:openMAXIMS    文件:Logic.java   
private void addOPCS4ProcedureToOutpatientCodingGrid(String opcs4, LateralityLRB lateralityLRB)
{
    grdOutpatientCodingRow rowCoding = form.lyrTabs().tabOutpatientCoding().grdOutpatientCoding().getRows().newRow();

    rowCoding.setColDiagProcInv("");
    rowCoding.setTooltipForColDiagProcInv("");
    rowCoding.setColDiagVo(null);

    rowCoding.setColICD10("");
    rowCoding.setColOPCS4(opcs4);
    rowCoding.setColEditICDReadOnly(true);
    rowCoding.setColLaterality(lateralityLRB);

    rowCoding.setBackColor(Color.LightBlue);
    rowCoding.setValue(null);

}
项目:openMAXIMS    文件:Logic.java   
private void addICD10DiagnosisToCodingGrid(String icd10, LateralityLRB lateralityLRB)
{
    grdCodingRow rowCoding = form.lyrTabs().tabInpatientCoding().grdCoding().getRows().newRow();

    rowCoding.setColDiagProc("");
    rowCoding.setTooltipForColDiagProc("");
    rowCoding.setColDiagVo(null);

    rowCoding.setColICD10(icd10);
    rowCoding.setColOPCS4("");
    rowCoding.setColEditICDReadOnly(true);
    rowCoding.setColEditOPCSReadOnly(true);
    rowCoding.setColLaterality(lateralityLRB);

    rowCoding.setBackColor(Color.Orange);
    rowCoding.setValue(null);
}
项目:openMAXIMS    文件:Logic.java   
private void addOPCS4ProcedureToCodingGrid(String string, LateralityLRB lateralityLRB)
{
    grdCodingRow rowCoding = form.lyrTabs().tabInpatientCoding().grdCoding().getRows().newRow();

    rowCoding.setColDiagProc("");
    rowCoding.setTooltipForColDiagProc("");
    rowCoding.setColDiagVo(null);

    rowCoding.setColICD10("");
    rowCoding.setColOPCS4(string);
    rowCoding.setColEditICDReadOnly(true);
    rowCoding.setColLaterality(lateralityLRB);

    rowCoding.setBackColor(Color.LightBlue);
    rowCoding.setValue(null);
}
项目:openMAXIMS    文件:BookTheatreSlotImpl.java   
public LateralityLRB getLateralitySuitableForSurgegeryAssessmentProcedure(SuitableForSurgeryAssessmentRefVo suitableRef)
{
    if( suitableRef == null)
        return null;

    DomainFactory factory = getDomainFactory();


    String hql = "select s1_1 from SuitableForSurgeryAssessment as s1_1 left join s1_1.procedure as p1_1    where (s1_1.id = :suitableRef )";
    List list =  factory.find(hql, new String[]{"suitableRef"}, new Object[]{suitableRef.getID_SuitableForSurgeryAssessment()});
    if(list != null && list.size() > 0)
    {
        SuitableForSurgeryAssessmentLiteVoCollection tempColl = SuitableForSurgeryAssessmentLiteVoAssembler.createSuitableForSurgeryAssessmentLiteVoCollectionFromSuitableForSurgeryAssessment(list);
        if( tempColl != null && tempColl.size() > 0)
        {
            SuitableForSurgeryAssessmentLiteVo tempVo = tempColl.get(0);
            if( tempVo != null && tempVo.getProcedureIsNotNull())
                return tempVo.getProcedure().getProcLaterality();
        }
    }



    return null;
}
项目:openMAXIMS    文件:Logic.java   
private Image getDiagnosisLateralityImg(LateralityLRB diagLaterality)
{
    if (diagLaterality != null)
    {
        if (diagLaterality.equals(LateralityLRB.LEFT))
            return form.getImages().COE.BlueLeft;
        else if (diagLaterality.equals(LateralityLRB.RIGHT))
            return form.getImages().COE.BlueRight;
        else if (diagLaterality.equals(LateralityLRB.BILATERAL))
            return form.getImages().COE.BlueBoth;
    }
    else
        return form.getImages().COE.Blue;

    return null;
}
项目:openMAXIMS    文件:Logic.java   
private Image getComplicationLateralityImg(LateralityLRB diagLaterality)
{
    if (diagLaterality != null)
    {
        if (diagLaterality.equals(LateralityLRB.LEFT))
            return form.getImages().COE.LightSkyBlueLeft;
        else if (diagLaterality.equals(LateralityLRB.RIGHT))
            return form.getImages().COE.LightSkyBlueRight;
        else if (diagLaterality.equals(LateralityLRB.BILATERAL))
            return form.getImages().COE.LightSkyBlueBoth;
    }
    else
        return form.getImages().COE.LightSkyBlue;

    return null;
}
项目:openMAXIMS    文件:Logic.java   
private Image getDiagnosisLateralityImg(LateralityLRB diagLaterality)
{
    if(diagLaterality != null)
    {
        if(diagLaterality.equals(LateralityLRB.LEFT))
            return form.getImages().COE.BlueLeft;
        else if(diagLaterality.equals(LateralityLRB.RIGHT))
            return form.getImages().COE.BlueRight;
        else if(diagLaterality.equals(LateralityLRB.BILATERAL))
            return form.getImages().COE.BlueBoth;
    }
    else
        return form.getImages().COE.Blue;

    return null;
}
项目:openMAXIMS    文件:Logic.java   
private Image getComplicationLateralityImg(LateralityLRB diagLaterality)
{
    if(diagLaterality != null)
    {
        if(diagLaterality.equals(LateralityLRB.LEFT))
            return form.getImages().COE.LightSkyBlueLeft;
        else if(diagLaterality.equals(LateralityLRB.RIGHT))
            return form.getImages().COE.LightSkyBlueRight;
        else if(diagLaterality.equals(LateralityLRB.BILATERAL))
            return form.getImages().COE.LightSkyBlueBoth;
    }
    else
        return form.getImages().COE.LightSkyBlue;

    return null;
}
项目:openMAXIMS    文件:Logic.java   
private Image getDiagnosisLateralityImg(LateralityLRB diagLaterality)
{
    if(diagLaterality != null)
    {
        if(diagLaterality.equals(LateralityLRB.LEFT))
            return form.getImages().COE.BlueLeft;
        else if(diagLaterality.equals(LateralityLRB.RIGHT))
            return form.getImages().COE.BlueRight;
        else if(diagLaterality.equals(LateralityLRB.BILATERAL))
            return form.getImages().COE.BlueBoth;
    }
    else
        return form.getImages().COE.Blue;

    return null;
}
项目:openMAXIMS    文件:Logic.java   
private Image getComplicationLateralityImg(LateralityLRB diagLaterality)
{
    if(diagLaterality != null)
    {
        if(diagLaterality.equals(LateralityLRB.LEFT))
            return form.getImages().COE.LightSkyBlueLeft;
        else if(diagLaterality.equals(LateralityLRB.RIGHT))
            return form.getImages().COE.LightSkyBlueRight;
        else if(diagLaterality.equals(LateralityLRB.BILATERAL))
            return form.getImages().COE.LightSkyBlueBoth;
    }
    else
        return form.getImages().COE.LightSkyBlue;

    return null;
}
项目:openMAXIMS    文件:Logic.java   
private void addICD10DiagnosisToCodingGrid(String icd10, LateralityLRB lateralityLRB)
{
    grdCodingRow rowCoding = form.grdCoding().getRows().newRow();

    rowCoding.setColDiagProc("");
    rowCoding.setTooltipForColDiagProc("");
    rowCoding.setColDiagVo(null);

    rowCoding.setColICD10(icd10);
    rowCoding.setColOPCS4("");
    rowCoding.setColEditICDReadOnly(true);
    rowCoding.setColEditOPCSReadOnly(true);
    rowCoding.setColLaterality(lateralityLRB);

    rowCoding.setBackColor(Color.Orange);
    rowCoding.setValue(null);
}
项目:openMAXIMS    文件:Logic.java   
private void addOPCS4ProcedureToCodingGrid(String string, LateralityLRB lateralityLRB) 
{
    grdCodingRow rowCoding = form.grdCoding().getRows().newRow();

    rowCoding.setColDiagProc("");
    rowCoding.setTooltipForColDiagProc("");
    rowCoding.setColDiagVo(null);

    rowCoding.setColICD10("");
    rowCoding.setColOPCS4(string);
    rowCoding.setColEditICDReadOnly(true);
    rowCoding.setColLaterality(lateralityLRB);

    rowCoding.setBackColor(Color.LightBlue);
    rowCoding.setValue(null);
}
项目:openMAXIMS    文件:Logic.java   
private Image getDiagnosisLateralityImg(LateralityLRB diagLaterality)
{
    if (diagLaterality != null)
    {
        if (diagLaterality.equals(LateralityLRB.LEFT))
            return form.getImages().COE.BlueLeft;
        else if (diagLaterality.equals(LateralityLRB.RIGHT))
            return form.getImages().COE.BlueRight;
        else if (diagLaterality.equals(LateralityLRB.BILATERAL))
            return form.getImages().COE.BlueBoth;
    }
    else
        return form.getImages().COE.Blue;

    return null;
}
项目:openMAXIMS    文件:Logic.java   
private Image getComplicationLateralityImg(LateralityLRB diagLaterality)
{
    if (diagLaterality != null)
    {
        if (diagLaterality.equals(LateralityLRB.LEFT))
            return form.getImages().COE.LightSkyBlueLeft;
        else if (diagLaterality.equals(LateralityLRB.RIGHT))
            return form.getImages().COE.LightSkyBlueRight;
        else if (diagLaterality.equals(LateralityLRB.BILATERAL))
            return form.getImages().COE.LightSkyBlueBoth;
    }
    else
        return form.getImages().COE.LightSkyBlue;

    return null;
}
项目:openMAXIMS    文件:Logic.java   
private Image getDiagnosisLateralityImg(LateralityLRB diagLaterality)
{
    if(diagLaterality != null)
    {
        if(diagLaterality.equals(LateralityLRB.LEFT))
            return form.getImages().COE.BlueLeft;
        else if(diagLaterality.equals(LateralityLRB.RIGHT))
            return form.getImages().COE.BlueRight;
        else if(diagLaterality.equals(LateralityLRB.BILATERAL))
            return form.getImages().COE.BlueBoth;
    }
    else
        return form.getImages().COE.Blue;

    return null;
}
项目:openMAXIMS    文件:Logic.java   
private Image getComplicationLateralityImg(LateralityLRB diagLaterality)
{
    if(diagLaterality != null)
    {
        if(diagLaterality.equals(LateralityLRB.LEFT))
            return form.getImages().COE.LightSkyBlueLeft;
        else if(diagLaterality.equals(LateralityLRB.RIGHT))
            return form.getImages().COE.LightSkyBlueRight;
        else if(diagLaterality.equals(LateralityLRB.BILATERAL))
            return form.getImages().COE.LightSkyBlueBoth;
    }
    else
        return form.getImages().COE.LightSkyBlue;

    return null;
}
项目:openMAXIMS    文件:Logic.java   
private Image getDiagnosisLateralityImg(LateralityLRB diagLaterality)
{
    if(diagLaterality != null)
    {
        if(diagLaterality.equals(LateralityLRB.LEFT))
            return form.getImages().COE.BlueLeft;
        else if(diagLaterality.equals(LateralityLRB.RIGHT))
            return form.getImages().COE.BlueRight;
        else if(diagLaterality.equals(LateralityLRB.BILATERAL))
            return form.getImages().COE.BlueBoth;
    }
    else
        return form.getImages().COE.Blue;

    return null;
}
项目:openMAXIMS    文件:Logic.java   
private Image getComplicationLateralityImg(LateralityLRB diagLaterality)
{
    if(diagLaterality != null)
    {
        if(diagLaterality.equals(LateralityLRB.LEFT))
            return form.getImages().COE.LightSkyBlueLeft;
        else if(diagLaterality.equals(LateralityLRB.RIGHT))
            return form.getImages().COE.LightSkyBlueRight;
        else if(diagLaterality.equals(LateralityLRB.BILATERAL))
            return form.getImages().COE.LightSkyBlueBoth;
    }
    else
        return form.getImages().COE.LightSkyBlue;

    return null;
}
项目:openmaxims-linux    文件:Logic.java   
private Image getDiagnosisLateralityImg(LateralityLRB diagLaterality)
{
    if (diagLaterality != null)
    {
        if (diagLaterality.equals(LateralityLRB.LEFT))
            return form.getImages().COE.BlueLeft;
        else if (diagLaterality.equals(LateralityLRB.RIGHT))
            return form.getImages().COE.BlueRight;
        else if (diagLaterality.equals(LateralityLRB.BILATERAL))
            return form.getImages().COE.BlueBoth;
    }
    else
        return form.getImages().COE.Blue;

    return null;
}
项目:openmaxims-linux    文件:Logic.java   
private Image getComplicationLateralityImg(LateralityLRB diagLaterality)
{
    if (diagLaterality != null)
    {
        if (diagLaterality.equals(LateralityLRB.LEFT))
            return form.getImages().COE.LightSkyBlueLeft;
        else if (diagLaterality.equals(LateralityLRB.RIGHT))
            return form.getImages().COE.LightSkyBlueRight;
        else if (diagLaterality.equals(LateralityLRB.BILATERAL))
            return form.getImages().COE.LightSkyBlueBoth;
    }
    else
        return form.getImages().COE.LightSkyBlue;

    return null;
}
项目:openmaxims-linux    文件:Logic.java   
private Image getDiagnosisLateralityImg(LateralityLRB diagLaterality)
{
    if(diagLaterality != null)
    {
        if(diagLaterality.equals(LateralityLRB.LEFT))
            return form.getImages().COE.BlueLeft;
        else if(diagLaterality.equals(LateralityLRB.RIGHT))
            return form.getImages().COE.BlueRight;
        else if(diagLaterality.equals(LateralityLRB.BILATERAL))
            return form.getImages().COE.BlueBoth;
    }
    else
        return form.getImages().COE.Blue;

    return null;
}
项目:openmaxims-linux    文件:Logic.java   
private Image getComplicationLateralityImg(LateralityLRB diagLaterality)
{
    if(diagLaterality != null)
    {
        if(diagLaterality.equals(LateralityLRB.LEFT))
            return form.getImages().COE.LightSkyBlueLeft;
        else if(diagLaterality.equals(LateralityLRB.RIGHT))
            return form.getImages().COE.LightSkyBlueRight;
        else if(diagLaterality.equals(LateralityLRB.BILATERAL))
            return form.getImages().COE.LightSkyBlueBoth;
    }
    else
        return form.getImages().COE.LightSkyBlue;

    return null;
}
项目:openmaxims-linux    文件:Logic.java   
private Image getDiagnosisLateralityImg(LateralityLRB diagLaterality)
{
    if(diagLaterality != null)
    {
        if(diagLaterality.equals(LateralityLRB.LEFT))
            return form.getImages().COE.BlueLeft;
        else if(diagLaterality.equals(LateralityLRB.RIGHT))
            return form.getImages().COE.BlueRight;
        else if(diagLaterality.equals(LateralityLRB.BILATERAL))
            return form.getImages().COE.BlueBoth;
    }
    else
        return form.getImages().COE.Blue;

    return null;
}
项目:openmaxims-linux    文件:Logic.java   
private Image getComplicationLateralityImg(LateralityLRB diagLaterality)
{
    if(diagLaterality != null)
    {
        if(diagLaterality.equals(LateralityLRB.LEFT))
            return form.getImages().COE.LightSkyBlueLeft;
        else if(diagLaterality.equals(LateralityLRB.RIGHT))
            return form.getImages().COE.LightSkyBlueRight;
        else if(diagLaterality.equals(LateralityLRB.BILATERAL))
            return form.getImages().COE.LightSkyBlueBoth;
    }
    else
        return form.getImages().COE.LightSkyBlue;

    return null;
}
项目:AvoinApotti    文件:Logic.java   
private Image getProcedureLateralityImg(LateralityLRB procLaterality, PatientProcedureStatus status)
{
    if (procLaterality != null && status != null)
    {
        if (procLaterality.equals(LateralityLRB.LEFT))
        {
            if (status.equals(PatientProcedureStatus.PLANNED))
                return form.getImages().COE.DarkCyanLeft;
            else if (status.equals(PatientProcedureStatus.PERFORMED))
                return form.getImages().COE.OrangeLeft;

        }
        else if (procLaterality.equals(LateralityLRB.RIGHT))
        {
            if (status.equals(PatientProcedureStatus.PLANNED))
                return form.getImages().COE.DarkCyanRight;
            else if (status.equals(PatientProcedureStatus.PERFORMED))
                return form.getImages().COE.OrangeRight;

        }
        else if (procLaterality.equals(LateralityLRB.BILATERAL))
        {
            if (status.equals(PatientProcedureStatus.PLANNED))
                return form.getImages().COE.DarkCyanBoth;
            else if (status.equals(PatientProcedureStatus.PERFORMED))
                return form.getImages().COE.OrangeBoth;
        }
    }
    else
    {
        if (status != null)
        {
            if (status.equals(PatientProcedureStatus.PLANNED))
                return form.getImages().COE.DarkCyan;
            else if (status.equals(PatientProcedureStatus.PERFORMED))
                return form.getImages().COE.Orange;
        }
    }
    return null;
}
项目:AvoinApotti    文件:Logic.java   
private Image getProcedureLateralityImg(LateralityLRB procLaterality, PatientProcedureStatus status)
{
    if (procLaterality != null && status != null)
    {
        if (procLaterality.equals(LateralityLRB.LEFT))
        {
            if (status.equals(PatientProcedureStatus.PLANNED))
                return form.getImages().COE.DarkCyanLeft;
            else if (status.equals(PatientProcedureStatus.PERFORMED))
                return form.getImages().COE.OrangeLeft;

        }
        else if (procLaterality.equals(LateralityLRB.RIGHT))
        {
            if (status.equals(PatientProcedureStatus.PLANNED))
                return form.getImages().COE.DarkCyanRight;
            else if (status.equals(PatientProcedureStatus.PERFORMED))
                return form.getImages().COE.OrangeRight;

        }
        else if (procLaterality.equals(LateralityLRB.BILATERAL))
        {
            if (status.equals(PatientProcedureStatus.PLANNED))
                return form.getImages().COE.DarkCyanBoth;
            else if (status.equals(PatientProcedureStatus.PERFORMED))
                return form.getImages().COE.OrangeBoth;
        }
    }
    else
    {
        if(status != null)
        {
            if (status.equals(PatientProcedureStatus.PLANNED))
                return form.getImages().COE.DarkCyan;
            else if (status.equals(PatientProcedureStatus.PERFORMED))
                return form.getImages().COE.Orange;
        }
    }
    return null;
}
项目:AvoinApotti    文件:Logic.java   
private Image getProcedureLateralityImg(LateralityLRB procLaterality, PatientProcedureStatus status)
{
    if (procLaterality != null && status != null)
    {
        if (procLaterality.equals(LateralityLRB.LEFT))
        {
            if (status.equals(PatientProcedureStatus.PLANNED))
                return form.getImages().COE.DarkCyanLeft;
            else if (status.equals(PatientProcedureStatus.PERFORMED))
                return form.getImages().COE.OrangeLeft;

        }
        else if (procLaterality.equals(LateralityLRB.RIGHT))
        {
            if (status.equals(PatientProcedureStatus.PLANNED))
                return form.getImages().COE.DarkCyanRight;
            else if (status.equals(PatientProcedureStatus.PERFORMED))
                return form.getImages().COE.OrangeRight;

        }
        else if (procLaterality.equals(LateralityLRB.BILATERAL))
        {
            if (status.equals(PatientProcedureStatus.PLANNED))
                return form.getImages().COE.DarkCyanBoth;
            else if (status.equals(PatientProcedureStatus.PERFORMED))
                return form.getImages().COE.OrangeBoth;
        }
    }
    else
    {
        if(status != null)
        {
            if (status.equals(PatientProcedureStatus.PLANNED))
                return form.getImages().COE.DarkCyan;
            else if (status.equals(PatientProcedureStatus.PERFORMED))
                return form.getImages().COE.Orange;
        }
    }
    return null;
}
项目:openMAXIMS    文件:Logic.java   
private void addProcedureToDynGrid(PatientProcedureShortWithCareIntraOperativeVo voProc, String stringOPCS4, String stringICD10, LateralityLRB lateralityLRB, DynamicGridRow newRow, DynamicGridCell cellName, DynamicGridCell cellICD10, DynamicGridCell cellOPCS4, DynamicGridCell cellLaterality)
{
    cellName.setValue(voProc.getProcedureDescription());
    cellName.setTooltip(voProc.getProcedureDescription());

    if (voProc.getProcedureIsNotNull() && voProc.getProcedure().getID_ProcedureIsNotNull())
    {
        ProcedureVo voProcWithMappings = domain.getProcedureWithTaxonomyMappings(voProc.getProcedure());

        cellICD10.setValue(stringICD10 == "" ? findICD10(voProcWithMappings.getCciMappings()) : stringICD10);
        cellICD10.setTooltip(stringICD10 == "" ? findICD10(voProcWithMappings.getCciMappings()) : stringICD10);

        cellOPCS4.setValue(stringOPCS4 == "" ? findOPCS4(voProcWithMappings.getCciMappings()) : stringOPCS4);
        cellOPCS4.setTooltip(stringOPCS4 == "" ? findOPCS4(voProcWithMappings.getCciMappings()) : stringOPCS4);
    }

    if (voProc != null && voProc.getProcedure() == null)
    {
        cellICD10.setValue(stringICD10);
        cellICD10.setTooltip(stringICD10);

        cellOPCS4.setValue(stringOPCS4);
        cellOPCS4.setTooltip(stringOPCS4);
    }

    newRow.setBackColor(Color.LightBlue);


    cellLaterality.setValue(lateralityLRB!=null ? lateralityLRB.getText() : "");

    form.setMode(FormMode.EDIT);
}
项目:openMAXIMS    文件:Logic.java   
private void addDiagnosisToDynGrid(PatientDiagnosisShortVo voDiag, String stringICD10, String stringOPCS4, LateralityLRB lateralityLRB, DynamicGridRow newRow, DynamicGridCell cellName, DynamicGridCell cellICD10, DynamicGridCell cellOPCS4, DynamicGridCell cellLaterality)
{
    cellName.setValue(voDiag.getDiagnosisDescription());
    cellName.setTooltip(voDiag.getDiagnosisDescription());

    if (voDiag.getDiagnosisIsNotNull() && voDiag.getDiagnosis().getID_DiagnosisIsNotNull())
    {
        DiagnosisVo voDiagWithMappings = domain.getDiagnosisWithTaxonomyMappings(voDiag.getDiagnosis());

        cellICD10.setValue(stringICD10 == "" ? findICD10(voDiagWithMappings.getCciMappings()) : stringICD10);
        cellICD10.setTooltip(stringICD10 == "" ? findICD10(voDiagWithMappings.getCciMappings()) : stringICD10);

        cellOPCS4.setValue(stringOPCS4 == "" ? findOPCS4(voDiagWithMappings.getCciMappings()) : stringOPCS4);
        cellOPCS4.setTooltip(stringOPCS4 == "" ? findOPCS4(voDiagWithMappings.getCciMappings()) : stringOPCS4);
    }
    if (voDiag != null && voDiag.getDiagnosis() == null)
    {
        cellICD10.setValue(stringICD10);
        cellICD10.setTooltip(stringICD10);

        cellOPCS4.setValue(stringOPCS4);
        cellOPCS4.setTooltip(stringOPCS4);
    }


    cellLaterality.setValue(lateralityLRB!=null ? lateralityLRB.getText() : "");

    newRow.setBackColor(Color.Orange);
}
项目:openMAXIMS    文件:Logic.java   
private void addOPCS4ProcedureToDynGrid(String string, LateralityLRB lateralityLRB, DynamicGridRow newRow, DynamicGridCell cellName, DynamicGridCell cellICD10, DynamicGridCell cellOPCS4, DynamicGridCell cellLaterality)
{
    cellName.setValue("");
    cellName.setTooltip("");

    cellICD10.setValue("");
    cellICD10.setTooltip("");

    cellOPCS4.setValue(string);
    cellOPCS4.setTooltip(string);

    cellLaterality.setValue(lateralityLRB!=null ? lateralityLRB.getText():"");

    newRow.setBackColor(Color.LightBlue);
}
项目:openMAXIMS    文件:Logic.java   
private void addProcedureToOutpatientCodingGrid(PatientProcedureShortWithCareIntraOperativeVo voProc, String stringOPCS4, String stringICD10, LateralityLRB lateralityLRB, boolean bSavedRecord)
{
    grdOutpatientCodingRow rowCoding = form.lyrTabs().tabOutpatientCoding().grdOutpatientCoding().getRows().newRow();

    rowCoding.setColDiagProcInv(voProc.getProcedureDescription());
    rowCoding.setTooltipForColDiagProcInv(voProc.getProcedureDescription());
    if (voProc.getProcedureIsNotNull() && voProc.getProcedure().getID_ProcedureIsNotNull())
    {

        ProcedureVo voProcWithMappings = domain.getProcedureWithTaxonomyMappings(voProc.getProcedure());
        rowCoding.setColProcVo(voProc);
        rowCoding.setColICD10(stringICD10 == "" ? findICD10(voProcWithMappings.getCciMappings()) : stringICD10);
        rowCoding.setColOPCS4(stringOPCS4 == "" ? findOPCS4(voProcWithMappings.getCciMappings()) : stringOPCS4);
    }
    if (voProc != null && voProc.getProcedure() == null)
    {
        rowCoding.setColProcVo(voProc);
        rowCoding.setColICD10(stringICD10);
        rowCoding.setColOPCS4(stringOPCS4);
    }

    rowCoding.setColEditICDReadOnly(true);
    rowCoding.setColEditOPCSReadOnly(true);
    rowCoding.setBackColor(Color.LightBlue);
    rowCoding.setColLaterality(bSavedRecord ? lateralityLRB : voProc.getProcLaterality());

    rowCoding.setValue(null);

    form.lyrTabs().tabOutpatientCoding().grdProc().setValue(null);

    if (form.getLocalContext().getCurrentRCVo() == null)
    {
        form.lyrTabs().tabOutpatientCoding().chkOutpatientActive().setValue(true);

        form.lyrTabs().tabOutpatientCoding().dtimRecording().setValue(new DateTime());
        if (engine.getLoggedInUser() != null && engine.getLoggedInUser().getUserRealName() != null)
            form.lyrTabs().tabOutpatientCoding().txtRecUser().setValue(engine.getLoggedInUser().getUserRealName().toString());
    }
}