Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Standart search parameters #506

Open
k3nj1g opened this issue May 5, 2022 · 1 comment
Open

[BUG] Standart search parameters #506

k3nj1g opened this issue May 5, 2022 · 1 comment

Comments

@k3nj1g
Copy link

k3nj1g commented May 5, 2022

By default all resources support common parameters prefixed with an underscore https://www.hl7.org/fhir/search.html#all

But recently we discovered that same parameters works without underscore, but shouldn't.

GET /Patient?lastUpdated=gt2020-01-01 results to

query-sql": [
"SELECT \"patient\".* FROM \"patient\" WHERE \"patient\".ts > knife_date_bound(?, ?) LIMIT ? OFFSET ? ",
"2020-01-01",
"min",
100,
0
]

Aidbox version: edge

@k3nj1g k3nj1g added the bug label May 5, 2022
@Nesmeshnoy Nesmeshnoy removed the bug label May 6, 2022
@Nesmeshnoy
Copy link
Contributor

Hi @k3nj1g FHIR doesn't prohibit custom search params so we don't consider it to be a bug. Could you please give us more context on your issue?

The standard search parameters with the underscore work as expected.

@Nesmeshnoy Nesmeshnoy reopened this May 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants