Package org.openehealth.ipf.boot.hl7v2
Class IpfHl7v2AutoConfiguration
java.lang.Object
org.openehealth.ipf.boot.hl7v2.IpfHl7v2AutoConfiguration
@Configuration
@AutoConfigureAfter(org.openehealth.ipf.boot.atna.IpfAtnaAutoConfiguration.class)
@EnableConfigurationProperties(IpfHl7v2ConfigurationProperties.class)
public class IpfHl7v2AutoConfiguration
extends Object
Configure a basic IPF setup, mostly configuring HL7v2 and Mapping stuff
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionca.uhn.hl7v2.util.idgenerator.IDGeneratorca.uhn.hl7v2.HapiContexthapiContext(org.openehealth.ipf.modules.hl7.parser.CustomModelClassFactory modelClassFactory, ca.uhn.hl7v2.conf.store.ProfileStore profileStore, ca.uhn.hl7v2.validation.ValidationContext validationContext, ca.uhn.hl7v2.parser.ParserConfiguration parserConfiguration, org.springframework.beans.factory.ObjectProvider<ca.uhn.hl7v2.util.idgenerator.IDGenerator> idGenerator) org.apache.camel.component.netty.NettyCamelStateCorrelationManagerhl7Correlation(ca.uhn.hl7v2.HapiContext hapiContext) org.openehealth.ipf.commons.ihe.hl7v2.storage.InteractiveContinuationStorageinteractiveContinuationStorage(org.springframework.cache.CacheManager cacheManager) mllpDispatcher(org.apache.camel.CamelContext camelContext) org.openehealth.ipf.modules.hl7.parser.CustomModelClassFactoryca.uhn.hl7v2.util.idgenerator.IDGeneratorca.uhn.hl7v2.parser.ParserConfigurationca.uhn.hl7v2.conf.store.ProfileStoreorg.openehealth.ipf.commons.ihe.hl7v2.storage.UnsolicitedFragmentationStorageunsolicitedFragmentationStorage(org.springframework.cache.CacheManager cacheManager) ca.uhn.hl7v2.util.idgenerator.IDGeneratorca.uhn.hl7v2.validation.ValidationContext
-
Constructor Details
-
IpfHl7v2AutoConfiguration
-
-
Method Details
-
mllpModelClassFactory
@Bean @ConditionalOnMissingBean(org.openehealth.ipf.modules.hl7.parser.CustomModelClassFactory.class) public org.openehealth.ipf.modules.hl7.parser.CustomModelClassFactory mllpModelClassFactory() -
profileStore
@Bean @ConditionalOnMissingBean(ca.uhn.hl7v2.conf.store.ProfileStore.class) public ca.uhn.hl7v2.conf.store.ProfileStore profileStore() -
validationContext
@Bean @ConditionalOnMissingBean(ca.uhn.hl7v2.validation.ValidationContext.class) public ca.uhn.hl7v2.validation.ValidationContext validationContext() -
fileGenerator
@Bean @ConditionalOnMissingBean(ca.uhn.hl7v2.util.idgenerator.IDGenerator.class) @ConditionalOnProperty(prefix="ipf.hl7v2", name="generator", havingValue="file", matchIfMissing=true) public ca.uhn.hl7v2.util.idgenerator.IDGenerator fileGenerator() -
uuidGenerator
@Bean @ConditionalOnMissingBean(ca.uhn.hl7v2.util.idgenerator.IDGenerator.class) @ConditionalOnProperty(prefix="ipf.hl7v2", name="generator", havingValue="uuid") public ca.uhn.hl7v2.util.idgenerator.IDGenerator uuidGenerator() -
nanoGenerator
@Bean @ConditionalOnMissingBean(ca.uhn.hl7v2.util.idgenerator.IDGenerator.class) @ConditionalOnProperty(prefix="ipf.hl7v2", name="generator", havingValue="nano") public ca.uhn.hl7v2.util.idgenerator.IDGenerator nanoGenerator() -
parserConfiguration
@ConfigurationProperties(prefix="ipf.hl7v2.parser") @Bean public ca.uhn.hl7v2.parser.ParserConfiguration parserConfiguration() -
hapiContext
@Bean @ConditionalOnMissingBean(ca.uhn.hl7v2.HapiContext.class) public ca.uhn.hl7v2.HapiContext hapiContext(org.openehealth.ipf.modules.hl7.parser.CustomModelClassFactory modelClassFactory, ca.uhn.hl7v2.conf.store.ProfileStore profileStore, ca.uhn.hl7v2.validation.ValidationContext validationContext, ca.uhn.hl7v2.parser.ParserConfiguration parserConfiguration, org.springframework.beans.factory.ObjectProvider<ca.uhn.hl7v2.util.idgenerator.IDGenerator> idGenerator) -
hapiContextCustomizer
@Bean @ConditionalOnMissingBean(HapiContextCustomizer.class) public HapiContextCustomizer hapiContextCustomizer() -
mllpDispatcher
@Bean @ConditionalOnMissingBean(org.openehealth.ipf.platform.camel.ihe.mllp.core.intercept.consumer.ConsumerDispatchingInterceptor.class) @ConditionalOnBean(org.apache.camel.CamelContext.class) public ConsumerDispatchingInterceptor mllpDispatcher(org.apache.camel.CamelContext camelContext) -
interactiveContinuationStorage
@Bean @ConditionalOnMissingBean(org.openehealth.ipf.commons.ihe.hl7v2.storage.InteractiveContinuationStorage.class) @ConditionalOnSingleCandidate(org.springframework.cache.CacheManager.class) @ConditionalOnProperty("ipf.hl7v2.caching") public org.openehealth.ipf.commons.ihe.hl7v2.storage.InteractiveContinuationStorage interactiveContinuationStorage(org.springframework.cache.CacheManager cacheManager) -
unsolicitedFragmentationStorage
@Bean @ConditionalOnMissingBean(org.openehealth.ipf.commons.ihe.hl7v2.storage.UnsolicitedFragmentationStorage.class) @ConditionalOnSingleCandidate(org.springframework.cache.CacheManager.class) @ConditionalOnProperty("ipf.hl7v2.caching") public org.openehealth.ipf.commons.ihe.hl7v2.storage.UnsolicitedFragmentationStorage unsolicitedFragmentationStorage(org.springframework.cache.CacheManager cacheManager) -
hl7Correlation
@Bean(name="hl7Correlation") @ConditionalOnMissingBean(org.apache.camel.component.netty.NettyCamelStateCorrelationManager.class) public org.apache.camel.component.netty.NettyCamelStateCorrelationManager hl7Correlation(ca.uhn.hl7v2.HapiContext hapiContext)
-