Details
-
Change Request
-
Resolution: Persuasive
-
Medium
-
Clinical Guidelines (FHIR)
-
0.1 [deprecated]
-
Clinical Decision Support
-
Profile Definitions and Documentation
-
-
Howard Strasberg/Floyd Eisenberg: 16-0-0
-
Clarification
-
Compatible, substantive
Description
Add a conformance requirement for types into and out of CQL libraries:
Parameters to CQL libraries SHALL be either CQL-defined types that map to FHIR types, or FHIR resource types, optionally with profile designations
Top level expressions in CQL libraries SHALL return either CQL-defined types that map to FHIR types, or FHIR resources types, optionally with profile designations
DataRequirements in CQL libraries SHALL use FHIR resource types, optionally with profile designations
Mapping:
System.Boolean: FHIR.boolean
System.Integer: FHIR.integer
System.Decimal: FHIR.decimal
System.Date: FHIR.date
System.DateTime: FHIR.dateTime
System.Time: FHIR.time
System.String: FHIR.string
System.Quantity: FHIR.Quantity
System.Ratio: FHIR.Ratio
System.Any: FHIR.Any
System.Code: FHIR.Coding
System.Concept: FHIR.CodeableConcept
Interval<System.Date>: FHIR.Period
Interval<System.DateTime>: FHIR.Period
Interval<System.Quantity>: FHIR.Range