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

Investigate potential FHIR model classes missing from reflective class registration #6613

Open
jamesnetherton opened this issue Oct 8, 2024 · 1 comment
Assignees
Labels

Comments

@jamesnetherton
Copy link
Contributor

Bug description

Something I noticed while hacking up a HL7 / FHIR example project. Native mode was not working OOTB. I had to manually register some classes for reflection.

Maybe we should cover them in the extension so this is done automatically.

@jamesnetherton jamesnetherton added the bug Something isn't working label Oct 8, 2024
@jamesnetherton jamesnetherton self-assigned this Oct 8, 2024
@jamesnetherton
Copy link
Contributor Author

Turns out the tests have been masking potential issues. The build time generated FhirContext is explicitly set on the FHIR data formats.

https://github.com/apache/camel-quarkus/blob/main/integration-tests/fhir/src/main/java/org/apache/camel/quarkus/component/fhir/it/AbstractFhirRouteBuilder.java#L69-L75

We likely need to find a way to do this automatically. E.g if the FhirVersion option is R5 - then resolve the 'R5' named FhirContext bean from the registry etc.

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

No branches or pull requests

1 participant