FHIR Chat · Mac FHIRPath Tester utility? · fhirpath

Stream: fhirpath

Topic: Mac FHIRPath Tester utility?


view this post on Zulip Jean Duteau (Aug 25 2020 at 16:32):

Is there a FHIRPath tester utility for Macs? I'm looking at something like what @Brian Postlethwaite did for Windows but for a Mac or a web utility.

view this post on Zulip Brian Postlethwaite (Aug 25 2020 at 22:18):

Not that I know of.

view this post on Zulip Jean Duteau (Aug 25 2020 at 22:19):

dang it brian! get on it! :). I don't have a Windows 10 machine so I can't use your utility which looks exactly what I want/need.

view this post on Zulip Jens Villadsen (Aug 26 2020 at 07:07):

you can use https://marketplace.visualstudio.com/items?itemName=Yannick-Lagger.vscode-fhir-tools in vs code. that works

view this post on Zulip Jens Villadsen (Aug 26 2020 at 10:53):

@Jean Duteau there's also https://niquola.github.io/fhirpath-demo/#/

view this post on Zulip Paul Lynch (Aug 26 2020 at 14:35):

@Jens Villadsen @Jean Duteau That is the really old fhirpath demo. The current fhirpath.js demo is at https://hl7.github.io/fhirpath.js/

view this post on Zulip Jens Villadsen (Aug 26 2020 at 14:39):

I mostly use the vs code one so i hadnt noticed

view this post on Zulip Jean Duteau (Aug 26 2020 at 15:08):

Thank @Jens Villadsen and @Paul Lynch Those will be very helpful. Unfortunately the specific fhirpath functions I wanted to test (conformsTo and is) aren't implemented in the fhirpath.js demo, but I was able to test other things.

view this post on Zulip Oliver Egger (Aug 26 2020 at 17:09):

you can also use the FHIR Java validator to execute FHIRPaths against resources, due to the startup time it is however not very interactive ...

java -jar org.hl7.fhir.validation.cli-5.1.6-SNAPSHOT.jar
...

Alternatively, you can use the validator to evaluate a FHIRPath expression on a resource or logical model.
To do this, you must provide a specific parameter:

 -fhirpath [FHIRPath]

view this post on Zulip Grahame Grieve (Aug 26 2020 at 19:44):

I will make sure that this is a feature of the new web interface for the validator we are about to launch


Last updated: Apr 12 2022 at 19:14 UTC