choiceTypeSpecifier
Specifies a choice type representing a value that may be any one of several types. Used for polymorphic values such as FHIR polymorphic elements.
Examples
Choice of integer or decimal
parameter "Value" Choice<Integer, Decimal>
Choice of string or code (polymorphic FHIR element)
define function "GetValue"(obs FHIR.Observation) returns Choice<String, FHIR.CodeableConcept>: obs.value
EBNF
choiceTypeSpecifier
: 'Choice' '<' typeSpecifier (',' typeSpecifier)* '>'
;