Exemplo n.º 1
0
 public ClientTermCustomizationService(
     ICodeSystemCodeService codeSystemCodeService,
     IValueSetCodeService valueSetCodeService,
     IClientTermValueSetService clientTermValueSetService)
 {
     this.codeSystemCodeService     = codeSystemCodeService;
     this.valueSetCodeService       = valueSetCodeService;
     this.clientTermValueSetService = clientTermValueSetService;
 }
Exemplo n.º 2
0
        public ValueSetCodeModule(
            IValueSetCodeService valueSetCodeService,
            IAppConfiguration config,
            ILogger logger)
            : base($"/{TerminologyVersion.Route}/valuesetcodes", config, logger)
        {
            this.valueSetCodeService = valueSetCodeService;

            this.Get("/", async _ => await this.GetAllValueSetCodePage(), null, "GetAllValueSetCodesPaged");

            this.Get("/{codeGuid}", parameters => this.GetValueSetCodes(parameters.codeGuid), null, "GetValueSetCodes");

            this.Get("/valueset/{valueSetGuid}", async parameters => await this.GetValueSetCodePage(parameters.valueSetGuid), null, "GetValueSetCodePagedByValueSet");
        }
Exemplo n.º 3
0
 public SqlValueSetCodeServiceTests(SqlServiceFixture fixture, ITestOutputHelper output)
     : base(output)
 {
     this.valueSetCodeService = fixture.ValueSetCodeService;
 }