QI-Core Implementation Guide
7.0.0-ballot - STU7 United States of America flag

QI-Core Implementation Guide, published by HL7 International / Clinical Quality Information. This guide is not an authorized publication; it is the continuous build for version 7.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-qi-core/ and changes regularly. See the Directory of published versions

Model Info

To support implementations using Clinical Quality Language (CQL) and QI-Core, model information for this IG is provided in conformance with Using ModelInfo in the Using CQL with FHIR IG.
This implementation guide includes a QICore Model Definition (QICore ModelInfo Library) library that provides model information for the profiles and extensions defined in QI-Core. To use the QICore model, include a using declaration as shown in the example below:

using QICore version '7.0.0'

Although not required by CQL, current best-practice is to include the version of the QICore model. For more information about how this library is constructed, refer to the Using ModelInfo topic in the Using CQL with FHIR IG.

Complete documentation for this tooling is provided in the CQFramework github repository:

https://github.com/cqframework/cqf-tooling/blob/23c5f8b12b79cf1036c3d813a2dffe22d44c355b/tooling/src/main/java/org/opencds/cqf/tooling/modelinfo/StructureDefinitionToModelInfo.java#L45

As an example, to generate the ModelInfo file for QICore version 7.0.0, the following arguments are used:

-GenerateMIs -ip=C:\Users\UserName\Documents\Src\HL7\FHIR-Spec -rp="4.0.1;US-Core/7.0.0;QI-Core/7.0.0" -mn=QICore -mv=7.0.0 -im=false -ucp=true