FHIR Chat · Could not resolve library name FHIRHelpers · cql

Stream: cql

Topic: Could not resolve library name FHIRHelpers


view this post on Zulip Felix Ongati (Apr 27 2021 at 13:55):

Every time I am running $evaluate_measure in HAPI, it throws the error Could not resolve primary library for Measure/ID. Digging deeper into the logs the actual error is Could not resolve library name FHIRHelpers. What causes FHIRHelpers to fail?

view this post on Zulip JP (Apr 27 2021 at 16:24):

Hi Felix!

That message happens when the CQL evaluation can't locate an instance of the FHIRHelpers library on the server. This can be caused by the Library not existing on the server, or when the library has incorrect meta-data configured. Are you trying DSTU3 or R4? Is there a particular Measure that you're attempting to use?

view this post on Zulip Felix Ongati (Apr 27 2021 at 16:57):

Hi JP! I am running R4, evaluating a measure that I have created for TXPVLS. See the library and the measure attached here. Library-HIVTxpvls.json Measure-TXPVLS.json

view this post on Zulip JP (Apr 27 2021 at 19:43):

Try posting the FHIRHelpers library resource that's available here to your FHIR server and running the Measure again.:
http://build.fhir.org/ig/cqframework/cqf/Library-FHIRHelpers.html

view this post on Zulip Felix Ongati (Apr 29 2021 at 16:45):

Thank you @JP ! The error disappeared after I posting the FHIRHelpers library, though I found that a bit strange since HAPI ships with FHIRHelpers Library. I don't know why/how it gets lost sometimes.


Last updated: Apr 12 2022 at 19:14 UTC