UNPKG

fume-fhir-converter

Version:

FHIR-Utilized Mapping Engine - Community

19 lines 748 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * © Copyright Outburn Ltd. 2022-2024 All Rights Reserved * Project name: FUME-COMMUNITY */ const globals_1 = require("@jest/globals"); const v2tableUrl_1 = require("./v2tableUrl"); describe('v2codeLookup', () => { (0, globals_1.test)('gets link for existing table', async () => { const res = await (0, v2tableUrl_1.v2tableUrl)(761); expect(res).toBe('http://terminology.hl7.org/CodeSystem/v2-0761'); }); (0, globals_1.test)('gets undefined for non existing table', async () => { const res = await (0, v2tableUrl_1.v2tableUrl)(7611); expect(res).toBe(undefined); }); }); //# sourceMappingURL=v2tableUrl.test.js.map