Java 类ims.core.vo.domain.PatientProcedureProcsComponentVoAssembler 实例源码

项目:AvoinApotti    文件:EDischargeOpsProcsComponentImpl.java   
public ims.core.vo.PatientProcedureProcsComponentVo getProcedure(PatientProcedureRefVo procedure)
{
    DomainFactory factory = getDomainFactory();
    IMSCriteria imsc = new IMSCriteria(PatientProcedure.class, factory);

    imsc.equal("id", procedure.getID_PatientProcedure());
    List procedures = imsc.find();
    if (procedures.size() > 0)
        return PatientProcedureProcsComponentVoAssembler.create((PatientProcedure) procedures.get(0));
    else
        return null;
}
项目:openMAXIMS    文件:EDischargeOpsProcsComponentImpl.java   
public ims.core.vo.PatientProcedureProcsComponentVo getProcedure(PatientProcedureRefVo procedure)
{
    DomainFactory factory = getDomainFactory();
    IMSCriteria imsc = new IMSCriteria(PatientProcedure.class, factory);

    imsc.equal("id", procedure.getID_PatientProcedure());
    List procedures = imsc.find();
    if (procedures.size() > 0)
        return PatientProcedureProcsComponentVoAssembler.create((PatientProcedure) procedures.get(0));
    else
        return null;
}
项目:openMAXIMS    文件:EDischargeOpsProcsComponentImpl.java   
public ims.core.vo.PatientProcedureProcsComponentVo getProcedure(PatientProcedureRefVo procedure)
{
    DomainFactory factory = getDomainFactory();
    IMSCriteria imsc = new IMSCriteria(PatientProcedure.class, factory);

    imsc.equal("id", procedure.getID_PatientProcedure());
    List procedures = imsc.find();
    if (procedures.size() > 0)
        return PatientProcedureProcsComponentVoAssembler.create((PatientProcedure) procedures.get(0));
    else
        return null;
}
项目:openmaxims-linux    文件:EDischargeOpsProcsComponentImpl.java   
public ims.core.vo.PatientProcedureProcsComponentVo getProcedure(PatientProcedureRefVo procedure)
{
    DomainFactory factory = getDomainFactory();
    IMSCriteria imsc = new IMSCriteria(PatientProcedure.class, factory);

    imsc.equal("id", procedure.getID_PatientProcedure());
    List procedures = imsc.find();
    if (procedures.size() > 0)
        return PatientProcedureProcsComponentVoAssembler.create((PatientProcedure) procedures.get(0));
    else
        return null;
}