public CareTeamCommand(PostDeletePatientRequest req,IContactEndpointUtil contactEndpointUtil, string contactId) { if (req == null) throw new ArgumentNullException("request"); if (string.IsNullOrEmpty(contactId)) throw new ArgumentNullException("conatctId"); if (contactEndpointUtil == null) throw new ArgumentNullException("contactEndpointUtil"); _request = req; _contactId = contactId; _contactEndpointUtil = contactEndpointUtil; }
public CohortRulesProcessor(ICareMemberCohortRuleFactory cf, IContactEndpointUtil ceu, ICohortRuleUtil cohortRuleUtil, ILogger logger) { QueueProcessorRunning = false; _cohortRuleUtil = cohortRuleUtil; _cohortRuleCheckDataTeamQueue = new ConcurrentQueue <CohortRuleCheckData>(); _logger = logger; CareMemberCohortRuleFactory = cf; EndpointUtil = ceu; _queuEvent = new AutoResetEvent(false); _exitEvent = new ManualResetEvent(false); wHandles = new WaitHandle[] { _queuEvent, _exitEvent }; queueLock = new object(); }
public UnAssignedPCMRule(IContactEndpointUtil contactEndpointUtil, ILogger logger, ICohortRuleUtil cohortRuleUtil) { if (contactEndpointUtil == null) { throw new ArgumentNullException("contactEndpointUtil"); } if (logger == null) { throw new ArgumentNullException("logger"); } if (cohortRuleUtil == null) { throw new ArgumentNullException("cohortRuleUtil"); } _contactEndpointUtil = contactEndpointUtil; _logger = logger; _cohortRuleUtil = cohortRuleUtil; }
public DereferencePatientInContactCommand(string contactId, PostDeletePatientRequest request, IContactEndpointUtil contactEndpointUtil) { if (contactId == null) { throw new ArgumentNullException("contactId"); } if (request == null) { throw new ArgumentNullException("request"); } if (contactEndpointUtil == null) { throw new ArgumentNullException("contactEndpointUtil"); } _contactId = contactId; _request = request; _contactEndpointUtil = contactEndpointUtil; }
public EngageCareMemberCohortRuleFactory(IContactEndpointUtil contactEndpointUtil, ILogger logger, ICohortRuleUtil cohortRuleUtil) { _contactEndpointUtil = contactEndpointUtil; _logger = logger; _cohortRuleUtil = cohortRuleUtil; }