FHIR Chat · STU3 Validations · dotnet

Stream: dotnet

Topic: STU3 Validations


view this post on Zulip Brian Postlethwaite (May 22 2019 at 05:16):

While validating some of the STU3 examples I'm getting the below error, are others aware of this one, and

[WARNING] Evaluation of FhirPath for constraint 'rng-2' failed: Invocation of 'binary.or' failed: Invocation of 'binary.<=' failed: Function cannot be called with parameters of type 'collection,collection'  (at RiskAssessment.prediction[5].when[0])
[ERROR] Instance failed constraint rng-2 "If present, low SHALL have a lower value than high"(further diagnostics: low.empty() or high.empty() or (low <= high)) (at RiskAssessment.prediction[5].when[0])

And has this been fixed in the post 0.96.0 releases?

view this post on Zulip Vadim Peretokin (May 22 2019 at 05:27):

Can't say I've ran into it before

view this post on Zulip Ewout Kramer (May 22 2019 at 08:46):

This is a known issue caused by an error in the specification. STU3 uses a pre-normative version of FhirPath for which comparisons on Quantities have not been defined (hence not implemented in the engines) - yet rng-2 uses this comparison.

view this post on Zulip Ewout Kramer (May 22 2019 at 08:47):

See also https://github.com/FirelyTeam/fhir-net-api/issues/791, https://github.com/FirelyTeam/fhir-net-api/issues/447 and https://gforge.hl7.org/gf/project/fhir/tracker/?action=TrackerItemEdit&tracker_item_id=14194

view this post on Zulip Brian Postlethwaite (May 22 2019 at 21:33):

That's what I thought. Thanks. Do you know if it is part of the STU3 tech corrections?

view this post on Zulip Brian Postlethwaite (May 22 2019 at 21:34):

And will the updated fhirpath make this then work? (knowing my build is a little behind)

view this post on Zulip Ewout Kramer (May 23 2019 at 11:58):

That's what I thought. Thanks. Do you know if it is part of the STU3 tech corrections?

I hope so, but I haven't followed what's included in the upcoming STU3 corrections.

view this post on Zulip Ewout Kramer (May 23 2019 at 11:59):

And will the updated fhirpath make this then work? (knowing my build is a little behind)

The FhirPath engine has not been updated yet to normative, so no support for it yet. Partially I am waiting for normative, partially because I need to rewrite the engine, which is something I am taking up after finishing my work on the mapping language.

view this post on Zulip Brian Postlethwaite (May 23 2019 at 23:59):

Cool, thanks Ewout.


Last updated: Apr 12 2022 at 19:14 UTC