contextDefinition

Changes the current evaluation context. Subsequent expression definitions are implicitly scoped to the specified context (e.g., Patient, Practitioner).

Examples

Switch to Patient context

context Patient

Switch to Practitioner context

context Practitioner

Model-qualified context

context FHIR.Patient
Railroad Diagram
100%
context modelIdentifier . identifier

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

EBNF

contextDefinition
  : 'context' (modelIdentifier '.')? identifier
  ;

Used In