public PatientDiscovery(
     IMatchingRepository matchingRepository,
     IDiscoveryRequestRepository discoveryRequestRepository,
     ILinkPatientRepository linkPatientRepository,
     IPatientRepository patientRepository,
     ICareContextRepository careContextRepository,
     ILogger <PatientDiscovery> logger)
 {
     this.matchingRepository         = matchingRepository;
     this.discoveryRequestRepository = discoveryRequestRepository;
     this.linkPatientRepository      = linkPatientRepository;
     this.patientRepository          = patientRepository;
     this.careContextRepository      = careContextRepository;
     this.logger = logger;
 }
Exemple #2
0
 public OpenMrsPatientRepository(IPatientDal patientDal, ICareContextRepository careContextRepository, IPhoneNumberRepository phoneNumberRepository)
 {
     _patientDal            = patientDal;
     _careContextRepository = careContextRepository;
     _phoneNumberRepository = phoneNumberRepository;
 }