FHIR Chat · required binding for the parameter code · implementers

Stream: implementers

Topic: required binding for the parameter code


view this post on Zulip Lital Inghel (Jan 19 2022 at 18:07):

a question regarding query with token (code) for required value set

for queries including token where the value set is required (such as Encounter by Patient and Status) use of other non value set codes (like codes from other code system) should result in an error message to the user in the response for invalid search parameter? or zero records being returned? we should process this request and output the resource based on the data we have?
I wonder how to process search requests when the query has a parameter that is not from the defined value set in case of required binding for the parameter code

view this post on Zulip Michele Mottini (Jan 19 2022 at 18:12):

process this request and output the resource based on the data you have

view this post on Zulip Lloyd McKenzie (Jan 20 2022 at 02:40):

You can spit out an error if you're aware that a query can't ever return data because of how it's crafted, but there's no requirement to do so. (And whether it's a useful thing to do that or not may depend on the context.)

view this post on Zulip Lloyd McKenzie (Jan 20 2022 at 02:41):

An alternative might be to return an empty result set with a warning. That might be less breaking.


Last updated: Apr 12 2022 at 19:14 UTC