The QUICK data model provides a logical view of clinical data from the persepctive of representing quality measurement and decision support knowledge.
The QUICK data model uses the QI-Core profiles to provide a physical representation for the data. QUICK provides a logical model that enables knowledge authors to ignore certain details of the FHIR Physical representation, including:
To address the first issue, the QUICK model maps the FHIR base types to CQL primitives, rather than using the FHIR types directly:
| FHIR Type | CQL Type |
|---|---|
| base64Binary | String |
| boolean | Boolean |
| code | String |
| CodeableConcept | Concept |
| Coding | Code |
| date | DateTime |
| dateTime | DateTime |
| decimal | Decimal |
| id | String |
| instant | DateTime |
| integer | Integer |
| markdown | String |
| oid | String |
| Period | Interval<DateTime> |
| positiveInt | Integer |
| Range | Interval<Quantity> |
| string | String |
| time | Time |
| uri | String |
To address the second issue, the QUICK model represents FHIR extensions as first-class attributes of the class. To address the third issue, the QUICK model represents FHIR references as direct appearances of the referenced class or classes. NOTE: The third issue is still being worked out, so current QUICK documentation still uses the Reference type to model references.