display checking case insensitive
This commit is contained in:
parent
d43d6ce19a
commit
8101ae8a3b
|
@ -698,5 +698,15 @@ public class CodeSystemUtilities {
|
|||
}
|
||||
return list;
|
||||
}
|
||||
|
||||
public static boolean checkDisplay(CodeSystem cs, ConceptDefinitionComponent cd, String display) {
|
||||
List<String> displays = getDisplays(cs, cd);
|
||||
for (String s : displays) {
|
||||
if (s.equalsIgnoreCase(display)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue