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

项目:AvoinApotti    文件:EDischargeOpsProcsComponentImpl.java   
/**
 * will call procedure List Impl to list procedures
 */
public ims.core.vo.PatientProcedureProcsComponentLiteVoCollection listProcedures(ims.core.admin.vo.CareContextRefVo careContext) throws ims.domain.exceptions.DomainInterfaceException
{
    final int PERFORMED_ID = -813;

    DomainFactory factory = getDomainFactory();
    IMSCriteria imsc = new IMSCriteria(PatientProcedure.class, factory);
    imsc.equal("careContext.id", careContext.getID_CareContext());
    imsc.equal("procedureStatus.id", PERFORMED_ID);
    List procedures = imsc.find();
    if (procedures.size() > 0)
        return PatientProcedureProcsComponentLiteVoAssembler.createPatientProcedureProcsComponentLiteVoCollectionFromPatientProcedure(procedures);
    else
        return null;
}
项目:AvoinApotti    文件:EDischargeOpsProcsComponentImpl.java   
public void saveProcedures(PatientProcedureProcsComponentLiteVoCollection procedures, EDischargeSTHKSummaryForProcComponentVo summary) throws StaleObjectException

    {
        DomainFactory factory = getDomainFactory();
        if (procedures != null)
        {
            for (int i = 0; i < procedures.size(); i++)
                factory.save(PatientProcedureProcsComponentLiteVoAssembler.extractPatientProcedure(factory, procedures.get(i)));
        }

        if(summary != null)     //wdev-13375
            saveEDischargeSummary(summary); //WDEV-13037
    }
项目:openMAXIMS    文件:EDischargeOpsProcsComponentImpl.java   
/**
 * will call procedure List Impl to list procedures
 */
public ims.core.vo.PatientProcedureProcsComponentLiteVoCollection listProcedures(ims.core.admin.vo.CareContextRefVo careContext) throws ims.domain.exceptions.DomainInterfaceException
{
    final int PERFORMED_ID = -813;

    DomainFactory factory = getDomainFactory();
    IMSCriteria imsc = new IMSCriteria(PatientProcedure.class, factory);
    imsc.equal("careContext.id", careContext.getID_CareContext());
    imsc.equal("procedureStatus.id", PERFORMED_ID);
    List procedures = imsc.find();
    if (procedures.size() > 0)
        return PatientProcedureProcsComponentLiteVoAssembler.createPatientProcedureProcsComponentLiteVoCollectionFromPatientProcedure(procedures);
    else
        return null;
}
项目:openMAXIMS    文件:EDischargeOpsProcsComponentImpl.java   
public void saveProcedures(PatientProcedureProcsComponentLiteVoCollection procedures, EDischargeSTHKSummaryForProcComponentVo summary) throws StaleObjectException

    {
        DomainFactory factory = getDomainFactory();
        if (procedures != null)
        {
            for (int i = 0; i < procedures.size(); i++)
                factory.save(PatientProcedureProcsComponentLiteVoAssembler.extractPatientProcedure(factory, procedures.get(i)));
        }

        if(summary != null)     //wdev-13375
            saveEDischargeSummary(summary); //WDEV-13037
    }
项目:openMAXIMS    文件:EDischargeOpsProcsComponentImpl.java   
/**
 * will call procedure List Impl to list procedures
 */
public ims.core.vo.PatientProcedureProcsComponentLiteVoCollection listProcedures(ims.core.admin.vo.CareContextRefVo careContext) throws ims.domain.exceptions.DomainInterfaceException
{
    final int PERFORMED_ID = -813;

    DomainFactory factory = getDomainFactory();
    IMSCriteria imsc = new IMSCriteria(PatientProcedure.class, factory);
    imsc.equal("careContext.id", careContext.getID_CareContext());
    imsc.equal("procedureStatus.id", PERFORMED_ID);
    List procedures = imsc.find();
    if (procedures.size() > 0)
        return PatientProcedureProcsComponentLiteVoAssembler.createPatientProcedureProcsComponentLiteVoCollectionFromPatientProcedure(procedures);
    else
        return null;
}
项目:openMAXIMS    文件:EDischargeOpsProcsComponentImpl.java   
public void saveProcedures(PatientProcedureProcsComponentLiteVoCollection procedures, EDischargeSTHKSummaryForProcComponentVo summary) throws StaleObjectException

    {
        DomainFactory factory = getDomainFactory();
        if (procedures != null)
        {
            for (int i = 0; i < procedures.size(); i++)
                factory.save(PatientProcedureProcsComponentLiteVoAssembler.extractPatientProcedure(factory, procedures.get(i)));
        }

        if(summary != null)     //wdev-13375
            saveEDischargeSummary(summary); //WDEV-13037
    }
项目:openmaxims-linux    文件:EDischargeOpsProcsComponentImpl.java   
/**
 * will call procedure List Impl to list procedures
 */
public ims.core.vo.PatientProcedureProcsComponentLiteVoCollection listProcedures(ims.core.admin.vo.CareContextRefVo careContext) throws ims.domain.exceptions.DomainInterfaceException
{
    final int PERFORMED_ID = -813;

    DomainFactory factory = getDomainFactory();
    IMSCriteria imsc = new IMSCriteria(PatientProcedure.class, factory);
    imsc.equal("careContext.id", careContext.getID_CareContext());
    imsc.equal("procedureStatus.id", PERFORMED_ID);
    List procedures = imsc.find();
    if (procedures.size() > 0)
        return PatientProcedureProcsComponentLiteVoAssembler.createPatientProcedureProcsComponentLiteVoCollectionFromPatientProcedure(procedures);
    else
        return null;
}
项目:openmaxims-linux    文件:EDischargeOpsProcsComponentImpl.java   
public void saveProcedures(PatientProcedureProcsComponentLiteVoCollection procedures, EDischargeSTHKSummaryForProcComponentVo summary) throws StaleObjectException

    {
        DomainFactory factory = getDomainFactory();
        if (procedures != null)
        {
            for (int i = 0; i < procedures.size(); i++)
                factory.save(PatientProcedureProcsComponentLiteVoAssembler.extractPatientProcedure(factory, procedures.get(i)));
        }

        if(summary != null)     //wdev-13375
            saveEDischargeSummary(summary); //WDEV-13037
    }