public class RequestObjectBuilderImpl extends Object implements RequestObjectBuilder, ConfigurationModuleBootstrap.ModuleBootstrapHook
RequestObjectBuilder interface. Implements : RequestObjectBuilder| Constructor and Description |
|---|
RequestObjectBuilderImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
bootstrap() |
ConsultGlobalMedicalFileRequest |
buildSendConsultRequest(boolean isTest,
DMGReferences references,
Patient patientInfo,
org.joda.time.DateTime referenceDate,
be.fgov.ehealth.messageservices.core.v1.SelectRetrieveTransaction request)
* Creates the ConsultGlobalMedicalFileRequest that will be sent to the EHealth Web service and checks validity against the
corresponding XSD
|
ConsultGlobalMedicalFileRequest |
buildSendConsultRequest(boolean isTest,
String referenceId,
Patient patientInfo,
org.joda.time.DateTime referenceDate,
Blob blob,
byte[] xades)
Creates the ConsultGlobalMedicalFileRequest that will be sent to the EHealth Web service and checks validity against the
corresponding XSD
|
NotifyGlobalMedicalFileRequest |
buildSendNotifyRequest(boolean isTest,
DMGReferences references,
Patient patientInfo,
org.joda.time.DateTime referenceDate,
Kmehrmessage msg)
Creates the NotifyGlobalMedicalFileRequest that will be sent to the EHealth web service and checks validity against the corresponding
XSD.
|
NotifyGlobalMedicalFileRequest |
buildSendNotifyRequest(boolean isTest,
String referenceId,
Patient patientInfo,
org.joda.time.DateTime referenceDate,
Blob blob,
byte[] xades)
Creates the NotifyGlobalMedicalFileRequest that will be sent to the EHealth web service and checks validity against the corresponding
XSD.
|
public final ConsultGlobalMedicalFileRequest buildSendConsultRequest(boolean isTest, String referenceId, Patient patientInfo, org.joda.time.DateTime referenceDate, Blob blob, byte[] xades) throws TechnicalConnectorException, DmgBusinessConnectorException, InstantiationException
RequestObjectBuilderbuildSendConsultRequest in interface RequestObjectBuilderisTest - indicates if this is a test or notreferenceId - String containing referenceIdpatientInfo - contains the information about the patientreferenceDate - the reference dateblob - Base64 encoded detail of the requestxades - byteArray containing the Xades signature (nullable)TechnicalConnectorExceptionDmgBusinessConnectorExceptionInstantiationExceptionbe.ehealth.businessconnector.dmg.builders.RequestObjectBuilder#buildSendConsultRequest(boolean,
be.ehealth.businessconnector.dmg.domain.DmgReferences, be.ehealth.businessconnector.dmg.domain.PatientInfo,
org.joda.time.DateTime, Blob, byte[])public ConsultGlobalMedicalFileRequest buildSendConsultRequest(boolean isTest, DMGReferences references, Patient patientInfo, org.joda.time.DateTime referenceDate, be.fgov.ehealth.messageservices.core.v1.SelectRetrieveTransaction request) throws TechnicalConnectorException, DmgBusinessConnectorException, InstantiationException
RequestObjectBuilderbuildSendConsultRequest in interface RequestObjectBuilderisTest - indicates if this is a test or notreferences - DmgReferences contains the reference idspatientInfo - contains the information about the patientreferenceDate - the reference dateTechnicalConnectorExceptionDmgBusinessConnectorExceptionInstantiationExceptionbe.ehealth.businessconnector.dmg.builders.RequestObjectBuilder#buildSendConsultRequest(boolean,
be.ehealth.businessconnector.dmg.domain.DMGReferences, be.ehealth.business.common.domain.Patient, org.joda.time.DateTime,
be.fgov.ehealth.messageservices.core.v1.RetrieveTransactionRequest)public final NotifyGlobalMedicalFileRequest buildSendNotifyRequest(boolean isTest, String referenceId, Patient patientInfo, org.joda.time.DateTime referenceDate, Blob blob, byte[] xades) throws TechnicalConnectorException, DmgBusinessConnectorException, InstantiationException
RequestObjectBuilderbuildSendNotifyRequest in interface RequestObjectBuilderisTest - indicates if this is a test or notreferenceId - String containing the reference id.patientInfo - contains the information about the patientreferenceDate - the reference dateblob - Base64 encoded detail of the requestxades - byteArray containing the Xades signature (nullable)TechnicalConnectorExceptionDmgBusinessConnectorExceptionInstantiationExceptionbe.ehealth.businessconnector.dmg.builders.RequestObjectBuilder#buildSendNotifyRequest(boolean,
be.ehealth.businessconnector.dmg.domain.DmgReferences, be.ehealth.businessconnector.dmg.domain.PatientInfo,
org.joda.time.DateTime, Blob, byte[])public NotifyGlobalMedicalFileRequest buildSendNotifyRequest(boolean isTest, DMGReferences references, Patient patientInfo, org.joda.time.DateTime referenceDate, Kmehrmessage msg) throws TechnicalConnectorException, DmgBusinessConnectorException, InstantiationException
RequestObjectBuilderbuildSendNotifyRequest in interface RequestObjectBuilderisTest - indicates if this is a test or notreferences - DmgReferences contains the reference idspatientInfo - contains the information about the patientreferenceDate - the reference datemsg - Kmehrmessage contains the business KmehrMessageTechnicalConnectorExceptionDmgBusinessConnectorExceptionInstantiationExceptionpublic void bootstrap()
bootstrap in interface ConfigurationModuleBootstrap.ModuleBootstrapHook
Connector Packaging generic 4.3.0-beta-3 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.