public class AdmissionBuilderImpl extends Object implements AdmissionBuilder
AdmissionBuilder| Constructor and Description |
|---|
AdmissionBuilderImpl(CommonBuilder commonBuilder) |
| Modifier and Type | Method and Description |
|---|---|
ChapterIVBuilderResponse |
build(FolderType folder,
boolean isTest,
ChapterIVReferences references,
org.joda.time.DateTime agreementStartDate) |
AskChap4MedicalAdvisorAgreementRequest |
buildRequest(FolderType folder,
boolean isTest,
ChapterIVReferences references,
org.joda.time.DateTime agreementStartDate) |
AskChap4MedicalAdvisorAgreementRequest |
buildRequest(FolderType folder,
boolean isTest,
String commonReference,
String commonNIPReference,
org.joda.time.DateTime agreementStartDate)
builds the
AskChap4MedicalAdvisorAgreementRequest. |
public AdmissionBuilderImpl(CommonBuilder commonBuilder)
public final AskChap4MedicalAdvisorAgreementRequest buildRequest(FolderType folder, boolean isTest, String commonReference, String commonNIPReference, org.joda.time.DateTime agreementStartDate) throws ChapterIVBusinessConnectorException, TechnicalConnectorException
AdmissionBuilderAskChap4MedicalAdvisorAgreementRequest. 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 AdmissionBuilderfolder - 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 chapterIVChapterIVBusinessConnectorExceptionTechnicalConnectorExceptionAdmissionBuilder.buildRequest(be.fgov.ehealth.standards.kmehr.schema.v1.FolderType,
boolean, java.lang.String, java.lang.String, DateTime)public AskChap4MedicalAdvisorAgreementRequest buildRequest(FolderType folder, boolean isTest, ChapterIVReferences references, org.joda.time.DateTime agreementStartDate) throws ChapterIVBusinessConnectorException, TechnicalConnectorException
buildRequest in interface AdmissionBuilderfolder - 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 chapterIVChapterIVBusinessConnectorExceptionTechnicalConnectorExceptionAdmissionBuilder.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 AdmissionBuilderfolder - 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 chapterIVMap with all the object generated by the builder.ChapterIVBusinessConnectorExceptionTechnicalConnectorExceptionAdmissionBuilder.build(be.fgov.ehealth.standards.kmehr.schema.v1.FolderType,
boolean, be.ehealth.businessconnector.chapterIV.domain.ChapterIVReferences, org.joda.time.DateTime)
Connector Packaging generic 4.5.4 API
Copyright © {inceptionYear}-2024 eHealth. All Rights Reserved.