/// <summary>
 /// Initializes a new instance of the <see cref="CreateProgramEnrollmentRequestHandler"/> class.
 /// </summary>
 /// <param name="programEnrollmentFactory">The program enrollment factory.</param>
 /// <param name="programOfferingRepository">The program offering repository.</param>
 /// <param name="clinicalCaseRepository">The clinical case repository.</param>
 /// <param name="staffRepository">The staff repository.</param>
 public CreateProgramEnrollmentRequestHandler(
     IProgramEnrollmentFactory programEnrollmentFactory,
     IProgramOfferingRepository programOfferingRepository,
     IClinicalCaseRepository clinicalCaseRepository,
     IStaffRepository staffRepository)
 {
     _programEnrollmentFactory  = programEnrollmentFactory;
     _programOfferingRepository = programOfferingRepository;
     _clinicalCaseRepository    = clinicalCaseRepository;
     _staffRepository           = staffRepository;
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SaveAppointmentDetailsRequestHandler"/> class.
 /// </summary>
 /// <param name="staffRepository">The staff repository.</param>
 /// <param name="clinicalCaseRepository">The clinical case repository.</param>
 /// <param name="visitTemplateRepository">The visit template repository.</param>
 /// <param name="locationRepository">The location repository.</param>
 /// <param name="visitFactory">The visit factory.</param>
 /// <param name="activitySchedulerService">The activity scheduler service.</param>
 public SaveAppointmentDetailsRequestHandler(
     IStaffRepository staffRepository,
     IClinicalCaseRepository clinicalCaseRepository,
     IVisitTemplateRepository visitTemplateRepository,
     ILocationRepository locationRepository,
     IVisitFactory visitFactory,
     IActivitySchedulerService activitySchedulerService)
 {
     _staffRepository          = staffRepository;
     _clinicalCaseRepository   = clinicalCaseRepository;
     _visitTemplateRepository  = visitTemplateRepository;
     _locationRepository       = locationRepository;
     _visitFactory             = visitFactory;
     _activitySchedulerService = activitySchedulerService;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ImportC32RequestHandler"/> class.
 /// </summary>
 /// <param name="mappingHelper">The mapping helper.</param>
 /// <param name="patientDocumentRepository">The patient document repository.</param>
 /// <param name="provenanceFactory">The provenance factory.</param>
 /// <param name="clinicalCaseRepository">The clinical case repository.</param>
 /// <param name="problemFactory">The problem factory.</param>
 /// <param name="immunizationFactory">The immunization factory.</param>
 /// <param name="labSpecimenFactory">The lab specimen factory.</param>
 /// <param name="vitalSignFactory">The vital sign factory.</param>
 public ImportC32RequestHandler(
     IDtoToDomainMappingHelper mappingHelper,
     IPatientDocumentRepository patientDocumentRepository,
     IProvenanceFactory provenanceFactory,
     IClinicalCaseRepository clinicalCaseRepository,
     IProblemFactory problemFactory,
     IImmunizationFactory immunizationFactory,
     ILabSpecimenFactory labSpecimenFactory,
     IVitalSignFactory vitalSignFactory
     )
 {
     _mappingHelper             = mappingHelper;
     _patientDocumentRepository = patientDocumentRepository;
     _provenanceFactory         = provenanceFactory;
     _clinicalCaseRepository    = clinicalCaseRepository;
     _problemFactory            = problemFactory;
     _immunizationFactory       = immunizationFactory;
     _labSpecimenFactory        = labSpecimenFactory;
     _vitalSignFactory          = vitalSignFactory;
 }
Exemple #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ClinicalCaseFactory"/> class.
 /// </summary>
 /// <param name="clinicalCaseRepository">The clinical case repository.</param>
 public ClinicalCaseFactory(IClinicalCaseRepository clinicalCaseRepository)
 {
     _clinicalCaseRepository = clinicalCaseRepository;
 }
Exemple #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetAllProblemsByClinicalCaseRequestHandler"/> class.
 /// </summary>
 /// <param name="clinicalCaseRepository">The clinical case repository.</param>
 public GetAllProblemsByClinicalCaseRequestHandler(IClinicalCaseRepository clinicalCaseRepository)
 {
     _clinicalCaseRepository = clinicalCaseRepository;
 }
Exemple #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetDefaultClinicalCaseByPatientRequestHandler"/> class.
 /// </summary>
 /// <param name="clinicalCaseRepository">The clinical case repository.</param>
 public GetDefaultClinicalCaseByPatientRequestHandler(
     IClinicalCaseRepository clinicalCaseRepository)
 {
     _clinicalCaseRepository = clinicalCaseRepository;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ClinicalCaseFactory"/> class.
 /// </summary>
 /// <param name="clinicalCaseRepository">The clinical case repository.</param>
 public ClinicalCaseFactory( IClinicalCaseRepository clinicalCaseRepository )
 {
     _clinicalCaseRepository = clinicalCaseRepository;
 }
Exemple #8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetAllClinicalCasesByPatientRequestHandler"/> class.
 /// </summary>
 /// <param name="clinicalCaseRepository">The clinical case repository.</param>
 public GetAllClinicalCasesByPatientRequestHandler(IClinicalCaseRepository clinicalCaseRepository)
 {
     _clinicalCaseRepository = clinicalCaseRepository;
 }