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

项目:AvoinApotti    文件:Logic.java   
private boolean validationIPMode(ClinicalNoteStatusVo currentStatus) 
{
    if (currentStatus != null
        &&  currentStatus.getStatusIsNotNull() 
        && (currentStatus.getStatus().equals(ClinicalNotesStatus.PREVALIDATION))
        && domain.getHcpLiteUser() != null 
        && testDiscipline()) 
        //domain.getHcpLiteUser().equals(form.customControlAuthoring().getValue().getAuthoringHcp()))
        return true;
    else
        return false;
}
项目:AvoinApotti    文件:Logic.java   
private boolean correctModeIP(ClinicalNoteStatusVo currentStatus) 
{
    if (currentStatus != null
        &&  currentStatus.getStatusIsNotNull() 
            && (currentStatus.getStatus().equals(ClinicalNotesStatus.ACTIVE) 
                    || currentStatus.getStatus().equals(ClinicalNotesStatus.CORRECTED) )
                        && domain.getHcpLiteUser() != null 
                            && testDiscipline()) 
                            //domain.getHcpLiteUser().equals(form.customControlAuthoring().getValue().getAuthoringHcp()))
                                return true;
    else
        return false;
}
项目:AvoinApotti    文件:Logic.java   
private boolean correctModeIP(ClinicalNoteStatusVo currentStatus)
{
    if (currentStatus != null && currentStatus.getStatusIsNotNull() && (currentStatus.getStatus().equals(ClinicalNotesStatus.ACTIVE) || currentStatus.getStatus().equals(ClinicalNotesStatus.CORRECTED)) && domain.getHcpLiteUser() != null && testIpDiscipline())
        // domain.getHcpLiteUser().equals(form.lyrTabs().tabClinicalNotes().customControlClinicalNotesAuthoiring().getValue().getAuthoringHcp()))
        return true;
    else
        return false;
}
项目:AvoinApotti    文件:Logic.java   
private boolean validationIPMode(ClinicalNoteStatusVo currentStatus)
{
    if (currentStatus != null && currentStatus.getStatusIsNotNull() && (currentStatus.getStatus().equals(ClinicalNotesStatus.PREVALIDATION)) && domain.getHcpLiteUser() != null && testIpDiscipline())
        // domain.getHcpLiteUser().equals(form.lyrTabs().tabClinicalNotes().customControlClinicalNotesAuthoiring().getValue().getAuthoringHcp()))
        return true;
    else
        return false;
}
项目:AvoinApotti    文件:Logic.java   
private boolean validationOPMode(ClinicalNoteStatusVo currentStatus)
{
    if (currentStatus != null && currentStatus.getStatusIsNotNull() && (currentStatus.getStatus().equals(ClinicalNotesStatus.PREVALIDATION)) && domain.getHcpLiteUser() != null && testOpDiscipline())
        // domain.getHcpLiteUser().equals(form.lyrTabs().tabOPDNote().customControlOPAuthoring().getValue().getAuthoringHcp()))
        return true;
    else
        return false;
}
项目:AvoinApotti    文件:Logic.java   
private boolean correctModeOP(ClinicalNoteStatusVo voPreviousStat)
{
    if (voPreviousStat != null && voPreviousStat.getStatusIsNotNull() && (voPreviousStat.getStatus().equals(ClinicalNotesStatus.ACTIVE) || voPreviousStat.getStatus().equals(ClinicalNotesStatus.CORRECTED)) && domain.getHcpLiteUser() != null && testOpDiscipline())
        // domain.getHcpLiteUser().equals(form.lyrTabs().tabOPDNote().customControlOPAuthoring().getValue().getAuthoringHcp()))
        return true;
    else
        return false;
}
项目:AvoinApotti    文件:Logic.java   
private boolean correctModeIP(ClinicalNoteStatusVo currentStatus) 
{
    if (currentStatus != null &&
            currentStatus.getStatusIsNotNull() && 
                (currentStatus.getStatus().equals(ClinicalNotesStatus.ACTIVE) ||
                    currentStatus.getStatus().equals(ClinicalNotesStatus.CORRECTED) ) && 
                        domain.getHcpLiteUser() != null && 
                            /*domain.getHcpLiteUser().equals(form.customControlAuthoring().getValue().getAuthoringHcp())*/
                        testDiscipline())
        return true;
    else
        return false;
}
项目:AvoinApotti    文件:Logic.java   
private boolean validationIPMode(ClinicalNoteStatusVo currentStatus) 
{
    if (currentStatus != null
        &&  currentStatus.getStatusIsNotNull() 
        && (currentStatus.getStatus().equals(ClinicalNotesStatus.PREVALIDATION))
        && domain.getHcpLiteUser() != null 
        /*&& domain.getHcpLiteUser().equals(form.customControlAuthoring().getValue().getAuthoringHcp())*/
        && testDiscipline())
        return true;
    else
        return false;
}
项目:AvoinApotti    文件:Logic.java   
private void addCorrectedText(StringBuffer sb, ClinicalNoteStatusVo currentStatus) 
{
    sb.append("<br>");
    sb.append("  Corrected by : ");
    sb.append(currentStatus.getCorrectedByIsNotNull() ? currentStatus.getCorrectedBy().getName() : "");
    sb.append(" on ");
    sb.append(currentStatus.getDateTimeIsNotNull() ? currentStatus.getDateTime().getDate().toString() : " ");
    sb.append(" at ");
    sb.append(currentStatus.getDateTimeIsNotNull() ? currentStatus.getDateTime().getTime().toString() : " ");
    sb.append(" for the following reason :- ");
    sb.append("<br>");
    sb.append(currentStatus.getCorrectionReasonIsNotNull() ? currentStatus.getCorrectionReason() : " NO REASON GIVEN");
}
项目:AvoinApotti    文件:Logic.java   
private void copyArrayListIntoColl(Object obj, ArrayList collActions)
{
    if (obj instanceof ClinicalNoteStatusVoCollection) 
    {   
        ClinicalNoteStatusVoCollection coll = (ClinicalNoteStatusVoCollection)obj;
        if(coll != null)
            coll.clear();
        for (int i = 0; coll != null && collActions  != null && i < collActions.size(); i++)
        {
            coll.add((ClinicalNoteStatusVo)collActions.get(i));
        }
    }
}
项目:AvoinApotti    文件:Logic.java   
private ClinicalNoteStatusVo findConfirmedInfo(ClinicalNoteStatusVoCollection clinicalNoteStatusVoCollection)
{
    for (int i = 0 ; clinicalNoteStatusVoCollection != null && i < clinicalNoteStatusVoCollection.size() ; i++)
    {
        if (clinicalNoteStatusVoCollection.get(i).getStatusIsNotNull()
            && clinicalNoteStatusVoCollection.get(i).getStatus().equals(ClinicalNotesStatus.CONFIRMED))
            return clinicalNoteStatusVoCollection.get(i);
    }

    return null;
}
项目:AvoinApotti    文件:Logic.java   
private boolean validationIPMode(ClinicalNoteStatusVo currentStatus) 
{
    if (currentStatus != null
        &&  currentStatus.getStatusIsNotNull() 
        && (currentStatus.getStatus().equals(ClinicalNotesStatus.PREVALIDATION))
        && domain.getHcpLiteUser() != null 
        && testDiscipline())
        return true;
    else
        return false;
}
项目:AvoinApotti    文件:Logic.java   
private boolean correctModeIP(ClinicalNoteStatusVo currentStatus) 
{
    if (currentStatus != null
        &&  currentStatus.getStatusIsNotNull() 
            && (currentStatus.getStatus().equals(ClinicalNotesStatus.ACTIVE) 
                    || currentStatus.getStatus().equals(ClinicalNotesStatus.CORRECTED) )
                        && domain.getHcpLiteUser() != null 
                            && testDiscipline()) 
                            //domain.getHcpLiteUser().equals(form.customControlAuthoring().getValue().getAuthoringHcp()))
                                return true;
    else
        return false;
}
项目:openMAXIMS    文件:Logic.java   
private boolean validationIPMode(ClinicalNoteStatusVo currentStatus) 
{
    if (currentStatus != null
        &&  currentStatus.getStatusIsNotNull() 
        && (currentStatus.getStatus().equals(ClinicalNotesStatus.PREVALIDATION))
        && domain.getHcpLiteUser() != null 
        && testDiscipline()) 
        //domain.getHcpLiteUser().equals(form.customControlAuthoring().getValue().getAuthoringHcp()))
        return true;
    else
        return false;
}
项目:openMAXIMS    文件:Logic.java   
private boolean correctModeIP(ClinicalNoteStatusVo currentStatus) 
{
    if (currentStatus != null
        &&  currentStatus.getStatusIsNotNull() 
            && (currentStatus.getStatus().equals(ClinicalNotesStatus.ACTIVE) 
                    || currentStatus.getStatus().equals(ClinicalNotesStatus.CORRECTED) )
                        && domain.getHcpLiteUser() != null 
                            && testDiscipline()) 
                            //domain.getHcpLiteUser().equals(form.customControlAuthoring().getValue().getAuthoringHcp()))
                                return true;
    else
        return false;
}
项目:openMAXIMS    文件:Logic.java   
private boolean correctModeIP(ClinicalNoteStatusVo currentStatus) 
{
    if (currentStatus != null
        &&  currentStatus.getStatusIsNotNull() 
            && (currentStatus.getStatus().equals(ClinicalNotesStatus.ACTIVE) 
                    || currentStatus.getStatus().equals(ClinicalNotesStatus.CORRECTED) )
                        && domain.getHcpLiteUser() != null 
                            && testDiscipline()) 
                            //domain.getHcpLiteUser().equals(form.customControlAuthoring().getValue().getAuthoringHcp()))
                                return true;
    else
        return false;
}
项目:openMAXIMS    文件:Logic.java   
private boolean validationIPMode(ClinicalNoteStatusVo currentStatus) 
{
    if (currentStatus != null
        &&  currentStatus.getStatusIsNotNull() 
        && (currentStatus.getStatus().equals(ClinicalNotesStatus.PREVALIDATION))
        && domain.getHcpLiteUser() != null 
        && testDiscipline()) 
        //domain.getHcpLiteUser().equals(form.customControlAuthoring().getValue().getAuthoringHcp()))
        return true;
    else
        return false;
}
项目:openMAXIMS    文件:Logic.java   
private boolean correctModeIP(ClinicalNoteStatusVo currentStatus)
{
    if (currentStatus != null && currentStatus.getStatusIsNotNull() && (currentStatus.getStatus().equals(ClinicalNotesStatus.ACTIVE) || currentStatus.getStatus().equals(ClinicalNotesStatus.CORRECTED)) && domain.getHcpLiteUser() != null && testIpDiscipline())
        // domain.getHcpLiteUser().equals(form.lyrTabs().tabClinicalNotes().customControlClinicalNotesAuthoiring().getValue().getAuthoringHcp()))
        return true;
    else
        return false;
}
项目:openMAXIMS    文件:Logic.java   
private boolean validationIPMode(ClinicalNoteStatusVo currentStatus)
{
    if (currentStatus != null && currentStatus.getStatusIsNotNull() && (currentStatus.getStatus().equals(ClinicalNotesStatus.PREVALIDATION)) && domain.getHcpLiteUser() != null && testIpDiscipline())
        // domain.getHcpLiteUser().equals(form.lyrTabs().tabClinicalNotes().customControlClinicalNotesAuthoiring().getValue().getAuthoringHcp()))
        return true;
    else
        return false;
}
项目:openMAXIMS    文件:Logic.java   
private boolean validationOPMode(ClinicalNoteStatusVo currentStatus)
{
    if (currentStatus != null && currentStatus.getStatusIsNotNull() && (currentStatus.getStatus().equals(ClinicalNotesStatus.PREVALIDATION)) && domain.getHcpLiteUser() != null && testOpDiscipline())
        // domain.getHcpLiteUser().equals(form.lyrTabs().tabOPDNote().customControlOPAuthoring().getValue().getAuthoringHcp()))
        return true;
    else
        return false;
}
项目:openMAXIMS    文件:Logic.java   
private boolean correctModeOP(ClinicalNoteStatusVo voPreviousStat)
{
    if (voPreviousStat != null && voPreviousStat.getStatusIsNotNull() && (voPreviousStat.getStatus().equals(ClinicalNotesStatus.ACTIVE) || voPreviousStat.getStatus().equals(ClinicalNotesStatus.CORRECTED)) && domain.getHcpLiteUser() != null && testOpDiscipline())
        // domain.getHcpLiteUser().equals(form.lyrTabs().tabOPDNote().customControlOPAuthoring().getValue().getAuthoringHcp()))
        return true;
    else
        return false;
}
项目:openMAXIMS    文件:Logic.java   
private boolean correctModeIP(ClinicalNoteStatusVo currentStatus) //WDEV-18473
{
    if (currentStatus != null &&
            currentStatus.getStatusIsNotNull() && 
                (currentStatus.getStatus().equals(ClinicalNotesStatus.ACTIVE) ||
                    currentStatus.getStatus().equals(ClinicalNotesStatus.CORRECTED) ) && 
                        domain.getHcpLiteUser() != null)  
                            /*domain.getHcpLiteUser().equals(form.customControlAuthoring().getValue().getAuthoringHcp())*/

        return true;
    else
        return false;
}
项目:openMAXIMS    文件:Logic.java   
private boolean validationIPMode(ClinicalNoteStatusVo currentStatus) 
{
    if (currentStatus != null
        &&  currentStatus.getStatusIsNotNull() 
        && (currentStatus.getStatus().equals(ClinicalNotesStatus.PREVALIDATION))
        && domain.getHcpLiteUser() != null 
        /*&& domain.getHcpLiteUser().equals(form.customControlAuthoring().getValue().getAuthoringHcp())*/
        && testDiscipline())
        return true;
    else
        return false;
}
项目:openMAXIMS    文件:Logic.java   
private void addCorrectedText(StringBuffer sb, ClinicalNoteStatusVo currentStatus) 
{
    sb.append("<br>");
    sb.append("  Corrected by : ");
    sb.append(currentStatus.getCorrectedByIsNotNull() ? currentStatus.getCorrectedBy().getName() : "");
    sb.append(" on ");
    sb.append(currentStatus.getDateTimeIsNotNull() ? currentStatus.getDateTime().getDate().toString() : " ");
    sb.append(" at ");
    sb.append(currentStatus.getDateTimeIsNotNull() ? currentStatus.getDateTime().getTime().toString() : " ");
    sb.append(" for the following reason :- ");
    sb.append("<br>");
    sb.append(currentStatus.getCorrectionReasonIsNotNull() ? currentStatus.getCorrectionReason() : " NO REASON GIVEN");
}
项目:openMAXIMS    文件:Logic.java   
private void copyArrayListIntoColl(Object obj, ArrayList collActions)
{
    if (obj instanceof ClinicalNoteStatusVoCollection) 
    {   
        ClinicalNoteStatusVoCollection coll = (ClinicalNoteStatusVoCollection)obj;
        if(coll != null)
            coll.clear();
        for (int i = 0; coll != null && collActions  != null && i < collActions.size(); i++)
        {
            coll.add((ClinicalNoteStatusVo)collActions.get(i));
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private ClinicalNoteStatusVo findConfirmedInfo(ClinicalNoteStatusVoCollection clinicalNoteStatusVoCollection)
{
    for (int i = 0 ; clinicalNoteStatusVoCollection != null && i < clinicalNoteStatusVoCollection.size() ; i++)
    {
        if (clinicalNoteStatusVoCollection.get(i).getStatusIsNotNull()
            && clinicalNoteStatusVoCollection.get(i).getStatus().equals(ClinicalNotesStatus.CONFIRMED))
            return clinicalNoteStatusVoCollection.get(i);
    }

    return null;
}
项目:openMAXIMS    文件:Logic.java   
private boolean validationIPMode(ClinicalNoteStatusVo currentStatus) 
{
    if (currentStatus != null
        &&  currentStatus.getStatusIsNotNull() 
        && (currentStatus.getStatus().equals(ClinicalNotesStatus.PREVALIDATION))
        && domain.getHcpLiteUser() != null 
        && testDiscipline())
        return true;
    else
        return false;
}
项目:openMAXIMS    文件:Logic.java   
private boolean correctModeIP(ClinicalNoteStatusVo currentStatus) 
{
    if (currentStatus != null
        &&  currentStatus.getStatusIsNotNull() 
            && (currentStatus.getStatus().equals(ClinicalNotesStatus.ACTIVE) 
                    || currentStatus.getStatus().equals(ClinicalNotesStatus.CORRECTED) )
                        && domain.getHcpLiteUser() != null 
                            && testDiscipline()) 
                            //domain.getHcpLiteUser().equals(form.customControlAuthoring().getValue().getAuthoringHcp()))
                                return true;
    else
        return false;
}
项目:openMAXIMS    文件:Logic.java   
private boolean validationIPMode(ClinicalNoteStatusVo currentStatus) 
{
    if (currentStatus != null
        &&  currentStatus.getStatusIsNotNull() 
        && (currentStatus.getStatus().equals(ClinicalNotesStatus.PREVALIDATION))
        && domain.getHcpLiteUser() != null 
        && testDiscipline()) 
        //domain.getHcpLiteUser().equals(form.customControlAuthoring().getValue().getAuthoringHcp()))
        return true;
    else
        return false;
}
项目:openMAXIMS    文件:Logic.java   
private boolean correctModeIP(ClinicalNoteStatusVo currentStatus) 
{
    if (currentStatus != null
        &&  currentStatus.getStatusIsNotNull() 
            && (currentStatus.getStatus().equals(ClinicalNotesStatus.ACTIVE) 
                    || currentStatus.getStatus().equals(ClinicalNotesStatus.CORRECTED) )
                        && domain.getHcpLiteUser() != null 
                            && testDiscipline()) 
                            //domain.getHcpLiteUser().equals(form.customControlAuthoring().getValue().getAuthoringHcp()))
                                return true;
    else
        return false;
}
项目:openMAXIMS    文件:Logic.java   
private boolean correctModeIP(ClinicalNoteStatusVo currentStatus)
{
    if (currentStatus != null && currentStatus.getStatusIsNotNull() && (currentStatus.getStatus().equals(ClinicalNotesStatus.ACTIVE) || currentStatus.getStatus().equals(ClinicalNotesStatus.CORRECTED)) && domain.getHcpLiteUser() != null && testIpDiscipline())
        // domain.getHcpLiteUser().equals(form.lyrTabs().tabClinicalNotes().customControlClinicalNotesAuthoiring().getValue().getAuthoringHcp()))
        return true;
    else
        return false;
}
项目:openMAXIMS    文件:Logic.java   
private boolean validationIPMode(ClinicalNoteStatusVo currentStatus)
{
    if (currentStatus != null && currentStatus.getStatusIsNotNull() && (currentStatus.getStatus().equals(ClinicalNotesStatus.PREVALIDATION)) && domain.getHcpLiteUser() != null && testIpDiscipline())
        // domain.getHcpLiteUser().equals(form.lyrTabs().tabClinicalNotes().customControlClinicalNotesAuthoiring().getValue().getAuthoringHcp()))
        return true;
    else
        return false;
}
项目:openMAXIMS    文件:Logic.java   
private boolean validationOPMode(ClinicalNoteStatusVo currentStatus)
{
    if (currentStatus != null && currentStatus.getStatusIsNotNull() && (currentStatus.getStatus().equals(ClinicalNotesStatus.PREVALIDATION)) && domain.getHcpLiteUser() != null && testOpDiscipline())
        // domain.getHcpLiteUser().equals(form.lyrTabs().tabOPDNote().customControlOPAuthoring().getValue().getAuthoringHcp()))
        return true;
    else
        return false;
}
项目:openMAXIMS    文件:Logic.java   
private boolean correctModeOP(ClinicalNoteStatusVo voPreviousStat)
{
    if (voPreviousStat != null && voPreviousStat.getStatusIsNotNull() && (voPreviousStat.getStatus().equals(ClinicalNotesStatus.ACTIVE) || voPreviousStat.getStatus().equals(ClinicalNotesStatus.CORRECTED)) && domain.getHcpLiteUser() != null && testOpDiscipline())
        // domain.getHcpLiteUser().equals(form.lyrTabs().tabOPDNote().customControlOPAuthoring().getValue().getAuthoringHcp()))
        return true;
    else
        return false;
}
项目:openMAXIMS    文件:Logic.java   
private boolean correctModeIP(ClinicalNoteStatusVo currentStatus) 
{
    if (currentStatus != null &&
            currentStatus.getStatusIsNotNull() && 
                (currentStatus.getStatus().equals(ClinicalNotesStatus.ACTIVE) ||
                    currentStatus.getStatus().equals(ClinicalNotesStatus.CORRECTED) ) && 
                        domain.getHcpLiteUser() != null && 
                            /*domain.getHcpLiteUser().equals(form.customControlAuthoring().getValue().getAuthoringHcp())*/
                        testDiscipline())
        return true;
    else
        return false;
}
项目:openMAXIMS    文件:Logic.java   
private boolean validationIPMode(ClinicalNoteStatusVo currentStatus) 
{
    if (currentStatus != null
        &&  currentStatus.getStatusIsNotNull() 
        && (currentStatus.getStatus().equals(ClinicalNotesStatus.PREVALIDATION))
        && domain.getHcpLiteUser() != null 
        /*&& domain.getHcpLiteUser().equals(form.customControlAuthoring().getValue().getAuthoringHcp())*/
        && testDiscipline())
        return true;
    else
        return false;
}
项目:openMAXIMS    文件:Logic.java   
private void addCorrectedText(StringBuffer sb, ClinicalNoteStatusVo currentStatus) 
{
    sb.append("<br>");
    sb.append("  Corrected by : ");
    sb.append(currentStatus.getCorrectedByIsNotNull() ? currentStatus.getCorrectedBy().getName() : "");
    sb.append(" on ");
    sb.append(currentStatus.getDateTimeIsNotNull() ? currentStatus.getDateTime().getDate().toString() : " ");
    sb.append(" at ");
    sb.append(currentStatus.getDateTimeIsNotNull() ? currentStatus.getDateTime().getTime().toString() : " ");
    sb.append(" for the following reason :- ");
    sb.append("<br>");
    sb.append(currentStatus.getCorrectionReasonIsNotNull() ? currentStatus.getCorrectionReason() : " NO REASON GIVEN");
}
项目:openMAXIMS    文件:Logic.java   
private void copyArrayListIntoColl(Object obj, ArrayList collActions)
{
    if (obj instanceof ClinicalNoteStatusVoCollection) 
    {   
        ClinicalNoteStatusVoCollection coll = (ClinicalNoteStatusVoCollection)obj;
        if(coll != null)
            coll.clear();
        for (int i = 0; coll != null && collActions  != null && i < collActions.size(); i++)
        {
            coll.add((ClinicalNoteStatusVo)collActions.get(i));
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private ClinicalNoteStatusVo findConfirmedInfo(ClinicalNoteStatusVoCollection clinicalNoteStatusVoCollection)
{
    for (int i = 0 ; clinicalNoteStatusVoCollection != null && i < clinicalNoteStatusVoCollection.size() ; i++)
    {
        if (clinicalNoteStatusVoCollection.get(i).getStatusIsNotNull()
            && clinicalNoteStatusVoCollection.get(i).getStatus().equals(ClinicalNotesStatus.CONFIRMED))
            return clinicalNoteStatusVoCollection.get(i);
    }

    return null;
}
项目:openMAXIMS    文件:Logic.java   
private boolean validationIPMode(ClinicalNoteStatusVo currentStatus) 
{
    if (currentStatus != null
        &&  currentStatus.getStatusIsNotNull() 
        && (currentStatus.getStatus().equals(ClinicalNotesStatus.PREVALIDATION))
        && domain.getHcpLiteUser() != null 
        && testDiscipline())
        return true;
    else
        return false;
}