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

Support compartment search via POST #2187

Closed
tbieste opened this issue Mar 31, 2021 · 1 comment
Closed

Support compartment search via POST #2187

tbieste opened this issue Mar 31, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request search

Comments

@tbieste
Copy link
Contributor

tbieste commented Mar 31, 2021

Describe the solution you'd like
Would like to be able perform compartment search via POST:

POST [base]/[Compartment]/[id]/[type]/_search{?[parameters]{&_format=[mime-type]}}

Describe alternatives you've considered
N/A

Acceptance Criteria
1.
GIVEN Resources exist in compartment on FHIR Server
WHEN Compartment search via POST is performed
THEN Search successful returns matching resources

Additional context
Compartment search is supported.
Search via POST is supported.
But compartment search via POST is not supported.

Note: don't forget to add it to the generated swagger/openapi too (a la #1846 )

@tbieste tbieste added the enhancement New feature or request label Apr 1, 2021
@tbieste tbieste self-assigned this Apr 1, 2021
@tbieste tbieste added this to the Sprint 2021-05 milestone Apr 1, 2021
tbieste added a commit that referenced this issue Apr 1, 2021
Signed-off-by: Troy Biesterfeld <tbieste@us.ibm.com>
@tbieste tbieste added the search label Apr 2, 2021
tbieste added a commit that referenced this issue Apr 5, 2021
Signed-off-by: Troy Biesterfeld <tbieste@us.ibm.com>
@michaelwschroeder
Copy link
Contributor

Running against my local server with the latest codebase, I have performed equivalent compartment searches using GET and POST methods via Postman and have verified the results returned are equivalent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request search
Projects
None yet
Development

No branches or pull requests

2 participants