/// <summary> /// Initializes a new instance of the <see cref="GainShortScreenerFactory"/> class. /// </summary> /// <param name="gainShortScreenerRepository">The gain short screener repository.</param> /// <param name="lookupValueRepository">The lookup value repository.</param> public GainShortScreenerFactory( IGainShortScreenerRepository gainShortScreenerRepository, ILookupValueRepository lookupValueRepository ) { _gainShortScreenerRepository = gainShortScreenerRepository; _lookupValueRepository = lookupValueRepository; }
/// <summary> /// Initializes a new instance of the <see cref="AuditCFactory"/> class. /// </summary> /// <param name="auditCRepository">The audit C repository.</param> /// <param name="lookupValueRepository">The lookup value repository.</param> public AuditCFactory( IAuditCRepository auditCRepository, ILookupValueRepository lookupValueRepository) { _auditCRepository = auditCRepository; _lookupValueRepository = lookupValueRepository; }
/// <summary> /// Initializes a new instance of the <see cref="IndividualCounselingFactory"/> class. /// </summary> /// <param name="individualCounselingRepository">The individual counseling repository.</param> /// <param name="lookupValueRepository">The lookup value repository.</param> public IndividualCounselingFactory( IIndividualCounselingRepository individualCounselingRepository, ILookupValueRepository lookupValueRepository) { _individualCounselingRepository = individualCounselingRepository; _lookupValueRepository = lookupValueRepository; }
/// <summary> /// Initializes a new instance of the <see cref="LabSpecimenFactory"/> class. /// </summary> /// <param name="labSpecimenRepository">The lab specimen repository.</param> /// <param name="lookupValueRepository">The lookup value repository.</param> public LabSpecimenFactory( ILabSpecimenRepository labSpecimenRepository, ILookupValueRepository lookupValueRepository) { _labSpecimenRepository = labSpecimenRepository; _lookupValueRepository = lookupValueRepository; }
/// <summary> /// Initializes a new instance of the <see cref="NidaDrugQuestionnaireFactory"/> class. /// </summary> /// <param name="nidaDrugQuestionnaireRepository">The nida drug questionnaire repository.</param> /// <param name="lookupValueRepository">The lookup value repository.</param> public NidaDrugQuestionnaireFactory( INidaDrugQuestionnaireRepository nidaDrugQuestionnaireRepository, ILookupValueRepository lookupValueRepository) { _nidaDrugQuestionnaireRepository = nidaDrugQuestionnaireRepository; _lookupValueRepository = lookupValueRepository; }
/// <summary> /// Initializes a new instance of the <see cref="ServiceSynchronizationService"/> class. /// </summary> /// <param name="medicalProcedureTranslator">The medical procedure translator.</param> /// <param name="serviceRepository">The service repository.</param> /// <param name="serviceFactory">The service factory.</param> /// <param name="lookupValueRepository">The lookup value repository.</param> public ServiceSynchronizationService(IMedicalProcedureTranslator medicalProcedureTranslator, IServiceRepository serviceRepository, IServiceFactory serviceFactory, ILookupValueRepository lookupValueRepository) { _medicalProcedureTranslator = medicalProcedureTranslator; _serviceRepository = serviceRepository; _serviceFactory = serviceFactory; _lookupValueRepository = lookupValueRepository; }
/// <summary> /// Initializes a new instance of the <see cref="SocialHistoryFactory"/> class. /// </summary> /// <param name="socialHistoryRepository">The social history repository.</param> /// <param name="lookupValueRepository">The lookup value repository.</param> public SocialHistoryFactory( ISocialHistoryRepository socialHistoryRepository, ILookupValueRepository lookupValueRepository ) { _socialHistoryRepository = socialHistoryRepository; _lookupValueRepository = lookupValueRepository; }
/// <summary> /// Initializes a new instance of the <see cref="RadiologyOrderFactory"/> class. /// </summary> /// <param name="radiologyOrderRepository">The radiology order repository.</param> /// <param name="lookupValueRepository">The lookup value repository.</param> public RadiologyOrderFactory( IRadiologyOrderRepository radiologyOrderRepository, ILookupValueRepository lookupValueRepository) { _radiologyOrderRepository = radiologyOrderRepository; _lookupValueRepository = lookupValueRepository; }
/// <summary> /// Initializes a new instance of the <see cref="SocialHistoryFactory"/> class. /// </summary> /// <param name="socialHistoryRepository">The social history repository.</param> /// <param name="lookupValueRepository">The lookup value repository.</param> public SocialHistoryFactory( ISocialHistoryRepository socialHistoryRepository, ILookupValueRepository lookupValueRepository) { _socialHistoryRepository = socialHistoryRepository; _lookupValueRepository = lookupValueRepository; }
/// <summary> /// Initializes a new instance of the <see cref="BriefInterventionFactory"/> class. /// </summary> /// <param name="briefInterventionRepository">The brief intervention repository.</param> /// <param name="lookupValueRepository">The lookup value repository.</param> public BriefInterventionFactory( IBriefInterventionRepository briefInterventionRepository, ILookupValueRepository lookupValueRepository) { _briefInterventionRepository = briefInterventionRepository; _lookupValueRepository = lookupValueRepository; }
/// <summary> /// Initializes a new instance of the <see cref="VitalSignFactory"/> class. /// </summary> /// <param name="vitalSignRepository">The vital sign repository.</param> /// <param name="lookupValueRepository">The lookup value repository.</param> public VitalSignFactory( IVitalSignRepository vitalSignRepository, ILookupValueRepository lookupValueRepository ) { _vitalSignRepository = vitalSignRepository; _lookupValueRepository = lookupValueRepository; }
/// <summary> /// Initializes a new instance of the <see cref="AuditFactory"/> class. /// </summary> /// <param name="auditRepository">The audit repository.</param> /// <param name="lookupValueRepository">The lookup value repository.</param> public AuditFactory( IAuditRepository auditRepository, ILookupValueRepository lookupValueRepository ) { _auditRepository = auditRepository; _lookupValueRepository = lookupValueRepository; }
/// <summary> /// Initializes a new instance of the <see cref="GainShortScreenerFactory"/> class. /// </summary> /// <param name="gainShortScreenerRepository">The gain short screener repository.</param> /// <param name="lookupValueRepository">The lookup value repository.</param> public GainShortScreenerFactory( IGainShortScreenerRepository gainShortScreenerRepository, ILookupValueRepository lookupValueRepository) { _gainShortScreenerRepository = gainShortScreenerRepository; _lookupValueRepository = lookupValueRepository; }
/// <summary> /// Initializes a new instance of the <see cref="Dast10Factory"/> class. /// </summary> /// <param name="dast10Repository">The dast10 repository.</param> /// <param name="lookupValueRepository">The lookup value repository.</param> public Dast10Factory( IDast10Repository dast10Repository, ILookupValueRepository lookupValueRepository) { _dast10Repository = dast10Repository; _lookupValueRepository = lookupValueRepository; }
/// <summary> /// Initializes a new instance of the <see cref="IndividualCounselingFactory"/> class. /// </summary> /// <param name="individualCounselingRepository">The individual counseling repository.</param> /// <param name="lookupValueRepository">The lookup value repository.</param> public IndividualCounselingFactory( IIndividualCounselingRepository individualCounselingRepository, ILookupValueRepository lookupValueRepository ) { _individualCounselingRepository = individualCounselingRepository; _lookupValueRepository = lookupValueRepository; }
/// <summary> /// Initializes a new instance of the <see cref="NidaDrugQuestionnaireFactory"/> class. /// </summary> /// <param name="nidaDrugQuestionnaireRepository">The nida drug questionnaire repository.</param> /// <param name="lookupValueRepository">The lookup value repository.</param> public NidaDrugQuestionnaireFactory( INidaDrugQuestionnaireRepository nidaDrugQuestionnaireRepository, ILookupValueRepository lookupValueRepository ) { _nidaDrugQuestionnaireRepository = nidaDrugQuestionnaireRepository; _lookupValueRepository = lookupValueRepository; }
/// <summary> /// Initializes a new instance of the <see cref="ImmunizationFactory"/> class. /// </summary> /// <param name="immunizationRepository">The immunization repository.</param> /// <param name="lookupValueRepository">The lookup value repository.</param> public ImmunizationFactory( IImmunizationRepository immunizationRepository, ILookupValueRepository lookupValueRepository) { _immunizationRepository = immunizationRepository; _lookupValueRepository = lookupValueRepository; }
/// <summary> /// Initializes a new instance of the <see cref="RadiologyOrderFactory"/> class. /// </summary> /// <param name="radiologyOrderRepository">The radiology order repository.</param> /// <param name="lookupValueRepository">The lookup value repository.</param> public RadiologyOrderFactory( IRadiologyOrderRepository radiologyOrderRepository, ILookupValueRepository lookupValueRepository ) { _radiologyOrderRepository = radiologyOrderRepository; _lookupValueRepository = lookupValueRepository; }
/// <summary> /// Initializes a new instance of the <see cref="Dast10Factory"/> class. /// </summary> /// <param name="dast10Repository">The dast10 repository.</param> /// <param name="lookupValueRepository">The lookup value repository.</param> public Dast10Factory( IDast10Repository dast10Repository, ILookupValueRepository lookupValueRepository ) { _dast10Repository = dast10Repository; _lookupValueRepository = lookupValueRepository; }
/// <summary> /// Initializes a new instance of the <see cref="VitalSignFactory"/> class. /// </summary> /// <param name="vitalSignRepository">The vital sign repository.</param> /// <param name="lookupValueRepository">The lookup value repository.</param> public VitalSignFactory( IVitalSignRepository vitalSignRepository, ILookupValueRepository lookupValueRepository) { _vitalSignRepository = vitalSignRepository; _lookupValueRepository = lookupValueRepository; }
/// <summary> /// Initializes a new instance of the <see cref="ImmunizationFactory"/> class. /// </summary> /// <param name="immunizationRepository">The immunization repository.</param> /// <param name="lookupValueRepository">The lookup value repository.</param> public ImmunizationFactory( IImmunizationRepository immunizationRepository, ILookupValueRepository lookupValueRepository ) { _immunizationRepository = immunizationRepository; _lookupValueRepository = lookupValueRepository; }
/// <summary> /// Initializes a new instance of the <see cref="TedsDischargeInterviewFactory"/> class. /// </summary> /// <param name="tedsDischargeInterviewRepository">The teds discharge interview repository.</param> /// <param name="tedsAdmissionInterviewRepository">The teds admission interview repository.</param> /// <param name="lookupValueRepository">The lookup value repository.</param> public TedsDischargeInterviewFactory( ITedsDischargeInterviewRepository tedsDischargeInterviewRepository, ITedsAdmissionInterviewRepository tedsAdmissionInterviewRepository, ILookupValueRepository lookupValueRepository) { _tedsDischargeInterviewRepository = tedsDischargeInterviewRepository; _tedsAdmissionInterviewRepository = tedsAdmissionInterviewRepository; _lookupValueRepository = lookupValueRepository; }
/// <summary> /// Initializes a new instance of the <see cref="EncounterSynchronizationService"/> class. /// </summary> /// <param name="encounterRepository">The encounter repository.</param> /// <param name="encounterFactory">The encounter factory.</param> /// <param name="lookupValueRepository">The lookup value repository.</param> public EncounterSynchronizationService( IEncounterRepository encounterRepository, IEncounterFactory encounterFactory, ILookupValueRepository lookupValueRepository) { _encounterRepository = encounterRepository; _encounterFactory = encounterFactory; _lookupValueRepository = lookupValueRepository; }
/// <summary> /// LookupValuesController constructor /// </summary> /// <param name="repository"></param> /// <param name="membershipManager"></param> /// <param name="userManager"></param> /// <param name="httpContextAccessor"></param> public LookupValuesController( ILookupValueRepository repository, IMembershipManager membershipManager, ApplicationIdentityUserManager userManager, IOrganizationManager organizationManager, IConfiguration configuration, IHttpContextAccessor httpContextAccessor) : base(repository, userManager, httpContextAccessor, membershipManager, configuration) { }
/// <summary> /// Initializes a new instance of the <see cref="LogPatientEventAccessRequestHandler"/> class. /// </summary> /// <param name="patientRepository">The patient repository.</param> /// <param name="lookupValueRepository">The lookup value repository.</param> /// <param name="patientAccessEventFactory">The patient access event factory.</param> /// <param name="auditPatientReadAccessService">The audit patient read access service.</param> public LogPatientEventAccessRequestHandler( IPatientRepository patientRepository, ILookupValueRepository lookupValueRepository, IPatientAccessEventFactory patientAccessEventFactory, IAuditPatientReadAccessService auditPatientReadAccessService) { _patientRepository = patientRepository; _lookupValueRepository = lookupValueRepository; _patientAccessEventFactory = patientAccessEventFactory; _auditPatientReadAccessService = auditPatientReadAccessService; }
/// <summary> /// Initializes a new instance of the <see cref="DisenrollProgramEnrollmentRequestHandler"/> class. /// </summary> /// <param name="programEnrollmentRepository">The program enrollment repository.</param> /// <param name="keyedDtoFactory">The keyed dto factory.</param> /// <param name="lookupValueRepository">The lookup value repository.</param> /// <param name="lookupValueDtoHelper">The lookup value dto helper.</param> public DisenrollProgramEnrollmentRequestHandler( IProgramEnrollmentRepository programEnrollmentRepository, IKeyedDtoFactory <ProgramEnrollmentDto> keyedDtoFactory, ILookupValueRepository lookupValueRepository, ILookupValueDtoHelper lookupValueDtoHelper) { _programEnrollmentRepository = programEnrollmentRepository; _keyedDtoFactory = keyedDtoFactory; _lookupValueRepository = lookupValueRepository; _lookupValueDtoHelper = lookupValueDtoHelper; }
/// <summary> /// Initializes a new instance of the <see cref="CreateNewClinicalCaseRequestHandler"/> class. /// </summary> /// <param name="lookupValueRepository">The lookup value repository.</param> /// <param name="patientRepository">The patient repository.</param> /// <param name="locationRepository">The location repository.</param> /// <param name="clinicalCaseFactory">The clinical case factory.</param> public CreateNewClinicalCaseRequestHandler( ILookupValueRepository lookupValueRepository, IPatientRepository patientRepository, ILocationRepository locationRepository, IClinicalCaseFactory clinicalCaseFactory) { _lookupValueRepository = lookupValueRepository; _patientRepository = patientRepository; _locationRepository = locationRepository; _clinicalCaseFactory = clinicalCaseFactory; }
/// <summary> /// Initializes a new instance of the <see cref="QueryPatientByDocumentRequestHandler"/> class. /// </summary> /// <param name="patientRepository">The patient repository.</param> /// <param name="codedConceptLookupBaseRepository">The coded concept lookup base repository.</param> /// <param name="lookupValueRepository">The lookup value repository.</param> /// <param name="c32Builder">The C32 builder.</param> /// <param name="imapMessageFetcher">The imap message fetcher.</param> public QueryPatientByDocumentRequestHandler( IPatientRepository patientRepository, ICodedConceptLookupBaseRepository codedConceptLookupBaseRepository, ILookupValueRepository lookupValueRepository, IC32Builder c32Builder, IImapMailMessageFetcher imapMessageFetcher) { _patientRepository = patientRepository; _codedConceptLookupBaseRepository = codedConceptLookupBaseRepository; _lookupValueRepository = lookupValueRepository; _c32Builder = c32Builder; _imapMessageFetcher = imapMessageFetcher; }
private NidaDrugQuestionnaire ScheduleNidaDrugQuestionnaire() { if (_activitySchedulerService == null) { _activitySchedulerService = IoC.CurrentContainer.Resolve <IActivitySchedulerService> (); } if (_lookupValueRepository == null) { _lookupValueRepository = IoC.CurrentContainer.Resolve <ILookupValueRepository> (); } var activityType = _lookupValueRepository.GetLookupByWellKnownName <ActivityType> (WellKnownNames.VisitModule.ActivityType.NidaDrugQuestionnaire); return(( NidaDrugQuestionnaire )_activitySchedulerService.ScheduleActivity(Visit.Key, activityType)); }
private void ScheduleActivity(string activityWellKnownName) { if (_activitySchedulerService == null) { _activitySchedulerService = IoC.CurrentContainer.Resolve <IActivitySchedulerService>(); } if (_lookupValueRepository == null) { _lookupValueRepository = IoC.CurrentContainer.Resolve <ILookupValueRepository>(); } var activityType = _lookupValueRepository.GetLookupByWellKnownName <ActivityType>(activityWellKnownName); _activitySchedulerService.ScheduleActivity(Visit.Key, activityType); }
/// <summary> /// Initializes a new instance of the <see cref="PayorCoverageTranslator"/> class. /// </summary> /// <param name="payorRepository">The payor repository.</param> /// <param name="lookupValueRepository">The lookup value repository.</param> public PayorCoverageTranslator(IPayorRepository payorRepository, ILookupValueRepository lookupValueRepository ) { _payorRepository = payorRepository; _lookupValueRepository = lookupValueRepository; }
/// <summary> /// Initializes a new instance of the <see cref="StaffFactory"/> class. /// </summary> /// <param name="staffRepository">The staff repository.</param> /// <param name="lookupValueRepository">The lookup value repository.</param> public StaffFactory( IStaffRepository staffRepository, ILookupValueRepository lookupValueRepository ) { _staffRepository = staffRepository; _lookupValueRepository = lookupValueRepository; }
/// <summary> /// Initializes a new instance of the <see cref="LookupValueDtoHelper"/> class. /// </summary> /// <param name="lookupValueRepository">The lookup value repository.</param> public LookupValueDtoHelper(ILookupValueRepository lookupValueRepository) { _lookupValueRepository = lookupValueRepository; }
/// <summary> /// Initializes a new instance of the <see cref="DensAsiInterviewFactory"/> class. /// </summary> /// <param name="densAsiInterviewRepository">The DensAsi interview repository.</param> /// <param name="lookupValueRepository">The lookup value repository.</param> public DensAsiInterviewFactory(IDensAsiInterviewRepository densAsiInterviewRepository, ILookupValueRepository lookupValueRepository) { _lookupValueRepository = lookupValueRepository; _densAsiInterviewRepository = densAsiInterviewRepository; }
/// <summary> /// Initializes a new instance of the <see cref="GpraInterviewFactory"/> class. /// </summary> /// <param name="gpraInterviewRepository">The Gpra interview repository.</param> /// <param name="lookupValueRepository">The lookup value repository.</param> public GpraInterviewFactory(IGpraInterviewRepository gpraInterviewRepository, ILookupValueRepository lookupValueRepository) { _gpraInterviewRepository = gpraInterviewRepository; _lookupValueRepository = lookupValueRepository; }
/// <summary> /// Initializes a new instance of the <see cref="DensAsiInterviewFactory"/> class. /// </summary> /// <param name="densAsiInterviewRepository">The DensAsi interview repository.</param> /// <param name="lookupValueRepository">The lookup value repository.</param> public DensAsiInterviewFactory( IDensAsiInterviewRepository densAsiInterviewRepository, ILookupValueRepository lookupValueRepository ) { _lookupValueRepository = lookupValueRepository; _densAsiInterviewRepository = densAsiInterviewRepository; }
/// <summary> /// Initializes a new instance of the <see cref="Phq9Factory"/> class. /// </summary> /// <param name="phq9Repository">The PHQ9 repository.</param> /// <param name="lookupValueRepository">The lookup value repository.</param> public Phq9Factory(IPhq9Repository phq9Repository, ILookupValueRepository lookupValueRepository) { _phq9Repository = phq9Repository; _lookupValueRepository = lookupValueRepository; }
/// <summary> /// Initializes a new instance of the <see cref="PatientAccountPhoneTranslator"/> class. /// </summary> /// <param name="lookupValueRepository">The lookup value repository.</param> public PatientAccountPhoneTranslator(ILookupValueRepository lookupValueRepository) { _lookupValueRepository = lookupValueRepository; }
private void ScheduleActivity( string activityWellKnownName ) { if (_activitySchedulerService == null) { _activitySchedulerService = IoC.CurrentContainer.Resolve<IActivitySchedulerService>(); } if (_lookupValueRepository == null) { _lookupValueRepository = IoC.CurrentContainer.Resolve<ILookupValueRepository>(); } var activityType = _lookupValueRepository.GetLookupByWellKnownName<ActivityType>(activityWellKnownName); _activitySchedulerService.ScheduleActivity ( Visit.Key, activityType ); }
private NidaDrugQuestionnaire ScheduleNidaDrugQuestionnaire() { if ( _activitySchedulerService == null ) { _activitySchedulerService = IoC.CurrentContainer.Resolve<IActivitySchedulerService> (); } if ( _lookupValueRepository == null ) { _lookupValueRepository = IoC.CurrentContainer.Resolve<ILookupValueRepository> (); } var activityType = _lookupValueRepository.GetLookupByWellKnownName<ActivityType> ( WellKnownNames.VisitModule.ActivityType.NidaDrugQuestionnaire ); return ( NidaDrugQuestionnaire ) _activitySchedulerService.ScheduleActivity ( Visit.Key, activityType ); }
/// <summary> /// Initializes a new instance of the <see cref="DtoToDomainMappingHelper"/> class. /// </summary> /// <param name="lookupValueRepository">The lookup value repository.</param> public DtoToDomainMappingHelper( ILookupValueRepository lookupValueRepository) { _lookupValueRepository = lookupValueRepository; }
/// <summary> /// Initializes a new instance of the <see cref="StaffFactory"/> class. /// </summary> /// <param name="staffRepository">The staff repository.</param> /// <param name="lookupValueRepository">The lookup value repository.</param> public StaffFactory(IStaffRepository staffRepository, ILookupValueRepository lookupValueRepository) { _staffRepository = staffRepository; _lookupValueRepository = lookupValueRepository; }
/// <summary> /// Initializes a new instance of the <see cref="PayorCoverageTranslator"/> class. /// </summary> /// <param name="payorRepository">The payor repository.</param> /// <param name="lookupValueRepository">The lookup value repository.</param> public PayorCoverageTranslator(IPayorRepository payorRepository, ILookupValueRepository lookupValueRepository) { _payorRepository = payorRepository; _lookupValueRepository = lookupValueRepository; }
/// <summary> /// Initializes a new instance of the <see cref="Phq9Factory"/> class. /// </summary> /// <param name="phq9Repository">The PHQ9 repository.</param> /// <param name="lookupValueRepository">The lookup value repository.</param> public Phq9Factory( IPhq9Repository phq9Repository, ILookupValueRepository lookupValueRepository ) { _phq9Repository = phq9Repository; _lookupValueRepository = lookupValueRepository; }
/// <summary> /// Initializes a new instance of the <see cref="PatientAccountPhoneTranslator"/> class. /// </summary> /// <param name="lookupValueRepository">The lookup value repository.</param> public PatientAccountPhoneTranslator(ILookupValueRepository lookupValueRepository ) { _lookupValueRepository = lookupValueRepository; }