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
Ideally, the translator should detect and support discriminated unions:
define function "Implied cast"(vaccination Choice<Immunization,Procedure>):
case
when vaccination is Immunization then vaccination.code
when vaccination is Procedure then vaccination.code
else null
end
In this example, effectively treating the references to vaccination within the then clauses of each case item as though they were of the is type for the item.
The text was updated successfully, but these errors were encountered:
Ideally, the translator should detect and support discriminated unions:
In this example, effectively treating the references to
vaccination
within thethen
clauses of each case item as though they were of theis
type for the item.The text was updated successfully, but these errors were encountered: