@cosyte/terminology 0.1.0 → 0.1.2

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/index.d.cts CHANGED
@@ -580,8 +580,8 @@ declare const HL7_V2_URL_PREFIX = "http://terminology.hl7.org/CodeSystem/v2-";
580
580
  *
581
581
  * Given a code system named any of the ways the ecosystem names it, whether a canonical URI, an OID
582
582
  * (bare or `urn:oid:`-prefixed), or an HL7 v2 mnemonic (`LN`, `SCT`, …), it returns the one canonical
583
- * {@link SystemIdentity}. This is the piece `@cosyte/transform` pins so a `Coding` off any parser
584
- * (HL7 v2 CE/CWE, C-CDA, FHIR) can be canonicalized to a single system URI before translation.
583
+ * {@link SystemIdentity}, so a `Coding` off any parser (HL7 v2 CE/CWE, C-CDA, FHIR) can be
584
+ * canonicalized to a single system URI before translation.
585
585
  *
586
586
  * **Never guesses.** An identifier that matches nothing known returns a typed
587
587
  * `{ unknown: true, input }`: never a fabricated URI (the never-fabricate invariant, applied to
@@ -3584,7 +3584,7 @@ declare function consistsOf(graph: RxNormGraph, rxcui: string): RxNormNavResult;
3584
3584
  declare function resolveNdc(graph: RxNormGraph, ndc: string): NdcResult;
3585
3585
  /** Options for {@link approximateMatch}. */
3586
3586
  interface ApproximateMatchOptions {
3587
- /** Minimum similarity (`0`–`1`) for a candidate to be returned. Default `0.34`. */
3587
+ /** Minimum similarity (`0` to `1`) for a candidate to be returned. Default `0.34`. */
3588
3588
  readonly minScore?: number;
3589
3589
  /** Maximum number of candidates to return, best-first. Default `20`. */
3590
3590
  readonly limit?: number;
@@ -3889,7 +3889,7 @@ declare function isSynonymTermType(tty: TermType): boolean;
3889
3889
  * its copyright:
3890
3890
  *
3891
3891
  * - the **UCUM unit table** (`ucum-essence.xml`, version 2.2, revision-date 2024-06-17): copyright
3892
- * ©1999–2024 Regenstrief Institute, Inc., all rights reserved, reproduced **verbatim** under the
3892
+ * ©1999-2024 Regenstrief Institute, Inc., all rights reserved, reproduced **verbatim** under the
3893
3893
  * UCUM Copyright Notice and License (https://ucum.org/license), embedded byte-for-byte in the
3894
3894
  * published build and parsed at runtime; no modified or derivative copy is distributed. The UCUM
3895
3895
  * Specification is provided "as is" **without warranty of any kind**: see the License for the
package/dist/index.d.ts CHANGED
@@ -580,8 +580,8 @@ declare const HL7_V2_URL_PREFIX = "http://terminology.hl7.org/CodeSystem/v2-";
580
580
  *
581
581
  * Given a code system named any of the ways the ecosystem names it, whether a canonical URI, an OID
582
582
  * (bare or `urn:oid:`-prefixed), or an HL7 v2 mnemonic (`LN`, `SCT`, …), it returns the one canonical
583
- * {@link SystemIdentity}. This is the piece `@cosyte/transform` pins so a `Coding` off any parser
584
- * (HL7 v2 CE/CWE, C-CDA, FHIR) can be canonicalized to a single system URI before translation.
583
+ * {@link SystemIdentity}, so a `Coding` off any parser (HL7 v2 CE/CWE, C-CDA, FHIR) can be
584
+ * canonicalized to a single system URI before translation.
585
585
  *
586
586
  * **Never guesses.** An identifier that matches nothing known returns a typed
587
587
  * `{ unknown: true, input }`: never a fabricated URI (the never-fabricate invariant, applied to
@@ -3584,7 +3584,7 @@ declare function consistsOf(graph: RxNormGraph, rxcui: string): RxNormNavResult;
3584
3584
  declare function resolveNdc(graph: RxNormGraph, ndc: string): NdcResult;
3585
3585
  /** Options for {@link approximateMatch}. */
3586
3586
  interface ApproximateMatchOptions {
3587
- /** Minimum similarity (`0`–`1`) for a candidate to be returned. Default `0.34`. */
3587
+ /** Minimum similarity (`0` to `1`) for a candidate to be returned. Default `0.34`. */
3588
3588
  readonly minScore?: number;
3589
3589
  /** Maximum number of candidates to return, best-first. Default `20`. */
3590
3590
  readonly limit?: number;
@@ -3889,7 +3889,7 @@ declare function isSynonymTermType(tty: TermType): boolean;
3889
3889
  * its copyright:
3890
3890
  *
3891
3891
  * - the **UCUM unit table** (`ucum-essence.xml`, version 2.2, revision-date 2024-06-17): copyright
3892
- * ©1999–2024 Regenstrief Institute, Inc., all rights reserved, reproduced **verbatim** under the
3892
+ * ©1999-2024 Regenstrief Institute, Inc., all rights reserved, reproduced **verbatim** under the
3893
3893
  * UCUM Copyright Notice and License (https://ucum.org/license), embedded byte-for-byte in the
3894
3894
  * published build and parsed at runtime; no modified or derivative copy is distributed. The UCUM
3895
3895
  * Specification is provided "as is" **without warranty of any kind**: see the License for the
package/dist/index.mjs CHANGED
@@ -4977,7 +4977,7 @@ function approximateMatch(graph, query, options = {}) {
4977
4977
  }
4978
4978
 
4979
4979
  // src/index.ts
4980
- var VERSION = "0.1.0";
4980
+ var VERSION = "0.1.2";
4981
4981
 
4982
4982
  export { COMPLEX_MAP_SOURCE_SYSTEM, DIAGNOSTIC_CODES, FATAL_CODES, HL7_V2_OID_ROOT, HL7_V2_URL_PREFIX, ICD10CM_ORDER_FILE_FIELDS, ICD10CM_SYSTEM, ICD9CM_SYSTEM, MAP_CATEGORIES, NO_MAP_CATEGORIES, RELA, RELA_INVERSE, RXNORM_SYSTEM, SNOMEDCT_SYSTEM, SYSTEM_IDENTITIES, TERM_TYPES, TerminologyError, VERSION, applyComplexMap, applyGem, approximateMatch, asTermType, brandsFor, buildSubsumption, codeableConcept, coding, consistsOf, defaultStatusMapper, doseFormsOf, expand, genericFor, getArray, getBoolean, getConcept, getNumber, getString, ingredientsOf, invertGem, isA, isJsonObject, isSynonymTermType, isUnknownSystem, loadCodeSystem, loadComplexMap, loadConceptMap, loadGems, loadRxNormGraph, loadUcumEssence, loadValueSet, lookup, makeStatus, matchesFilter, parseCsv, parseCsvSource, parseFhirCodeSystem, parseFixedWidth, parseRrf, parseRrfLine, parseUcum, reduce, relatedByRela, resolveNdc, resolveSystem, sliceField, translate, ucumEqual, unsupportedOps, validateCode, validateCodeInValueSet, validateUcum };
4983
4983
  //# sourceMappingURL=index.mjs.map