import { ValueSetMap } from '../types/CQLTypes'; /** * Create the code service valueset database that the cql-execution engine needs. * * NOTE: This uses the `compose` attribue of the ValueSet to get code. This is incorrect and * should be using the `expansion`. But current example measures have ValueSets with compose * only. * * @param valueSetResources FHIR ValueSets. * @returns The value set DB structure needed for the cql-execution CodeService. */ export declare function valueSetsForCodeService(valueSetResources: fhir4.ValueSet[]): ValueSetMap; export declare function parseTimeStringAsUTC(timeValue: string): Date; export declare function parseTimeStringAsUTCConvertingToEndOfYear(timeValue: string): Date; /** * Collates dependent valuesets from a measure by going through all of the valuesets listed in the relatedArtifacts of the measure bundle's libraries, * as well as the libraries dataCriteria's codeFilters, then finds all valuesets that are not already contained in the measure bundle. * * @param {fhir4.Bundle} measureBundle - A measure bundle object that contains all libraries and valuesets used by the measure * @param {fhir4.ValueSet[]} valueSetCache - Cache of existing valueset objects on disk to include in lookup * @returns {string[]} An array of all dependent valueset urls in the measure that are used by the measure's libraries but not contained in the measure bundle */ export declare function getMissingDependentValuesets(measureBundle: fhir4.Bundle, useEffectiveDataRequirements?: boolean, valueSetCache?: fhir4.ValueSet[]): string[];