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

Composite search parameters that contains reference type is not working #4242

Open
berkant-k opened this issue Nov 15, 2023 · 0 comments
Open
Labels
bug Something isn't working

Comments

@berkant-k
Copy link
Contributor

Describe the bug
If you create a composite search parameter that contains reference type, it is not working.

Environment
Which version of LinuxForHealth FHIR Server?
5.0.0

To Reproduce
Steps to reproduce the behavior:

  1. Create a composite search parameter for example
    "expression": "Communication",
    "code": "recipient-myextension",
    "component": [
    {
    "definition": "http://hl7.org/fhir/SearchParameter/Communication-recipient",
    "expression": "recipient"
    },
    {
    "definition": "http://example.com/SearchParametr",
    "expression": "extension.where(url='https://example.com/extension').value"
    }
    ]
  2. Create a resource (In this example Communication resource)
  3. Try to search with the newly created composite search parameter.
    GET HTTPS://baseUrl/Communication?recipient-myextension=Practitioner/Example$false
    Expected behavior
    Search should return the resource.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant