fix bug in turtle parser

This commit is contained in:
Grahame Grieve 2019-05-05 09:20:51 +10:00
parent 88646a8216
commit c4bb96b1a2
1 changed files with 1 additions and 1 deletions

View File

@ -501,7 +501,7 @@ public class TurtleParser extends ParserBase {
String system = coding.getChildValue("system");
String code = coding.getChildValue("code");
if (system == null)
if (system == null || code == null)
return;
if ("http://snomed.info/sct".equals(system)) {
t.prefix("sct", "http://snomed.info/id/");