FHIR Chat · Mixing FHIR and other JSON · implementers

Stream: implementers

Topic: Mixing FHIR and other JSON


view this post on Zulip Ville Lindholm (May 09 2017 at 18:34):

And another question on another topic: say I want to provide a REST endpoint that returns a list of keywords that may be used inside FHIR resources in other parts of the same REST API (in effect, a menu of the currently available values for a certain resource field). Is it good practice to only return the list as pure JSON, with no FHIR around it? Or what would be your suggestion?

view this post on Zulip Lloyd McKenzie (May 09 2017 at 18:46):

It's cleaner if the non-FHIR stuff isn't hosted beneath your FHIR endpoint, though I don't think that's technically prohibited. If you want to do pure FHIR, you could use operation and pass your keywords back inside Parameters

view this post on Zulip Ville Lindholm (May 09 2017 at 18:50):

ah, yes, an operation would probably be good! I had forgotten about that. Thanks ;)

view this post on Zulip Brian Postlethwaite (May 11 2017 at 19:54):

We've done similar things using a valueset and the expand operation.


Last updated: Apr 12 2022 at 19:14 UTC