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

_profile can't be used as a reference param #6502

Open
TahaAttari opened this issue Nov 22, 2024 · 0 comments
Open

_profile can't be used as a reference param #6502

TahaAttari opened this issue Nov 22, 2024 · 0 comments

Comments

@TahaAttari
Copy link
Collaborator

TahaAttari commented Nov 22, 2024

Describe the bug
_profile is a Reference Parameter as per R4 and in the CQL processor is used that way. It makes more sense to model it as a Uri Parameter but we should be true to the specification.

Currently we throw a ClassCastException if it's a ReferenceParam.

To Reproduce
Steps to reproduce the behavior:

  1. Perform HapiFhirRepository.search(...) with a ReferenceParam named _profile with any value

Expected behavior
The search should be executed without. issue

Environment (please complete the following information):

  • HAPI FHIR Version : latest
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