FHIR Chat · FHIRHelpers documentation? · cql

Stream: cql

Topic: FHIRHelpers documentation?


view this post on Zulip Paul Lynch (Feb 25 2020 at 18:11):

I was trying to find documentation for the FHIRHelpers library to see what was in it, and the best I could find was http://hl7.org/fhir/library-fhir-helpers.html, which does not tell me much. Is there something like API documentation for this library somewhere?

view this post on Zulip Chris Moesel (Feb 25 2020 at 18:16):

Hi @Paul Lynch -- I don't know about documentation, but here is the CQL source for all of the FHIRHelpers versions: https://github.com/cqframework/clinical_quality_language/tree/master/Src/java/quick/src/main/resources/org/hl7/fhir

view this post on Zulip Bryn Rhodes (Feb 25 2020 at 18:20):

Unfortunately, there's not a lot of documentation, but in addition to the CQL source that Chris linked, there are entries in the FHIR modelinfo that link the functions defined in the FHIRHelpers library to _implicit conversions_ in CQL, which the translator then uses to add conversion functions implicitly when it detects that it can.

view this post on Zulip Bryn Rhodes (Feb 25 2020 at 18:21):

The end result is that CQL authors don't have to say Observation.status.value = 'final', they can just say Observation.status = 'final' and the translator will insert FHIRHelpers.ToString to support the comparison.


Last updated: Apr 12 2022 at 19:14 UTC