@precisa-saude/fhir 0.8.0 → 0.9.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.
@@ -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 _chunkZYSD6A2Kcjs = require('./chunk-ZYSD6A2K.cjs');
3
+ var _chunkMJ254F5Kcjs = require('./chunk-MJ254F5K.cjs');
4
4
 
5
5
  // src/reference-ranges.ts
6
6
  var biomarkerRangeDefinitions = {
@@ -1636,7 +1636,7 @@ function applyFallbackReferenceRanges(biomarkers) {
1636
1636
  }
1637
1637
  const fallback = getFallbackReferenceRange(biomarker.code);
1638
1638
  if (fallback) {
1639
- const canonicalUnit = _chunkZYSD6A2Kcjs.getCanonicalUnit.call(void 0, biomarker.code);
1639
+ const canonicalUnit = _chunkMJ254F5Kcjs.getCanonicalUnit.call(void 0, biomarker.code);
1640
1640
  const unitsMatch = !biomarker.unit || biomarker.unit.toLowerCase() === fallback.unit.toLowerCase() || canonicalUnit && biomarker.unit.toLowerCase() === canonicalUnit.toLowerCase() || // Handle common unit variations
1641
1641
  biomarker.unit === "%" && fallback.unit === "%";
1642
1642
  if (unitsMatch) {
@@ -1661,4 +1661,4 @@ function applyFallbackReferenceRanges(biomarkers) {
1661
1661
 
1662
1662
 
1663
1663
  exports.biomarkerRangeDefinitions = biomarkerRangeDefinitions; exports.defaultReferenceRanges = defaultReferenceRanges; exports.getReferenceRange = getReferenceRange; exports.getRangeDirection = getRangeDirection; exports.getFallbackReferenceRange = getFallbackReferenceRange; exports.applyFallbackReferenceRanges = applyFallbackReferenceRanges;
1664
- //# sourceMappingURL=chunk-LYDCZW4C.cjs.map
1664
+ //# sourceMappingURL=chunk-D6XKCRS2.cjs.map