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

Engine: Better resolve handling for search parameters of type 'reference' #571

Merged
merged 7 commits into from
Sep 11, 2023

Conversation

kennethmyhra
Copy link
Collaborator

@kennethmyhra kennethmyhra commented Aug 27, 2023

For this to take effect on existing implementations it is necessary to rebuild the index by using the Admin UI that comes with Spark.Web or wire up IndexRebuildService in your implementaion.

Se independent commits for details.

Resolves #436
Resolves #521
Resolves #522
Resolves #526

Co-authored-by: @whyfate

@whyfate
Copy link
Contributor

whyfate commented Aug 27, 2023

I think it is better to put the ModelInfo.SupportResources in IFhirModel, so that the Fhir ModelInfo will not be scattered anywhere. I think the original intention of IFhirModel is designed like this.

@kennethmyhra
Copy link
Collaborator Author

I agree, I did it for the time being to not force a major version bump since we then are breaking binary compatibility by changing the IFhirModel interface. But maybe it's time for that anyways.

@whyfate
Copy link
Contributor

whyfate commented Aug 27, 2023

Oh,I see.
It's time to refactor, but it will take a lot of time.

@kennethmyhra kennethmyhra force-pushed the r4/resolve-reference branch 4 times, most recently from 62d35b5 to 503b619 Compare September 11, 2023 11:12
@kennethmyhra kennethmyhra changed the title Engine: Better resolve handling for search parameter type 'reference' Engine: Better resolve handling for search parameters of type 'reference' Sep 11, 2023
This enhances our resolve handling for reference types profoundly.

This adds ResourceResolver and makes use of
FhirEvalutionContext.ElementResolver to wire up
ResourceResolver.Resolve() in IndexService.

Co-authored-by: haowang <593301179@qq.com>
@kennethmyhra kennethmyhra merged commit feed5d0 into FirelyTeam:r4/master Sep 11, 2023
2 checks passed
@kennethmyhra kennethmyhra deleted the r4/resolve-reference branch September 11, 2023 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment