Java 类ims.clinical.vo.EDischargeSTHKSummaryForProcComponentVo 实例源码

项目:AvoinApotti    文件:Logic.java   
private EDischargeSummarySectionStatus getProcStatus(EDischargeSTHKSummaryForProcComponentVo summary) 
{
    if(summary == null || summary.getSummaryDetails() == null)
        return null;

    for(int i=0; i< summary.getSummaryDetails().size(); i++)
    {
        EDischargeSTHKSummaryDetailVo summaryDetails = summary.getSummaryDetails().get(i);

        if(summaryDetails == null)
            continue;

        if(EDischargeSummarySection.OPERATIONS_AND_PROCS.equals(summaryDetails.getSection()))
        {
            return summaryDetails.getProgressStatus();
        }
    }

    return null;
}
项目:AvoinApotti    文件:Logic.java   
private EDischargeSTHKSummaryForProcComponentVo populateEDischargeSummary() 
{
    EDischargeSTHKSummaryForProcComponentVo summary = form.getLocalContext().getSTHKSummaryVo();

    if(summary != null && summary.getSummaryDetails() != null)
    {
        for(int i=0; i<summary.getSummaryDetails().size(); i++)
        {
            EDischargeSTHKSummaryDetailVo summaryDetails = summary.getSummaryDetails().get(i);

            if(summaryDetails == null)
                continue;

            if(EDischargeSummarySection.OPERATIONS_AND_PROCS.equals(summaryDetails.getSection()))
            {
                summaryDetails.setProgressStatus(form.chkComplete().getValue() ? EDischargeSummarySectionStatus.COMPLETED : EDischargeSummarySectionStatus.IN_PROGRESS);
            }
        }
    }

    if(summary != null)     //wdev-13375
        summary.validate();

    return summary;
}
项目:openMAXIMS    文件:Logic.java   
private EDischargeSummarySectionStatus getProcStatus(EDischargeSTHKSummaryForProcComponentVo summary) 
{
    if(summary == null || summary.getSummaryDetails() == null)
        return null;

    for(int i=0; i< summary.getSummaryDetails().size(); i++)
    {
        EDischargeSTHKSummaryDetailVo summaryDetails = summary.getSummaryDetails().get(i);

        if(summaryDetails == null)
            continue;

        if(EDischargeSummarySection.OPERATIONS_AND_PROCS.equals(summaryDetails.getSection()))
        {
            return summaryDetails.getProgressStatus();
        }
    }

    return null;
}
项目:openMAXIMS    文件:Logic.java   
private EDischargeSTHKSummaryForProcComponentVo populateEDischargeSummary() 
{
    EDischargeSTHKSummaryForProcComponentVo summary = form.getLocalContext().getSTHKSummaryVo();

    if(summary != null && summary.getSummaryDetails() != null)
    {
        for(int i=0; i<summary.getSummaryDetails().size(); i++)
        {
            EDischargeSTHKSummaryDetailVo summaryDetails = summary.getSummaryDetails().get(i);

            if(summaryDetails == null)
                continue;

            if(EDischargeSummarySection.OPERATIONS_AND_PROCS.equals(summaryDetails.getSection()))
            {
                summaryDetails.setProgressStatus(form.chkComplete().getValue() ? EDischargeSummarySectionStatus.COMPLETED : EDischargeSummarySectionStatus.IN_PROGRESS);
            }
        }
    }

    if(summary != null)     //wdev-13375
        summary.validate();

    return summary;
}
项目:openMAXIMS    文件:Logic.java   
private EDischargeSummarySectionStatus getProcStatus(EDischargeSTHKSummaryForProcComponentVo summary) 
{
    if(summary == null || summary.getSummaryDetails() == null)
        return null;

    for(int i=0; i< summary.getSummaryDetails().size(); i++)
    {
        EDischargeSTHKSummaryDetailVo summaryDetails = summary.getSummaryDetails().get(i);

        if(summaryDetails == null)
            continue;

        if(EDischargeSummarySection.OPERATIONS_AND_PROCS.equals(summaryDetails.getSection()))
        {
            return summaryDetails.getProgressStatus();
        }
    }

    return null;
}
项目:openMAXIMS    文件:Logic.java   
private EDischargeSTHKSummaryForProcComponentVo populateEDischargeSummary() 
{
    EDischargeSTHKSummaryForProcComponentVo summary = form.getLocalContext().getSTHKSummaryVo();

    if(summary != null && summary.getSummaryDetails() != null)
    {
        for(int i=0; i<summary.getSummaryDetails().size(); i++)
        {
            EDischargeSTHKSummaryDetailVo summaryDetails = summary.getSummaryDetails().get(i);

            if(summaryDetails == null)
                continue;

            if(EDischargeSummarySection.OPERATIONS_AND_PROCS.equals(summaryDetails.getSection()))
            {
                summaryDetails.setProgressStatus(form.chkComplete().getValue() ? EDischargeSummarySectionStatus.COMPLETED : EDischargeSummarySectionStatus.IN_PROGRESS);
            }
        }
    }

    if(summary != null)     //wdev-13375
        summary.validate();

    return summary;
}
项目:openmaxims-linux    文件:Logic.java   
private EDischargeSummarySectionStatus getProcStatus(EDischargeSTHKSummaryForProcComponentVo summary) 
{
    if(summary == null || summary.getSummaryDetails() == null)
        return null;

    for(int i=0; i< summary.getSummaryDetails().size(); i++)
    {
        EDischargeSTHKSummaryDetailVo summaryDetails = summary.getSummaryDetails().get(i);

        if(summaryDetails == null)
            continue;

        if(EDischargeSummarySection.OPERATIONS_AND_PROCS.equals(summaryDetails.getSection()))
        {
            return summaryDetails.getProgressStatus();
        }
    }

    return null;
}
项目:openmaxims-linux    文件:Logic.java   
private EDischargeSTHKSummaryForProcComponentVo populateEDischargeSummary() 
{
    EDischargeSTHKSummaryForProcComponentVo summary = form.getLocalContext().getSTHKSummaryVo();

    if(summary != null && summary.getSummaryDetails() != null)
    {
        for(int i=0; i<summary.getSummaryDetails().size(); i++)
        {
            EDischargeSTHKSummaryDetailVo summaryDetails = summary.getSummaryDetails().get(i);

            if(summaryDetails == null)
                continue;

            if(EDischargeSummarySection.OPERATIONS_AND_PROCS.equals(summaryDetails.getSection()))
            {
                summaryDetails.setProgressStatus(form.chkComplete().getValue() ? EDischargeSummarySectionStatus.COMPLETED : EDischargeSummarySectionStatus.IN_PROGRESS);
            }
        }
    }

    if(summary != null)     //wdev-13375
        summary.validate();

    return summary;
}
项目: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
    }
项目:AvoinApotti    文件:EDischargeOpsProcsComponentImpl.java   
public EDischargeSTHKSummaryForProcComponentVo getEDischargeSummary(SummaryRefVo summary) 
{
    if(summary == null || summary.getID_Summary() == null)
        throw new CodingRuntimeException("Can not get EDischargeSummary on nul Id.");

    return EDischargeSTHKSummaryForProcComponentVoAssembler.create((Summary) getDomainFactory().getDomainObject(Summary.class, summary.getID_Summary()));
}
项目:AvoinApotti    文件:EDischargeOpsProcsComponentImpl.java   
public EDischargeSTHKSummaryForProcComponentVo saveEDischargeSummary(EDischargeSTHKSummaryForProcComponentVo summary) throws StaleObjectException 
{
    if(summary == null)
        throw new CodingRuntimeException("Cannot save a null EDischargeSTHKSummary.");

    if(!summary.isValidated())
        throw new CodingRuntimeException("EDischargeSTHKSummary is not validated.");

    DomainFactory factory = getDomainFactory();

    Summary doSummary = EDischargeSTHKSummaryForProcComponentVoAssembler.extractSummary(factory, summary);
    factory.save(doSummary);

    return EDischargeSTHKSummaryForProcComponentVoAssembler.create(doSummary);
}
项目: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   
public EDischargeSTHKSummaryForProcComponentVo getEDischargeSummary(SummaryRefVo summary) 
{
    if(summary == null || summary.getID_Summary() == null)
        throw new CodingRuntimeException("Can not get EDischargeSummary on nul Id.");

    return EDischargeSTHKSummaryForProcComponentVoAssembler.create((Summary) getDomainFactory().getDomainObject(Summary.class, summary.getID_Summary()));
}
项目:openMAXIMS    文件:EDischargeOpsProcsComponentImpl.java   
public EDischargeSTHKSummaryForProcComponentVo saveEDischargeSummary(EDischargeSTHKSummaryForProcComponentVo summary) throws StaleObjectException 
{
    if(summary == null)
        throw new CodingRuntimeException("Cannot save a null EDischargeSTHKSummary.");

    if(!summary.isValidated())
        throw new CodingRuntimeException("EDischargeSTHKSummary is not validated.");

    DomainFactory factory = getDomainFactory();

    Summary doSummary = EDischargeSTHKSummaryForProcComponentVoAssembler.extractSummary(factory, summary);
    factory.save(doSummary);

    return EDischargeSTHKSummaryForProcComponentVoAssembler.create(doSummary);
}
项目: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   
public EDischargeSTHKSummaryForProcComponentVo getEDischargeSummary(SummaryRefVo summary) 
{
    if(summary == null || summary.getID_Summary() == null)
        throw new CodingRuntimeException("Can not get EDischargeSummary on nul Id.");

    return EDischargeSTHKSummaryForProcComponentVoAssembler.create((Summary) getDomainFactory().getDomainObject(Summary.class, summary.getID_Summary()));
}
项目:openMAXIMS    文件:EDischargeOpsProcsComponentImpl.java   
public EDischargeSTHKSummaryForProcComponentVo saveEDischargeSummary(EDischargeSTHKSummaryForProcComponentVo summary) throws StaleObjectException 
{
    if(summary == null)
        throw new CodingRuntimeException("Cannot save a null EDischargeSTHKSummary.");

    if(!summary.isValidated())
        throw new CodingRuntimeException("EDischargeSTHKSummary is not validated.");

    DomainFactory factory = getDomainFactory();

    Summary doSummary = EDischargeSTHKSummaryForProcComponentVoAssembler.extractSummary(factory, summary);
    factory.save(doSummary);

    return EDischargeSTHKSummaryForProcComponentVoAssembler.create(doSummary);
}
项目: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
    }
项目:openmaxims-linux    文件:EDischargeOpsProcsComponentImpl.java   
public EDischargeSTHKSummaryForProcComponentVo getEDischargeSummary(SummaryRefVo summary) 
{
    if(summary == null || summary.getID_Summary() == null)
        throw new CodingRuntimeException("Can not get EDischargeSummary on nul Id.");

    return EDischargeSTHKSummaryForProcComponentVoAssembler.create((Summary) getDomainFactory().getDomainObject(Summary.class, summary.getID_Summary()));
}
项目:openmaxims-linux    文件:EDischargeOpsProcsComponentImpl.java   
public EDischargeSTHKSummaryForProcComponentVo saveEDischargeSummary(EDischargeSTHKSummaryForProcComponentVo summary) throws StaleObjectException 
{
    if(summary == null)
        throw new CodingRuntimeException("Cannot save a null EDischargeSTHKSummary.");

    if(!summary.isValidated())
        throw new CodingRuntimeException("EDischargeSTHKSummary is not validated.");

    DomainFactory factory = getDomainFactory();

    Summary doSummary = EDischargeSTHKSummaryForProcComponentVoAssembler.extractSummary(factory, summary);
    factory.save(doSummary);

    return EDischargeSTHKSummaryForProcComponentVoAssembler.create(doSummary);
}