
Package ca.uhn.fhir.storage.interceptor
Class AutoCreatePlaceholderReferenceEnabledByTypeInterceptor
java.lang.Object
ca.uhn.fhir.storage.interceptor.AutoCreatePlaceholderReferenceEnabledByTypeInterceptor
This interceptor can be used on systems with
Auto-Create Placeholder Reference Targets
enabled in order to cause these placeholder resources to only be created for specific resource types.- Since:
- 8.4.0
-
Constructor Summary
ConstructorsConstructorDescriptionAutoCreatePlaceholderReferenceEnabledByTypeInterceptor(String... theResourceTypesToAllow) Constructor -
Method Summary
Modifier and TypeMethodDescriptionThis method will be called automatically before each auto-created placeholder reference target resource.
-
Constructor Details
-
AutoCreatePlaceholderReferenceEnabledByTypeInterceptor
Constructor- Parameters:
theResourceTypesToAllow- The resource types to allow. For example, if you pass in the strings "Patient" and "Observation", then placeholder reference target resources will be created with these resource types but not with any other resource types.
-
-
Method Details
-
autoCreatePlaceholderReferenceTarget
public AutoCreatePlaceholderReferenceTargetResponse autoCreatePlaceholderReferenceTarget(AutoCreatePlaceholderReferenceTargetRequest theRequest) This method will be called automatically before each auto-created placeholder reference target resource.
-