FHIR Chat · fhirpath resolve() question · implementers

Stream: implementers

Topic: fhirpath resolve() question


view this post on Zulip Eric Haas (Jun 11 2020 at 23:03):

how do you express a fhir path to say "MeasureReport.improvementNotation SHALL be included when Measure.scoring is proportion, ratio, or continuous variable"

measure.resolve().scoring.coding.code is in ['proportion', 'ratio', 'continuous-variable'] ?

@Bryn Rhodes is this even possible?

view this post on Zulip Bryn Rhodes (Jun 11 2020 at 23:08):

(measure.resolve().scoring.coding.code in ('proportion' | 'ratio' | 'continuous-variable')) implies improvementNotation.exists()

view this post on Zulip Bryn Rhodes (Jun 11 2020 at 23:08):

I think that would do it

view this post on Zulip Eric Haas (Jun 12 2020 at 17:58):

do you know if we can test this on any of the testers? and what if scoring in not populated?

view this post on Zulip Bryn Rhodes (Jun 12 2020 at 20:40):

That ought to work with the current validator, so the publisher should work to test it

view this post on Zulip Eric Haas (Jun 12 2020 at 21:02):

Ok we will keep fingers crossed.


Last updated: Apr 12 2022 at 19:14 UTC