be.ehealth.businessconnector.mycarenet.agreement.builders
Interface RequestObjectBuilder
- All Known Implementing Classes:
- EncryptedRequestObjectBuilderImpl
public interface RequestObjectBuilder
Provides method(s) to create an Agreement WS request. Default impl :
EncryptedRequestObjectBuilderImpl Factory :
RequestObjectBuilderFactory
buildAskAgreementRequest
AskAgreementBuilderRequest buildAskAgreementRequest(boolean isTest,
InputReference reference,
Patient patientInfo,
org.joda.time.DateTime refDate,
byte[] messageFHIR)
throws TechnicalConnectorException,
AgreementBusinessConnectorException
- Creates the request that will be sent to the EHealth Web service and checks validity against the
corresponding XSD
- Parameters:
isTest - indicates if this is a test or notreference - the reference of the the patientmessageFHIR - the xml who ll be transformed in b64 and maybe encrypted
- Returns:
- the request that need to be sent
- Throws:
AgreementBusinessConnectorException - the Agreement Business connector exception
TechnicalConnectorException - the technical connector exception
buildConsultAgreementRequest
ConsultAgreementBuilderRequest buildConsultAgreementRequest(boolean isTest,
InputReference reference,
Patient patientInfo,
org.joda.time.DateTime refDate,
byte[] messageFHIR)
throws TechnicalConnectorException,
AgreementBusinessConnectorException
- Throws:
TechnicalConnectorException
AgreementBusinessConnectorException
Connector Packaging generic 3.28.5 API
Copyright © {inceptionYear}-2025 eHealth. All Rights Reserved.