public PartnerScreeningService(IEncounterRepository encounterRepository, IObsPartnerScreeningRepository obsPartnerScreeningRepository, ICategoryRepository categoryRepository, IClientStateRepository clientStateRepository)
 {
     _encounterRepository           = encounterRepository;
     _obsPartnerScreeningRepository = obsPartnerScreeningRepository;
     _categoryRepository            = categoryRepository;
     _clientStateRepository         = clientStateRepository;
 }
Esempio n. 2
0
 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;
 }
Esempio n. 3
0
        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);
            _partnerScreeningRepository   = new ObsPartnerScreeningRepository(_liveSetting);
            _pSmartStoreRepository        = new PSmartStoreRepository(_liveSetting);
            _registryService = new RegistryService(_clientRepository, _clientIdentifierRepository, _personRepository,
                                                   _clientRelationshipRepository, _encounterRepository, _clientStateRepository, _pSmartStoreRepository);

            _partnerScreeningService = new PartnerScreeningService(_encounterRepository, _partnerScreeningRepository,
                                                                   _categoryRepository, _clientStateRepository);
        }