# Deprecated API

## Contents

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

- Deprecated Interfaces
  Interface and Description
  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.technicalconnector.config.impl.ConfigurationModuleSSLVerifier
  be.ehealth.technicalconnector.service.etee.impl.ConnectorMockRevocationStatusChecker do not use this in production
  be.ehealth.businessconnector.therlink.builders.impl.GPRequestObjectBuilderImpl
  be.ehealth.businessconnector.therlink.domain.HcParty
  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

- 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.therlink.domain.Patient.Builder.build() use be.ehealth.business.common.domain.Patient instead build the patient object and checks for parameters integrity
  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.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.technicalconnector.utils.SessionUtil.getMatchingAttributes(String)
  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.business.mycarenetcommons.domain.EncryptedRequestHolder.getSendAttestationRequest() Use `EncryptedRequestHolder.getRequest()` instead
  be.ehealth.businessconnector.genericasync.service.ServiceFactory.getService(SAMLToken, String)
  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, int)
  be.ehealth.technicalconnector.service.sts.domain.SAMLAttribute.getValue()
  be.ehealth.technicalconnector.handler.AbstractWsSecurityHandler.WSSecHeaderGeneratorStep0.on(SOAPMessage)
  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.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.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.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 PERSDIETICIAN 4.8.4 API
Copyright © {inceptionYear}-2025 eHealth. All Rights Reserved.