Stream: cql
Topic: Error downloading valueset
Anastasia Katkova (Mar 26 2021 at 10:12):
Hi, all!
I am a freshman at CQL so my question probably looks very easy but I can't the reason why some of valueset are not downloaded:
valueset "Valid Medication Reconciliation Performer Qualifications": 'http://ncqa.org/fhir/hedis/ValueSet/hedis-med-rec-practitioner'
valueset "Medication Reconciliation Value Set": 'http://ncqa.org/fhir/hedis/ValueSet/hedismedrecvalueset' // HEDIS IG
valueset "Commercial": 'http://ncqa.org/hedis/ValueSet/2.16.840.1.113762.1.4.1165.46'
valueset "Medicaid": 'http://ncqa.org/hedis/ValueSet/2.16.840.1.113762.1.4.1165.45'
valueset "Medicare": 'http://ncqa.org/hedis/ValueSet/2.16.840.1.113762.1.4.1165.44'
Aren't they in public use?
Vasyl Herman (Mar 26 2021 at 11:36):
@Anastasia Katkova Hello,
I am not sure but you can try to find it here hedis-ig-r4
Chris Moesel (Mar 29 2021 at 12:27):
Hi @Anastasia Katkova. The answer you your question depends on what library/tools you are using to run the CQL. The CQL specification does not say how value sets should be resolved; it only says how to identify them. The resolution (or download) of value sets is the responsibility of the implementation.
The JavaScript CQL execution framework comes with a simple CodeService
class that allows you to load value sets using a custom JSON format. It does not download value sets by itself at all. There is a separately available cql-exec-vsac
library that can download value sets from the U.S. National Library of Medicine (NLM) Value Set Authority Center (VSAC), but it only supports value sets from that service (not the NCQA value sets you show above).
The Java CQL engine works a bit different and @Bryn Rhodes may be able to provide some more detail. I believe that if you use the CQF Ruler variant of the Java CQL engine that it reads value sets from a HAPI FHIR server -- but, again, Bryn is more the expert on the Java engine than I am.
Last updated: Apr 12 2022 at 19:14 UTC