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 chained inclusion criteria in compartment definitions #2371

Open
lmsurpre opened this issue May 17, 2021 · 0 comments
Open

Support chained inclusion criteria in compartment definitions #2371

lmsurpre opened this issue May 17, 2021 · 0 comments
Labels
enhancement New feature or request P3 Priority 3 - Nice To Have

Comments

@lmsurpre
Copy link
Member

Is your feature request related to a problem? Please describe.
In FHIR DSTU2, the patient compartment included resources like AuditEvent or Provenance when they reference a resource that is in the patient compartment.

In R4, AuditEvent and Provenance are only in the patient compartment when they directly reference the patient.

We have #2143 for users (i.e. operators of a given fhir server deployment) to customize the compartment definitions and define their own "inclusion criteria" for what to include/exclude.

This issue extends that with the ability to specify chained inclusion criteria.

Describe the solution you'd like

  1. Ensure that our existing support for chained inclusion criteria actually works.
  2. If so, add tests that override the compartment definitions so that this code is actually exercised.

Describe alternatives you've considered
Do not support chained inclusion criteria.

Acceptance Criteria

Additional context
Chained inclusion criteria were removed from the spec in https://jira.hl7.org/browse/FHIR-15906 (removal of chained inclusion criteria).
There are other open issues which might be resolved by adding it back, like https://jira.hl7.org/browse/FHIR-17358

@lmsurpre lmsurpre changed the title Support chained inclusion criteria is compartment definitions Support chained inclusion criteria in compartment definitions May 17, 2021
@prb112 prb112 added the enhancement New feature or request label May 17, 2021
@lmsurpre lmsurpre added the P3 Priority 3 - Nice To Have label Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P3 Priority 3 - Nice To Have
Projects
None yet
Development

No branches or pull requests

2 participants