@cosyte/fhir 0.0.10 → 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/README.md +173 -6
- package/dist/index.cjs +2844 -1262
- package/dist/index.d.cts +948 -85
- package/dist/index.d.ts +948 -85
- package/dist/index.mjs +2842 -1263
- package/package.json +25 -7
package/package.json
CHANGED
|
@@ -1,18 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cosyte/fhir",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "FHIR R4 for Node.js and TypeScript: a resource model that keeps every value exactly as written, JSON and XML codecs, layered validation, and a safety readout for status and negation.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"fhir",
|
|
7
|
+
"fhir-r4",
|
|
7
8
|
"r4",
|
|
8
9
|
"hl7",
|
|
9
10
|
"healthcare",
|
|
10
11
|
"interoperability",
|
|
11
12
|
"typescript",
|
|
12
13
|
"us-core",
|
|
13
|
-
"
|
|
14
|
+
"validation",
|
|
15
|
+
"json",
|
|
16
|
+
"xml",
|
|
17
|
+
"ndjson",
|
|
18
|
+
"bundle",
|
|
19
|
+
"fhirpath",
|
|
20
|
+
"ucum"
|
|
14
21
|
],
|
|
15
|
-
"homepage": "https://
|
|
22
|
+
"homepage": "https://docs.cosyte.com/fhir",
|
|
16
23
|
"bugs": {
|
|
17
24
|
"url": "https://github.com/cosyte/fhir/issues"
|
|
18
25
|
},
|
|
@@ -66,7 +73,7 @@
|
|
|
66
73
|
"@cosyte/test-utils": "^0.0.2",
|
|
67
74
|
"@cosyte/tsconfig": "^0.0.2",
|
|
68
75
|
"@cosyte/tsup-config": "^0.0.1",
|
|
69
|
-
"@cosyte/vitest-config": "^0.0.
|
|
76
|
+
"@cosyte/vitest-config": "^0.0.2",
|
|
70
77
|
"@types/node": "^22.0.0",
|
|
71
78
|
"@vitest/coverage-v8": "4.1.4",
|
|
72
79
|
"eslint": "10.5.0",
|
|
@@ -85,19 +92,30 @@
|
|
|
85
92
|
"typecheck": "tsc --noEmit",
|
|
86
93
|
"lint": "eslint \"src/**/*.ts\" \"scripts/**/*.ts\" \"test/**/*.ts\" --max-warnings=0 --no-error-on-unmatched-pattern",
|
|
87
94
|
"lint:fix": "eslint \"src/**/*.ts\" \"scripts/**/*.ts\" \"test/**/*.ts\" --fix --no-error-on-unmatched-pattern",
|
|
88
|
-
"format": "prettier --write \"src/**/*.{ts,md}\" \"test/**/*.ts\" \"*.{json,md,yml}\"",
|
|
89
|
-
"format:check": "prettier --check \"src/**/*.{ts,md}\" \"test/**/*.ts\" \"*.{json,md,yml}\"",
|
|
95
|
+
"format": "prettier --write \"src/**/*.{ts,md}\" \"test/**/*.ts\" \"examples/**/*.{ts,js,json,md}\" \"*.{json,md,yml}\"",
|
|
96
|
+
"format:check": "prettier --check \"src/**/*.{ts,md}\" \"test/**/*.ts\" \"examples/**/*.{ts,js,json,md}\" \"*.{json,md,yml}\"",
|
|
90
97
|
"test": "vitest run",
|
|
91
98
|
"test:watch": "vitest",
|
|
92
99
|
"test:coverage": "vitest run --coverage",
|
|
93
100
|
"clean": "rm -rf dist coverage",
|
|
94
101
|
"pack:docs": "bash scripts/build-docs-artifacts.sh",
|
|
95
102
|
"attw": "node scripts/attw.mjs",
|
|
103
|
+
"examples": "tsx scripts/run-examples.ts",
|
|
104
|
+
"typecheck:examples": "tsc -p examples/tsconfig.json",
|
|
105
|
+
"lint:examples": "eslint examples --max-warnings=0",
|
|
106
|
+
"phi-scan:examples": "tsx scripts/phi-scan.ts examples/*.ts",
|
|
96
107
|
"phi-scan": "tsx scripts/phi-scan.ts",
|
|
108
|
+
"corpus:fetch": "node scripts/corpus-fetch.mjs",
|
|
109
|
+
"differential": "node scripts/differential.mjs",
|
|
110
|
+
"differential:determinism": "node scripts/differential-determinism.mjs",
|
|
97
111
|
"differential:read": "tsx scripts/read-differential.ts",
|
|
98
112
|
"capture:base-readouts": "tsx scripts/capture-base-readouts.ts",
|
|
113
|
+
"capture:xml-wellformed": "tsx scripts/capture-xml-wellformed.ts",
|
|
114
|
+
"uscore:projection": "tsx scripts/uscore-projection.ts",
|
|
115
|
+
"uscore:constraints": "tsx scripts/uscore-constraints.ts",
|
|
99
116
|
"check:no-emdash": "bash scripts/check-no-emdash.sh",
|
|
100
117
|
"check:no-internal-refs": "bash scripts/check-no-internal-refs.sh",
|
|
118
|
+
"check:docs-set": "tsx scripts/docs-set-check.ts",
|
|
101
119
|
"version": "changeset version && node scripts/sync-version.mjs && prettier --write package.json src/index.ts",
|
|
102
120
|
"release": "changeset publish"
|
|
103
121
|
}
|