# Deprecated API

## Contents

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

- Deprecated Interfaces
  Interface
  Description
  be.ehealth.technicalconnector.service.sts.SAMLResponse

- Deprecated Classes
  Class
  Description
  be.ehealth.businessconnector.therlink.builders.impl.GPRequestObjectBuilderImpl
  be.ehealth.businessconnector.therlink.domain.HcParty
  be.ehealth.businessconnector.therlink.domain.Patient
  use be.ehealth.business.common.domain.Patient instead
  be.ehealth.businessconnector.therlink.domain.Patient.Builder
  be.ehealth.technicalconnector.config.impl.ConfigurationModuleSSLVerifier
  be.ehealth.technicalconnector.config.util.domain.PackageInfo
  be.ehealth.technicalconnector.service.etee.impl.ConnectorMockRevocationStatusChecker
  do not use this in production

- Deprecated Fields
  Field
  Description
  be.ehealth.businessconnector.therlink.builders.RequestObjectBuilder.PROP_HCP_TYPE
  be.ehealth.technicalconnector.config.UddiKeys.UDDI_IDSUPPORT_V1
  be.ehealth.technicalconnector.utils.IdentifierType.HUB
  replaced by `IdentifierType`.EHP
  be.ehealth.technicalconnector.validator.TimeStampValidator.ALIASLIST

- Deprecated Methods
  Method
  Description
  be.ehealth.business.kmehrcommons.builders.HcPartyBuilder.setCdhcpartyCd(String)
  use cdHcPartyCd
  be.ehealth.business.kmehrcommons.builders.HcPartyBuilder.setFirstName(String)
  use firstname
  be.ehealth.business.kmehrcommons.builders.HcPartyBuilder.setIdhcpartyId(String)
  use idHcPartyId
  be.ehealth.business.kmehrcommons.builders.HcPartyBuilder.setInssId(String)
  use inssId
  be.ehealth.business.kmehrcommons.builders.HcPartyBuilder.setLastName(String)
  use lastname
  be.ehealth.business.kmehrcommons.builders.HcPartyBuilder.setLocalCd(String, String)
  replaced by localCd
  be.ehealth.business.kmehrcommons.builders.HcPartyBuilder.setLocalId(String, String)
  use localId
  be.ehealth.business.kmehrcommons.builders.HcPartyBuilder.setName(String)
  use name
  be.ehealth.business.kmehrcommons.builders.mycarenet.McnHcPartyBuilder.setCdhcpartyCd(String)
  use cdHcPartyCd
  be.ehealth.business.kmehrcommons.builders.mycarenet.McnHcPartyBuilder.setFirstName(String)
  use firstname
  be.ehealth.business.kmehrcommons.builders.mycarenet.McnHcPartyBuilder.setIdhcpartyId(String)
  use idHcPartyId
  be.ehealth.business.kmehrcommons.builders.mycarenet.McnHcPartyBuilder.setInssId(String)
  use inssId
  be.ehealth.business.kmehrcommons.builders.mycarenet.McnHcPartyBuilder.setLastName(String)
  use lastname
  be.ehealth.business.kmehrcommons.builders.mycarenet.McnHcPartyBuilder.setLocalCd(String, String)
  replaced by localCd
  be.ehealth.business.kmehrcommons.builders.mycarenet.McnHcPartyBuilder.setLocalId(String, String)
  use localId
  be.ehealth.business.kmehrcommons.builders.mycarenet.McnHcPartyBuilder.setName(String)
  use name
  be.ehealth.business.kmehrcommons.HcPartyUtil.createKmehrIdPrefix()
  be.ehealth.business.kmehrcommons.mycarenet.McnHcPartyUtil.createKmehrIdPrefix()
  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.business.mycarenetcommons.builders.ResponseBuilderFactory.getResponseBuilder()
  be.ehealth.business.mycarenetcommons.domain.EncryptedRequestHolder.getSendAttestationRequest()
  Use `EncryptedRequestHolder.getRequest()` instead
  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.CommonBuilder.createOrigin(PackageInfo)
  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.business.mycarenetdomaincommons.builders.impl.AbstractCommonBuilderImpl.createOrigin(PackageInfo)
  use createOrigin(McnPackageInfo packageInfo) instead
  be.ehealth.business.mycarenetdomaincommons.builders.RequestBuilderFactory.getBlobBuilder(String)
  be.ehealth.business.mycarenetdomaincommons.builders.util.GeneralCommonInputBuilder.addPackageInfo(PackageInfo)
  use addMcnPackageInfo instead
  be.ehealth.business.mycarenetdomaincommons.domain.Origin.getPackageInfo()
  PackageInfo parameter deprecated : use getMcnPackageInfo instead
  be.ehealth.business.mycarenetdomaincommons.domain.Origin.setPackageInfo(PackageInfo)
  PackageInfo parameter deprecated : use setMcnPackageInfo instead
  be.ehealth.businessconnector.genericasync.service.ServiceFactory.getService(SAMLToken, String)
  be.ehealth.businessconnector.therlink.builders.CommonObjectBuilder.createTherapeuticLink(Patient, String, String, Instant, Instant, String, HcParty)
  be.ehealth.businessconnector.therlink.builders.impl.AbstractRequestObjectBuilderImpl.getEnduserHcpType()
  be.ehealth.businessconnector.therlink.builders.impl.CommonObjectBuilderImpl.createTherapeuticLink(Patient, String, String, Instant, Instant, String, HcParty)
  be.ehealth.businessconnector.therlink.builders.RequestObjectBuilder.getEnduserHcpType()
  be.ehealth.businessconnector.therlink.domain.HcParty.getApplicationID()
  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.HcParty.getEHP()
  ids should be stored and retrieved as Kmehr id types in the ids list ( get/setIds ).
  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.therlink.domain.HcParty.getNihii()
  ids should be stored and retrieved as Kmehr id types in the ids list ( get/setIds ).
  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.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.therlink.domain.HcParty.setHubId(String)
  ids should be stored and retrieved as Kmehr id types in the ids list ( get/setIds ).
  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.businessconnector.therlink.domain.HcParty.setNihii(String)
  ids should be stored and retrieved as Kmehr id types in the ids list ( get/setIds ).
  be.ehealth.businessconnector.therlink.domain.OperationContext.Builder.withRecordDate(Instant)
  use withRecordDateTime
  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.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.Patient.Builder.withSis(String)
  use be.ehealth.business.common.domain.Patient instead
  be.ehealth.technicalconnector.config.impl.ConfigurationImpl.getProperties()
  internal method, could be removed in the futur
  be.ehealth.technicalconnector.handler.AbstractWsSecurityHandler.WSSecHeaderGeneratorStep0.on(SOAPMessage)
  be.ehealth.technicalconnector.service.sts.domain.SAMLAttribute.getValue()
  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.STSService.renewToken(Credential, Credential, Element, int)
  be.ehealth.technicalconnector.session.ImplementationClassFactory.createImplementationClass(Class<T>, SessionValidator, EhealthReplyValidator, Crypto, Crypto, String...)
  use the other createImplementationClass method without crypto
  be.ehealth.technicalconnector.utils.SessionUtil.getMatchingAttributes(String)

- Deprecated Constructors
  Constructor
  Description
  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.genericasync.service.impl.GenAsyncServiceImpl(SessionValidator, String)
  use be.ehealth.businessconnector.genericasync.service.ServiceFactory.getGenAsyncService(servicename,sessionvalidator) instead.
  be.ehealth.businessconnector.therlink.domain.Patient.Builder()
  be.ehealth.technicalconnector.handler.SAMLSenderVouchesHandler(Element, X509Certificate, PrivateKey)

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