fix java exception

This commit is contained in:
Grahame Grieve 2023-08-18 13:48:08 +10:00
parent a87e4728a4
commit fa54f7748e
1 changed files with 1 additions and 1 deletions

View File

@ -481,7 +481,7 @@ public class ValueSetRenderer extends TerminologyRenderer {
}
private void expRef(XhtmlNode x, String u, String v, Resource source) {
String t = u.substring(0, u.indexOf("|"));
String t = u.contains("|") ? u.substring(0, u.indexOf("|")) : u;
u = u.substring(u.indexOf("|")+1);
// TODO Auto-generated method stub
if (u.equals("http://snomed.info/sct")) {