UNPKG

fume-fhir-converter

Version:

FHIR-Utilized Mapping Engine - Community

23 lines 721 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.v2tableUrl = void 0; const tslib_1 = require("tslib"); /** * © Copyright Outburn Ltd. 2022-2024 All Rights Reserved * Project name: FUME-COMMUNITY */ const hl7_dictionary_1 = tslib_1.__importDefault(require("hl7-dictionary")); const v2tableUrl = (table) => { // fork: ent. const tableDef = hl7_dictionary_1.default.tables[table.toString()]; if (tableDef === undefined) { return undefined; } else { const url = 'http://terminology.hl7.org/CodeSystem/v2-' + String(table).padStart(4, '0'); return url; } ; }; exports.v2tableUrl = v2tableUrl; //# sourceMappingURL=v2tableUrl.js.map