fhirpath-py icon indicating copy to clipboard operation
fhirpath-py copied to clipboard

Integrate with https://fhirpath-lab.com/FhirPath

Open ir4y opened this issue 2 years ago • 2 comments

https://github.com/brianpos/fhirpath-lab/blob/develop/server-api.md

ir4y avatar Nov 09 '23 05:11 ir4y

Some comments from Brian Postlethwaite

These are the logical models for what data is in/out of the custom operation Simplified logical models for what data in the request/response.

image(1) image(2)

But represented using fhir parameters resources. I'm trying to get real profiles for these to go with things too. The Abstract Syntax tree format isn't documented anywhere. I built it from the Firely engine, and mapped the fhirpath.js to that. In progress mapping the HAPI engine to it too. The tricky part is making it work with the "invert tree" format to make it more readable.

ir4y avatar Nov 09 '23 05:11 ir4y

From https://github.com/brianpos/

Hey Ilya, I tried out the branch with the python engine in it and looks like it works reasonable well. I did note that your results are coming out as a single result. If a context expression comes through, it should return multiple results, one for each result from the context expression. Also, you might like to append the version number of your engine in the string that you return for the evaluator (if you have one) e.g. "valueString": "fhirpath-py" => "valueString": "fhirpath-py (x.y.z)" This is from the HAPI engine image.png This is from yours image.png

ir4y avatar May 13 '24 02:05 ir4y