# Deprecated API

## Contents

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

- Deprecated Interfaces
  Interface
  Description
  be.ehealth.businessconnector.chapterIV.builders.QualityBuilder
  not used anymore
  be.ehealth.technicalconnector.service.sts.SAMLResponse

- Deprecated Classes
  Class
  Description
  be.ehealth.businessconnector.chapterIV.builders.impl.KmehrBuilderPersPhysician
  use the genericKmehrBuilder and configure it.
  be.ehealth.businessconnector.chapterIV.builders.impl.QualityBuilderPersPhysician
  not used anymore
  be.ehealth.businessconnector.chapterIV.builders.QualityBuilderFactory
  not used anymore
  be.ehealth.businessconnector.chapterIV.utils.ChapterIVJaxbUtils
  will be removed in version 3.3 , use MarshallerHelperinvalid input: '<'X, X> folderTypeMarshaller = new MarshallerHelperinvalid input: '<'X, X>(X.class,X.class) instead
  be.ehealth.businessconnector.dmg.mappers.RequestObjectMapper
  use `BlobMapper` instead.
  be.ehealth.businessconnector.ehbox.v3.database.ByteArrayDatasource
  use be.ehealth.technicalconnector.utils.ByteArrayDatasource instead.
  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.businessconnector.wsconsent.builders.impl.HcPartyInfoBuilderImpl
  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.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.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.chapterIV.builders.AdmissionBuilder.buildRequest(FolderType, boolean, String, String, Instant)
  be.ehealth.businessconnector.chapterIV.builders.BuilderFactory.createResponseBuilder()
  be.ehealth.businessconnector.chapterIV.builders.ConsultationBuilder.buildRequest(FolderType, boolean, String, String, Instant)
  , use `ConsultationBuilder`.buildRequest(FolderType folder, boolean isTest, ChapterIVReferences references, Instant agreementStartDate).
  be.ehealth.businessconnector.chapterIV.session.ChapterIVService.askChap4MedicalAdvisorAgreementResponse(FolderType, String, boolean, String, String, Instant)
  be.ehealth.businessconnector.chapterIV.session.ChapterIVService.consultChap4MedicalAdvisorAgreement(FolderType, String, boolean, String, String, Instant)
  be.ehealth.businessconnector.chapterIV.utils.ChapterIVJaxbUtils.marshal(Object)
  use marshallerHelper.toString instead
  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.businessconnector.ehbox.api.domain.Document.setContent(Byte[])
  : use setContent(byte[] content)
  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.businessconnector.ehbox.v3.service.ConsultationService.getFullMessage(SAMLToken, MessageRequestType)
  use getFullMessage(SamlToken token , GetFullMessageRequest request) instead
  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.getFullMessage(SAMLToken, MessageRequestType)
  be.ehealth.businessconnector.ehbox.v3.service.impl.ConsultationServiceImpl.getMessageHistory(SAMLToken, MessageRequestType)
  be.ehealth.businessconnector.ehbox.v3.session.EhealthBoxServiceV3.getFullMessage(MessageRequestType)
  be.ehealth.businessconnector.ehbox.v3.session.EhealthBoxServiceV3.getMessageHistory(MessageRequestType)
  be.ehealth.businessconnector.ehbox.v3.session.impl.EhealthBoxServiceV3Impl.getFullMessage(MessageRequestType)
  be.ehealth.businessconnector.genericasync.service.ServiceFactory.getService(SAMLToken, String)
  be.ehealth.businessconnector.hub.service.ServiceFactory.getIntraHubPortWithFolderEncryption(SAMLToken, Crypto, String)
  Use the same function without crypto
  be.ehealth.businessconnector.tarification.service.ServiceFactory.getTarificationService(SAMLToken)
  use !{link }
  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.chapterIV.builders.BuilderFactory(Crypto, Crypto, KmehrValidator, Chapter4XmlValidator)
  use it without the crypto parameters
  be.ehealth.businessconnector.chapterIV.builders.impl.CommonBuilderImpl(Crypto, Chapter4XmlValidator, KmehrValidator, KmehrBuilder)
  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.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.ehbox.v3.builders.impl.AbstractConsultationBuilder(Crypto)
  same without parameters
  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.ehbox.v3.builders.impl.SendMessageBuilderImpl(Crypto, KeyDepotManager)
  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