@cosyte/terminology 0.0.13 → 0.1.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cosyte/terminology",
3
- "version": "0.0.13",
3
+ "version": "0.1.1",
4
4
  "description": "Terminology engine for US healthcare code systems in Node.js and TypeScript: FHIR $translate, $lookup, $validate-code and $expand over code systems, value sets and maps you supply.",
5
5
  "keywords": [
6
6
  "terminology",
@@ -8,9 +8,16 @@
8
8
  "healthcare",
9
9
  "interoperability",
10
10
  "typescript",
11
- "code-systems"
11
+ "code-systems",
12
+ "conceptmap",
13
+ "valueset",
14
+ "ucum",
15
+ "rxnorm",
16
+ "loinc",
17
+ "snomed-ct",
18
+ "icd-10"
12
19
  ],
13
- "homepage": "https://github.com/cosyte/terminology#readme",
20
+ "homepage": "https://docs.cosyte.com/terminology",
14
21
  "bugs": {
15
22
  "url": "https://github.com/cosyte/terminology/issues"
16
23
  },
@@ -61,6 +68,7 @@
61
68
  "@changesets/cli": "2.31.0",
62
69
  "@cosyte/eslint-config": "^0.0.4",
63
70
  "@cosyte/prettier-config": "^0.0.2",
71
+ "@cosyte/process": "0.0.2",
64
72
  "@cosyte/test-utils": "^0.0.2",
65
73
  "@cosyte/tsconfig": "^0.0.2",
66
74
  "@cosyte/tsup-config": "^0.0.1",
@@ -79,20 +87,24 @@
79
87
  },
80
88
  "dependencies": {},
81
89
  "scripts": {
82
- "build": "tsup",
90
+ "build": "cosyte-process build",
83
91
  "changeset": "changeset",
84
92
  "gen:ucum": "tsx scripts/generate-ucum-essence-data.ts",
85
- "typecheck": "tsc --noEmit",
93
+ "conformance:tx": "tsx scripts/tx-conformance.ts",
94
+ "typecheck": "cosyte-process typecheck",
86
95
  "phi-scan": "tsx scripts/phi-scan.ts",
87
96
  "check:no-internal-refs": "bash scripts/check-no-internal-refs.sh",
88
97
  "check:no-emdash": "node scripts/check-no-emdash.mjs",
89
- "lint": "eslint \"src/**/*.ts\" \"scripts/**/*.ts\" \"test/**/*.ts\" --max-warnings=0 --no-error-on-unmatched-pattern",
90
- "lint:fix": "eslint \"src/**/*.ts\" \"scripts/**/*.ts\" \"test/**/*.ts\" --fix --no-error-on-unmatched-pattern",
91
- "format": "prettier --write \"src/**/*.{ts,md}\" \"test/**/*.ts\" \"scripts/**/*.{ts,mjs}\" \"*.{json,md,yml}\"",
92
- "format:check": "prettier --check \"src/**/*.{ts,md}\" \"test/**/*.ts\" \"scripts/**/*.{ts,mjs}\" \"*.{json,md,yml}\"",
93
- "test": "vitest run",
94
- "test:watch": "vitest",
95
- "test:coverage": "vitest run --coverage",
98
+ "check:agent-notes": "node scripts/check-agent-notes.mjs",
99
+ "check:process": "cosyte-process check",
100
+ "lint": "cosyte-process lint",
101
+ "lint:fix": "cosyte-process lint --fix",
102
+ "format": "cosyte-process format",
103
+ "format:check": "cosyte-process format --check",
104
+ "test": "cosyte-process test",
105
+ "test:watch": "cosyte-process test --watch",
106
+ "test:coverage": "cosyte-process test --coverage",
107
+ "examples": "tsx scripts/run-examples.ts",
96
108
  "clean": "rm -rf dist coverage",
97
109
  "pack:docs": "bash scripts/build-docs-artifacts.sh",
98
110
  "attw": "node scripts/attw.mjs",
@@ -10,7 +10,7 @@ travel with the package that carries the UCUM table.
10
10
  ## `ucum-essence.xml`: the UCUM unit table
11
11
 
12
12
  > The Unified Code for Units of Measure (UCUM), also known as the "UCUM Specification," is
13
- > copyright ©1999–2024, Regenstrief Institute, Inc. All rights reserved.
13
+ > copyright ©1999-2024, Regenstrief Institute, Inc. All rights reserved.
14
14
 
15
15
  Reproduced verbatim under the UCUM Copyright Notice and License
16
16
  (<https://ucum.org/license>), which grants a "worldwide, non-exclusive, no-charge, royalty-free,
@@ -38,11 +38,13 @@ see the License for the full disclaimer.
38
38
 
39
39
  ## `UcumFunctionalTests.xml`: the UCUM conformance suite
40
40
 
41
- > This file is copyright © 2008–2009 Grahame Grieve and other contributors (Gunther Schadow,
41
+ > This file is copyright © 2008-2009 Grahame Grieve and other contributors (Gunther Schadow,
42
42
  > Lloyd Mackenzie, Vladimir Alexiev).
43
43
 
44
44
  Reproduced verbatim under the Eclipse Public License v1.0
45
45
  (<https://www.eclipse.org/legal/epl-v10.html>). Used **only** as a test fixture, and it is **not** part
46
46
  of the published npm package: `package.json`'s `files` does not name it, and unlike the unit table it
47
47
  is not embedded in the build. Conformance is declared against the most recent history entry in the
48
- file (3-Feb 2021).
48
+ file (3-Feb 2021), and only for the `validation` and `conversion` case kinds: the
49
+ `displayNameGeneration` and `multiplication` cases are not executed and are not claimed. The
50
+ package's README states the same claim in full.