Java 类ims.core.vo.lookups.PatIdTypeCollection 实例源码
项目:AvoinApotti
文件:Logic.java
private void bindColType(grdIdentifiersRow row, boolean isNew)
{
row.getcolIdType().clear();
PatIdTypeCollection collTypes = LookupHelper.getPatIdType(domain.getLookupService());
for(int i=0;i<collTypes.size();i++)
{
if(ConfigFlag.DOM.HEARTS_REPLICATE_PATIENTS.getValue())
{
if(isNew)
{
if(collTypes.get(i).equals(PatIdType.HOSPNUM) || collTypes.get(i).equals(PatIdType.PKEY))
continue;
}
}
row.getcolIdType().newRow(collTypes.get(i), collTypes.get(i).getText());
}
}
项目:AvoinApotti
文件:Logic.java
private void bindColType(ims.RefMan.forms.daycaseadmissiondialog.GenForm.grdIdentifiersRow row, boolean isNew)
{
row.getcolIdType().clear();
PatIdTypeCollection collTypes = LookupHelper.getPatIdType(domain.getLookupService());
for(int i=0;i<collTypes.size();i++)
{
if(ConfigFlag.DOM.HEARTS_REPLICATE_PATIENTS.getValue())
{
if(isNew)
{
if(collTypes.get(i).equals(PatIdType.HOSPNUM) || collTypes.get(i).equals(PatIdType.PKEY))
continue;
}
}
row.getcolIdType().newRow(collTypes.get(i), collTypes.get(i).getText());
}
}
项目:openMAXIMS
文件:Logic.java
private void bindColType(grdIdentifiersRow row, boolean isNew)
{
row.getcolIdType().clear();
PatIdTypeCollection collTypes = LookupHelper.getPatIdType(domain.getLookupService());
for(int i=0;i<collTypes.size();i++)
{
if(ConfigFlag.DOM.HEARTS_REPLICATE_PATIENTS.getValue())
{
if(isNew)
{
if(collTypes.get(i).equals(PatIdType.HOSPNUM) || collTypes.get(i).equals(PatIdType.PKEY))
continue;
}
}
row.getcolIdType().newRow(collTypes.get(i), collTypes.get(i).getText());
}
}
项目:openMAXIMS
文件:Logic.java
private void bindColType(ims.RefMan.forms.daycaseadmissiondialog.GenForm.grdIdentifiersRow row, boolean isNew)
{
row.getcolIdType().clear();
PatIdTypeCollection collTypes = LookupHelper.getPatIdType(domain.getLookupService());
for(int i=0;i<collTypes.size();i++)
{
if(ConfigFlag.DOM.HEARTS_REPLICATE_PATIENTS.getValue())
{
if(isNew)
{
if(collTypes.get(i).equals(PatIdType.HOSPNUM) || collTypes.get(i).equals(PatIdType.PKEY))
continue;
}
}
row.getcolIdType().newRow(collTypes.get(i), collTypes.get(i).getText());
}
}
项目:openMAXIMS
文件:Logic.java
private void bindColType(grdIdentifiersRow row, boolean isNew)
{
row.getcolIdType().clear();
PatIdTypeCollection collTypes = LookupHelper.getPatIdType(domain.getLookupService());
for(int i=0;i<collTypes.size();i++)
{
if(ConfigFlag.DOM.HEARTS_REPLICATE_PATIENTS.getValue())
{
if(isNew)
{
if(collTypes.get(i).equals(PatIdType.HOSPNUM) || collTypes.get(i).equals(PatIdType.PKEY))
continue;
}
}
row.getcolIdType().newRow(collTypes.get(i), collTypes.get(i).getText());
}
}
项目:openMAXIMS
文件:Logic.java
private void bindColType(ims.RefMan.forms.daycaseadmissiondialog.GenForm.grdIdentifiersRow row, boolean isNew)
{
row.getcolIdType().clear();
PatIdTypeCollection collTypes = LookupHelper.getPatIdType(domain.getLookupService());
for(int i=0;i<collTypes.size();i++)
{
if(ConfigFlag.DOM.HEARTS_REPLICATE_PATIENTS.getValue())
{
if(isNew)
{
if(collTypes.get(i).equals(PatIdType.HOSPNUM) || collTypes.get(i).equals(PatIdType.PKEY))
continue;
}
}
row.getcolIdType().newRow(collTypes.get(i), collTypes.get(i).getText());
}
}
项目:AvoinApotti
文件:Logic.java
private boolean typeIsActive(PatIdType type) {
PatIdTypeCollection collTypes = LookupHelper.getPatIdType(domain.getLookupService());
for (int i = 0; i < collTypes.size(); i++)
{
if(collTypes.get(i).equals(type))
return true;
}
return false;
}
项目:openMAXIMS
文件:Logic.java
private boolean typeIsActive(PatIdType type)
{
PatIdTypeCollection collTypes = LookupHelper.getPatIdType(domain.getLookupService());
for (int i = 0; i < collTypes.size(); i++)
{
if(collTypes.get(i).equals(type))
return true;
}
return false;
}
项目:openMAXIMS
文件:Logic.java
private boolean typeIsActive(PatIdType type) {
PatIdTypeCollection collTypes = ims.core.vo.lookups.LookupHelper.getPatIdType(domain.getLookupService());
for (int i = 0; i < collTypes.size(); i++)
{
if(collTypes.get(i).equals(type))
return true;
}
return false;
}
项目:openMAXIMS
文件:Logic.java
private boolean typeIsActive(PatIdType type) {
PatIdTypeCollection collTypes = LookupHelper.getPatIdType(domain.getLookupService());
for (int i = 0; i < collTypes.size(); i++)
{
if(collTypes.get(i).equals(type))
return true;
}
return false;
}
项目:openMAXIMS
文件:Logic.java
private boolean typeIsActive(PatIdType type) {
PatIdTypeCollection collTypes = LookupHelper.getPatIdType(domain.getLookupService());
for (int i = 0; i < collTypes.size(); i++)
{
if(collTypes.get(i).equals(type))
return true;
}
return false;
}
项目:openmaxims-linux
文件:Logic.java
private boolean typeIsActive(PatIdType type) {
PatIdTypeCollection collTypes = LookupHelper.getPatIdType(domain.getLookupService());
for (int i = 0; i < collTypes.size(); i++)
{
if(collTypes.get(i).equals(type))
return true;
}
return false;
}
项目:AvoinApotti
文件:Logic.java
private void bindColType(PatIdType selectedPatIdType, grdIdentifiersRow row)
{
row.getcolIdType().clear();
PatIdTypeCollection collTypes = LookupHelper.getPatIdType(domain.getLookupService());
PatIdTypeCollection collEditedTypes = new PatIdTypeCollection();
for (int i = 0; i<collTypes.size(); i++)
{
if(selectedPatIdType == null) //new
{
if(ConfigFlag.DOM.HEARTS_REPLICATE_PATIENTS.getValue())
{
if(collTypes.get(i).equals(PatIdType.HOSPNUM) || collTypes.get(i).equals(PatIdType.PKEY))
continue;
}
if(collTypes.get(i).equals(PatIdType.PATNUM))
continue;
row.getcolIdType().newRow(collTypes.get(i), collTypes.get(i).getText());
}
else //not new
{
if(ConfigFlag.DOM.HEARTS_REPLICATE_PATIENTS.getValue())
{
//if we are displaying a previously saved hospnum or pkey
if(selectedPatIdType.equals(PatIdType.HOSPNUM) || selectedPatIdType.equals(PatIdType.PKEY) || selectedPatIdType.equals(PatIdType.PATNUM))
row.getcolIdType().newRow(collTypes.get(i), collTypes.get(i).getText());
else
{
//we are displaying a previous saved any other patidtype - dont add the pkey and hospnum or patnum
if(!collTypes.get(i).equals(PatIdType.HOSPNUM) && !collTypes.get(i).equals(PatIdType.PKEY) && !collTypes.get(i).equals(PatIdType.PATNUM))
row.getcolIdType().newRow(collTypes.get(i), collTypes.get(i).getText());
}
}
else
{
//if we are displaying a previously saved patientnumber
if(selectedPatIdType.equals(PatIdType.PATNUM))
row.getcolIdType().newRow(collTypes.get(i), collTypes.get(i).getText());
else
{
//we are displaying a previous saved any other patidtype - dont add the patientnumber
if(!collTypes.get(i).equals(PatIdType.PATNUM))
row.getcolIdType().newRow(collTypes.get(i), collTypes.get(i).getText());
}
}
}
}
}
项目:AvoinApotti
文件:Logic.java
private void bindColType(PatIdType selectedPatIdType, grdIdentifiersRow row)
{
row.getcolIdType().clear();
PatIdTypeCollection collTypes = LookupHelper.getPatIdType(domain.getLookupService());
for (int i = 0; i<collTypes.size(); i++)
{
if(selectedPatIdType == null) //new
{
if(ConfigFlag.DOM.HEARTS_REPLICATE_PATIENTS.getValue())
{
if(collTypes.get(i).equals(PatIdType.HOSPNUM) || collTypes.get(i).equals(PatIdType.PKEY))
continue;
}
if(collTypes.get(i).equals(PatIdType.PATNUM))
continue;
row.getcolIdType().newRow(collTypes.get(i), collTypes.get(i).getText());
}
else
// not new
{
if(ConfigFlag.DOM.HEARTS_REPLICATE_PATIENTS.getValue())
{
//if we are displaying a previously saved hospnum or pkey
if(selectedPatIdType.equals(PatIdType.HOSPNUM) || selectedPatIdType.equals(PatIdType.PKEY) || selectedPatIdType.equals(PatIdType.PATNUM))
row.getcolIdType().newRow(collTypes.get(i), collTypes.get(i).getText());
else
{
//we are displaying a previous saved any other patidtype - dont add the pkey and hospnum or patnum
if(!collTypes.get(i).equals(PatIdType.HOSPNUM) && !collTypes.get(i).equals(PatIdType.PKEY) && !collTypes.get(i).equals(PatIdType.PATNUM))
row.getcolIdType().newRow(collTypes.get(i), collTypes.get(i).getText());
}
}
else
{
//if we are displaying a previously saved patientnumber
if(selectedPatIdType.equals(PatIdType.PATNUM))
row.getcolIdType().newRow(collTypes.get(i), collTypes.get(i).getText());
else
{
//we are displaying a previous saved any other patidtype - dont add the patientnumber
if(!collTypes.get(i).equals(PatIdType.PATNUM))
row.getcolIdType().newRow(collTypes.get(i), collTypes.get(i).getText());
}
}
}
}
}
项目:openMAXIMS
文件:Logic.java
private void bindColType(PatIdType selectedPatIdType, grdIdentifiersRow row)
{
row.getcolIdType().clear();
PatIdTypeCollection collTypes = LookupHelper.getPatIdType(domain.getLookupService());
PatIdTypeCollection collEditedTypes = new PatIdTypeCollection();
for (int i = 0; i<collTypes.size(); i++)
{
if(selectedPatIdType == null) //new
{
if(ConfigFlag.DOM.HEARTS_REPLICATE_PATIENTS.getValue())
{
if(collTypes.get(i).equals(PatIdType.HOSPNUM) || collTypes.get(i).equals(PatIdType.PKEY))
continue;
}
if(collTypes.get(i).equals(PatIdType.PATNUM))
continue;
row.getcolIdType().newRow(collTypes.get(i), collTypes.get(i).getText());
}
else //not new
{
if(ConfigFlag.DOM.HEARTS_REPLICATE_PATIENTS.getValue())
{
//if we are displaying a previously saved hospnum or pkey
if(selectedPatIdType.equals(PatIdType.HOSPNUM) || selectedPatIdType.equals(PatIdType.PKEY) || selectedPatIdType.equals(PatIdType.PATNUM))
row.getcolIdType().newRow(collTypes.get(i), collTypes.get(i).getText());
else
{
//we are displaying a previous saved any other patidtype - dont add the pkey and hospnum or patnum
if(!collTypes.get(i).equals(PatIdType.HOSPNUM) && !collTypes.get(i).equals(PatIdType.PKEY) && !collTypes.get(i).equals(PatIdType.PATNUM))
row.getcolIdType().newRow(collTypes.get(i), collTypes.get(i).getText());
}
}
else
{
//if we are displaying a previously saved patientnumber
if(selectedPatIdType.equals(PatIdType.PATNUM))
row.getcolIdType().newRow(collTypes.get(i), collTypes.get(i).getText());
else
{
//we are displaying a previous saved any other patidtype - dont add the patientnumber
if(!collTypes.get(i).equals(PatIdType.PATNUM))
row.getcolIdType().newRow(collTypes.get(i), collTypes.get(i).getText());
}
}
}
}
}
项目:openMAXIMS
文件:Logic.java
private void bindColType(PatIdType selectedPatIdType, grdIdentifiersRow row)
{
row.getcolIdType().clear();
PatIdTypeCollection collTypes = LookupHelper.getPatIdType(domain.getLookupService());
for (int i = 0; i<collTypes.size(); i++)
{
if(selectedPatIdType == null) //new
{
if(ConfigFlag.DOM.HEARTS_REPLICATE_PATIENTS.getValue())
{
if(collTypes.get(i).equals(PatIdType.HOSPNUM) || collTypes.get(i).equals(PatIdType.PKEY))
continue;
}
if(collTypes.get(i).equals(PatIdType.PATNUM))
continue;
row.getcolIdType().newRow(collTypes.get(i), collTypes.get(i).getText());
}
else
// not new
{
if(ConfigFlag.DOM.HEARTS_REPLICATE_PATIENTS.getValue())
{
//if we are displaying a previously saved hospnum or pkey
if(selectedPatIdType.equals(PatIdType.HOSPNUM) || selectedPatIdType.equals(PatIdType.PKEY) || selectedPatIdType.equals(PatIdType.PATNUM))
row.getcolIdType().newRow(collTypes.get(i), collTypes.get(i).getText());
else
{
//we are displaying a previous saved any other patidtype - dont add the pkey and hospnum or patnum
if(!collTypes.get(i).equals(PatIdType.HOSPNUM) && !collTypes.get(i).equals(PatIdType.PKEY) && !collTypes.get(i).equals(PatIdType.PATNUM))
row.getcolIdType().newRow(collTypes.get(i), collTypes.get(i).getText());
}
}
else
{
//if we are displaying a previously saved patientnumber
if(selectedPatIdType.equals(PatIdType.PATNUM))
row.getcolIdType().newRow(collTypes.get(i), collTypes.get(i).getText());
else
{
//we are displaying a previous saved any other patidtype - dont add the patientnumber
if(!collTypes.get(i).equals(PatIdType.PATNUM))
row.getcolIdType().newRow(collTypes.get(i), collTypes.get(i).getText());
}
}
}
}
}
项目:openMAXIMS
文件:Logic.java
private void bindColType(PatIdType selectedPatIdType, grdIdentifiersRow row)
{
row.getcolIdType().clear();
PatIdTypeCollection collTypes = LookupHelper.getPatIdType(domain.getLookupService());
PatIdTypeCollection collEditedTypes = new PatIdTypeCollection();
for (int i = 0; i<collTypes.size(); i++)
{
if(selectedPatIdType == null) //new
{
if(ConfigFlag.DOM.HEARTS_REPLICATE_PATIENTS.getValue())
{
if(collTypes.get(i).equals(PatIdType.HOSPNUM) || collTypes.get(i).equals(PatIdType.PKEY))
continue;
}
if(collTypes.get(i).equals(PatIdType.PATNUM))
continue;
row.getcolIdType().newRow(collTypes.get(i), collTypes.get(i).getText());
}
else //not new
{
if(ConfigFlag.DOM.HEARTS_REPLICATE_PATIENTS.getValue())
{
//if we are displaying a previously saved hospnum or pkey
if(selectedPatIdType.equals(PatIdType.HOSPNUM) || selectedPatIdType.equals(PatIdType.PKEY) || selectedPatIdType.equals(PatIdType.PATNUM))
row.getcolIdType().newRow(collTypes.get(i), collTypes.get(i).getText());
else
{
//we are displaying a previous saved any other patidtype - dont add the pkey and hospnum or patnum
if(!collTypes.get(i).equals(PatIdType.HOSPNUM) && !collTypes.get(i).equals(PatIdType.PKEY) && !collTypes.get(i).equals(PatIdType.PATNUM))
row.getcolIdType().newRow(collTypes.get(i), collTypes.get(i).getText());
}
}
else
{
//if we are displaying a previously saved patientnumber
if(selectedPatIdType.equals(PatIdType.PATNUM))
row.getcolIdType().newRow(collTypes.get(i), collTypes.get(i).getText());
else
{
//we are displaying a previous saved any other patidtype - dont add the patientnumber
if(!collTypes.get(i).equals(PatIdType.PATNUM))
row.getcolIdType().newRow(collTypes.get(i), collTypes.get(i).getText());
}
}
}
}
}
项目:openMAXIMS
文件:Logic.java
private void bindColType(PatIdType selectedPatIdType, grdIdentifiersRow row)
{
row.getcolIdType().clear();
PatIdTypeCollection collTypes = LookupHelper.getPatIdType(domain.getLookupService());
for (int i = 0; i<collTypes.size(); i++)
{
if(selectedPatIdType == null) //new
{
if(ConfigFlag.DOM.HEARTS_REPLICATE_PATIENTS.getValue())
{
if(collTypes.get(i).equals(PatIdType.HOSPNUM) || collTypes.get(i).equals(PatIdType.PKEY))
continue;
}
if(collTypes.get(i).equals(PatIdType.PATNUM))
continue;
row.getcolIdType().newRow(collTypes.get(i), collTypes.get(i).getText());
}
else
// not new
{
if(ConfigFlag.DOM.HEARTS_REPLICATE_PATIENTS.getValue())
{
//if we are displaying a previously saved hospnum or pkey
if(selectedPatIdType.equals(PatIdType.HOSPNUM) || selectedPatIdType.equals(PatIdType.PKEY) || selectedPatIdType.equals(PatIdType.PATNUM))
row.getcolIdType().newRow(collTypes.get(i), collTypes.get(i).getText());
else
{
//we are displaying a previous saved any other patidtype - dont add the pkey and hospnum or patnum
if(!collTypes.get(i).equals(PatIdType.HOSPNUM) && !collTypes.get(i).equals(PatIdType.PKEY) && !collTypes.get(i).equals(PatIdType.PATNUM))
row.getcolIdType().newRow(collTypes.get(i), collTypes.get(i).getText());
}
}
else
{
//if we are displaying a previously saved patientnumber
if(selectedPatIdType.equals(PatIdType.PATNUM))
row.getcolIdType().newRow(collTypes.get(i), collTypes.get(i).getText());
else
{
//we are displaying a previous saved any other patidtype - dont add the patientnumber
if(!collTypes.get(i).equals(PatIdType.PATNUM))
row.getcolIdType().newRow(collTypes.get(i), collTypes.get(i).getText());
}
}
}
}
}
项目:openmaxims-linux
文件:Logic.java
private void bindColType(PatIdType selectedPatIdType, grdIdentifiersRow row)
{
row.getcolIdType().clear();
PatIdTypeCollection collTypes = LookupHelper.getPatIdType(domain.getLookupService());
PatIdTypeCollection collEditedTypes = new PatIdTypeCollection();
for (int i = 0; i<collTypes.size(); i++)
{
if(selectedPatIdType == null) //new
{
if(ConfigFlag.DOM.HEARTS_REPLICATE_PATIENTS.getValue())
{
if(collTypes.get(i).equals(PatIdType.HOSPNUM) || collTypes.get(i).equals(PatIdType.PKEY))
continue;
}
if(collTypes.get(i).equals(PatIdType.PATNUM))
continue;
row.getcolIdType().newRow(collTypes.get(i), collTypes.get(i).getText());
}
else //not new
{
if(ConfigFlag.DOM.HEARTS_REPLICATE_PATIENTS.getValue())
{
//if we are displaying a previously saved hospnum or pkey
if(selectedPatIdType.equals(PatIdType.HOSPNUM) || selectedPatIdType.equals(PatIdType.PKEY) || selectedPatIdType.equals(PatIdType.PATNUM))
row.getcolIdType().newRow(collTypes.get(i), collTypes.get(i).getText());
else
{
//we are displaying a previous saved any other patidtype - dont add the pkey and hospnum or patnum
if(!collTypes.get(i).equals(PatIdType.HOSPNUM) && !collTypes.get(i).equals(PatIdType.PKEY) && !collTypes.get(i).equals(PatIdType.PATNUM))
row.getcolIdType().newRow(collTypes.get(i), collTypes.get(i).getText());
}
}
else
{
//if we are displaying a previously saved patientnumber
if(selectedPatIdType.equals(PatIdType.PATNUM))
row.getcolIdType().newRow(collTypes.get(i), collTypes.get(i).getText());
else
{
//we are displaying a previous saved any other patidtype - dont add the patientnumber
if(!collTypes.get(i).equals(PatIdType.PATNUM))
row.getcolIdType().newRow(collTypes.get(i), collTypes.get(i).getText());
}
}
}
}
}
项目:openmaxims-linux
文件:Logic.java
private void bindColType(PatIdType selectedPatIdType, grdIdentifiersRow row)
{
row.getcolIdType().clear();
PatIdTypeCollection collTypes = LookupHelper.getPatIdType(domain.getLookupService());
for (int i = 0; i<collTypes.size(); i++)
{
if(selectedPatIdType == null) //new
{
if(ConfigFlag.DOM.HEARTS_REPLICATE_PATIENTS.getValue())
{
if(collTypes.get(i).equals(PatIdType.HOSPNUM) || collTypes.get(i).equals(PatIdType.PKEY))
continue;
}
if(collTypes.get(i).equals(PatIdType.PATNUM))
continue;
row.getcolIdType().newRow(collTypes.get(i), collTypes.get(i).getText());
}
else
// not new
{
if(ConfigFlag.DOM.HEARTS_REPLICATE_PATIENTS.getValue())
{
//if we are displaying a previously saved hospnum or pkey
if(selectedPatIdType.equals(PatIdType.HOSPNUM) || selectedPatIdType.equals(PatIdType.PKEY) || selectedPatIdType.equals(PatIdType.PATNUM))
row.getcolIdType().newRow(collTypes.get(i), collTypes.get(i).getText());
else
{
//we are displaying a previous saved any other patidtype - dont add the pkey and hospnum or patnum
if(!collTypes.get(i).equals(PatIdType.HOSPNUM) && !collTypes.get(i).equals(PatIdType.PKEY) && !collTypes.get(i).equals(PatIdType.PATNUM))
row.getcolIdType().newRow(collTypes.get(i), collTypes.get(i).getText());
}
}
else
{
//if we are displaying a previously saved patientnumber
if(selectedPatIdType.equals(PatIdType.PATNUM))
row.getcolIdType().newRow(collTypes.get(i), collTypes.get(i).getText());
else
{
//we are displaying a previous saved any other patidtype - dont add the patientnumber
if(!collTypes.get(i).equals(PatIdType.PATNUM))
row.getcolIdType().newRow(collTypes.get(i), collTypes.get(i).getText());
}
}
}
}
}