projecttacoma / fqm-execution

fqm-execution is a library that allows users to calculate FHIR-based electronic Clinical Quality Measures (eCQMs) and retrieve the results in a variety of formats
https://projecttacoma.github.io/fqm-execution/
Apache License 2.0
18 stars 6 forks source link

Flatten exports and remove deprecated type exports #247

Open mgramigna opened 1 year ago

mgramigna commented 1 year ago

Instead of import { Calculator } from 'fqm-execution', import { calculate, ... } from 'fqm-execution' seems better. we could still export the Calcultor object, but it might be nice to have the public API functions available.

In addition, we should remove the old syntax of exporting types, as that will be removed in 2.0