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

guidance for handling optional search params #32

Open
kjohnsen-epic opened this issue Sep 9, 2024 · 0 comments
Open

guidance for handling optional search params #32

kjohnsen-epic opened this issue Sep 9, 2024 · 0 comments

Comments

@kjohnsen-epic
Copy link

The the most performant way to search for a resource will vary greatly based on what the server supports (for example, a questionnaire checking for history of a condition likely wants to search by code, but in US Core searching by code is optional). How do we want to create library content / authoring patterns / engine guidance to help deal with this problem?

A related challenge is that you often want to search on a value set of possible codes, but the way US Core is setup generally searches by a single code (ex: GET [base]/Condition?patient=1032702&code=[http://snomed.info/sct|442311008]). An engine could deal with this by expanding the value set and inlining it into the URL, but then you might run into limits and need to split the query. This also gets into a heuristic of whether it's even worth doing that, as compared to just searching on Patient and filtering down the results afterwards.

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

1 participant