/// <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;
 }
示例#2
0
 /// <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;
 }
示例#4
0
 /// <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;
 }
示例#5
0
 /// <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;
 }
示例#6
0
 /// <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;
 }
示例#7
0
 /// <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;
 }
示例#8
0
 /// <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;
 }
示例#9
0
 /// <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;
 }
示例#10
0
 /// <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;
 }
示例#11
0
 /// <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;
 }
示例#12
0
 /// <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="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;
 }
示例#14
0
 /// <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;
 }
示例#15
0
 /// <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;
 }
示例#16
0
 /// <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;
 }
示例#19
0
 /// <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;
 }
示例#20
0
 /// <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;
 }
示例#21
0
 /// <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;
 }
示例#22
0
 /// <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;
 }
示例#23
0
 /// <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;
 }
示例#24
0
 /// <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="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>
 /// 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;
 }
示例#31
0
 /// <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;
 }
示例#32
0
 /// <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;
 }
示例#33
0
 /// <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;
 }
示例#34
0
文件: Dast10.cs 项目: girish66/REM
        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));
        }
示例#35
0
        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);
        }
示例#36
0
 /// <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;
 }
示例#37
0
 /// <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;
 }
示例#38
0
 /// <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;
 }
示例#39
0
 /// <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;
 }
示例#40
0
 /// <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;
 }
示例#41
0
 /// <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;
 }
示例#42
0
 /// <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;
 }
示例#43
0
 /// <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;
 }
示例#44
0
 /// <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;
 }
示例#45
0
        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 );
        }
示例#46
0
文件: Dast10.cs 项目: divyang4481/REM
        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 );
        }
示例#47
0
 /// <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;
 }
示例#48
0
 /// <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;
 }
示例#49
0
 /// <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;
 }
示例#50
0
 /// <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;
 }