public EncounterService(IClientRepository clientRepository, IPracticeRepository practiceRepository, IEncounterRepository encounterRepository, IObsRepository obsRepository, IObsFinalTestResultRepository obsFinalTestResultRepository, IObsLinkageRepository obsLinkageRepository, IObsTestResultRepository obsTestResultRepository, IObsTraceResultRepository obsTraceResultRepository, IObsMemberScreeningRepository obsMemberScreeningRepository, IObsFamilyTraceResultRepository obsFamilyTraceResultRepository, IObsPartnerScreeningRepository obsPartnerScreeningRepository, IObsPartnerTraceResultRepository obsPartnerTraceResultRepository, IInvalidMessageRepository invalidMessageRepository) { _clientRepository = clientRepository; _practiceRepository = practiceRepository; _encounterRepository = encounterRepository; _obsRepository = obsRepository; _obsFinalTestResultRepository = obsFinalTestResultRepository; _obsLinkageRepository = obsLinkageRepository; _obsTestResultRepository = obsTestResultRepository; _obsTraceResultRepository = obsTraceResultRepository; _obsMemberScreeningRepository = obsMemberScreeningRepository; _obsFamilyTraceResultRepository = obsFamilyTraceResultRepository; _obsPartnerScreeningRepository = obsPartnerScreeningRepository; _obsPartnerTraceResultRepository = obsPartnerTraceResultRepository; _invalidMessageRepository = invalidMessageRepository; }
public void SetUp() { _clientRepository = new ClientRepository(_liveSetting); _clientIdentifierRepository = new ClientIdentifierRepository(_liveSetting); _personRepository = new PersonRepository(_liveSetting); _clientRelationshipRepository = new ClientRelationshipRepository(_liveSetting); _encounterRepository = new EncounterRepository(_liveSetting); _clientStateRepository = new ClientStateRepository(_liveSetting); _partnerTracingRepository = new ObsPartnerTraceResultRepository(_liveSetting); _pSmartStoreRepository = new PSmartStoreRepository(_liveSetting); _registryService = new RegistryService(_clientRepository, _clientIdentifierRepository, _personRepository, _clientRelationshipRepository, _encounterRepository, _clientStateRepository, _pSmartStoreRepository); _partnerTracingService = new PartnerTracingService(_encounterRepository, _partnerTracingRepository, _clientStateRepository); }
public PartnerTracingService(IEncounterRepository encounterRepository, IObsPartnerTraceResultRepository obsTraceResultRepository, IClientStateRepository clientStateRepository) { _encounterRepository = encounterRepository; _obsTraceResultRepository = obsTraceResultRepository; _clientStateRepository = clientStateRepository; }