本文整理汇总了Java中ims.core.vo.lookups.PatientMobility类的典型用法代码示例。如果您正苦于以下问题:Java PatientMobility类的具体用法?Java PatientMobility怎么用?Java PatientMobility使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
PatientMobility类属于ims.core.vo.lookups包,在下文中一共展示了PatientMobility类的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: bindPatientMobilityGrid
import ims.core.vo.lookups.PatientMobility; //导入依赖的package包/类
/**
* Function used to bind Patient Mobility lookup to grid
*/
private void bindPatientMobilityGrid()
{
// Clear grid
form.lyrAdviceMobility().tabMobilityAndEquipment().grdMobility().getRows().clear();
// Get PatientMobility values
PatientMobilityCollection values = LookupHelper.getPatientMobility(domain.getLookupService());
// Add each Patient Mobility to grid
if (values != null)
{
for (int i = 0; i < values.size(); i++)
{
PatientMobility mobility = values.get(i);
grdMobilityRow row = form.lyrAdviceMobility().tabMobilityAndEquipment().grdMobility().getRows().newRow();
row.setColMobility(mobility.getText());
row.setColMobilityReadOnly(false);
row.setValue(mobility);
}
}
}
示例2: bindPatientMobilityGrid
import ims.core.vo.lookups.PatientMobility; //导入依赖的package包/类
/**
* Function used to bind Patient Mobility lookup to grid
*/
private void bindPatientMobilityGrid()
{
// Clear grid
form.grdMobility().getRows().clear();
// Get PatientMobility values
PatientMobilityCollection values = LookupHelper.getPatientMobility(domain.getLookupService());
// Add each Patient Mobility to grid
if (values != null)
{
for (int i = 0; i < values.size(); i++)
{
PatientMobility mobility = values.get(i);
grdMobilityRow row = form.grdMobility().getRows().newRow();
row.setColMobility(mobility.getText());
row.setColMobilityReadOnly(false);
row.setValue(mobility);
}
}
}