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

项目:AvoinApotti    文件:Logic.java   
private void populateControls(SpecimenCollectionMethod value)
{
    if(value != null)
    {
        if (value.equals(SpecimenCollectionMethod.OUTPATIENT))
        {
            OutPatientDurationCollection collDuration = LookupHelper.getOutPatientDuration(domain.getLookupService());
            if (form.cmbValues().getValues().size() == 0)
            {
                for (int i = 0; i < collDuration.size(); i++)
                {
                    form.cmbValues().newRow(collDuration.get(i), collDuration.get(i).toString());
                }
            }
        }
        else if (value.equals(SpecimenCollectionMethod.INPATIENT))//WDEV-16964
        {
            form.dteDate().setValue(new Date());
            dateChanged();
        }

    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateControls(SpecimenCollectionMethod value)
{
    if(value != null)
    {
        if (value.equals(SpecimenCollectionMethod.OUTPATIENT))
        {
            OutPatientDurationCollection collDuration = LookupHelper.getOutPatientDuration(domain.getLookupService());
            if (form.cmbValues().getValues().size() == 0)
            {
                for (int i = 0; i < collDuration.size(); i++)
                {
                    form.cmbValues().newRow(collDuration.get(i), collDuration.get(i).toString());
                }
            }
        }
        else if (value.equals(SpecimenCollectionMethod.INPATIENT))//WDEV-16964
        {
            form.dteDate().setValue(new Date());
            dateChanged();
        }

    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateControls(SpecimenCollectionMethod value)
{
    if(value != null)
    {
        if (value.equals(SpecimenCollectionMethod.OUTPATIENT))
        {
            OutPatientDurationCollection collDuration = LookupHelper.getOutPatientDuration(domain.getLookupService());
            if (form.cmbValues().getValues().size() == 0)
            {
                for (int i = 0; i < collDuration.size(); i++)
                {
                    form.cmbValues().newRow(collDuration.get(i), collDuration.get(i).toString());
                }
            }
        }
        else if (value.equals(SpecimenCollectionMethod.INPATIENT))//WDEV-16964
        {
            form.dteDate().setValue(new Date());
            dateChanged();
        }

    }
}
项目:openmaxims-linux    文件:Logic.java   
private void populateControls(SpecimenCollectionMethod value)
{
    if(value != null)
    {
        if (value.equals(SpecimenCollectionMethod.OUTPATIENT))
        {
            OutPatientDurationCollection collDuration = LookupHelper.getOutPatientDuration(domain.getLookupService());
            if (form.cmbValues().getValues().size() == 0)
            {
                for (int i = 0; i < collDuration.size(); i++)
                {
                    form.cmbValues().newRow(collDuration.get(i), collDuration.get(i).toString());
                }
            }
        }
        else if (value.equals(SpecimenCollectionMethod.INPATIENT))//WDEV-16964
        {
            form.dteDate().setValue(new Date());
            dateChanged();
        }

    }
}
项目:AvoinApotti    文件:Logic.java   
private void populateCellFromLookup(DynamicGridCell cellDuration)
{
    OutPatientDurationCollection collDuration = form.getLocalContext().getOutpatientDurationLookupCollection();
    if (collDuration == null)
        collDuration = LookupHelper.getOutPatientDuration(domain.getLookupService());

    for (int i = 0; i < collDuration.size(); i++)
        cellDuration.getItems().newItem(collDuration.get(i), collDuration.get(i).toString());

}
项目:openMAXIMS    文件:Logic.java   
private void populateCellFromLookup(DynamicGridCell cellDuration)
{
    OutPatientDurationCollection collDuration = form.getLocalContext().getOutpatientDurationLookupCollection();
    if (collDuration == null)
        collDuration = LookupHelper.getOutPatientDuration(domain.getLookupService());

    for (int i = 0; i < collDuration.size(); i++)
        cellDuration.getItems().newItem(collDuration.get(i), collDuration.get(i).toString());

}
项目:openMAXIMS    文件:Logic.java   
private void populateCellFromLookup(DynamicGridCell cellDuration)
{
    OutPatientDurationCollection collDuration = form.getLocalContext().getOutpatientDurationLookupCollection();
    if (collDuration == null)
        collDuration = LookupHelper.getOutPatientDuration(domain.getLookupService());

    for (int i = 0; i < collDuration.size(); i++)
        cellDuration.getItems().newItem(collDuration.get(i), collDuration.get(i).toString());

}
项目:openmaxims-linux    文件:Logic.java   
private void populateCellFromLookup(DynamicGridCell cellDuration)
{
    OutPatientDurationCollection collDuration = form.getLocalContext().getOutpatientDurationLookupCollection();
    if (collDuration == null)
        collDuration = LookupHelper.getOutPatientDuration(domain.getLookupService());

    for (int i = 0; i < collDuration.size(); i++)
        cellDuration.getItems().newItem(collDuration.get(i), collDuration.get(i).toString());

}