/*
 * Copyright (c) eHealth
 */
package be.ehealth.businessconnector.hubv3.helpers;

import be.ehealth.technicalconnector.config.ConfigFactory;
import be.ehealth.technicalconnector.exception.TechnicalConnectorException;

import static be.ehealth.businessconnector.hubv3.service.ServiceFactory.PROP_ENDPOINT_INTRAHUB;
import static be.ehealth.businessconnector.hubv3.service.ServiceFactory.PROP_HUBAPPID;
import static be.ehealth.businessconnector.hubv3.service.ServiceFactory.PROP_HUBID;

/**
 * @author EHP
 *
 */
public class HubConfigRsw {

    /*
     * Patient Informations
     */
    public static final String PATIENT_NISS = "74123045193";
    
    public static final String PATIENT_FIRSTNAME = "Olivier";

    public static final String PATIENT_LASTNAME = "Chapuis";


    public static void initConfig() throws TechnicalConnectorException {
        ConfigFactory.getConfigValidator().getConfig().setProperty(PROP_ENDPOINT_INTRAHUB, "https://acchub.reseausantewallon.be/HubServices/IntraHub/V3/IntraHub.asmx");
        ConfigFactory.getConfigValidator().getConfig().setProperty(PROP_HUBID, "1990000035");
        ConfigFactory.getConfigValidator().getConfig().setProperty(PROP_HUBAPPID, null);
    }
}
