Skip to content

Support _source search parameter modifiers for Subscription matching #5158

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

Closed
volodymyr-korzh opened this issue Aug 2, 2023 · 0 comments · Fixed by #5159
Closed

Support _source search parameter modifiers for Subscription matching #5158

volodymyr-korzh opened this issue Aug 2, 2023 · 0 comments · Fixed by #5159
Assignees

Comments

@volodymyr-korzh
Copy link
Collaborator

The _source search parameter for Subscription matching needs to support modifiers, specifically below.

Here is the relevant specification:

Note that _source is of type uri:
https://www.hl7.org/fhir/search.html#_source

above:
https://www.hl7.org/fhir/search.html#modifierabove

below:
https://www.hl7.org/fhir/search.html#modifierbelow

contains:
https://www.hl7.org/fhir/search.html#modifiercontains

missing:
https://www.hl7.org/fhir/search.html#modifiermissing

To Reproduce

  1. Create Subscription with criteria that includes source modifier Example: "criteria": "Observation?_source:below=below=http://helix.medicaldirector.com/" and channel type "rest-hook"
  2. Create resource that matches subscription criteria e.g.: Observation with meta.source=http://helix.medicaldirector.com/v2.0
  3. Check that rest-hook was invoked for created resource.

Actual result
rest-hook was NOT invoked for created resource.
Expected result
rest-hook was invoked for created resource.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant