java类ims.core.vo.IncludeAllergyInDischargeReportsVo的实例源码

Logic.java 文件源码 项目:AvoinApotti 阅读 17 收藏 0 点赞 0 评论 0
private PatientAllergyEDischargeVo includeValueChangedForCareContext(PatientAllergyEDischargeVo voAllergy, boolean bInclude)
{
    boolean bFound = false;
    for (int i = 0 ; voAllergy.getIncludeAllergyInDischargeReportsIsNotNull() && i < voAllergy.getIncludeAllergyInDischargeReports().size() ; i++)
    {
        IncludeAllergyInDischargeReportsVo voInclude = voAllergy.getIncludeAllergyInDischargeReports().get(i);
        if (voInclude.getCareContextIsNotNull()
            && voInclude.getCareContext().equals(form.getGlobalContext().Core.getCurrentCareContext()))
        {
            bFound = true;
            voInclude.setIncludeInReport(bInclude);
            voAllergy.getIncludeAllergyInDischargeReports().set(i, voInclude);
        }

    }
    if ( !bFound )
        setAllergyIncludeInfo(voAllergy, bInclude);

    return voAllergy;
}
Logic.java 文件源码 项目:openMAXIMS 阅读 17 收藏 0 点赞 0 评论 0
private PatientAllergyEDischargeVo includeValueChangedForCareContext(PatientAllergyEDischargeVo voAllergy, boolean bInclude)
{
    boolean bFound = false;
    for (int i = 0 ; voAllergy.getIncludeAllergyInDischargeReportsIsNotNull() && i < voAllergy.getIncludeAllergyInDischargeReports().size() ; i++)
    {
        IncludeAllergyInDischargeReportsVo voInclude = voAllergy.getIncludeAllergyInDischargeReports().get(i);
        if (voInclude.getCareContextIsNotNull()
            && voInclude.getCareContext().equals(form.getGlobalContext().Core.getCurrentCareContext()))
        {
            bFound = true;
            voInclude.setIncludeInReport(bInclude);
            voAllergy.getIncludeAllergyInDischargeReports().set(i, voInclude);
        }

    }
    if ( !bFound )
        setAllergyIncludeInfo(voAllergy, bInclude);

    return voAllergy;
}
Logic.java 文件源码 项目:openMAXIMS 阅读 18 收藏 0 点赞 0 评论 0
private PatientAllergyEDischargeVo includeValueChangedForCareContext(PatientAllergyEDischargeVo voAllergy, boolean bInclude)
{
    boolean bFound = false;
    for (int i = 0 ; voAllergy.getIncludeAllergyInDischargeReportsIsNotNull() && i < voAllergy.getIncludeAllergyInDischargeReports().size() ; i++)
    {
        IncludeAllergyInDischargeReportsVo voInclude = voAllergy.getIncludeAllergyInDischargeReports().get(i);
        if (voInclude.getCareContextIsNotNull()
            && voInclude.getCareContext().equals(form.getGlobalContext().Core.getCurrentCareContext()))
        {
            bFound = true;
            voInclude.setIncludeInReport(bInclude);
            voAllergy.getIncludeAllergyInDischargeReports().set(i, voInclude);
        }

    }
    if ( !bFound )
        setAllergyIncludeInfo(voAllergy, bInclude);

    return voAllergy;
}
Logic.java 文件源码 项目:openmaxims-linux 阅读 16 收藏 0 点赞 0 评论 0
private PatientAllergyEDischargeVo includeValueChangedForCareContext(PatientAllergyEDischargeVo voAllergy, boolean bInclude)
{
    boolean bFound = false;
    for (int i = 0 ; voAllergy.getIncludeAllergyInDischargeReportsIsNotNull() && i < voAllergy.getIncludeAllergyInDischargeReports().size() ; i++)
    {
        IncludeAllergyInDischargeReportsVo voInclude = voAllergy.getIncludeAllergyInDischargeReports().get(i);
        if (voInclude.getCareContextIsNotNull()
            && voInclude.getCareContext().equals(form.getGlobalContext().Core.getCurrentCareContext()))
        {
            bFound = true;
            voInclude.setIncludeInReport(bInclude);
            voAllergy.getIncludeAllergyInDischargeReports().set(i, voInclude);
        }

    }
    if ( !bFound )
        setAllergyIncludeInfo(voAllergy, bInclude);

    return voAllergy;
}
Logic.java 文件源码 项目:AvoinApotti 阅读 15 收藏 0 点赞 0 评论 0
private void setAllergyIncludeInfo(PatientAllergyEDischargeVo voAllergy, boolean bInclude)
{
    IncludeAllergyInDischargeReportsVo voNewInclude = new IncludeAllergyInDischargeReportsVo();
    voNewInclude.setCareContext(form.getGlobalContext().Core.getCurrentCareContext());
    voNewInclude.setAllergy(voAllergy);
    voNewInclude.setIncludeInReport(bInclude);

    if (voAllergy.getIncludeAllergyInDischargeReports() == null)
        voAllergy.setIncludeAllergyInDischargeReports(new IncludeAllergyInDischargeReportsVoCollection());

    voAllergy.getIncludeAllergyInDischargeReports().add(voNewInclude);
}
Logic.java 文件源码 项目:openMAXIMS 阅读 19 收藏 0 点赞 0 评论 0
private void setAllergyIncludeInfo(PatientAllergyEDischargeVo voAllergy, boolean bInclude)
{
    IncludeAllergyInDischargeReportsVo voNewInclude = new IncludeAllergyInDischargeReportsVo();
    voNewInclude.setCareContext(form.getGlobalContext().Core.getCurrentCareContext());
    voNewInclude.setAllergy(voAllergy);
    voNewInclude.setIncludeInReport(bInclude);

    if (voAllergy.getIncludeAllergyInDischargeReports() == null)
        voAllergy.setIncludeAllergyInDischargeReports(new IncludeAllergyInDischargeReportsVoCollection());

    voAllergy.getIncludeAllergyInDischargeReports().add(voNewInclude);
}
Logic.java 文件源码 项目:openMAXIMS 阅读 19 收藏 0 点赞 0 评论 0
private void setAllergyIncludeInfo(PatientAllergyEDischargeVo voAllergy, boolean bInclude)
{
    IncludeAllergyInDischargeReportsVo voNewInclude = new IncludeAllergyInDischargeReportsVo();
    voNewInclude.setCareContext(form.getGlobalContext().Core.getCurrentCareContext());
    voNewInclude.setAllergy(voAllergy);
    voNewInclude.setIncludeInReport(bInclude);

    if (voAllergy.getIncludeAllergyInDischargeReports() == null)
        voAllergy.setIncludeAllergyInDischargeReports(new IncludeAllergyInDischargeReportsVoCollection());

    voAllergy.getIncludeAllergyInDischargeReports().add(voNewInclude);
}
Logic.java 文件源码 项目:openmaxims-linux 阅读 18 收藏 0 点赞 0 评论 0
private void setAllergyIncludeInfo(PatientAllergyEDischargeVo voAllergy, boolean bInclude)
{
    IncludeAllergyInDischargeReportsVo voNewInclude = new IncludeAllergyInDischargeReportsVo();
    voNewInclude.setCareContext(form.getGlobalContext().Core.getCurrentCareContext());
    voNewInclude.setAllergy(voAllergy);
    voNewInclude.setIncludeInReport(bInclude);

    if (voAllergy.getIncludeAllergyInDischargeReports() == null)
        voAllergy.setIncludeAllergyInDischargeReports(new IncludeAllergyInDischargeReportsVoCollection());

    voAllergy.getIncludeAllergyInDischargeReports().add(voNewInclude);
}


问题


面经


文章

微信
公众号

扫码关注公众号