Java 类ims.ocrr.vo.lookups.SpecimenCollectionTimeCollection 实例源码

项目:AvoinApotti    文件:Logic.java   
private void prepopulateSpecimenGrid()
{
    SpecimenCollectionTimeCollection collCollectionTime = LookupHelper.getSpecimenCollectionTime(domain.getLookupService());
    form.lyrSpecColConfig().tabSpecCollectionConfig().grdSpecimenCollection().getRows().clear();
    GenForm.lyrSpecColConfigLayer.tabSpecCollectionConfigContainer.grdSpecimenCollectionRow row;
    SpecimenCollectionTime collectionTime;

    for (int i = 0; i < collCollectionTime.size(); i++)
    {
        collectionTime = collCollectionTime.get(i);
        row = form.lyrSpecColConfig().tabSpecCollectionConfig().grdSpecimenCollection().getRows().newRow();
        row.setcolTime(collectionTime);
    }
}
项目:AvoinApotti    文件:Logic.java   
private SpecimenCollectionSettings getSettings(SpecimenCollectionMethod type)
{
    SpecimenCollectionSettings settings = new SpecimenCollectionSettings();
    settings.setSpecimenCollectionMethod(type);

    if (type.equals(SpecimenCollectionMethod.INPATIENT))
    {
        settings.setDate(form.lyrDetails().tabPathDetails().lyrPathology().tabPhlebotomy().dteCollect().getValue());

        // date control has been cleared using the keyboard
        if (settings.getDate() == null)
            form.lyrDetails().tabPathDetails().lyrPathology().tabPhlebotomy().cmbTime().clear();

        settings.setSelectedTime(form.lyrDetails().tabPathDetails().lyrPathology().tabPhlebotomy().cmbTime().getValue());

        if (form.lyrDetails().tabPathDetails().lyrPathology().tabPhlebotomy().cmbTime().getValues().size() > 0)
        {
            settings.setCollTimes(new SpecimenCollectionTimeCollection());
            for (int i = 0; i < form.lyrDetails().tabPathDetails().lyrPathology().tabPhlebotomy().cmbTime().getValues().size(); i++)
            {
                settings.getCollTimes().add((SpecimenCollectionTime) form.lyrDetails().tabPathDetails().lyrPathology().tabPhlebotomy().cmbTime().getValues().get(i));
            }
        }
    }
    else if (type.equals(SpecimenCollectionMethod.OUTPATIENT))
    {
        settings.setUnits(form.lyrDetails().tabPathDetails().lyrPathology().tabPhlebotomy().intDuration().getValue());
        settings.setDuration(form.lyrDetails().tabPathDetails().lyrPathology().tabPhlebotomy().cmbDuration().getValue());
    }

    return settings;
}
项目:openMAXIMS    文件:Logic.java   
private void prepopulateSpecimenGrid()
{
    SpecimenCollectionTimeCollection collCollectionTime = LookupHelper.getSpecimenCollectionTime(domain.getLookupService());
    form.lyrSpecColConfig().tabSpecCollectionConfig().grdSpecimenCollection().getRows().clear();
    GenForm.lyrSpecColConfigLayer.tabSpecCollectionConfigContainer.grdSpecimenCollectionRow row;
    SpecimenCollectionTime collectionTime;

    for (int i = 0; i < collCollectionTime.size(); i++)
    {
        collectionTime = collCollectionTime.get(i);
        row = form.lyrSpecColConfig().tabSpecCollectionConfig().grdSpecimenCollection().getRows().newRow();
        row.setcolTime(collectionTime);
    }
}
项目:openMAXIMS    文件:Logic.java   
private SpecimenCollectionSettings getSettings(SpecimenCollectionMethod type)
{
    SpecimenCollectionSettings settings = new SpecimenCollectionSettings();
    settings.setSpecimenCollectionMethod(type);

    if (type.equals(SpecimenCollectionMethod.INPATIENT))
    {
        settings.setDate(form.lyrDetails().tabPathDetails().lyrPathology().tabPhlebotomy().dteCollect().getValue());

        // date control has been cleared using the keyboard
        if (settings.getDate() == null)
            form.lyrDetails().tabPathDetails().lyrPathology().tabPhlebotomy().cmbTime().clear();

        settings.setSelectedTime(form.lyrDetails().tabPathDetails().lyrPathology().tabPhlebotomy().cmbTime().getValue());

        if (form.lyrDetails().tabPathDetails().lyrPathology().tabPhlebotomy().cmbTime().getValues().size() > 0)
        {
            settings.setCollTimes(new SpecimenCollectionTimeCollection());
            for (int i = 0; i < form.lyrDetails().tabPathDetails().lyrPathology().tabPhlebotomy().cmbTime().getValues().size(); i++)
            {
                settings.getCollTimes().add((SpecimenCollectionTime) form.lyrDetails().tabPathDetails().lyrPathology().tabPhlebotomy().cmbTime().getValues().get(i));
            }
        }
    }
    else if (type.equals(SpecimenCollectionMethod.OUTPATIENT))
    {
        settings.setUnits(form.lyrDetails().tabPathDetails().lyrPathology().tabPhlebotomy().intDuration().getValue());
        settings.setDuration(form.lyrDetails().tabPathDetails().lyrPathology().tabPhlebotomy().cmbDuration().getValue());
    }

    return settings;
}
项目:openMAXIMS    文件:Logic.java   
private void prepopulateSpecimenGrid()
{
    SpecimenCollectionTimeCollection collCollectionTime = LookupHelper.getSpecimenCollectionTime(domain.getLookupService());
    form.lyrSpecColConfig().tabSpecCollectionConfig().grdSpecimenCollection().getRows().clear();
    GenForm.lyrSpecColConfigLayer.tabSpecCollectionConfigContainer.grdSpecimenCollectionRow row;
    SpecimenCollectionTime collectionTime;

    for (int i = 0; i < collCollectionTime.size(); i++)
    {
        collectionTime = collCollectionTime.get(i);
        row = form.lyrSpecColConfig().tabSpecCollectionConfig().grdSpecimenCollection().getRows().newRow();
        row.setcolTime(collectionTime);
    }
}
项目:openMAXIMS    文件:Logic.java   
private SpecimenCollectionSettings getSettings(SpecimenCollectionMethod type)
{
    SpecimenCollectionSettings settings = new SpecimenCollectionSettings();
    settings.setSpecimenCollectionMethod(type);

    if (type.equals(SpecimenCollectionMethod.INPATIENT))
    {
        settings.setDate(form.lyrDetails().tabPathDetails().lyrPathology().tabPhlebotomy().dteCollect().getValue());

        // date control has been cleared using the keyboard
        if (settings.getDate() == null)
            form.lyrDetails().tabPathDetails().lyrPathology().tabPhlebotomy().cmbTime().clear();

        settings.setSelectedTime(form.lyrDetails().tabPathDetails().lyrPathology().tabPhlebotomy().cmbTime().getValue());

        if (form.lyrDetails().tabPathDetails().lyrPathology().tabPhlebotomy().cmbTime().getValues().size() > 0)
        {
            settings.setCollTimes(new SpecimenCollectionTimeCollection());
            for (int i = 0; i < form.lyrDetails().tabPathDetails().lyrPathology().tabPhlebotomy().cmbTime().getValues().size(); i++)
            {
                settings.getCollTimes().add((SpecimenCollectionTime) form.lyrDetails().tabPathDetails().lyrPathology().tabPhlebotomy().cmbTime().getValues().get(i));
            }
        }
    }
    else if (type.equals(SpecimenCollectionMethod.OUTPATIENT))
    {
        settings.setUnits(form.lyrDetails().tabPathDetails().lyrPathology().tabPhlebotomy().intDuration().getValue());
        settings.setDuration(form.lyrDetails().tabPathDetails().lyrPathology().tabPhlebotomy().cmbDuration().getValue());
    }

    return settings;
}
项目:openmaxims-linux    文件:Logic.java   
private void prepopulateSpecimenGrid()
{
    SpecimenCollectionTimeCollection collCollectionTime = LookupHelper.getSpecimenCollectionTime(domain.getLookupService());
    form.lyrSpecColConfig().tabSpecCollectionConfig().grdSpecimenCollection().getRows().clear();
    GenForm.lyrSpecColConfigLayer.tabSpecCollectionConfigContainer.grdSpecimenCollectionRow row;
    SpecimenCollectionTime collectionTime;

    for (int i = 0; i < collCollectionTime.size(); i++)
    {
        collectionTime = collCollectionTime.get(i);
        row = form.lyrSpecColConfig().tabSpecCollectionConfig().grdSpecimenCollection().getRows().newRow();
        row.setcolTime(collectionTime);
    }
}
项目:openmaxims-linux    文件:Logic.java   
private SpecimenCollectionSettings getSettings(SpecimenCollectionMethod type)
{
    SpecimenCollectionSettings settings = new SpecimenCollectionSettings();
    settings.setSpecimenCollectionMethod(type);

    if (type.equals(SpecimenCollectionMethod.INPATIENT))
    {
        settings.setDate(form.lyrDetails().tabPathDetails().lyrPathology().tabPhlebotomy().dteCollect().getValue());

        // date control has been cleared using the keyboard
        if (settings.getDate() == null)
            form.lyrDetails().tabPathDetails().lyrPathology().tabPhlebotomy().cmbTime().clear();

        settings.setSelectedTime(form.lyrDetails().tabPathDetails().lyrPathology().tabPhlebotomy().cmbTime().getValue());

        if (form.lyrDetails().tabPathDetails().lyrPathology().tabPhlebotomy().cmbTime().getValues().size() > 0)
        {
            settings.setCollTimes(new SpecimenCollectionTimeCollection());
            for (int i = 0; i < form.lyrDetails().tabPathDetails().lyrPathology().tabPhlebotomy().cmbTime().getValues().size(); i++)
            {
                settings.getCollTimes().add((SpecimenCollectionTime) form.lyrDetails().tabPathDetails().lyrPathology().tabPhlebotomy().cmbTime().getValues().get(i));
            }
        }
    }
    else if (type.equals(SpecimenCollectionMethod.OUTPATIENT))
    {
        settings.setUnits(form.lyrDetails().tabPathDetails().lyrPathology().tabPhlebotomy().intDuration().getValue());
        settings.setDuration(form.lyrDetails().tabPathDetails().lyrPathology().tabPhlebotomy().cmbDuration().getValue());
    }

    return settings;
}
项目:AvoinApotti    文件:Logic.java   
protected final SpecimenCollectionTimeCollection getCollTimes()
{
    return collTimes;
}
项目:AvoinApotti    文件:Logic.java   
protected final void setCollTimes(SpecimenCollectionTimeCollection collTimes)
{
    this.collTimes = collTimes;
}
项目:openMAXIMS    文件:Logic.java   
protected final SpecimenCollectionTimeCollection getCollTimes()
{
    return collTimes;
}
项目:openMAXIMS    文件:Logic.java   
protected final void setCollTimes(SpecimenCollectionTimeCollection collTimes)
{
    this.collTimes = collTimes;
}
项目:openMAXIMS    文件:Logic.java   
protected final SpecimenCollectionTimeCollection getCollTimes()
{
    return collTimes;
}
项目:openMAXIMS    文件:Logic.java   
protected final void setCollTimes(SpecimenCollectionTimeCollection collTimes)
{
    this.collTimes = collTimes;
}
项目:openmaxims-linux    文件:Logic.java   
protected final SpecimenCollectionTimeCollection getCollTimes()
{
    return collTimes;
}
项目:openmaxims-linux    文件:Logic.java   
protected final void setCollTimes(SpecimenCollectionTimeCollection collTimes)
{
    this.collTimes = collTimes;
}