Stream: hapi
Topic: Unknown parameter
Roshan (Dec 08 2020 at 13:55):
Hi,
How we can handle unknown search parameter.
for e.g.: <BaseUrl>/DocumentReference?status=superseded&_asjdflasjkdf=31562153
How we can restrict it by giving error message for this unknown parameter?
We are getting invalid parameter error in case of unknown parameter without '_' .
for e.g: <BaseUrl>/DocumentReference?status=superseded&asjdflasjkdf=31562153
In this above example getting error for "asjdflasjkdf" this invalid parameter.
But in first example we are not getting such kind of error message. So how we can handle unknown parameter with "_"?
Grahame Grieve (Dec 08 2020 at 23:15):
what does it mean to 'handle it' ?
Roshan (Dec 11 2020 at 10:25):
Grahame Grieve said:
what does it mean to 'handle it' ?
Means restrict it by giving some error like unknown/invalid parameter.
Grahame Grieve (Dec 14 2020 at 22:16):
have you read this part of the spec: http://hl7.org/fhir/search.html#errors
Last updated: Apr 12 2022 at 19:14 UTC