Stream: implementers
Topic: Reverse chaining without criteria
Sean McIlvenna (Feb 15 2019 at 06:50):
I'm trying to figure out how to (for example) ask the server for all StructureDefinition resources that are referenced by XX ImplementationGuide.
This is what I've come up with:
GET /StructureDefinition?_has:ImplementationGuide:resource:_id=<id-of-IG>
Can someone confirm that this is correct?
Also, what if I want to include globals?
Would I just add that on? Ex:
GET /StructureDefinition?_has:ImplementationGuide:resource:_id=234&_has:ImplementationGuide:global:_id=234
René Spronk (Feb 15 2019 at 08:41):
Looks ok to me. Is this giving you any issues on a test server somewhere?
Sean McIlvenna (Feb 15 2019 at 18:22):
Thanks for confirming. I've tested it on the latest version of HAPI and it appears to be working as expected.
Last updated: Apr 12 2022 at 19:14 UTC