Package ca.uhn.fhir.mdm.interceptor
Class MdmReadVirtualizationInterceptor<P extends ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId<?>>
java.lang.Object
ca.uhn.fhir.mdm.interceptor.MdmReadVirtualizationInterceptor<P>
public class MdmReadVirtualizationInterceptor<P extends ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId<?>>
extends Object
This class is experimental and subject to change. Use with caution.
This interceptor provides an "MDM Virtualized" endpoint, meaning that searches are expanded to include MDM-linked resources (including any linked golden resource, and also including any other resources linked to that golden resource). Searches for non-MDM resources which have a reference to an MDM resource will have their reference parameter expanded to include the golden and linked resources.
In addition, responses are cleaned up so that only the golden resource is included in responses, and references to non-golden resources are rewritten.
This interceptor does not modify data that is being stored/written in any way, it only modifies data that is being returned by the server.
- Since:
- 8.0.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
preSearchRegistered
(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, ca.uhn.fhir.jpa.searchparam.SearchParameterMap theSearchParameterMap, ca.uhn.fhir.rest.server.util.ICachedSearchDetails theSearchDetails) void
preShowResources
(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, ca.uhn.fhir.rest.api.server.IPreResourceShowDetails theDetails)
-
Constructor Details
-
MdmReadVirtualizationInterceptor
public MdmReadVirtualizationInterceptor()
-
-
Method Details
-
preSearchRegistered
public void preSearchRegistered(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, ca.uhn.fhir.jpa.searchparam.SearchParameterMap theSearchParameterMap, ca.uhn.fhir.rest.server.util.ICachedSearchDetails theSearchDetails) -
preShowResources
public void preShowResources(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, ca.uhn.fhir.rest.api.server.IPreResourceShowDetails theDetails)
-