@atomic-ehr/codegen 0.0.2-canary.20251120155638.6f020cd → 0.0.2-canary.20251121141554.c9f1e0b

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.
Files changed (2) hide show
  1. package/README.md +10 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -16,6 +16,12 @@ A powerful, extensible code generation toolkit for FHIR (Fast Healthcare Interop
16
16
  - 🔄 **Intermediate Format** - TypeSchema format enables multi-language support
17
17
  - 🛠️ **Developer Friendly** - Fluent API, CLI, and configuration file support
18
18
 
19
+ ## Versions
20
+
21
+ - `canary` channel - Latest development version from `main` branch
22
+ - `latest` channel - Latest stable version (currently in developer preview)
23
+ - all versions: [NPM: @atomic-ehr/codegen](https://www.npmjs.com/package/@atomic-ehr/codegen?activeTab=versions)
24
+
19
25
  ## Installation
20
26
 
21
27
  ```bash
@@ -45,7 +51,7 @@ const report = await builder.generate();
45
51
  console.log(report);
46
52
  ```
47
53
 
48
- Run the script by:
54
+ Run the script with:
49
55
 
50
56
  - `npm exec tsx scripts/generate-types.ts`
51
57
  - `pnpm exec tsx scripts/generate-types.ts`
@@ -106,7 +112,7 @@ The toolkit uses a three-stage architecture (details: [link](https://www.health-
106
112
  Resolve Canonicals → Transform to Type Schema → Generate
107
113
  ```
108
114
 
109
- 1. **Input Layer** - Parses FHIR packages and profiles, resolves canonicals and transforms them into TypeSchema format
115
+ 1. **Input Layer** - Parses FHIR packages and profiles, resolves canonicals, and transforms them into TypeSchema format
110
116
  2. **Intermediate Format** - TypeSchema provides a universal representation for FHIR data entities
111
117
  3. **Output Generators** - Generate code for TypeScript, Python, and other languages
112
118
 
@@ -114,8 +120,8 @@ Resolve Canonicals → Transform to Type Schema → Generate
114
120
 
115
121
  Actual examples of type generation and usage can be found here: [examples/typescript-r4](examples/typescript-r4):
116
122
 
117
- - `demo.ts` - a simple script which creates resources and demonstrates how to work with profiles.
118
- - `generate.ts` - script to generate types.
123
+ - `demo.ts` - a simple script that creates resources and demonstrates how to work with profiles
124
+ - `generate.ts` - script to generate types
119
125
 
120
126
  ### Generate Types for a Custom Profile (Draft)
121
127
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atomic-ehr/codegen",
3
- "version": "0.0.2-canary.20251120155638.6f020cd",
3
+ "version": "0.0.2-canary.20251121141554.c9f1e0b",
4
4
  "description": "Code generation tools for FHIR resources and TypeSchema definitions",
5
5
  "keywords": [
6
6
  "fhir",