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

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

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

    return null;
}
项目: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;
}
项目: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-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;
}