# Deprecated API

## Contents

- Deprecated Interfaces
- Deprecated Classes
- Deprecated Fields
- Deprecated Methods
- Deprecated Constructors
- Deprecated Enum Constants

- Deprecated Interfaces
  Interface and Description
  be.fgov.ehealth.technicalconnector.distributedkeys.DistributedSignerProxy Use `SigningService` directly. This interface will be removed in a future release.
  be.ehealth.businessconnector.chapterIV.builders.QualityBuilder not used anymore
  be.ehealth.technicalconnector.service.sts.SAMLResponse

- Deprecated Classes
  Class and Description
  be.ehealth.businessconnector.ehbox.v3.database.ByteArrayDatasource use be.ehealth.technicalconnector.utils.ByteArrayDatasource instead.
  be.ehealth.businessconnector.chapterIV.utils.ChapterIVJaxbUtils will be removed in version 3.3 , use MarshallerHelper folderTypeMarshaller = new MarshallerHelper(X.class,X.class) instead
  be.ehealth.technicalconnector.config.impl.ConfigurationModuleSSLVerifier
  be.ehealth.technicalconnector.service.etee.impl.ConnectorMockRevocationStatusChecker do not use this in production
  be.fgov.ehealth.technicalconnector.distributedkeys.DistributedKeyStoreRegistry
  be.ehealth.businessconnector.therlink.builders.impl.GPRequestObjectBuilderImpl
  be.ehealth.businessconnector.therlink.domain.HcParty
  be.ehealth.businessconnector.wsconsent.builders.impl.HcPartyInfoBuilderImpl
  be.ehealth.businessconnector.chapterIV.builders.impl.KmehrBuilderPersPhysician use the genericKmehrBuilder and configure it.
  be.ehealth.technicalconnector.config.util.domain.PackageInfo
  be.ehealth.businessconnector.therlink.domain.Patient use be.ehealth.business.common.domain.Patient instead
  be.ehealth.businessconnector.therlink.domain.Patient.Builder
  be.ehealth.businessconnector.chapterIV.builders.QualityBuilderFactory not used anymore
  be.ehealth.businessconnector.chapterIV.builders.impl.QualityBuilderPersPhysician not used anymore
  be.ehealth.businessconnector.dmg.mappers.RequestObjectMapper use `BlobMapper` instead.

- Deprecated Fields
  Field and Description
  be.ehealth.technicalconnector.validator.TimeStampValidator.ALIASLIST
  be.ehealth.businessconnector.ehbox.api.utils.QualityType.GENERAL_PRACTIONER_NIHII
  be.ehealth.businessconnector.ehbox.api.utils.QualityType.GENERAL_PRACTIONER_SSIN
  be.ehealth.businessconnector.ehbox.api.utils.QualityType.GROUPOFNURSES_NIHII
  be.ehealth.technicalconnector.utils.IdentifierType.HUB replaced by `IdentifierType`.EHP
  be.ehealth.businessconnector.therlink.builders.RequestObjectBuilder.PROP_HCP_TYPE
  be.ehealth.technicalconnector.config.UddiKeys.UDDI_IDSUPPORT_V1

- Deprecated Methods
  Method and Description
  be.ehealth.business.mycarenetdomaincommons.builders.util.GeneralCommonInputBuilder.addPackageInfo(PackageInfo) use addMcnPackageInfo instead
  be.ehealth.businessconnector.chapterIV.session.ChapterIVService.askChap4MedicalAdvisorAgreementResponse(FolderType, String, boolean, String, String, DateTime)
  be.ehealth.businessconnector.therlink.domain.Patient.Builder.build() use be.ehealth.business.common.domain.Patient instead build the patient object and checks for parameters integrity
  be.ehealth.businessconnector.chapterIV.builders.ConsultationBuilder.buildRequest(FolderType, boolean, String, String, DateTime) , use `ConsultationBuilder`.buildRequest(FolderType folder, boolean isTest, ChapterIVReferences references, DateTime agreementStartDate).
  be.ehealth.businessconnector.chapterIV.builders.AdmissionBuilder.buildRequest(FolderType, boolean, String, String, DateTime)
  be.ehealth.businessconnector.chapterIV.session.ChapterIVService.consultChap4MedicalAdvisorAgreement(FolderType, String, boolean, String, String, DateTime)
  be.ehealth.business.mycarenetdomaincommons.builders.CommonBuilder.createCommonInput(PackageInfo, boolean, String) PackageInfo parameter deprecated : use method with new McnPackageInfo type instead
  be.ehealth.business.mycarenetdomaincommons.builders.impl.AbstractCommonBuilderImpl.createCommonInput(PackageInfo, boolean, String) use the createCommonInput(McnPackageInfo packageInfo, boolean isTest, String inputReference) instead;
  be.ehealth.technicalconnector.session.ImplementationClassFactory.createImplementationClass(Class<T>, SessionValidator, EhealthReplyValidator, Crypto, Crypto, String...) use the other createImplementationClass method without crypto
  be.ehealth.business.kmehrcommons.HcPartyUtil.createKmehrIdPrefix()
  be.ehealth.business.kmehrcommons.mycarenet.McnHcPartyUtil.createKmehrIdPrefix()
  be.ehealth.businessconnector.ehbox.v3.builders.RequestBuilder.createMessageRequestType(String)
  be.ehealth.businessconnector.ehbox.v3.builders.RequestBuilder.createMessageRequestType(String, String)
  be.ehealth.businessconnector.ehbox.v3.builders.RequestBuilder.createMessageRequestType(String, String, BoxIdType)
  be.ehealth.business.mycarenetdomaincommons.builders.CommonBuilder.createOrigin(PackageInfo) PackageInfo parameter deprecated : use method with new McnPackageInfo type instead
  be.ehealth.business.mycarenetdomaincommons.builders.impl.AbstractCommonBuilderImpl.createOrigin(PackageInfo) use createOrigin(McnPackageInfo packageInfo) instead
  be.ehealth.businessconnector.therlink.builders.RequestObjectBuilder.createPutTherapeuticLinkRequest(Patient, HcParty, Date, String, String, Proof...)
  be.ehealth.businessconnector.therlink.builders.impl.AbstractRequestObjectBuilderImpl.createPutTherapeuticLinkRequest(Patient, HcParty, Date, String, String, Proof...)
  be.ehealth.businessconnector.chapterIV.builders.BuilderFactory.createResponseBuilder()
  be.ehealth.businessconnector.therlink.builders.RequestObjectBuilder.createRevokeTherapeuticLinkRequest(Patient, HcParty, Date, Date, String, String, Proof...)
  be.ehealth.businessconnector.therlink.builders.impl.AbstractRequestObjectBuilderImpl.createRevokeTherapeuticLinkRequest(Patient, HcParty, Date, Date, String, String, Proof...)
  be.ehealth.business.mycarenetdomaincommons.builders.CommonBuilder.createRouting(Patient, DateTime) Use `CommonBuilder.createRouting(Patient, LocalDateTime)` instead. Creates Routing object with given parameters. The routing info is used to determine the OA (insurance organisation) to send the info to. Can be ommitted in some cases ( if other means to determine OA are provided , ex Ws-Addressing header )
  be.ehealth.businessconnector.therlink.builders.CommonObjectBuilder.createTherapeuticLink(Patient, String, String, Date, Date, String, HcParty)
  be.ehealth.businessconnector.therlink.builders.impl.CommonObjectBuilderImpl.createTherapeuticLink(Patient, String, String, Date, Date, String, HcParty)
  be.ehealth.businessconnector.therlink.domain.HcParty.getApplicationID()
  be.ehealth.business.mycarenetdomaincommons.builders.RequestBuilderFactory.getBlobBuilder(String)
  be.ehealth.businessconnector.therlink.domain.HcParty.getCbe() ids should be stored and retrieved as Kmehr id types in the ids list ( get/setIds ).
  be.ehealth.businessconnector.therlink.domain.TherapeuticLinkRequestType.getDate()
  be.ehealth.businessconnector.therlink.domain.HcParty.getEHP() ids should be stored and retrieved as Kmehr id types in the ids list ( get/setIds ).
  be.ehealth.businessconnector.therlink.builders.RequestObjectBuilder.getEnduserHcpType()
  be.ehealth.businessconnector.therlink.builders.impl.AbstractRequestObjectBuilderImpl.getEnduserHcpType()
  be.ehealth.businessconnector.ehbox.api.domain.Message.getExpirationDate()
  be.ehealth.businessconnector.ehbox.v3.session.EhealthBoxServiceV3.getFullMessage(MessageRequestType)
  be.ehealth.businessconnector.ehbox.v3.session.impl.EhealthBoxServiceV3Impl.getFullMessage(MessageRequestType)
  be.ehealth.businessconnector.ehbox.v3.service.ConsultationService.getFullMessage(SAMLToken, MessageRequestType) use getFullMessage(SamlToken token , GetFullMessageRequest request) instead
  be.ehealth.businessconnector.ehbox.v3.service.impl.ConsultationServiceImpl.getFullMessage(SAMLToken, MessageRequestType)
  be.ehealth.businessconnector.therlink.domain.HcParty.getHubId() ids should be stored and retrieved as Kmehr id types in the ids list ( get/setIds ).
  be.ehealth.businessconnector.therlink.domain.HcParty.getInss() ids should be stored and retrieved as Kmehr id types in the ids list ( get/setIds ).
  be.ehealth.businessconnector.hub.service.ServiceFactory.getIntraHubPortWithFolderEncryption(SAMLToken, Crypto, String) Use the same function without crypto
  be.ehealth.businessconnector.ehbox.v3.session.EhealthBoxServiceV3.getMessageHistory(MessageRequestType)
  be.ehealth.businessconnector.ehbox.v3.service.ConsultationService.getMessageHistory(SAMLToken, MessageRequestType) use getFullMessage(SamlToken token , GetHistoryRequest request) instead
  be.ehealth.businessconnector.ehbox.v3.service.impl.ConsultationServiceImpl.getMessageHistory(SAMLToken, MessageRequestType)
  be.ehealth.businessconnector.therlink.domain.HcParty.getNihii() ids should be stored and retrieved as Kmehr id types in the ids list ( get/setIds ).
  be.ehealth.business.mycarenetdomaincommons.domain.Origin.getPackageInfo() PackageInfo parameter deprecated : use getMcnPackageInfo instead
  be.ehealth.technicalconnector.config.impl.ConfigurationImpl.getProperties() internal method, could be removed in the futur
  be.ehealth.businessconnector.ehbox.api.domain.Message.getPublicationDate()
  be.ehealth.businessconnector.therlink.domain.OperationContext.getRecordDate()
  be.ehealth.business.mycarenetcommons.builders.ResponseBuilderFactory.getResponseBuilder()
  be.ehealth.technicalconnector.session.SessionItemView.getSAMLToken()
  be.ehealth.technicalconnector.session.Session.getSAMLToken()
  be.ehealth.business.mycarenetcommons.domain.EncryptedRequestHolder.getSendAttestationRequest() Use `EncryptedRequestHolder.getRequest()` instead
  be.ehealth.businessconnector.genericasync.service.ServiceFactory.getService(SAMLToken, String)
  be.ehealth.technicalconnector.service.ServiceFactory.getStsService()
  be.ehealth.businessconnector.tarification.service.ServiceFactory.getTarificationService(SAMLToken) use !{link }
  be.ehealth.technicalconnector.service.sts.STSService.getToken(Credential, Credential, List<SAMLAttribute>, List<SAMLAttributeDesignator>, String, Duration)
  be.ehealth.technicalconnector.service.sts.STSService.getToken(Credential, Credential, List<SAMLAttribute>, List<SAMLAttributeDesignator>, String, int)
  be.ehealth.technicalconnector.service.sts.STSService.getToken(Credential, Credential, List<SAMLAttribute>, List<SAMLAttributeDesignator>, String, String, String, String, Duration)
  be.ehealth.technicalconnector.service.sts.STSService.getToken(Credential, Credential, List<SAMLAttribute>, List<SAMLAttributeDesignator>, String, String, String, String, int)
  be.ehealth.technicalconnector.service.sts.domain.SAMLAttribute.getValue()
  be.ehealth.businessconnector.chapterIV.utils.ChapterIVJaxbUtils.marshal(Object) use marshallerHelper.toString instead
  be.ehealth.technicalconnector.handler.AbstractWsSecurityHandler.WSSecHeaderGeneratorStep0.on(SOAPMessage)
  be.ehealth.businessconnector.chapterIV.utils.ChapterIVJaxbUtils.parseFolderType(InputStream) use marshallerHelper.toObject instead
  be.ehealth.businessconnector.chapterIV.utils.ChapterIVJaxbUtils.parseKmehrResponse(byte[]) use marshallerHelper.toObject instead
  be.ehealth.technicalconnector.session.SessionManager.registerSessionService(SessionServiceWithCache)
  be.ehealth.technicalconnector.service.sts.STSService.renewToken(Credential, Credential, Element, int)
  be.ehealth.businessconnector.therlink.domain.HcParty.setApplicationID(String)
  be.ehealth.businessconnector.therlink.domain.HcParty.setCbe(String) ids should be stored and retrieved as Kmehr id types in the ids list ( get/setIds ).
  be.ehealth.business.kmehrcommons.builders.HcPartyBuilder.setCdhcpartyCd(String) use cdHcPartyCd
  be.ehealth.business.kmehrcommons.builders.mycarenet.McnHcPartyBuilder.setCdhcpartyCd(String) use cdHcPartyCd
  be.ehealth.businessconnector.ehbox.api.domain.Document.setContent(Byte[]) : use setContent(byte[] content)
  be.ehealth.businessconnector.therlink.domain.HcParty.setEHP(String) ids should be stored and retrieved as Kmehr id types in the ids list ( get/setIds ).
  be.ehealth.businessconnector.ehbox.api.domain.Message.setExpirationDate(Date)
  be.ehealth.business.kmehrcommons.builders.HcPartyBuilder.setFirstName(String) use firstname
  be.ehealth.business.kmehrcommons.builders.mycarenet.McnHcPartyBuilder.setFirstName(String) use firstname
  be.ehealth.businessconnector.therlink.domain.HcParty.setHubId(String) ids should be stored and retrieved as Kmehr id types in the ids list ( get/setIds ).
  be.ehealth.business.kmehrcommons.builders.HcPartyBuilder.setIdhcpartyId(String) use idHcPartyId
  be.ehealth.business.kmehrcommons.builders.mycarenet.McnHcPartyBuilder.setIdhcpartyId(String) use idHcPartyId
  be.ehealth.businessconnector.therlink.domain.HcParty.setInss(String) ids should be stored and retrieved as Kmehr id types in the ids list ( get/setIds ).
  be.ehealth.business.kmehrcommons.builders.HcPartyBuilder.setInssId(String) use inssId
  be.ehealth.business.kmehrcommons.builders.mycarenet.McnHcPartyBuilder.setInssId(String) use inssId
  be.ehealth.business.kmehrcommons.builders.HcPartyBuilder.setLastName(String) use lastname
  be.ehealth.business.kmehrcommons.builders.mycarenet.McnHcPartyBuilder.setLastName(String) use lastname
  be.ehealth.business.kmehrcommons.builders.HcPartyBuilder.setLocalCd(String, String) replaced by localCd
  be.ehealth.business.kmehrcommons.builders.mycarenet.McnHcPartyBuilder.setLocalCd(String, String) replaced by localCd
  be.ehealth.business.kmehrcommons.builders.HcPartyBuilder.setLocalId(String, String) use localId
  be.ehealth.business.kmehrcommons.builders.mycarenet.McnHcPartyBuilder.setLocalId(String, String) use localId
  be.ehealth.business.kmehrcommons.builders.HcPartyBuilder.setName(String) use name
  be.ehealth.business.kmehrcommons.builders.mycarenet.McnHcPartyBuilder.setName(String) use name
  be.ehealth.businessconnector.therlink.domain.HcParty.setNihii(String) ids should be stored and retrieved as Kmehr id types in the ids list ( get/setIds ).
  be.ehealth.business.mycarenetdomaincommons.domain.Origin.setPackageInfo(PackageInfo) PackageInfo parameter deprecated : use setMcnPackageInfo instead
  be.ehealth.businessconnector.ehbox.api.domain.Message.setPublicationDate(Date)
  be.ehealth.businessconnector.therlink.domain.OperationContext.setRecordDate(Calendar)
  be.ehealth.technicalconnector.session.SessionItem.setSAMLToken(SAMLToken)
  be.ehealth.business.mycarenetcommons.builders.impl.ResponseBuilderImpl.validateXades(SendResponseType, Blob) : see interface , use the method without the second parameter instead
  be.ehealth.business.mycarenetcommons.builders.ResponseBuilder.validateXades(SendResponseType, Blob) use validateXades(responseType) instead , the blob will be extracted from the responseType
  be.ehealth.businessconnector.therlink.domain.Patient.Builder.withEid(String) use be.ehealth.business.common.domain.Patient instead
  be.ehealth.businessconnector.therlink.domain.Patient.Builder.withFamilyName(String) use be.ehealth.business.common.domain.Patient instead
  be.ehealth.businessconnector.therlink.domain.Patient.Builder.withFirstName(String) use be.ehealth.business.common.domain.Patient instead
  be.ehealth.businessconnector.therlink.domain.Patient.Builder.withInss(String) use be.ehealth.business.common.domain.Patient instead
  be.ehealth.businessconnector.therlink.domain.Patient.Builder.withName(String) use be.ehealth.business.common.domain.Patient instead
  be.ehealth.businessconnector.therlink.domain.OperationContext.Builder.withRecordDate(Calendar) use withRecordDateTime
  be.ehealth.businessconnector.therlink.domain.Patient.Builder.withSis(String) use be.ehealth.business.common.domain.Patient instead

- Deprecated Constructors
  Constructor and Description
  be.ehealth.businessconnector.ehbox.v3.builders.impl.AbstractConsultationBuilder(Crypto) same without parameters
  be.ehealth.businessconnector.therlink.domain.Patient.Builder()
  be.ehealth.businessconnector.chapterIV.builders.BuilderFactory(Crypto, Crypto, KmehrValidator, Chapter4XmlValidator) use it without the crypto parameters
  be.ehealth.businessconnector.chapterIV.domain.ChapterIVKmehrResponseWithTimeStampInfo(Kmehrresponse, TimeStampResponse, byte[], byte[])
  be.ehealth.businessconnector.chapterIV.session.impl.ChapterIVServiceImpl(SessionValidator, EhealthReplyValidator, Crypto, Crypto) same but without the crypto class
  be.ehealth.businessconnector.chapterIV.builders.impl.CommonBuilderImpl(Crypto, Chapter4XmlValidator, KmehrValidator, KmehrBuilder)
  be.ehealth.businessconnector.ehbox.v3.builders.impl.ConsultationFullMessageBuilder(Crypto) use the same without parameters.
  be.ehealth.businessconnector.ehbox.v3.builders.impl.ConsultationMessageBuilderImpl(Crypto) Do not user crypto
  be.ehealth.businessconnector.ehbox.v3.builders.impl.ConsultationReducedMessageBuilder(Crypto) Do not use crypto
  be.ehealth.businessconnector.genericasync.service.impl.GenAsyncServiceImpl(SessionValidator, String) use be.ehealth.businessconnector.genericasync.service.ServiceFactory.getGenAsyncService(servicename,sessionvalidator) instead.
  be.ehealth.businessconnector.therlink.domain.requests.GetTherapeuticLinkRequest(String, Date, Author, TherapeuticLink, int, Proof...)
  be.ehealth.businessconnector.therlink.domain.OperationContext(String, Calendar, Author, List<Proof>)
  be.ehealth.business.mycarenetdomaincommons.domain.Origin(PackageInfo, CareProvider) PackageInfo parameter deprecated : use constructor with new McnPackageInfo type instead
  be.ehealth.business.mycarenetdomaincommons.domain.Origin(PackageInfo, Party) PackageInfo parameter deprecated : use constructor with new McnPackageInfo type instead
  be.ehealth.business.mycarenetdomaincommons.domain.Origin(PackageInfo, String, CareProvider, Party) PackageInfo parameter deprecated : use constructor with new McnPackageInfo type instead
  be.ehealth.business.mycarenetdomaincommons.domain.Origin(PackageInfo, String, Party) PackageInfo parameter deprecated : use constructor with new McnPackageInfo type instead
  be.ehealth.businessconnector.therlink.domain.requests.PutTherapeuticLinkRequest(String, Date, Author)
  be.ehealth.businessconnector.therlink.domain.requests.PutTherapeuticLinkRequest(String, Date, Author, TherapeuticLink, Proof...)
  be.ehealth.businessconnector.chapterIV.builders.impl.ResponseBuilderImpl(Crypto, Chapter4XmlValidator) use ResponseBuilderImpl(Chapter4XmlValidator validator) instead , the HolderOfKeyCrypto is now retrieved directly from the session.
  be.ehealth.technicalconnector.handler.SAMLSenderVouchesHandler(Element, X509Certificate, PrivateKey)
  be.ehealth.businessconnector.ehbox.v3.builders.impl.SendMessageBuilderImpl(Crypto, KeyDepotManager)
  be.ehealth.businessconnector.therlink.domain.TherapeuticLinkRequestType(String, Date, Author, TherapeuticLink, Proof...)

- Deprecated Enum Constants
  Enum Constant and Description
  be.ehealth.technicalconnector.enumeration.MimeType.octectstream
  be.ehealth.technicalconnector.enumeration.MimeType.plaintext

Connector Packaging generic 4.9.5 API
Copyright © {inceptionYear}-2026 eHealth. All Rights Reserved.