@precisa-saude/fhir 0.37.1 → 0.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/biomarkers.cjs +2 -2
- package/dist/biomarkers.js +1 -1
- package/dist/{chunk-DE7NHXIR.cjs → chunk-3M3VH7WG.cjs} +3 -3
- package/dist/{chunk-DE7NHXIR.cjs.map → chunk-3M3VH7WG.cjs.map} +1 -1
- package/dist/{chunk-RWUFK5AN.cjs → chunk-4WY5YFWA.cjs} +14 -3
- package/dist/chunk-4WY5YFWA.cjs.map +1 -0
- package/dist/{chunk-VOBVUACD.js → chunk-5HDQCJWQ.js} +3 -3
- package/dist/chunk-6G5NUPZI.cjs +2802 -0
- package/dist/chunk-6G5NUPZI.cjs.map +1 -0
- package/dist/{chunk-CVMOQDM2.js → chunk-DE7ZCFMA.js} +2 -2
- package/dist/{chunk-O7SK2YUU.js → chunk-EVWEFMOY.js} +2 -2
- package/dist/{chunk-LSC7NHFE.cjs → chunk-FETBCXN6.cjs} +3 -3
- package/dist/{chunk-LSC7NHFE.cjs.map → chunk-FETBCXN6.cjs.map} +1 -1
- package/dist/{chunk-CZLX33DZ.js → chunk-I6SPJDZ2.js} +13 -2
- package/dist/chunk-I6SPJDZ2.js.map +1 -0
- package/dist/chunk-I7RF7YWM.js +2802 -0
- package/dist/chunk-I7RF7YWM.js.map +1 -0
- package/dist/{chunk-YCJUGK6D.js → chunk-JFJY7ZR6.js} +27 -2
- package/dist/chunk-JFJY7ZR6.js.map +1 -0
- package/dist/{chunk-AJUDODBT.cjs → chunk-L6I4OYGS.cjs} +10 -10
- package/dist/{chunk-AJUDODBT.cjs.map → chunk-L6I4OYGS.cjs.map} +1 -1
- package/dist/{chunk-BDS6CM7F.cjs → chunk-NIYSBB33.cjs} +27 -2
- package/dist/chunk-NIYSBB33.cjs.map +1 -0
- package/dist/cli.js +5589 -5521
- package/dist/converter.cjs +5 -5
- package/dist/converter.js +4 -4
- package/dist/importer.cjs +5 -5
- package/dist/importer.js +4 -4
- package/dist/index.cjs +30 -2520
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +20 -2510
- package/dist/index.js.map +1 -1
- package/dist/reference-ranges.cjs +4 -4
- package/dist/reference-ranges.js +3 -3
- package/dist/units.cjs +3 -3
- package/dist/units.js +2 -2
- package/dist/validators.cjs +4 -4
- package/dist/validators.js +3 -3
- package/package.json +1 -1
- package/dist/chunk-A2R65X4X.cjs +0 -276
- package/dist/chunk-A2R65X4X.cjs.map +0 -1
- package/dist/chunk-BDS6CM7F.cjs.map +0 -1
- package/dist/chunk-CZLX33DZ.js.map +0 -1
- package/dist/chunk-I6FCFMAO.js +0 -276
- package/dist/chunk-I6FCFMAO.js.map +0 -1
- package/dist/chunk-RWUFK5AN.cjs.map +0 -1
- package/dist/chunk-YCJUGK6D.js.map +0 -1
- /package/dist/{chunk-VOBVUACD.js.map → chunk-5HDQCJWQ.js.map} +0 -0
- /package/dist/{chunk-CVMOQDM2.js.map → chunk-DE7ZCFMA.js.map} +0 -0
- /package/dist/{chunk-O7SK2YUU.js.map → chunk-EVWEFMOY.js.map} +0 -0
package/dist/biomarkers.cjs
CHANGED
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
var
|
|
34
|
+
var _chunkNIYSBB33cjs = require('./chunk-NIYSBB33.cjs');
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
|
|
@@ -65,5 +65,5 @@ var _chunkBDS6CM7Fcjs = require('./chunk-BDS6CM7F.cjs');
|
|
|
65
65
|
|
|
66
66
|
|
|
67
67
|
|
|
68
|
-
exports.BIOMARKER_DEFINITIONS =
|
|
68
|
+
exports.BIOMARKER_DEFINITIONS = _chunkNIYSBB33cjs.BIOMARKER_DEFINITIONS; exports.CAC_INDICATOR_CODES = _chunkNIYSBB33cjs.CAC_INDICATOR_CODES; exports.DEXA_CATEGORIES = _chunkNIYSBB33cjs.DEXA_CATEGORIES; exports.DEXA_INDICATOR_CODES = _chunkNIYSBB33cjs.DEXA_INDICATOR_CODES; exports.codeToLoinc = _chunkNIYSBB33cjs.codeToLoinc; exports.filterVisibleBiomarkers = _chunkNIYSBB33cjs.filterVisibleBiomarkers; exports.findCodeByName = _chunkNIYSBB33cjs.findCodeByName; exports.generateCacFullReference = _chunkNIYSBB33cjs.generateCacFullReference; exports.generateDexaFullReference = _chunkNIYSBB33cjs.generateDexaFullReference; exports.generateFilteredLLMReference = _chunkNIYSBB33cjs.generateFilteredLLMReference; exports.generateLLMReference = _chunkNIYSBB33cjs.generateLLMReference; exports.getAllCodes = _chunkNIYSBB33cjs.getAllCodes; exports.getAllDefinitions = _chunkNIYSBB33cjs.getAllDefinitions; exports.getAllLoincCodes = _chunkNIYSBB33cjs.getAllLoincCodes; exports.getAllSearchPatterns = _chunkNIYSBB33cjs.getAllSearchPatterns; exports.getBiomarkersByCategory = _chunkNIYSBB33cjs.getBiomarkersByCategory; exports.getBiomarkersForCategories = _chunkNIYSBB33cjs.getBiomarkersForCategories; exports.getDefinitionByCode = _chunkNIYSBB33cjs.getDefinitionByCode; exports.getDefinitionByLoinc = _chunkNIYSBB33cjs.getDefinitionByLoinc; exports.getDefinitionsBySex = _chunkNIYSBB33cjs.getDefinitionsBySex; exports.getSexForCode = _chunkNIYSBB33cjs.getSexForCode; exports.getVisibleDefinitions = _chunkNIYSBB33cjs.getVisibleDefinitions; exports.isBiomarkerVisible = _chunkNIYSBB33cjs.isBiomarkerVisible; exports.isCacDocument = _chunkNIYSBB33cjs.isCacDocument; exports.isDexaDocument = _chunkNIYSBB33cjs.isDexaDocument; exports.isValidCode = _chunkNIYSBB33cjs.isValidCode; exports.isValidLoinc = _chunkNIYSBB33cjs.isValidLoinc; exports.loincToCode = _chunkNIYSBB33cjs.loincToCode; exports.methodVariantOf = _chunkNIYSBB33cjs.methodVariantOf; exports.normalizeCode = _chunkNIYSBB33cjs.normalizeCode; exports.toBiomarkerTests = _chunkNIYSBB33cjs.toBiomarkerTests; exports.validateLoincNameMatch = _chunkNIYSBB33cjs.validateLoincNameMatch;
|
|
69
69
|
//# sourceMappingURL=biomarkers.cjs.map
|
package/dist/biomarkers.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk4WY5YFWAcjs = require('./chunk-4WY5YFWA.cjs');
|
|
4
4
|
|
|
5
5
|
// src/reference-ranges.ts
|
|
6
6
|
var biomarkerRangeDefinitions = {
|
|
@@ -2400,7 +2400,7 @@ function applyFallbackReferenceRanges(biomarkers) {
|
|
|
2400
2400
|
}
|
|
2401
2401
|
const fallback = getFallbackReferenceRange(biomarker.code);
|
|
2402
2402
|
if (fallback) {
|
|
2403
|
-
const canonicalUnit =
|
|
2403
|
+
const canonicalUnit = _chunk4WY5YFWAcjs.getCanonicalUnit.call(void 0, biomarker.code);
|
|
2404
2404
|
const unitsMatch = !biomarker.unit || biomarker.unit.toLowerCase() === fallback.unit.toLowerCase() || canonicalUnit && biomarker.unit.toLowerCase() === canonicalUnit.toLowerCase() || // Handle common unit variations
|
|
2405
2405
|
biomarker.unit === "%" && fallback.unit === "%";
|
|
2406
2406
|
if (unitsMatch) {
|
|
@@ -2427,4 +2427,4 @@ function applyFallbackReferenceRanges(biomarkers) {
|
|
|
2427
2427
|
|
|
2428
2428
|
|
|
2429
2429
|
exports.biomarkerRangeDefinitions = biomarkerRangeDefinitions; exports.defaultReferenceRanges = defaultReferenceRanges; exports.getReferenceRange = getReferenceRange; exports.getRangeDirection = getRangeDirection; exports.flagAgainstCatalogRange = flagAgainstCatalogRange; exports.referenceRangeMeaning = referenceRangeMeaning; exports.getFallbackReferenceRange = getFallbackReferenceRange; exports.applyFallbackReferenceRanges = applyFallbackReferenceRanges;
|
|
2430
|
-
//# sourceMappingURL=chunk-
|
|
2430
|
+
//# sourceMappingURL=chunk-3M3VH7WG.cjs.map
|