package be.ehealth.businessconnector.test.mycarenet.memberdatav2.session.builders.impl.regional;

import be.ehealth.business.mycarenetdomaincommons.domain.InputReference;
import be.ehealth.businessconnector.mycarenet.memberdatav2.builders.regional.IrisCareNetRequestObjectBuilderFactory;
import be.ehealth.businessconnector.mycarenet.memberdatacommons.exception.MemberDataBusinessConnectorException;
import be.ehealth.businessconnector.test.mycarenet.memberdatav2.session.builders.BuilderStrategy;
import be.ehealth.technicalconnector.exception.TechnicalConnectorException;
import be.fgov.ehealth.mycarenet.memberdata.protocol.v1.MemberDataConsultationRequest;

public class IrisCareNetEncryptedBuilderStrategy implements BuilderStrategy {

    @Override
    public MemberDataConsultationRequest build(boolean isTest, InputReference inputReference, Object attributeQuery) throws MemberDataBusinessConnectorException, TechnicalConnectorException {
        return IrisCareNetRequestObjectBuilderFactory.getEncryptedRequestObjectBuilder().buildConsultationRequest(true, inputReference, attributeQuery);
    }

}
