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

项目:AvoinApotti    文件:Logic.java   
private DischargeFuturePlanVo populateFollowDetails(DischargeFuturePlanVo voFuture)
{
    DischargeFuturePlanFollowUpVoCollection voColl = new DischargeFuturePlanFollowUpVoCollection();
    for (int i = 0; i < form.grdFollowUp().getRows().size(); i++)
    {
        DischargeFuturePlanFollowUpVo voFutureFOllowup = new DischargeFuturePlanFollowUpVo();
        if (form.grdFollowUp().getRows().get(i).getValue() != null)
            voFutureFOllowup = form.grdFollowUp().getRows().get(i).getValue();

        voFutureFOllowup.setFollowUpType(form.grdFollowUp().getRows().get(i).getColFollowUpType());
        voFutureFOllowup.setHospitalFollowUp(form.grdFollowUp().getRows().get(i).getColHospFollowUp());
        voFutureFOllowup.setFollowUpInValue(form.grdFollowUp().getRows().get(i).getColIN());
        voFutureFOllowup.setFollowUpInUnit(form.grdFollowUp().getRows().get(i).getColPeriod());
        voFutureFOllowup.setFollowUpHCP((HcpLiteVo) form.grdFollowUp().getRows().get(i).getColHCP().getValue());
        voFutureFOllowup.setFollowUpSpecialty(form.grdFollowUp().getRows().get(i).getColSpec());
        voFutureFOllowup.setLocation((LocationLiteVo) form.grdFollowUp().getRows().get(i).getColLoc().getValue());

        voColl.add(voFutureFOllowup);
    }
    voFuture.setFollowUpDetails(voColl);
    return voFuture;
}
项目:AvoinApotti    文件:Logic.java   
private DischargeFuturePlanVo populateFollowDetails(DischargeFuturePlanVo voFuture)
{
    DischargeFuturePlanFollowUpVoCollection voColl = new DischargeFuturePlanFollowUpVoCollection();
    for (int i = 0; i < form.grdFuturePlan().getRows().size(); i++)
    {
        DischargeFuturePlanFollowUpVo voFutureFOllowup = new DischargeFuturePlanFollowUpVo();
        if (form.grdFuturePlan().getRows().get(i).getValue() != null)
            voFutureFOllowup = form.grdFuturePlan().getRows().get(i).getValue();

        voFutureFOllowup.setHospitalFollowUp(form.grdFuturePlan().getRows().get(i).getColHospFollowUp());
        voFutureFOllowup.setFollowUpInValue(form.grdFuturePlan().getRows().get(i).getColIN());
        voFutureFOllowup.setFollowUpInUnit(form.grdFuturePlan().getRows().get(i).getColPeriod());
        voFutureFOllowup.setFollowUpHCP((HcpLiteVo) form.grdFuturePlan().getRows().get(i).getColHCP().getValue());
        voFutureFOllowup.setFollowUpSpecialty(form.grdFuturePlan().getRows().get(i).getColSpec());
        voFutureFOllowup.setLocation((LocationLiteVo) form.grdFuturePlan().getRows().get(i).getColLoc().getValue());

        voColl.add(voFutureFOllowup);
    }
    voFuture.setFollowUpDetails(voColl);

    return voFuture;
}
项目:AvoinApotti    文件:Logic.java   
private void populateFollowUpGridFromData(DischargeFuturePlanFollowUpVoCollection followUpDetails)
{
    // Clear grid
    form.grdFuturePlan().getRows().clear();

    // Terminate if the collection is null
    if (followUpDetails == null)
        return;

    // Add each value to a grid row
    for (DischargeFuturePlanFollowUpVo value : followUpDetails)
    {
        if (value == null)
            continue;

        addFollowUpDetailRow(form.grdFuturePlan().getRows().newRow(), value);
    }
}
项目:openMAXIMS    文件:Logic.java   
private DischargeFuturePlanVo populateFollowDetails(DischargeFuturePlanVo voFuture)
{
    DischargeFuturePlanFollowUpVoCollection voColl = new DischargeFuturePlanFollowUpVoCollection();
    for (int i = 0; i < form.grdFollowUp().getRows().size(); i++)
    {
        DischargeFuturePlanFollowUpVo voFutureFOllowup = new DischargeFuturePlanFollowUpVo();
        if (form.grdFollowUp().getRows().get(i).getValue() != null)
            voFutureFOllowup = form.grdFollowUp().getRows().get(i).getValue();

        voFutureFOllowup.setFollowUpType(form.grdFollowUp().getRows().get(i).getColFollowUpType());
        voFutureFOllowup.setHospitalFollowUp(form.grdFollowUp().getRows().get(i).getColHospFollowUp());
        voFutureFOllowup.setFollowUpInValue(form.grdFollowUp().getRows().get(i).getColIN());
        voFutureFOllowup.setFollowUpInUnit(form.grdFollowUp().getRows().get(i).getColPeriod());
        voFutureFOllowup.setFollowUpHCP((HcpLiteVo) form.grdFollowUp().getRows().get(i).getColHCP().getValue());
        voFutureFOllowup.setFollowUpSpecialty(form.grdFollowUp().getRows().get(i).getColSpec());
        voFutureFOllowup.setLocation((LocationLiteVo) form.grdFollowUp().getRows().get(i).getColLoc().getValue());

        voColl.add(voFutureFOllowup);
    }
    voFuture.setFollowUpDetails(voColl);
    return voFuture;
}
项目:openMAXIMS    文件:Logic.java   
private DischargeFuturePlanVo populateFollowDetails(DischargeFuturePlanVo voFuture)
{
    DischargeFuturePlanFollowUpVoCollection voColl = new DischargeFuturePlanFollowUpVoCollection();
    for (int i = 0; i < form.grdFuturePlan().getRows().size(); i++)
    {
        DischargeFuturePlanFollowUpVo voFutureFOllowup = new DischargeFuturePlanFollowUpVo();
        if (form.grdFuturePlan().getRows().get(i).getValue() != null)
            voFutureFOllowup = form.grdFuturePlan().getRows().get(i).getValue();

        voFutureFOllowup.setHospitalFollowUp(form.grdFuturePlan().getRows().get(i).getColHospFollowUp());
        voFutureFOllowup.setFollowUpInValue(getFollowUpInValue(form.grdFuturePlan().getRows().get(i).getColIN().getValue()));
        voFutureFOllowup.setFollowUpInUnit(form.grdFuturePlan().getRows().get(i).getColPeriod());
        voFutureFOllowup.setFollowUpHCP((HcpLiteVo) form.grdFuturePlan().getRows().get(i).getColHCP().getValue());
        voFutureFOllowup.setFollowUpSpecialty(form.grdFuturePlan().getRows().get(i).getColSpec());
        voFutureFOllowup.setLocation((LocationLiteVo) form.grdFuturePlan().getRows().get(i).getColLoc().getValue());

        voColl.add(voFutureFOllowup);
    }
    voFuture.setFollowUpDetails(voColl);

    return voFuture;
}
项目:openMAXIMS    文件:Logic.java   
private void populateFollowUpGridFromData(DischargeFuturePlanFollowUpVoCollection followUpDetails)
{
    // Clear grid
    form.grdFuturePlan().getRows().clear();

    // Terminate if the collection is null
    if (followUpDetails == null)
        return;

    // Add each value to a grid row
    for (DischargeFuturePlanFollowUpVo value : followUpDetails)
    {
        if (value == null)
            continue;

        addFollowUpDetailRow(form.grdFuturePlan().getRows().newRow(), value);
    }
}
项目:openMAXIMS    文件:Logic.java   
private DischargeFuturePlanVo populateFollowDetails(DischargeFuturePlanVo voFuture)
{
    DischargeFuturePlanFollowUpVoCollection voColl = new DischargeFuturePlanFollowUpVoCollection();
    for (int i = 0; i < form.grdFollowUp().getRows().size(); i++)
    {
        DischargeFuturePlanFollowUpVo voFutureFOllowup = new DischargeFuturePlanFollowUpVo();
        if (form.grdFollowUp().getRows().get(i).getValue() != null)
            voFutureFOllowup = form.grdFollowUp().getRows().get(i).getValue();

        voFutureFOllowup.setFollowUpType(form.grdFollowUp().getRows().get(i).getColFollowUpType());
        voFutureFOllowup.setHospitalFollowUp(form.grdFollowUp().getRows().get(i).getColHospFollowUp());
        voFutureFOllowup.setFollowUpInValue(form.grdFollowUp().getRows().get(i).getColIN());
        voFutureFOllowup.setFollowUpInUnit(form.grdFollowUp().getRows().get(i).getColPeriod());
        voFutureFOllowup.setFollowUpHCP((HcpLiteVo) form.grdFollowUp().getRows().get(i).getColHCP().getValue());
        voFutureFOllowup.setFollowUpSpecialty(form.grdFollowUp().getRows().get(i).getColSpec());
        voFutureFOllowup.setLocation((LocationLiteVo) form.grdFollowUp().getRows().get(i).getColLoc().getValue());

        voColl.add(voFutureFOllowup);
    }
    voFuture.setFollowUpDetails(voColl);
    return voFuture;
}
项目:openMAXIMS    文件:Logic.java   
private DischargeFuturePlanVo populateFollowDetails(DischargeFuturePlanVo voFuture)
{
    DischargeFuturePlanFollowUpVoCollection voColl = new DischargeFuturePlanFollowUpVoCollection();
    for (int i = 0; i < form.grdFuturePlan().getRows().size(); i++)
    {
        DischargeFuturePlanFollowUpVo voFutureFOllowup = new DischargeFuturePlanFollowUpVo();
        if (form.grdFuturePlan().getRows().get(i).getValue() != null)
            voFutureFOllowup = form.grdFuturePlan().getRows().get(i).getValue();

        voFutureFOllowup.setHospitalFollowUp(form.grdFuturePlan().getRows().get(i).getColHospFollowUp());
        voFutureFOllowup.setFollowUpInValue(form.grdFuturePlan().getRows().get(i).getColIN());
        voFutureFOllowup.setFollowUpInUnit(form.grdFuturePlan().getRows().get(i).getColPeriod());
        voFutureFOllowup.setFollowUpHCP((HcpLiteVo) form.grdFuturePlan().getRows().get(i).getColHCP().getValue());
        voFutureFOllowup.setFollowUpSpecialty(form.grdFuturePlan().getRows().get(i).getColSpec());
        voFutureFOllowup.setLocation((LocationLiteVo) form.grdFuturePlan().getRows().get(i).getColLoc().getValue());

        voColl.add(voFutureFOllowup);
    }
    voFuture.setFollowUpDetails(voColl);

    return voFuture;
}
项目:openMAXIMS    文件:Logic.java   
private void populateFollowUpGridFromData(DischargeFuturePlanFollowUpVoCollection followUpDetails)
{
    // Clear grid
    form.grdFuturePlan().getRows().clear();

    // Terminate if the collection is null
    if (followUpDetails == null)
        return;

    // Add each value to a grid row
    for (DischargeFuturePlanFollowUpVo value : followUpDetails)
    {
        if (value == null)
            continue;

        addFollowUpDetailRow(form.grdFuturePlan().getRows().newRow(), value);
    }
}
项目:openmaxims-linux    文件:Logic.java   
private DischargeFuturePlanVo populateFollowDetails(DischargeFuturePlanVo voFuture)
{
    DischargeFuturePlanFollowUpVoCollection voColl = new DischargeFuturePlanFollowUpVoCollection();
    for (int i = 0; i < form.grdFollowUp().getRows().size(); i++)
    {
        DischargeFuturePlanFollowUpVo voFutureFOllowup = new DischargeFuturePlanFollowUpVo();
        if (form.grdFollowUp().getRows().get(i).getValue() != null)
            voFutureFOllowup = form.grdFollowUp().getRows().get(i).getValue();

        voFutureFOllowup.setFollowUpType(form.grdFollowUp().getRows().get(i).getColFollowUpType());
        voFutureFOllowup.setHospitalFollowUp(form.grdFollowUp().getRows().get(i).getColHospFollowUp());
        voFutureFOllowup.setFollowUpInValue(form.grdFollowUp().getRows().get(i).getColIN());
        voFutureFOllowup.setFollowUpInUnit(form.grdFollowUp().getRows().get(i).getColPeriod());
        voFutureFOllowup.setFollowUpHCP((HcpLiteVo) form.grdFollowUp().getRows().get(i).getColHCP().getValue());
        voFutureFOllowup.setFollowUpSpecialty(form.grdFollowUp().getRows().get(i).getColSpec());
        voFutureFOllowup.setLocation((LocationLiteVo) form.grdFollowUp().getRows().get(i).getColLoc().getValue());

        voColl.add(voFutureFOllowup);
    }
    voFuture.setFollowUpDetails(voColl);
    return voFuture;
}
项目:openmaxims-linux    文件:Logic.java   
private DischargeFuturePlanVo populateFollowDetails(DischargeFuturePlanVo voFuture)
{
    DischargeFuturePlanFollowUpVoCollection voColl = new DischargeFuturePlanFollowUpVoCollection();
    for (int i = 0; i < form.grdFuturePlan().getRows().size(); i++)
    {
        DischargeFuturePlanFollowUpVo voFutureFOllowup = new DischargeFuturePlanFollowUpVo();
        if (form.grdFuturePlan().getRows().get(i).getValue() != null)
            voFutureFOllowup = form.grdFuturePlan().getRows().get(i).getValue();

        voFutureFOllowup.setHospitalFollowUp(form.grdFuturePlan().getRows().get(i).getColHospFollowUp());
        voFutureFOllowup.setFollowUpInValue(form.grdFuturePlan().getRows().get(i).getColIN());
        voFutureFOllowup.setFollowUpInUnit(form.grdFuturePlan().getRows().get(i).getColPeriod());
        voFutureFOllowup.setFollowUpHCP((HcpLiteVo) form.grdFuturePlan().getRows().get(i).getColHCP().getValue());
        voFutureFOllowup.setFollowUpSpecialty(form.grdFuturePlan().getRows().get(i).getColSpec());
        voFutureFOllowup.setLocation((LocationLiteVo) form.grdFuturePlan().getRows().get(i).getColLoc().getValue());

        voColl.add(voFutureFOllowup);
    }
    voFuture.setFollowUpDetails(voColl);

    return voFuture;
}
项目:openmaxims-linux    文件:Logic.java   
private void populateFollowUpGridFromData(DischargeFuturePlanFollowUpVoCollection followUpDetails)
{
    // Clear grid
    form.grdFuturePlan().getRows().clear();

    // Terminate if the collection is null
    if (followUpDetails == null)
        return;

    // Add each value to a grid row
    for (DischargeFuturePlanFollowUpVo value : followUpDetails)
    {
        if (value == null)
            continue;

        addFollowUpDetailRow(form.grdFuturePlan().getRows().newRow(), value);
    }
}
项目:AvoinApotti    文件:Logic.java   
private void addFollowUpDetailRow(grdFuturePlanRow row, DischargeFuturePlanFollowUpVo value)
{
    // Terminate if the value passed is null
    if (value == null)
        return;

    // Set column values
    //row.setColHospFollowUp(value.getHospitalFollowUp());
    row.setColIN(value.getFollowUpInValue());
    row.setColPeriod(value.getFollowUpInUnit());

    if (value.getFollowUpHCPIsNotNull())
    {
        row.getColHCP().newRow(value.getFollowUpHCP(), value.getFollowUpHCP().getName().toString());
        row.getColHCP().setValue(value.getFollowUpHCP());
    }

    row.setColSpec(value.getFollowUpSpecialty());

    if (value.getLocationIsNotNull())
    {
        row.getColLoc().newRow(value.getLocation(), value.getLocation().getName());
        row.getColLoc().setValue(value.getLocation());
    }

    // Set row value
    row.setValue(value);
}
项目:openMAXIMS    文件:Logic.java   
private void addFollowUpDetailRow(grdFuturePlanRow row, DischargeFuturePlanFollowUpVo value)
{
    // Terminate if the value passed is null
    if (value == null)
        return;

    // Set column values
    //row.setColHospFollowUp(value.getHospitalFollowUp());
    row.setColIN(value.getFollowUpInValue());
    row.setColPeriod(value.getFollowUpInUnit());

    if (value.getFollowUpHCPIsNotNull())
    {
        row.getColHCP().newRow(value.getFollowUpHCP(), value.getFollowUpHCP().getName().toString());
        row.getColHCP().setValue(value.getFollowUpHCP());
    }

    row.setColSpec(value.getFollowUpSpecialty());

    if (value.getLocationIsNotNull())
    {
        row.getColLoc().newRow(value.getLocation(), value.getLocation().getName());
        row.getColLoc().setValue(value.getLocation());
    }

    // Set row value
    row.setValue(value);
}
项目:openMAXIMS    文件:Logic.java   
private void addFollowUpDetailRow(grdFuturePlanRow row, DischargeFuturePlanFollowUpVo value)
{
    // Terminate if the value passed is null
    if (value == null)
        return;

    // Set column values
    //row.setColHospFollowUp(value.getHospitalFollowUp());
    row.setColIN(value.getFollowUpInValue());
    row.setColPeriod(value.getFollowUpInUnit());

    if (value.getFollowUpHCPIsNotNull())
    {
        row.getColHCP().newRow(value.getFollowUpHCP(), value.getFollowUpHCP().getName().toString());
        row.getColHCP().setValue(value.getFollowUpHCP());
    }

    row.setColSpec(value.getFollowUpSpecialty());

    if (value.getLocationIsNotNull())
    {
        row.getColLoc().newRow(value.getLocation(), value.getLocation().getName());
        row.getColLoc().setValue(value.getLocation());
    }

    // Set row value
    row.setValue(value);
}
项目:openmaxims-linux    文件:Logic.java   
private void addFollowUpDetailRow(grdFuturePlanRow row, DischargeFuturePlanFollowUpVo value)
{
    // Terminate if the value passed is null
    if (value == null)
        return;

    // Set column values
    //row.setColHospFollowUp(value.getHospitalFollowUp());
    row.setColIN(value.getFollowUpInValue());
    row.setColPeriod(value.getFollowUpInUnit());

    if (value.getFollowUpHCPIsNotNull())
    {
        row.getColHCP().newRow(value.getFollowUpHCP(), value.getFollowUpHCP().getName().toString());
        row.getColHCP().setValue(value.getFollowUpHCP());
    }

    row.setColSpec(value.getFollowUpSpecialty());

    if (value.getLocationIsNotNull())
    {
        row.getColLoc().newRow(value.getLocation(), value.getLocation().getName());
        row.getColLoc().setValue(value.getLocation());
    }

    // Set row value
    row.setValue(value);
}