@lowlysre/icd-10-cm 1.0.3 → 1.1.5
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/README.md +4 -0
- package/dist/index.d.ts +6 -6
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +25 -16
- package/dist/index.d.mts +0 -6
package/README.md
CHANGED
|
@@ -41,6 +41,10 @@ const normalized = normalizeICD10Code(" a00.1 "); // "A001"
|
|
|
41
41
|
|
|
42
42
|
[www.cdc.gov/nchs](https://www.cdc.gov/nchs/icd/icd-10-cm/files.html)
|
|
43
43
|
|
|
44
|
+
## Development
|
|
45
|
+
|
|
46
|
+
For regenerating `data/icd10.min.json` via `npm run parse-icd`, use Node.js v22+ (required for `--experimental-strip-types`).
|
|
47
|
+
|
|
44
48
|
## Versions
|
|
45
49
|
|
|
46
50
|
* v1.0.0 - Normalized lookups, data load guard, bundled ESM/CJS build, flat ESLint 9 config, 100% tests/coverage
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
type
|
|
2
|
-
|
|
3
|
-
declare const normalizeICD10Code: (code: string) => string;
|
|
4
|
-
declare const getICD10Description: (code: string) => string | undefined;
|
|
5
|
-
|
|
6
|
-
export
|
|
1
|
+
import type { ICD10Dictionary } from "./ICD10Dictionary";
|
|
2
|
+
export declare const ensureICD10DatasetLoaded: (data: ICD10Dictionary) => ICD10Dictionary;
|
|
3
|
+
export declare const normalizeICD10Code: (code: string) => string;
|
|
4
|
+
export declare const getICD10Description: (code: string) => string | undefined;
|
|
5
|
+
export type { ICD10Dictionary };
|
|
6
|
+
export default getICD10Description;
|