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 searches without resourceType #88

Open
Jammjammjamm opened this issue Feb 5, 2019 · 0 comments
Open

Support compartment searches without resourceType #88

Jammjammjamm opened this issue Feb 5, 2019 · 0 comments

Comments

@Jammjammjamm
Copy link
Contributor

In Client#search:

if (compartment && resourceType) {
  return this.compartmentSearch({ resourceType, compartment, searchParams, headers });

A compartment search should not require resourceType based on the FHIR spec:

GET [base]/Patient/[id]/[type]?parameter(s)
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