You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example the expression 373873005 |Pharmaceutical / biologic product| : 411116001 |Has dose form| = ( 421720008 |Spray dose form| + 7946007 |Drug suspension| )
Leads to a nullpointer
java.lang.NullPointerException
at org.snomed.authoringtemplate.service.LogicalTemplateParserService$ExpressionTemplateListener.enterAttribute(LogicalTemplateParserService.java:108)
at org.snomed.authoringtemplate.service.generatedlogicalparser.ExpressionTemplateParser$AttributeContext.enterRule(ExpressionTemplateParser.java:1056)
at org.antlr.v4.runtime.tree.ParseTreeWalker.enterRule(ParseTreeWalker.java:66)
at org.antlr.v4.runtime.tree.ParseTreeWalker.walk(ParseTreeWalker.java:49)
at org.antlr.v4.runtime.tree.ParseTreeWalker.walk(ParseTreeWalker.java:52)
at org.antlr.v4.runtime.tree.ParseTreeWalker.walk(ParseTreeWalker.java:52)
at org.antlr.v4.runtime.tree.ParseTreeWalker.walk(ParseTreeWalker.java:52)
at org.antlr.v4.runtime.tree.ParseTreeWalker.walk(ParseTreeWalker.java:52)
at org.snomed.authoringtemplate.service.LogicalTemplateParserService.doParseTemplate(LogicalTemplateParserService.java:53)
at org.snomed.authoringtemplate.service.LogicalTemplateParserService.parseTemplate(LogicalTemplateParserService.java:31)
Something like this 322236009 |Paracetamol 500mg tablet| : 209999999104 |Has trade name| = "PANADOL"
Also leads to a nullpointer
java.lang.NullPointerException
at org.snomed.authoringtemplate.service.LogicalTemplateParserService$ExpressionTemplateListener.enterAttribute(LogicalTemplateParserService.java:107)
at org.snomed.authoringtemplate.service.generatedlogicalparser.ExpressionTemplateParser$AttributeContext.enterRule(ExpressionTemplateParser.java:1056)
at org.antlr.v4.runtime.tree.ParseTreeWalker.enterRule(ParseTreeWalker.java:66)
at org.antlr.v4.runtime.tree.ParseTreeWalker.walk(ParseTreeWalker.java:49)
at org.antlr.v4.runtime.tree.ParseTreeWalker.walk(ParseTreeWalker.java:52)
at org.antlr.v4.runtime.tree.ParseTreeWalker.walk(ParseTreeWalker.java:52)
at org.antlr.v4.runtime.tree.ParseTreeWalker.walk(ParseTreeWalker.java:52)
at org.antlr.v4.runtime.tree.ParseTreeWalker.walk(ParseTreeWalker.java:52)
at org.snomed.authoringtemplate.service.LogicalTemplateParserService.doParseTemplate(LogicalTemplateParserService.java:53)
at org.snomed.authoringtemplate.service.LogicalTemplateParserService.parseTemplate(LogicalTemplateParserService.java:31)
I use the Version 1.2.1 from your maven repo, 1.2.2 isnt already there but i also dont see major changes there.... The examples above working with the js variant at https://www.ihtsdo.org/SCT-etl.html. Am i missing something?
The text was updated successfully, but these errors were encountered:
ScreamingTree86
changed the title
Some Expressions are not parsable
Some valid expressions are not parsable
Aug 17, 2020
Hi,
i have some Problems with this library, i tried some of the examples from your website like: https://confluence.ihtsdotools.org/display/DOCSCG/6.5+Expression+With+Nested+Refinements
For example the expression
373873005 |Pharmaceutical / biologic product| : 411116001 |Has dose form| = ( 421720008 |Spray dose form| + 7946007 |Drug suspension| )
Leads to a nullpointer
Something like this
322236009 |Paracetamol 500mg tablet| : 209999999104 |Has trade name| = "PANADOL"
Also leads to a nullpointer
I use the Version 1.2.1 from your maven repo, 1.2.2 isnt already there but i also dont see major changes there.... The examples above working with the js variant at https://www.ihtsdo.org/SCT-etl.html. Am i missing something?
The text was updated successfully, but these errors were encountered: