Java 类ims.nursing.vo.PatientTurnsVoCollection 实例源码

项目:AvoinApotti    文件:Logic.java   
protected NurAssessmentSkinVo populateDataFromScreen()
{
    NurAssessmentSkinVo voSkin = form.getLocalContext().getAssessmentSkin();

    voSkin = super.populateDataFromScreen(voSkin);

    PatientTurnsVoCollection voTursColl = new PatientTurnsVoCollection();

    GenForm.grdTurnsRow row = null;
    for (int i = 0; i < form.grdTurns().getRows().size(); i++)
    {
        PatientTurnsVo voTurn = new PatientTurnsVo();
        row = form.grdTurns().getRows().get(i);
        voTurn.setDuration(row.getColDuration());
        voTurn.setPosition(row.getColPosition());
        voTurn.setTime(row.getColTime());

        voTursColl.add(voTurn);

    }

    voSkin.setTurns(voTursColl);
    voSkin.setIsComplete(new Boolean(form.chkSectionComplete().getValue()));

    voSkin.setBradenScale(form.getGlobalContext().COE.getBradenScaleRecord());

    form.getLocalContext().setAssessmentSkin(voSkin);

    return voSkin;
}
项目:AvoinApotti    文件:Logic.java   
private  PatientTurnsVoCollection copyTurns(PatientTurnsVoCollection turns)
{
    if (turns == null)
        return null;
    for (int i = 0 ; i <turns.size() ; i++)
    {
        PatientTurnsVo turn = turns.get(i);
        if (turn == null)
            continue;
        turn.clearIDAndVersion();
    }
    return turns;
}
项目:openMAXIMS    文件:Logic.java   
protected NurAssessmentSkinVo populateDataFromScreen()
{
    NurAssessmentSkinVo voSkin = form.getLocalContext().getAssessmentSkin();

    voSkin = super.populateDataFromScreen(voSkin);

    PatientTurnsVoCollection voTursColl = new PatientTurnsVoCollection();

    GenForm.grdTurnsRow row = null;
    for (int i = 0; i < form.grdTurns().getRows().size(); i++)
    {
        PatientTurnsVo voTurn = new PatientTurnsVo();
        row = form.grdTurns().getRows().get(i);
        voTurn.setDuration(row.getColDuration());
        voTurn.setPosition(row.getColPosition());
        voTurn.setTime(row.getColTime());

        voTursColl.add(voTurn);

    }

    voSkin.setTurns(voTursColl);
    voSkin.setIsComplete(new Boolean(form.chkSectionComplete().getValue()));

    voSkin.setBradenScale(form.getGlobalContext().COE.getBradenScaleRecord());

    form.getLocalContext().setAssessmentSkin(voSkin);

    return voSkin;
}
项目:openMAXIMS    文件:Logic.java   
private  PatientTurnsVoCollection copyTurns(PatientTurnsVoCollection turns)
{
    if (turns == null)
        return null;
    for (int i = 0 ; i <turns.size() ; i++)
    {
        PatientTurnsVo turn = turns.get(i);
        if (turn == null)
            continue;
        turn.clearIDAndVersion();
    }
    return turns;
}
项目:openMAXIMS    文件:Logic.java   
protected NurAssessmentSkinVo populateDataFromScreen()
{
    NurAssessmentSkinVo voSkin = form.getLocalContext().getAssessmentSkin();

    voSkin = super.populateDataFromScreen(voSkin);

    PatientTurnsVoCollection voTursColl = new PatientTurnsVoCollection();

    GenForm.grdTurnsRow row = null;
    for (int i = 0; i < form.grdTurns().getRows().size(); i++)
    {
        PatientTurnsVo voTurn = new PatientTurnsVo();
        row = form.grdTurns().getRows().get(i);
        voTurn.setDuration(row.getColDuration());
        voTurn.setPosition(row.getColPosition());
        voTurn.setTime(row.getColTime());

        voTursColl.add(voTurn);

    }

    voSkin.setTurns(voTursColl);
    voSkin.setIsComplete(new Boolean(form.chkSectionComplete().getValue()));

    voSkin.setBradenScale(form.getGlobalContext().COE.getBradenScaleRecord());

    form.getLocalContext().setAssessmentSkin(voSkin);

    return voSkin;
}
项目:openMAXIMS    文件:Logic.java   
private  PatientTurnsVoCollection copyTurns(PatientTurnsVoCollection turns)
{
    if (turns == null)
        return null;
    for (int i = 0 ; i <turns.size() ; i++)
    {
        PatientTurnsVo turn = turns.get(i);
        if (turn == null)
            continue;
        turn.clearIDAndVersion();
    }
    return turns;
}
项目:openmaxims-linux    文件:Logic.java   
protected NurAssessmentSkinVo populateDataFromScreen()
{
    NurAssessmentSkinVo voSkin = form.getLocalContext().getAssessmentSkin();

    voSkin = super.populateDataFromScreen(voSkin);

    PatientTurnsVoCollection voTursColl = new PatientTurnsVoCollection();

    GenForm.grdTurnsRow row = null;
    for (int i = 0; i < form.grdTurns().getRows().size(); i++)
    {
        PatientTurnsVo voTurn = new PatientTurnsVo();
        row = form.grdTurns().getRows().get(i);
        voTurn.setDuration(row.getColDuration());
        voTurn.setPosition(row.getColPosition());
        voTurn.setTime(row.getColTime());

        voTursColl.add(voTurn);

    }

    voSkin.setTurns(voTursColl);
    voSkin.setIsComplete(new Boolean(form.chkSectionComplete().getValue()));

    voSkin.setBradenScale(form.getGlobalContext().COE.getBradenScaleRecord());

    form.getLocalContext().setAssessmentSkin(voSkin);

    return voSkin;
}
项目:openmaxims-linux    文件:Logic.java   
private  PatientTurnsVoCollection copyTurns(PatientTurnsVoCollection turns)
{
    if (turns == null)
        return null;
    for (int i = 0 ; i <turns.size() ; i++)
    {
        PatientTurnsVo turn = turns.get(i);
        if (turn == null)
            continue;
        turn.clearIDAndVersion();
    }
    return turns;
}