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
- TechnicalConnectorException
ChapterIVBusinessConnectorException
public ChapterIVServiceImpl(SessionValidator sessionValidator, EhealthReplyValidator replyValidator) throws TechnicalConnectorException, ChapterIVBusinessConnectorException
public ConsultChap4MedicalAdvisorAgreementResponse consultChap4MedicalAdvisorAgreement(ConsultChap4MedicalAdvisorAgreementRequest request) throws ChapterIVBusinessConnectorException, TechnicalConnectorException, SessionManagementException
ChapterIVService
ConsultChap4MedicalAdvisorAgreementResponse
, it needs a Session to be active.consultChap4MedicalAdvisorAgreement
in interface ChapterIVService
SessionManagementException
ChapterIVBusinessConnectorException
TechnicalConnectorException
be.ehealth.businessconnector.gp.ChapterIVService#consultChap4MedicalAdvisorAgreement(be.fgov.ehealth.chap4.protocol.v1.ConsultChap4MedicalAdvisorAgreementRequest)
public AskChap4MedicalAdvisorAgreementResponse askChap4MedicalAdvisorAgreementResponse(AskChap4MedicalAdvisorAgreementRequest request) throws ChapterIVBusinessConnectorException, TechnicalConnectorException, SessionManagementException
ChapterIVService
AskChap4MedicalAdvisorAgreementResponse
, it needs a Session to be active.askChap4MedicalAdvisorAgreementResponse
in interface ChapterIVService
SessionManagementException
ChapterIVBusinessConnectorException
TechnicalConnectorException
be.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
ChapterIVService
ConsultChap4MedicalAdvisorAgreementResponse
, 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 ChapterIVService
agreementStartDate
- not nullable : the agreementStartDate to be used in the request for the webservice : value : see
documentation chapterIVSessionManagementException
ChapterIVBusinessConnectorException
TechnicalConnectorException
be.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
ChapterIVService
ConsultationBuilderImpl
. a session should be activegetConsultationBuilder
in interface ChapterIVService
TechnicalConnectorException
be.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
ChapterIVService
AskChap4MedicalAdvisorAgreementResponse
, 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 ChapterIVService
agreementStartDate
- not nullable : the agreementStartDate to be used in the request for the webservice : value : see
documentation chapterIVChapterIVBusinessConnectorException
TechnicalConnectorException
SessionManagementException
ChapterIVService.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
ChapterIVService
AdmissionBuilderImpl
, a session should be active.getAdmissionBuilder
in interface ChapterIVService
TechnicalConnectorException
be.ehealth.businessconnector.gp.ChapterIVService#getAdmissionBuilder()
public ResponseBuilder getResponseBuilder() throws TechnicalConnectorException
ChapterIVService
ResponseBuilderImpl
, a session should be active.getResponseBuilder
in interface ChapterIVService
TechnicalConnectorException
ChapterIVService.getResponseBuilder()
Connector Packaging PERSPHYSICIAN 4.5.4 API
Copyright © {inceptionYear}-2024 eHealth. All Rights Reserved.