be.ehealth.businessconnector.chapterIV.builders.impl
Class CommonBuilderImpl
java.lang.Object
be.ehealth.businessconnector.chapterIV.builders.impl.CommonBuilderImpl
- All Implemented Interfaces:
- CommonBuilder, ConfigurationModuleBootstrap.ModuleBootstrapHook
public class CommonBuilderImpl
- extends Object
- implements CommonBuilder, ConfigurationModuleBootstrap.ModuleBootstrapHook
Builder for the common Chapter IV parts based on the input. Implements : CommonBuilder
RESULT
public static final String RESULT
- See Also:
- Constant Field Values
RESULT_SEALEDREQUEST
public static final String RESULT_SEALEDREQUEST
- See Also:
- Constant Field Values
RESULT_COMMONINPUT
public static final String RESULT_COMMONINPUT
- See Also:
- Constant Field Values
RESULT_RECORDCOMMONINPUT
public static final String RESULT_RECORDCOMMONINPUT
- See Also:
- Constant Field Values
RESULT_CARERECEIVER
public static final String RESULT_CARERECEIVER
- See Also:
- Constant Field Values
RESULT_KMEHRMESSAGE
public static final String RESULT_KMEHRMESSAGE
- See Also:
- Constant Field Values
RESULT_FOLDER
public static final String RESULT_FOLDER
- See Also:
- Constant Field Values
RESULT_REFERENCES
public static final String RESULT_REFERENCES
- See Also:
- Constant Field Values
CommonBuilderImpl
@Deprecated
public CommonBuilderImpl(Crypto crypto,
Chapter4XmlValidator chapter4XmlValidator,
KmehrValidator kmehrValidator,
KmehrBuilder kmehrBuilder)
throws TechnicalConnectorException
- Deprecated.
- Parameters:
crypto
- chapter4XmlValidator
- kmehrValidator
- kmehrBuilder
-
- Throws:
TechnicalConnectorException
CommonBuilderImpl
public CommonBuilderImpl()
CommonBuilderImpl
public CommonBuilderImpl(Chapter4XmlValidator chapter4XmlValidator,
KmehrValidator kmehrValidator,
KmehrBuilder kmehrBuilder)
throws TechnicalConnectorException
- Parameters:
chapter4XmlValidator
- kmehrValidator
- kmehrBuilder
-
- Throws:
TechnicalConnectorException
createAgreementRequest
public ChapterIVBuilderResponse createAgreementRequest(FolderType folder,
boolean isTest,
ChapterIVReferences references,
XmlObjectFactory xmlObjectFactory,
org.joda.time.DateTime agreementStartDate)
throws TechnicalConnectorException,
ChapterIVBusinessConnectorException
- Description copied from interface:
CommonBuilder
- creates agreement request with the given input.
- Specified by:
createAgreementRequest
in interface CommonBuilder
xmlObjectFactory
- factory for xml objects ,different objects are created depending on the type of conversation
- Returns:
-
- Throws:
TechnicalConnectorException
ChapterIVBusinessConnectorException
- See Also:
be.ehealth.businessconnector.chapterIV.builders.CommonBuilder#createAgreementRequest(be.fgov.ehealth.standards.kmehr.schema.v1.FolderType,
boolean, java.lang.String, java.lang.String, be.ehealth.businessconnector.chapterIV.wrapper.factory.XmlObjectFactory, DateTime)
bootstrap
public void bootstrap()
- Specified by:
bootstrap
in interface ConfigurationModuleBootstrap.ModuleBootstrapHook
Connector Business ORGPHARMACY 3.10.2 API
Copyright © {inceptionYear}-2016 eHealth. All Rights Reserved.