コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RestMedicationService"/> class.
 /// </summary>
 /// <param name="logger">Injected Logger Provider.</param>
 /// <param name="drugLookupDelegate">The injected drug lookup delegate.</param>
 public RestMedicationService(
     ILogger <RestMedicationService> logger,
     IDrugLookupDelegate drugLookupDelegate)
 {
     this.logger             = logger;
     this.drugLookupDelegate = drugLookupDelegate;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RestMedicationStatementService"/> class.
 /// </summary>
 /// <param name="logger">Injected Logger Provider.</param>
 /// <param name="httpAccessor">The injected http context accessor provider.</param>
 /// <param name="patientService">The injected patient registry provider.</param>
 /// <param name="drugLookupDelegate">Injected drug lookup delegate.</param>
 /// <param name="medicationStatementDelegate">Injected medication statement delegate.</param>
 public RestMedicationStatementService(
     ILogger <RestMedicationStatementService> logger,
     IHttpContextAccessor httpAccessor,
     IPatientService patientService,
     IDrugLookupDelegate drugLookupDelegate,
     IMedStatementDelegate medicationStatementDelegate)
 {
     this.logger = logger;
     this.httpContextAccessor         = httpAccessor;
     this.patientService              = patientService;
     this.drugLookupDelegate          = drugLookupDelegate;
     this.medicationStatementDelegate = medicationStatementDelegate;
 }