be.ehealth.businessconnector.mycarenet.attestv2.builders.impl
Class RequestObjectBuilderImpl
java.lang.Object
be.ehealth.businessconnector.mycarenet.attestv2.builders.impl.RequestObjectBuilderImpl
- All Implemented Interfaces:
- RequestObjectBuilder, ConfigurationModuleBootstrap.ModuleBootstrapHook
public class RequestObjectBuilderImpl
- extends Object
- implements RequestObjectBuilder, ConfigurationModuleBootstrap.ModuleBootstrapHook
- See Also:
RequestObjectBuilder
RequestObjectBuilderImpl
public RequestObjectBuilderImpl()
buildSendAttestationRequest
public SendAttestBuilderRequest buildSendAttestationRequest(boolean isTest,
InputReference references,
Ssin patientSsin,
org.joda.time.DateTime referenceDate,
Kmehrmessage msg)
throws AttestBusinessConnectorException,
TechnicalConnectorException
- Description copied from interface:
RequestObjectBuilder
- Creates the SendAttestationRequest that will be sent to the EHealth Web service and checks validity against the
corresponding XSD
- Specified by:
buildSendAttestationRequest
in interface RequestObjectBuilder
- Parameters:
isTest
- indicates if this is a test or notpatientSsin
- the ssin of the the patientreferenceDate
- the reference datemsg
- the kmehr message specifying the attestation to send
- Returns:
- a wrapper containing the valid request that will be sent to the WS and the SendTransactionRequest before encryption
- Throws:
AttestBusinessConnectorException
TechnicalConnectorException
buildCancelAttestationRequest
public CancelAttestBuilderRequest buildCancelAttestationRequest(boolean isTest,
InputReference references,
Ssin patientSsin,
org.joda.time.DateTime referenceDate,
Kmehrmessage msg)
throws AttestBusinessConnectorException,
TechnicalConnectorException
- Description copied from interface:
RequestObjectBuilder
- Create the CancelAttestationRequest that will be sent to the EHealth Web service and checks validity against the corresponding XSD
- Specified by:
buildCancelAttestationRequest
in interface RequestObjectBuilder
- Parameters:
isTest
- indicates if this is a test or notpatientSsin
- the ssin of the the patientreferenceDate
- the reference datemsg
- the kmehr message specifying the attestation to send
- Returns:
- a wrapper containing the valid request that will be sent to the WS and the CancelTransactionRequest before encryption
- Throws:
AttestBusinessConnectorException
TechnicalConnectorException
bootstrap
public void bootstrap()
- Specified by:
bootstrap
in interface ConfigurationModuleBootstrap.ModuleBootstrapHook
Connector Packaging PERSPHYSICIAN 3.27.0 API
Copyright © {inceptionYear}-2024 eHealth. All Rights Reserved.