Stream: implementers
Topic: FluentPath tester
Brian Postlethwaite (Oct 18 2016 at 13:26):
Hi All, for those developing with .NET, I've pushed the code for the WPF FluentPath tester app that I demo'd in Baltimore
https://github.com/brianpos/FhirPathTester
Richard Kavanagh (Oct 19 2016 at 11:54):
Good work, been waiting to play with this for a while. I see that the tester app expects the example to be of type "DomainResource", as such it will not work with examples that are Bundles (they are type "Resource"). I assume that's just a feature of the tester app, not FluentPath - is that the case?
Richard Kavanagh (Oct 19 2016 at 12:33):
Tweaked the code - "Bundle" is fine.
Brian Postlethwaite (Oct 19 2016 at 12:38):
Thanks, will update the code, no reason there.
Richard Kavanagh (Oct 19 2016 at 12:41):
Going to integrate this into our emerging validation tooling. Currently we have a path to the error now we will be able to get the actual snippet of XML/JSON that is causing the issue,validation01.PNG
Brian Postlethwaite (Oct 19 2016 at 12:44):
pushed that change to the tool (for others too)
Ewout Kramer (Oct 31 2016 at 12:04):
Richard, that sure looks like an extended version of the demo validation app ;-) It's that something you'd like me to pull back in?
Richard Kavanagh (Nov 02 2016 at 22:47):
Hi Ewout. Yes it started out from the demo app but has been extended a fair bit. To make it a bit more user-friendly for us. The inclusion of the fluent path code will further extend it again. I have no problem with putting it on GitHub if other people see value in that. At the moment it has an annoying bug in the UI, trying to find the time to fix that.
Brian Postlethwaite (Dec 15 2016 at 05:09):
Those interested in this testing tool, I've just pushed an update that supports the latest versions of the .net NuGet packages for DSTU2 (1.0.2) and STU3 (1.8.0) and FhirPath (after rename from FluentPath)
This version will probe the resource to determine if it is JSON or XML, then parse with DSTU2, and if that fails, with STU3, then if neither, will report the parsing errors that occured against both parsers.
Brian Postlethwaite (Dec 15 2016 at 05:11):
https://github.com/brianpos/FhirPathTester
is the location incase anyone is looking for it (only as source, no built version available)
Last updated: Apr 12 2022 at 19:14 UTC