FHIR Chat · Tuple Expression vs. Tuple Type · cql

Stream: cql

Topic: Tuple Expression vs. Tuple Type


view this post on Zulip Matthew Dugal (Mar 01 2018 at 18:11):

What is the difference between a Tuple : Expression and a Tuple type? What would a tuple expression look like in CQL?

view this post on Zulip Bryn Rhodes (Mar 01 2018 at 18:58):

A Tuple Type is the type of a Tuple Expression (just like Integer is the Type of an Integer-valued Expression). A Tuple Type would be used in a Parameter or Function to specify the type:

parameter PatientInfo Tuple { id String, name String }

A Tuple Selector then looks like:

define TupleData: Tuple { id: 1, name: 'John Joe' }

Last updated: Apr 12 2022 at 19:14 UTC