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

项目:AvoinApotti    文件:Logic.java   
private LookupTypeVo getLookupType(SECSTypes type)
{
    if(type == null)
        throw new CodingRuntimeException("type is null in method getLookupType");

    if(type.equals(SECSTypes.PATIENT_CONCERN))
        return new LookupTypeVo(PatientCausingConcern.TYPE_ID);
    if(type.equals(SECSTypes.URINE_OUTPUT))
        return new LookupTypeVo(UrineOutput.TYPE_ID);
    if(type.equals(SECSTypes.CONSCIOUS_LEVEL))
        return new LookupTypeVo(ConsciousLevel.TYPE_ID);

    return null;
}
项目:AvoinApotti    文件:Logic.java   
/**
 * if a record exists then retrieve it for type else create new
 * @param voCollSecsConfig
 * @param type 
 * @return
 */
private SECSConfigurationVo getConfigRecord(SECSConfigurationVoCollection voCollSecsConfig, SECSTypes type)
{
    for(int i=0; i<voCollSecsConfig.size(); i++)
    {
        if(voCollSecsConfig.get(i).getTypeIsNotNull() && voCollSecsConfig.get(i).getType().equals(type))
            return voCollSecsConfig.get(i);
    }

    return new SECSConfigurationVo();
}
项目:AvoinApotti    文件:Logic.java   
private void addRangeRow()
{
    DynamicGridRow row = form.lyrDetail().tabRange().dyngrdRangeScore().getRows().newRow();

    DynamicCellType cellRangeType = DynamicCellType.INT; 
    if(form.cmbParameter().getValue().equals(SECSTypes.TEMPERATURE))
        cellRangeType = DynamicCellType.DECIMAL;

    row.getCells().newCell(getRangeColumn(DYN_COLGREATERTHAN), cellRangeType);
    row.getCells().newCell(getRangeColumn(DYN_COLLESSTHAN), cellRangeType);
    row.getCells().newCell(getRangeColumn(DYN_COLSCORE), DynamicCellType.INT);
    row.getCells().newCell(getRangeColumn(DYN_COLWARNING), DynamicCellType.WRAPTEXT).setStringMaxLength(255);

}
项目:openMAXIMS    文件:Logic.java   
private LookupTypeVo getLookupType(SECSTypes type)
{
    if(type == null)
        throw new CodingRuntimeException("type is null in method getLookupType");

    if(type.equals(SECSTypes.PATIENT_CONCERN))
        return new LookupTypeVo(PatientCausingConcern.TYPE_ID);
    if(type.equals(SECSTypes.URINE_OUTPUT))
        return new LookupTypeVo(UrineOutput.TYPE_ID);
    if(type.equals(SECSTypes.CONSCIOUS_LEVEL))
        return new LookupTypeVo(ConsciousLevel.TYPE_ID);

    return null;
}
项目:openMAXIMS    文件:Logic.java   
/**
 * if a record exists then retrieve it for type else create new
 * @param voCollSecsConfig
 * @param type 
 * @return
 */
private SECSConfigurationVo getConfigRecord(SECSConfigurationVoCollection voCollSecsConfig, SECSTypes type)
{
    for(int i=0; i<voCollSecsConfig.size(); i++)
    {
        if(voCollSecsConfig.get(i).getTypeIsNotNull() && voCollSecsConfig.get(i).getType().equals(type))
            return voCollSecsConfig.get(i);
    }

    return new SECSConfigurationVo();
}
项目:openMAXIMS    文件:Logic.java   
private void addRangeRow()
{
    DynamicGridRow row = form.lyrDetail().tabRange().dyngrdRangeScore().getRows().newRow();

    DynamicCellType cellRangeType = DynamicCellType.INT; 
    if(form.cmbParameter().getValue().equals(SECSTypes.TEMPERATURE))
        cellRangeType = DynamicCellType.DECIMAL;

    row.getCells().newCell(getRangeColumn(DYN_COLGREATERTHAN), cellRangeType);
    row.getCells().newCell(getRangeColumn(DYN_COLLESSTHAN), cellRangeType);
    row.getCells().newCell(getRangeColumn(DYN_COLSCORE), DynamicCellType.INT);
    row.getCells().newCell(getRangeColumn(DYN_COLWARNING), DynamicCellType.WRAPTEXT).setStringMaxLength(255);

}
项目:openmaxims-linux    文件:Logic.java   
private LookupTypeVo getLookupType(SECSTypes type)
{
    if(type == null)
        throw new CodingRuntimeException("type is null in method getLookupType");

    if(type.equals(SECSTypes.PATIENT_CONCERN))
        return new LookupTypeVo(PatientCausingConcern.TYPE_ID);
    if(type.equals(SECSTypes.URINE_OUTPUT))
        return new LookupTypeVo(UrineOutput.TYPE_ID);
    if(type.equals(SECSTypes.CONSCIOUS_LEVEL))
        return new LookupTypeVo(ConsciousLevel.TYPE_ID);

    return null;
}
项目:openmaxims-linux    文件:Logic.java   
/**
 * if a record exists then retrieve it for type else create new
 * @param voCollSecsConfig
 * @param type 
 * @return
 */
private SECSConfigurationVo getConfigRecord(SECSConfigurationVoCollection voCollSecsConfig, SECSTypes type)
{
    for(int i=0; i<voCollSecsConfig.size(); i++)
    {
        if(voCollSecsConfig.get(i).getTypeIsNotNull() && voCollSecsConfig.get(i).getType().equals(type))
            return voCollSecsConfig.get(i);
    }

    return new SECSConfigurationVo();
}
项目:openmaxims-linux    文件:Logic.java   
private void addRangeRow()
{
    DynamicGridRow row = form.lyrDetail().tabRange().dyngrdRangeScore().getRows().newRow();

    DynamicCellType cellRangeType = DynamicCellType.INT; 
    if(form.cmbParameter().getValue().equals(SECSTypes.TEMPERATURE))
        cellRangeType = DynamicCellType.DECIMAL;

    row.getCells().newCell(getRangeColumn(DYN_COLGREATERTHAN), cellRangeType);
    row.getCells().newCell(getRangeColumn(DYN_COLLESSTHAN), cellRangeType);
    row.getCells().newCell(getRangeColumn(DYN_COLSCORE), DynamicCellType.INT);
    row.getCells().newCell(getRangeColumn(DYN_COLWARNING), DynamicCellType.WRAPTEXT).setStringMaxLength(255);

}
项目:AvoinApotti    文件:Logic.java   
private boolean isRange(SECSTypes value)
{
    return value != null && (value.equals(SECSTypes.PULSE) || value.equals(SECSTypes.RESPIRATORYRATE) || value.equals(SECSTypes.SYSTOLICBP) || value.equals(SECSTypes.TEMPERATURE) || value.equals(SECSTypes.OXYGENSATS));//    WDEV-12769
}
项目:AvoinApotti    文件:Logic.java   
private boolean isScore(SECSTypes value)
{
    return value != null && (value.equals(SECSTypes.PATIENT_CONCERN) || value.equals(SECSTypes.URINE_OUTPUT) || value.equals(SECSTypes.CONSCIOUS_LEVEL));
}
项目:AvoinApotti    文件:Logic.java   
private boolean isRange(SECSTypes value)
{
    return value != null && (value.equals(SECSTypes.PULSE) || value.equals(SECSTypes.RESPIRATORYRATE) || value.equals(SECSTypes.SYSTOLICBP) || value.equals(SECSTypes.TEMPERATURE) || value.equals(SECSTypes.OXYGENSATS));//    WDEV-12769
}
项目:AvoinApotti    文件:Logic.java   
private boolean isScore(SECSTypes value)
{
    return value != null && (value.equals(SECSTypes.PATIENT_CONCERN) || value.equals(SECSTypes.URINE_OUTPUT) || value.equals(SECSTypes.CONSCIOUS_LEVEL));
}
项目:AvoinApotti    文件:Logic.java   
private boolean isRange(SECSTypes value)
{
    return value != null && (value.equals(SECSTypes.PULSE) || value.equals(SECSTypes.RESPIRATORYRATE) || value.equals(SECSTypes.SYSTOLICBP) || value.equals(SECSTypes.TEMPERATURE));
}
项目:AvoinApotti    文件:Logic.java   
private boolean isScore(SECSTypes value)
{
    return value != null && (value.equals(SECSTypes.PATIENT_CONCERN) || value.equals(SECSTypes.URINE_OUTPUT) || value.equals(SECSTypes.CONSCIOUS_LEVEL));
}
项目:AvoinApotti    文件:Logic.java   
private boolean isRange(SECSTypes value)
{
    return value != null && (value.equals(SECSTypes.PULSE) || value.equals(SECSTypes.RESPIRATORYRATE) || value.equals(SECSTypes.SYSTOLICBP) || value.equals(SECSTypes.TEMPERATURE) || value.equals(SECSTypes.OXYGENSATS));// WDEV-12769
}
项目:AvoinApotti    文件:Logic.java   
private boolean isScore(SECSTypes value)
{
    return value != null && (value.equals(SECSTypes.PATIENT_CONCERN) || value.equals(SECSTypes.URINE_OUTPUT) || value.equals(SECSTypes.CONSCIOUS_LEVEL));
}
项目:openMAXIMS    文件:Logic.java   
private boolean isRange(SECSTypes value)
{
    return value != null && (value.equals(SECSTypes.PULSE) || value.equals(SECSTypes.RESPIRATORYRATE) || value.equals(SECSTypes.SYSTOLICBP) || value.equals(SECSTypes.TEMPERATURE) || value.equals(SECSTypes.OXYGENSATS));//    WDEV-12769
}
项目:openMAXIMS    文件:Logic.java   
private boolean isScore(SECSTypes value)
{
    return value != null && (value.equals(SECSTypes.PATIENT_CONCERN) || value.equals(SECSTypes.URINE_OUTPUT) || value.equals(SECSTypes.CONSCIOUS_LEVEL));
}
项目:openMAXIMS    文件:Logic.java   
private boolean isRange(SECSTypes value)
{
    return value != null && (value.equals(SECSTypes.PULSE) || value.equals(SECSTypes.RESPIRATORYRATE) || value.equals(SECSTypes.SYSTOLICBP) || value.equals(SECSTypes.TEMPERATURE) || value.equals(SECSTypes.OXYGENSATS));//    WDEV-12769
}
项目:openMAXIMS    文件:Logic.java   
private boolean isScore(SECSTypes value)
{
    return value != null && (value.equals(SECSTypes.PATIENT_CONCERN) || value.equals(SECSTypes.URINE_OUTPUT) || value.equals(SECSTypes.CONSCIOUS_LEVEL));
}
项目:openMAXIMS    文件:Logic.java   
private boolean isRange(SECSTypes value)
{
    return value != null && (value.equals(SECSTypes.PULSE) || value.equals(SECSTypes.RESPIRATORYRATE) || value.equals(SECSTypes.SYSTOLICBP) || value.equals(SECSTypes.TEMPERATURE));
}
项目:openMAXIMS    文件:Logic.java   
private boolean isScore(SECSTypes value)
{
    return value != null && (value.equals(SECSTypes.PATIENT_CONCERN) || value.equals(SECSTypes.URINE_OUTPUT) || value.equals(SECSTypes.CONSCIOUS_LEVEL));
}
项目:openMAXIMS    文件:Logic.java   
private boolean isRange(SECSTypes value)
{
    return value != null && (value.equals(SECSTypes.PULSE) || value.equals(SECSTypes.RESPIRATORYRATE) || value.equals(SECSTypes.SYSTOLICBP) || value.equals(SECSTypes.TEMPERATURE) || value.equals(SECSTypes.OXYGENSATS));// WDEV-12769
}
项目:openMAXIMS    文件:Logic.java   
private boolean isScore(SECSTypes value)
{
    return value != null && (value.equals(SECSTypes.PATIENT_CONCERN) || value.equals(SECSTypes.URINE_OUTPUT) || value.equals(SECSTypes.CONSCIOUS_LEVEL));
}
项目:openmaxims-linux    文件:Logic.java   
private boolean isRange(SECSTypes value)
{
    return value != null && (value.equals(SECSTypes.PULSE) || value.equals(SECSTypes.RESPIRATORYRATE) || value.equals(SECSTypes.SYSTOLICBP) || value.equals(SECSTypes.TEMPERATURE) || value.equals(SECSTypes.OXYGENSATS));//    WDEV-12769
}
项目:openmaxims-linux    文件:Logic.java   
private boolean isScore(SECSTypes value)
{
    return value != null && (value.equals(SECSTypes.PATIENT_CONCERN) || value.equals(SECSTypes.URINE_OUTPUT) || value.equals(SECSTypes.CONSCIOUS_LEVEL));
}
项目:openmaxims-linux    文件:Logic.java   
private boolean isRange(SECSTypes value)
{
    return value != null && (value.equals(SECSTypes.PULSE) || value.equals(SECSTypes.RESPIRATORYRATE) || value.equals(SECSTypes.SYSTOLICBP) || value.equals(SECSTypes.TEMPERATURE) || value.equals(SECSTypes.OXYGENSATS));//    WDEV-12769
}
项目:openmaxims-linux    文件:Logic.java   
private boolean isScore(SECSTypes value)
{
    return value != null && (value.equals(SECSTypes.PATIENT_CONCERN) || value.equals(SECSTypes.URINE_OUTPUT) || value.equals(SECSTypes.CONSCIOUS_LEVEL));
}
项目:openmaxims-linux    文件:Logic.java   
private boolean isRange(SECSTypes value)
{
    return value != null && (value.equals(SECSTypes.PULSE) || value.equals(SECSTypes.RESPIRATORYRATE) || value.equals(SECSTypes.SYSTOLICBP) || value.equals(SECSTypes.TEMPERATURE));
}
项目:openmaxims-linux    文件:Logic.java   
private boolean isScore(SECSTypes value)
{
    return value != null && (value.equals(SECSTypes.PATIENT_CONCERN) || value.equals(SECSTypes.URINE_OUTPUT) || value.equals(SECSTypes.CONSCIOUS_LEVEL));
}
项目:openmaxims-linux    文件:Logic.java   
private boolean isRange(SECSTypes value)
{
    return value != null && (value.equals(SECSTypes.PULSE) || value.equals(SECSTypes.RESPIRATORYRATE) || value.equals(SECSTypes.SYSTOLICBP) || value.equals(SECSTypes.TEMPERATURE) || value.equals(SECSTypes.OXYGENSATS));// WDEV-12769
}
项目:openmaxims-linux    文件:Logic.java   
private boolean isScore(SECSTypes value)
{
    return value != null && (value.equals(SECSTypes.PATIENT_CONCERN) || value.equals(SECSTypes.URINE_OUTPUT) || value.equals(SECSTypes.CONSCIOUS_LEVEL));
}