The QI-Core Authoring View provides a logical view of clinical data from the perspective of representing quality measurement and decision support knowledge.
The QI-Core Authoring View uses the QI-Core profiles to provide a physical representation for the data. It provides a logical model that enables knowledge authors to ignore certain details of the FHIR Physical representation, including:
To address the first issue, the QI-Core Authoring View 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 QI-Core Authoring View represents FHIR extensions as first-class attributes of the class. To address the third issue, the QI-Core Authoring View represents FHIR references as direct appearances of the referenced class or classes. NOTE: The third issue is still being worked out, so current QI-Core Authoring documentation still uses the Reference type to model references.