simpleLiteral

A restricted literal used in simple path indexer positions. Accepts only string literals and number literals, excluding the richer set of values available in the full literal rule.

Examples

String literal in an indexed path

[Condition: coding['code'] in "Diabetes"]

Number literal in an indexed path

[Condition: coding[0] in "Diabetes Codes"]
Railroad Diagram
100%
STRING NUMBER

scroll to zoom · drag to pan · click green rules or blue tokens to navigate

EBNF

simpleLiteral
  : STRING
  | NUMBER
  ;

Used In