This page is part of the Using CQL with FHIR Implementation Guide (v2.0.0-ballot: STU2 Ballot) based on FHIR (HL7® FHIR® Standard) R4. The current version which supersedes this version is 2.0.0. For a full list of available versions, see the Directory of published versions
Generated Narrative: Parameters cql-typemappingexampleresult
| Patient | Generated Narrative: Patient example Jim Chalmers Male, DoB: 1974-12-25 ( Medical record number (use: usual, period: 2001-05-06 --> (ongoing)))
| ||||||||||||||||
| CQLBooleanExample | true | ||||||||||||||||
| CQLCodeExample | CQL IG Example Code System example-code: Example Code | ||||||||||||||||
| CQLCodeSystemExample | CQL IG Example Code System | ||||||||||||||||
| CQLConceptExample | Example Code | ||||||||||||||||
| CQLDateExample | 2024-01-01 | ||||||||||||||||
| CQLDateTimeExample | 2024-01-01 10:30:00+0000 | ||||||||||||||||
| CQLDecimalExample | 10.0 | ||||||||||||||||
| CQLLongExample | 10 | ||||||||||||||||
| CQLIntegerExample | 10 | ||||||||||||||||
| CQLQuantityExample | 10 mg (Details: UCUM codemg = 'mg') | ||||||||||||||||
| CQLRatioExample | 5 mg (Details: UCUM codemg = 'mg')/10 mg (Details: UCUM codemg = 'mg') | ||||||||||||||||
| CQLStringExample | John | ||||||||||||||||
| CQLTimeExample | 10:30:00 | ||||||||||||||||
| CQLValueSetExample | Example Specific health concern(s) Codes | ||||||||||||||||
| CQLVocabularyExample | http://example.org/test/npe-preventer | ||||||||||||||||
| CQLDateIntervalExample | 2024-01-01 --> 2024-01-31 | ||||||||||||||||
| CQLDateTimeIntervalExample | 2024-01-01 10:30:00+0000 --> 2024-01-31 10:30:00+0000 | ||||||||||||||||
| CQLTimeIntervalExample | |||||||||||||||||
| low | 10:30:00 | ||||||||||||||||
| high | 11:30:00 | ||||||||||||||||
| CQLIntegerIntervalExample | 5-10 | ||||||||||||||||
| CQLQuantityIntervalExample | 5-10 | ||||||||||||||||
| CQLListExample | 1 | ||||||||||||||||
| CQLListExample | 2 | ||||||||||||||||
| CQLListExample | 3 | ||||||||||||||||
| CQLListExample | 4 | ||||||||||||||||
| CQLListExample | 5 | ||||||||||||||||
| CQLTupleExample | |||||||||||||||||
| X | 1 | ||||||||||||||||
| Y | 1 | ||||||||||||||||
| CQLChoiceListExample | 1 | ||||||||||||||||
| CQLChoiceListExample | 1.0 | ||||||||||||||||
| CQLTupleListExample | |||||||||||||||||
| X | 1 | ||||||||||||||||
| Y | 1 | ||||||||||||||||
| CQLTupleListExample | |||||||||||||||||
| X | 1 | ||||||||||||||||
| Y | 2 | ||||||||||||||||
| CQLTupleListExample | |||||||||||||||||
| X | 1 | ||||||||||||||||
| Y | 3 | ||||||||||||||||
| CQLComplexTupleExample | |||||||||||||||||
| id | 1 | ||||||||||||||||
| name | Patrick | ||||||||||||||||
| address | |||||||||||||||||
| street | 123 Spinning Ave | ||||||||||||||||
| city | Dayton | ||||||||||||||||
| state | OH | ||||||||||||||||
| CQLComplexTupleListExample | |||||||||||||||||
| id | 1 | ||||||||||||||||
| name | Patrick | ||||||||||||||||
| address | |||||||||||||||||
| street | 123 Spinning Ave | ||||||||||||||||
| city | Dayton | ||||||||||||||||
| state | OH | ||||||||||||||||
| CQLEmptyListExample | Is Empty List: true | ||||||||||||||||
| CQLListListExample | |||||||||||||||||
| element | 1 | ||||||||||||||||
| element | 2 | ||||||||||||||||
| element | 3 | ||||||||||||||||
| element | 4 | ||||||||||||||||
| element | 5 | ||||||||||||||||
| CQLListListExample | |||||||||||||||||
| element | 1 | ||||||||||||||||
| element | 2 | ||||||||||||||||
| element | 3 | ||||||||||||||||
| element | 4 | ||||||||||||||||
| element | 5 | ||||||||||||||||
| FHIRBooleanExample | true | ||||||||||||||||
| FHIRStringExample | Chalmers | ||||||||||||||||
| FHIRQuantityExample | 76.0 mg/dL | ||||||||||||||||
| FHIRPeriodExample | 1974-12-25 --> (ongoing) | ||||||||||||||||
| FHIRRangeExample | 40.0-109.0 mg/dL | ||||||||||||||||
| FHIRObservationExample | Generated Narrative: Observation blood-glucose status: Final category: Laboratory code: Glucose Bld-mCnc subject: Amy Shaw effective: 2005-07-05 value: 76.0 mg/dL ReferenceRanges
| ||||||||||||||||
| FHIRObservationListExample | Observation/blood-glucose Generated Narrative: Observation blood-glucose status: Final category: Laboratory code: Glucose Bld-mCnc subject: Amy Shaw effective: 2005-07-05 value: 76.0 mg/dL ReferenceRanges
| ||||||||||||||||
| FHIRObservationListExample | Generated Narrative: Observation blood-pressure status: Final category: Vital Signs code: Blood pressure systolic and diastolic subject: Amy Shaw encounter: GP Visit effective: 1999-07-02
| ||||||||||||||||
| FHIRObservationListExample | Generated Narrative: Observation bmi status: Final category: Vital Signs code: BMI subject: Amy Shaw encounter: GP Visit effective: 1999-07-02 value: 16.2 kg/m2 (Details: UCUM codekg/m2 = 'kg/m2') | ||||||||||||||||
| FHIRObservationEmptyListExample | Is Empty List: true | ||||||||||||||||