FHIR Chat · Invoke operation on multiple resources · implementers

Stream: implementers

Topic: Invoke operation on multiple resources


view this post on Zulip Michael Lawley (Mar 05 2017 at 05:10):

I would like to invoke an operation (eg $validate) on the set of resources matching a search. I would like to be able to do this efficiently. That is, without having to do a search and then construct a batch request with the results.

Is this the sort of thing that Measure is for, and if so, are there any working examples I can look at?

view this post on Zulip Grahame Grieve (Mar 05 2017 at 05:12):

I don't think it's good for that.

view this post on Zulip Grahame Grieve (Mar 05 2017 at 05:12):

interesting use case though - outside what we've done before. Validate how?

view this post on Zulip Michael Lawley (Mar 05 2017 at 05:18):

well, in my case, terminology -- looking at display text vs code (essentially $validate-code)

view this post on Zulip Grahame Grieve (Mar 05 2017 at 05:19):

so you're asking the server to validate itself?

view this post on Zulip Michael Lawley (Mar 05 2017 at 05:21):

I'm asking the server to validate the resuorces it contains. I'm not assuming that a server will reject resources that don't pass all validation. But also, I might be providng a profile (eg with bindings to ValueSets) in order to do more specific validation than a server might do by default.

view this post on Zulip Michael Lawley (Mar 05 2017 at 05:30):

I had hoped FHIRPath or CQL might allow me to invoke FHIR operations server-side and then post-process the results. I see it as a special case of the more general desire to do population-level data processing server-side.

view this post on Zulip Bryn Rhodes (Mar 06 2017 at 19:09):

Yeah, Measure would allow you to define the set of resources, but I agree with Grahame, it's outside what we've currently done with it in that space. It is an interesting use though, and I wonder if an extension to identify the post-processing step you want to apply would do the trick. The problem is it's a bit of shoehorning to fit that use case into the current reporting structure because you'd have to put an extension on the MeasureReport as well to report the outcomes. Might be worth mocking up?


Last updated: Apr 12 2022 at 19:14 UTC