public final class ConsultationBuilderImpl extends Object implements ConsultationBuilder, ConfigurationModuleBootstrap.ModuleBootstrapHook
ConsultationBuilder| Constructor and Description |
|---|
ConsultationBuilderImpl()
default constructor, only needed for ModuleBootstrapHook.
|
ConsultationBuilderImpl(CommonBuilder commonBuilder) |
| Modifier and Type | Method and Description |
|---|---|
void |
bootstrap() |
ChapterIVBuilderResponse |
build(FolderType folder,
boolean isTest,
ChapterIVReferences references,
org.joda.time.DateTime agreementStartDate) |
ConsultChap4MedicalAdvisorAgreementRequest |
buildRequest(FolderType folder,
boolean isTest,
ChapterIVReferences references,
org.joda.time.DateTime agreementStartDate) |
ConsultChap4MedicalAdvisorAgreementRequest |
buildRequest(FolderType folder,
boolean isTest,
String commonReference,
String commonNIPReference,
org.joda.time.DateTime agreementStartDate)
builds the
ConsultChap4MedicalAdvisorAgreementRequest the folder should contain at least the following elements for the
connector to work :
the ids list in folder.patient.ids should contain at least one id. |
public ConsultationBuilderImpl(CommonBuilder commonBuilder)
public ConsultationBuilderImpl()
public ConsultChap4MedicalAdvisorAgreementRequest buildRequest(FolderType folder, boolean isTest, String commonReference, String commonNIPReference, org.joda.time.DateTime agreementStartDate) throws ChapterIVBusinessConnectorException, TechnicalConnectorException
ConsultationBuilderConsultChap4MedicalAdvisorAgreementRequest the folder should contain at least the following elements for the
connector to work :
FolderTypeUtils
.retrieveConsultationStartDateOrAgreementStartDate(FolderType folder), if this value is null you need to provide the
agreementStartDate yourself , following the chapterIV documentationbuildRequest in interface ConsultationBuilderfolder - FolderType contains the information to retrieve/sendisTest - boolean indicating if this message is a test or notcommonReference - String used to fill out commonReference field in CommonInput tagcommonNIPReference - String used to fill out commonNipReference field in CommonInput tagagreementStartDate - not nullable : the agreementStartDate to be used in the request for the webservice : value : see
documentation chapterIVChapterIVBusinessConnectorExceptionTechnicalConnectorExceptionbe.ehealth.businessconnector.chapterIV.builders.ConsultationBuilder#buildRequest(be.fgov.ehealth.standards.kmehr.schema.v1.FolderType,
boolean, java.lang.String, java.lang.String, String)public ConsultChap4MedicalAdvisorAgreementRequest buildRequest(FolderType folder, boolean isTest, ChapterIVReferences references, org.joda.time.DateTime agreementStartDate) throws ChapterIVBusinessConnectorException, TechnicalConnectorException
buildRequest in interface ConsultationBuilderfolder - FolderType contains the information to retrieve/sendisTest - boolean indicating if this message is a test or notreferences - contains all the references needed by ChapterIVagreementStartDate - not nullable : the agreementStartDate to be used in the request for the webservice : value : see
documentation chapterIVChapterIVBusinessConnectorExceptionTechnicalConnectorExceptionConsultationBuilder.buildRequest(be.fgov.ehealth.standards.kmehr.schema.v1.FolderType,
boolean, be.ehealth.businessconnector.chapterIV.domain.ChapterIVReferences, org.joda.time.DateTime)public ChapterIVBuilderResponse build(FolderType folder, boolean isTest, ChapterIVReferences references, org.joda.time.DateTime agreementStartDate) throws ChapterIVBusinessConnectorException, TechnicalConnectorException
build in interface ConsultationBuilderfolder - FolderType contains the information to retrieve/sendisTest - boolean indicating if this message is a test or notreferences - contains all the references needed by ChapterIVagreementStartDate - not nullable : the agreementStartDate to be used in the request for the webservice : value : see
documentation chapterIVChapterIVBusinessConnectorExceptionTechnicalConnectorExceptionConsultationBuilder.build(be.fgov.ehealth.standards.kmehr.schema.v1.FolderType,
boolean, be.ehealth.businessconnector.chapterIV.domain.ChapterIVReferences, org.joda.time.DateTime)public void bootstrap()
bootstrap in interface ConfigurationModuleBootstrap.ModuleBootstrapHook
Connector Packaging generic 4.2.0 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.