public abstract class AbstractCommonBuilderImpl extends Object implements CommonBuilder
CommonBuilder
interfacePROJECT_NAME_KEY
Constructor and Description |
---|
AbstractCommonBuilderImpl() |
Modifier and Type | Method and Description |
---|---|
CommonInput |
createCommonInput(McnPackageInfo packageInfo,
boolean isTest,
String inputReference)
Creates CommonInputType part with given parameters
|
CommonInput |
createCommonInput(McnPackageInfo packageInfo,
boolean isTest,
String inputReference,
List<Reference> references,
List<Attribute> attributes)
Creates CommonInputType part with given parameters
|
CommonInput |
createCommonInput(PackageInfo packageInfo,
boolean isTest,
String inputReference)
Deprecated.
use the createCommonInput(McnPackageInfo packageInfo, boolean isTest, String inputReference) instead;
|
Origin |
createOrigin(McnPackageInfo packageInfo)
Create an
Origin |
Origin |
createOrigin(PackageInfo packageInfo)
Deprecated.
use createOrigin(McnPackageInfo packageInfo) instead
|
Routing |
createRouting(Patient patientInfo,
org.joda.time.DateTime refDate)
Create the
Routing with the patientInfo |
Routing |
createRouting(Patient patientInfo,
LocalDateTime refDate)
Creates Routing object with given parameters.
|
Routing |
createRoutingToMutuality(String mutuality,
org.joda.time.DateTime refDate)
Create the
Routing with the mutuality |
Party |
createSenderForOrigin()
Create the sender (
Party ) from config properties : mycarenet.{projectname}.sender.physicalperson
mycarenet.{projectname}.sender.organization |
void |
initialize(Map<String,Object> parameterMap)
initializes the implementation with additional parameters.
|
public void initialize(Map<String,Object> parameterMap) throws TechnicalConnectorException
ConfigurableImplementation
initialize
in interface ConfigurableImplementation
parameterMap
- Map with for each propertyString ,the input parameter as Object.TechnicalConnectorException
- if the parameterMap is not correct.@Deprecated public CommonInput createCommonInput(PackageInfo packageInfo, boolean isTest, String inputReference) throws TechnicalConnectorException
CommonBuilder
createCommonInput
in interface CommonBuilder
packageInfo
- the packageInfo: provides info about the software package creating the messageisTest
- true if you're running a test, false otherwiseinputReference
- the inputReference : unique reference created by the careproviderTechnicalConnectorException
public CommonInput createCommonInput(McnPackageInfo packageInfo, boolean isTest, String inputReference) throws TechnicalConnectorException
CommonBuilder
createCommonInput
in interface CommonBuilder
packageInfo
- the packageInfo: provides info about the software package creating the messageisTest
- true if you're running a test, false otherwiseinputReference
- the inputReference : unique reference created by the careproviderTechnicalConnectorException
public CommonInput createCommonInput(McnPackageInfo packageInfo, boolean isTest, String inputReference, List<Reference> references, List<Attribute> attributes) throws TechnicalConnectorException
CommonBuilder
createCommonInput
in interface CommonBuilder
packageInfo
- the packageInfo: provides info about the software package creating the messageisTest
- true if you're running a test, false otherwiseinputReference
- the inputReference : unique reference created by the careproviderTechnicalConnectorException
@Deprecated public Origin createOrigin(PackageInfo packageInfo) throws TechnicalConnectorException
Origin
createOrigin
in interface CommonBuilder
packageInfo
- the packageInfo: provides info about the software package creating the messageTechnicalConnectorException
public Origin createOrigin(McnPackageInfo packageInfo) throws TechnicalConnectorException
Origin
createOrigin
in interface CommonBuilder
packageInfo
- the packageInfo: provides info about the software package creating the messageTechnicalConnectorException
public Party createSenderForOrigin() throws TechnicalConnectorException
Party
) from config properties : mycarenet.{projectname}.sender.physicalperson
mycarenet.{projectname}.sender.organizationTechnicalConnectorException
public Routing createRouting(Patient patientInfo, org.joda.time.DateTime refDate)
Routing
with the patientInfocreateRouting
in interface CommonBuilder
patientInfo
- all the available informations about the concerned patientrefDate
- the reference datepublic Routing createRouting(Patient patientInfo, LocalDateTime refDate)
CommonBuilder
createRouting
in interface CommonBuilder
patientInfo
- all the available informations about the concerned patientrefDate
- the reference datepublic Routing createRoutingToMutuality(String mutuality, org.joda.time.DateTime refDate)
Routing
with the mutualitycreateRoutingToMutuality
in interface CommonBuilder
mutuality
- the mutuality identifier (X00).refDate
- the reference date.
Connector Packaging TRUSSMAKER 4.1.2 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.