@infect/infect-rda-sample-importer
Version:
INFECT Sample Data Importer
22 lines (17 loc) • 622 B
JavaScript
import APILookup from '../../APILookup.js';
import AnresisSubstanceProcessor from './AnresisSubstanceProcessor.js';
export default class AnresisHumanSubstanceProcessor extends AnresisSubstanceProcessor {
constructor({
httpClient,
}) {
super();
this.lookup = new APILookup({
httpClient,
resource: 'anresis.compoundMapping',
filterProperty: 'sourceName',
selectionField: 'id_compound',
selectionHeader: '*, generics:tenant.name',
filterHeader: 'generics:tenant.identifier=anresis-human',
});
}
}