public class ChapterIVServiceImpl extends Object implements ChapterIVService
The Business Connector for General Practitioners provides a simplified interface to access the CHAPTER IV service
Implements :ChapterIVService| Constructor and Description |
|---|
ChapterIVServiceImpl(SessionValidator sessionValidator,
EhealthReplyValidator replyValidator) |
ChapterIVServiceImpl(SessionValidator sessionValidator,
EhealthReplyValidator replyValidator,
Crypto systemCrypto,
Crypto personalCrypto)
Deprecated.
same but without the crypto class
|
@Deprecated public ChapterIVServiceImpl(SessionValidator sessionValidator, EhealthReplyValidator replyValidator, Crypto systemCrypto, Crypto personalCrypto) throws TechnicalConnectorException, ChapterIVBusinessConnectorException
sessionValidator - replyValidator - systemCrypto - personalCrypto - TechnicalConnectorExceptionChapterIVBusinessConnectorExceptionpublic ChapterIVServiceImpl(SessionValidator sessionValidator, EhealthReplyValidator replyValidator) throws TechnicalConnectorException, ChapterIVBusinessConnectorException
public ConsultChap4MedicalAdvisorAgreementResponse consultChap4MedicalAdvisorAgreement(ConsultChap4MedicalAdvisorAgreementRequest request) throws ChapterIVBusinessConnectorException, TechnicalConnectorException, SessionManagementException
ChapterIVServiceConsultChap4MedicalAdvisorAgreementResponse , it needs a Session to be active.consultChap4MedicalAdvisorAgreement in interface ChapterIVServiceSessionManagementExceptionChapterIVBusinessConnectorExceptionTechnicalConnectorExceptionbe.ehealth.businessconnector.gp.ChapterIVService#consultChap4MedicalAdvisorAgreement(be.fgov.ehealth.chap4.protocol.v1.ConsultChap4MedicalAdvisorAgreementRequest)public AskChap4MedicalAdvisorAgreementResponse askChap4MedicalAdvisorAgreementResponse(AskChap4MedicalAdvisorAgreementRequest request) throws ChapterIVBusinessConnectorException, TechnicalConnectorException, SessionManagementException
ChapterIVServiceAskChap4MedicalAdvisorAgreementResponse , it needs a Session to be active.askChap4MedicalAdvisorAgreementResponse in interface ChapterIVServiceSessionManagementExceptionChapterIVBusinessConnectorExceptionTechnicalConnectorExceptionbe.ehealth.businessconnector.gp.ChapterIVService#AskChap4MedicalAdvisorAgreementResponse(be.fgov.ehealth.chap4.protocol.v1.AskChap4MedicalAdvisorAgreementRequest)public ConsultChap4MedicalAdvisorAgreementResponse consultChap4MedicalAdvisorAgreement(FolderType folder, String inputReference, boolean isTest, String commonReference, String commonNIPReference, org.joda.time.DateTime agreementStartDate) throws ChapterIVBusinessConnectorException, TechnicalConnectorException, SessionManagementException
ChapterIVServiceConsultChap4MedicalAdvisorAgreementResponse , it needs a Session to be active. for the agreementStartDate
parameter utility method is proviced in FolderTypeUtils.retrieveConsultationStartDateOrAgreementStartDate(FolderType folder),
if this value is null you need to provide the agreementStartDate yourself , following the chapterIV documentationconsultChap4MedicalAdvisorAgreement in interface ChapterIVServiceagreementStartDate - not nullable : the agreementStartDate to be used in the request for the webservice : value : see
documentation chapterIVSessionManagementExceptionChapterIVBusinessConnectorExceptionTechnicalConnectorExceptionbe.ehealth.businessconnector.gp.ChapterIVService#consultChap4MedicalAdvisorAgreement(be.fgov.ehealth.standards.kmehr.schema.v1.KmehrmessageType,
java.lang.String, boolean, java.lang.String, java.lang.String, java.lang.String)public ConsultationBuilder getConsultationBuilder() throws TechnicalConnectorException
ChapterIVServiceConsultationBuilderImpl. a session should be activegetConsultationBuilder in interface ChapterIVServiceTechnicalConnectorExceptionbe.ehealth.businessconnector.gp.ChapterIVService#getConsultationBuilder()public AskChap4MedicalAdvisorAgreementResponse askChap4MedicalAdvisorAgreementResponse(FolderType folder, String inputReference, boolean isTest, String commonReference, String commonNIPReference, org.joda.time.DateTime agreementStartDate) throws ChapterIVBusinessConnectorException, TechnicalConnectorException, SessionManagementException
ChapterIVServiceAskChap4MedicalAdvisorAgreementResponse , it needs a Session to be active. for the agreementStartDate parameter
utility method is proviced in FolderTypeUtils.retrieveConsultationStartDateOrAgreementStartDate(FolderType folder), if this
value is null you need to provide the agreementStartDate yourself , following the chapterIV documentationaskChap4MedicalAdvisorAgreementResponse in interface ChapterIVServiceagreementStartDate - not nullable : the agreementStartDate to be used in the request for the webservice : value : see
documentation chapterIVChapterIVBusinessConnectorExceptionTechnicalConnectorExceptionSessionManagementExceptionChapterIVService.askChap4MedicalAdvisorAgreementResponse(be.fgov.ehealth.standards.kmehr.schema.v1.FolderType,
java.lang.String, boolean, java.lang.String, java.lang.String, DateTime)public AdmissionBuilder getAdmissionBuilder() throws TechnicalConnectorException
ChapterIVServiceAdmissionBuilderImpl , a session should be active.getAdmissionBuilder in interface ChapterIVServiceTechnicalConnectorExceptionbe.ehealth.businessconnector.gp.ChapterIVService#getAdmissionBuilder()public ResponseBuilder getResponseBuilder() throws TechnicalConnectorException
ChapterIVServiceResponseBuilderImpl , a session should be active.getResponseBuilder in interface ChapterIVServiceTechnicalConnectorExceptionChapterIVService.getResponseBuilder()
Connector Packaging generic 4.3.0-beta-3 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.