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

项目:AvoinApotti    文件:Logic.java   
private void loadCarePlans()
{
    CarePlanTitleCollection coll = form.getLocalContext().getCarePlans();

    if (coll != null)
    {
        form.gridCarePlan().getRows().clear();
        GenForm.gridCarePlanRow row;
        for (int i = 0; i < coll.size(); i++)
        {
            CarePlanTitle title = coll.get(i);
            row = form.gridCarePlan().getRows().newRow();
            row.setcolCarePlan(title.getTitle());

            if(isClinicalNotesCarePlanDetailsAlias() && form.getGlobalContext().COE.getCarePlanIsNotNull())
            {
                if(title.equals(form.getGlobalContext().COE.getCarePlan()))
                {
                    row.setcolSelect(true);
                }
            }
            row.setValue(title);
        }

    }
}
项目:AvoinApotti    文件:Logic.java   
private void populateCarePlans()
{
    // Populate the careplan selected column with data from database
    if (form.getLocalContext().getClinicalNote().getCarePlans() != null)
    {
        CarePlanTitleCollection dataColl = form.getLocalContext().getClinicalNote().getCarePlans();
        if (dataColl != null)
        {
            GenForm.gridCarePlanRow row;
            for (int i = 0; i < dataColl.size(); i++)
            {
                CarePlanTitle title = dataColl.get(i);
                row = form.gridCarePlan().getRowByValue(title);
                if (row != null)
                    row.setcolSelect(true);
            }
        }
    }
}
项目:AvoinApotti    文件:Logic.java   
private void loadCarePlans(boolean bActiveOnly)
{
    CarePlanTitleCollection coll = form.getLocalContext().getCarePlans();

    if (coll != null)
    {
        form.gridCarePlan().getRows().clear();
        GenForm.gridCarePlanRow row;
        for (int i = 0; i < coll.size(); i++)
        {
            CarePlanTitle title = coll.get(i);

            if ( bActiveOnly
                && (title.getCurrentCarePlanStatusIsNotNull() 
                        && title.getCurrentCarePlanStatus().getStatusIsNotNull()
                        && ! title.getCurrentCarePlanStatus().getStatus().equals(ims.nursing.vo.lookups.CarePlanStatus.ACTIVE)) )
                continue;

            row = form.gridCarePlan().getRows().newRow();
            row.setcolCarePlan(title.getTitle());
            row.setcolStatus(title.getCurrentCarePlanStatusIsNotNull() && title.getCurrentCarePlanStatus().getStatusIsNotNull() ? title.getCurrentCarePlanStatus().getStatus().getText() : "");
            row.setValue(title);
        }

    }
}
项目:AvoinApotti    文件:Logic.java   
private void populateCarePlans()
{
    if (form.getLocalContext().getSelectedClinicalNoteIsNotNull()
        && form.getLocalContext().getSelectedClinicalNote().getCarePlans() != null)
    {
        CarePlanTitleCollection dataColl = form.getLocalContext().getSelectedClinicalNote().getCarePlans();
        if (dataColl != null)
        {
            GenForm.gridCarePlanRow row;
            for (int i = 0; i < dataColl.size(); i++)
            {
                CarePlanTitle title = dataColl.get(i);
                row = form.gridCarePlan().getRowByValue(title);
                if (row != null)
                    row.setcolSelect(true);
            }
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private void loadCarePlans()
{
    CarePlanTitleCollection coll = form.getLocalContext().getCarePlans();

    if (coll != null)
    {
        form.gridCarePlan().getRows().clear();
        GenForm.gridCarePlanRow row;
        for (int i = 0; i < coll.size(); i++)
        {
            CarePlanTitle title = coll.get(i);
            row = form.gridCarePlan().getRows().newRow();
            row.setcolCarePlan(title.getTitle());

            if(isClinicalNotesCarePlanDetailsAlias() && form.getGlobalContext().COE.getCarePlanIsNotNull())
            {
                if(title.equals(form.getGlobalContext().COE.getCarePlan()))
                {
                    row.setcolSelect(true);
                }
            }
            row.setValue(title);
        }

    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateCarePlans()
{
    // Populate the careplan selected column with data from database
    if (form.getLocalContext().getClinicalNote().getCarePlans() != null)
    {
        CarePlanTitleCollection dataColl = form.getLocalContext().getClinicalNote().getCarePlans();
        if (dataColl != null)
        {
            GenForm.gridCarePlanRow row;
            for (int i = 0; i < dataColl.size(); i++)
            {
                CarePlanTitle title = dataColl.get(i);
                row = form.gridCarePlan().getRowByValue(title);
                if (row != null)
                    row.setcolSelect(true);
            }
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private void loadCarePlans(boolean bActiveOnly)
{
    CarePlanTitleCollection coll = form.getLocalContext().getCarePlans();

    if (coll != null)
    {
        form.gridCarePlan().getRows().clear();
        GenForm.gridCarePlanRow row;
        for (int i = 0; i < coll.size(); i++)
        {
            CarePlanTitle title = coll.get(i);

            if ( bActiveOnly
                && (title.getCurrentCarePlanStatusIsNotNull() 
                        && title.getCurrentCarePlanStatus().getStatusIsNotNull()
                        && ! title.getCurrentCarePlanStatus().getStatus().equals(ims.nursing.vo.lookups.CarePlanStatus.ACTIVE)) )
                continue;

            row = form.gridCarePlan().getRows().newRow();
            row.setcolCarePlan(title.getTitle());
            row.setcolStatus(title.getCurrentCarePlanStatusIsNotNull() && title.getCurrentCarePlanStatus().getStatusIsNotNull() ? title.getCurrentCarePlanStatus().getStatus().getText() : "");
            row.setValue(title);
        }

    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateCarePlans()
{
    if (form.getLocalContext().getSelectedClinicalNoteIsNotNull()
        && form.getLocalContext().getSelectedClinicalNote().getCarePlans() != null)
    {
        CarePlanTitleCollection dataColl = form.getLocalContext().getSelectedClinicalNote().getCarePlans();
        if (dataColl != null)
        {
            GenForm.gridCarePlanRow row;
            for (int i = 0; i < dataColl.size(); i++)
            {
                CarePlanTitle title = dataColl.get(i);
                row = form.gridCarePlan().getRowByValue(title);
                if (row != null)
                    row.setcolSelect(true);
            }
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private void loadCarePlans()
{
    CarePlanTitleCollection coll = form.getLocalContext().getCarePlans();

    if (coll != null)
    {
        form.gridCarePlan().getRows().clear();
        GenForm.gridCarePlanRow row;
        for (int i = 0; i < coll.size(); i++)
        {
            CarePlanTitle title = coll.get(i);
            row = form.gridCarePlan().getRows().newRow();
            row.setcolCarePlan(title.getTitle());

            if(isClinicalNotesCarePlanDetailsAlias() && form.getGlobalContext().COE.getCarePlanIsNotNull())
            {
                if(title.equals(form.getGlobalContext().COE.getCarePlan()))
                {
                    row.setcolSelect(true);
                }
            }
            row.setValue(title);
        }

    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateCarePlans()
{
    // Populate the careplan selected column with data from database
    if (form.getLocalContext().getClinicalNote().getCarePlans() != null)
    {
        CarePlanTitleCollection dataColl = form.getLocalContext().getClinicalNote().getCarePlans();
        if (dataColl != null)
        {
            GenForm.gridCarePlanRow row;
            for (int i = 0; i < dataColl.size(); i++)
            {
                CarePlanTitle title = dataColl.get(i);
                row = form.gridCarePlan().getRowByValue(title);
                if (row != null)
                    row.setcolSelect(true);
            }
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private void loadCarePlans(boolean bActiveOnly)
{
    CarePlanTitleCollection coll = form.getLocalContext().getCarePlans();

    if (coll != null)
    {
        form.gridCarePlan().getRows().clear();
        GenForm.gridCarePlanRow row;
        for (int i = 0; i < coll.size(); i++)
        {
            CarePlanTitle title = coll.get(i);

            if ( bActiveOnly
                && (title.getCurrentCarePlanStatusIsNotNull() 
                        && title.getCurrentCarePlanStatus().getStatusIsNotNull()
                        && ! title.getCurrentCarePlanStatus().getStatus().equals(ims.nursing.vo.lookups.CarePlanStatus.ACTIVE)) )
                continue;

            row = form.gridCarePlan().getRows().newRow();
            row.setcolCarePlan(title.getTitle());
            row.setcolStatus(title.getCurrentCarePlanStatusIsNotNull() && title.getCurrentCarePlanStatus().getStatusIsNotNull() ? title.getCurrentCarePlanStatus().getStatus().getText() : "");
            row.setValue(title);
        }

    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateCarePlans()
{
    if (form.getLocalContext().getSelectedClinicalNoteIsNotNull()
        && form.getLocalContext().getSelectedClinicalNote().getCarePlans() != null)
    {
        CarePlanTitleCollection dataColl = form.getLocalContext().getSelectedClinicalNote().getCarePlans();
        if (dataColl != null)
        {
            GenForm.gridCarePlanRow row;
            for (int i = 0; i < dataColl.size(); i++)
            {
                CarePlanTitle title = dataColl.get(i);
                row = form.gridCarePlan().getRowByValue(title);
                if (row != null)
                    row.setcolSelect(true);
            }
        }
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void loadCarePlans()
{
    CarePlanTitleCollection coll = form.getLocalContext().getCarePlans();

    if (coll != null)
    {
        form.gridCarePlan().getRows().clear();
        GenForm.gridCarePlanRow row;
        for (int i = 0; i < coll.size(); i++)
        {
            CarePlanTitle title = coll.get(i);
            row = form.gridCarePlan().getRows().newRow();
            row.setcolCarePlan(title.getTitle());

            if(isClinicalNotesCarePlanDetailsAlias() && form.getGlobalContext().COE.getCarePlanIsNotNull())
            {
                if(title.equals(form.getGlobalContext().COE.getCarePlan()))
                {
                    row.setcolSelect(true);
                }
            }
            row.setValue(title);
        }

    }
}
项目:openmaxims-linux    文件:Logic.java   
private void populateCarePlans()
{
    // Populate the careplan selected column with data from database
    if (form.getLocalContext().getClinicalNote().getCarePlans() != null)
    {
        CarePlanTitleCollection dataColl = form.getLocalContext().getClinicalNote().getCarePlans();
        if (dataColl != null)
        {
            GenForm.gridCarePlanRow row;
            for (int i = 0; i < dataColl.size(); i++)
            {
                CarePlanTitle title = dataColl.get(i);
                row = form.gridCarePlan().getRowByValue(title);
                if (row != null)
                    row.setcolSelect(true);
            }
        }
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void loadCarePlans(boolean bActiveOnly)
{
    CarePlanTitleCollection coll = form.getLocalContext().getCarePlans();

    if (coll != null)
    {
        form.gridCarePlan().getRows().clear();
        GenForm.gridCarePlanRow row;
        for (int i = 0; i < coll.size(); i++)
        {
            CarePlanTitle title = coll.get(i);

            if ( bActiveOnly
                && (title.getCurrentCarePlanStatusIsNotNull() 
                        && title.getCurrentCarePlanStatus().getStatusIsNotNull()
                        && ! title.getCurrentCarePlanStatus().getStatus().equals(ims.nursing.vo.lookups.CarePlanStatus.ACTIVE)) )
                continue;

            row = form.gridCarePlan().getRows().newRow();
            row.setcolCarePlan(title.getTitle());
            row.setcolStatus(title.getCurrentCarePlanStatusIsNotNull() && title.getCurrentCarePlanStatus().getStatusIsNotNull() ? title.getCurrentCarePlanStatus().getStatus().getText() : "");
            row.setValue(title);
        }

    }
}
项目:openmaxims-linux    文件:Logic.java   
private void populateCarePlans()
{
    if (form.getLocalContext().getSelectedClinicalNoteIsNotNull()
        && form.getLocalContext().getSelectedClinicalNote().getCarePlans() != null)
    {
        CarePlanTitleCollection dataColl = form.getLocalContext().getSelectedClinicalNote().getCarePlans();
        if (dataColl != null)
        {
            GenForm.gridCarePlanRow row;
            for (int i = 0; i < dataColl.size(); i++)
            {
                CarePlanTitle title = dataColl.get(i);
                row = form.gridCarePlan().getRowByValue(title);
                if (row != null)
                    row.setcolSelect(true);
            }
        }
    }
}
项目:AvoinApotti    文件:Logic.java   
public CarePlanTitle getCarePlan() {
    return carePlan;
}
项目:AvoinApotti    文件:Logic.java   
public void setCarePlan(CarePlanTitle carePlan) {
    this.carePlan = carePlan;
}
项目:openMAXIMS    文件:Logic.java   
public CarePlanTitle getCarePlan() {
    return carePlan;
}
项目:openMAXIMS    文件:Logic.java   
public void setCarePlan(CarePlanTitle carePlan) {
    this.carePlan = carePlan;
}
项目:openMAXIMS    文件:Logic.java   
public CarePlanTitle getCarePlan() {
    return carePlan;
}
项目:openMAXIMS    文件:Logic.java   
public void setCarePlan(CarePlanTitle carePlan) {
    this.carePlan = carePlan;
}
项目:openmaxims-linux    文件:Logic.java   
public CarePlanTitle getCarePlan() {
    return carePlan;
}
项目:openmaxims-linux    文件:Logic.java   
public void setCarePlan(CarePlanTitle carePlan) {
    this.carePlan = carePlan;
}