fhirsmith 0.3.0 → 0.4.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/CHANGELOG.md +12 -0
- package/README.md +3 -1
- package/library/folder-setup.js +6 -0
- package/package.json +1 -1
- package/registry/readme.md +1 -11
- package/tx/cs/cs-db.js +0 -13
- package/passwords.ini +0 -2
- package/registry/registry-data.json +0 -121015
- package/shl/private-key.pem +0 -5
- package/shl/public-key.pem +0 -18
- package/test-cache/vsac/vsac-valuesets.db +0 -0
- package/tx/dev.fhir.org.yml +0 -14
- package/tx/fixtures/test-cases-setup.json +0 -18
- package/tx/fixtures/test-cases.yml +0 -16
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,18 @@ All notable changes to the Health Intersections Node Server will be documented i
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [v0.4.2] - 2026-02-05
|
|
9
|
+
### Changed
|
|
10
|
+
- Even More testing the release process; some tidy up to testing data
|
|
11
|
+
|
|
12
|
+
## [v0.4.1] - 2026-02-05
|
|
13
|
+
### Changed
|
|
14
|
+
- More testing the release process; some tidy up to testing data
|
|
15
|
+
|
|
16
|
+
## [v0.4.0] - 2026-02-05
|
|
17
|
+
### Changed
|
|
18
|
+
- Just testing the release process; some tidy up to testing data
|
|
19
|
+
|
|
8
20
|
## [v0.3.0] - 2026-02-05
|
|
9
21
|
### Added
|
|
10
22
|
- Add first draft of publishing engine
|
package/README.md
CHANGED
|
@@ -235,9 +235,11 @@ GitHub Actions will automatically:
|
|
|
235
235
|
3. Commit your changes:
|
|
236
236
|
```bash
|
|
237
237
|
git commit -m "Prepare release vX.Y.Z"
|
|
238
|
-
git push origin main
|
|
238
|
+
git push origin main:XXXXXX
|
|
239
239
|
```
|
|
240
240
|
|
|
241
|
+
do it via a PR
|
|
242
|
+
|
|
241
243
|
4. Tag and push the release:
|
|
242
244
|
```bash
|
|
243
245
|
git tag vX.Y.Z
|
package/library/folder-setup.js
CHANGED
|
@@ -42,6 +42,12 @@ class FolderSetup {
|
|
|
42
42
|
return filePath;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
+
ensureFolder(...relativePath) {
|
|
46
|
+
const dirPath = path.join(this.dataDir(), ...relativePath);
|
|
47
|
+
fs.mkdirSync(dirPath, { recursive: true });
|
|
48
|
+
return dirPath;
|
|
49
|
+
}
|
|
50
|
+
|
|
45
51
|
logsDir() {
|
|
46
52
|
return this.subDir('logs');
|
|
47
53
|
}
|
package/package.json
CHANGED
package/registry/readme.md
CHANGED
|
@@ -195,17 +195,7 @@ npm run test:jest
|
|
|
195
195
|
|
|
196
196
|
## Data Persistence
|
|
197
197
|
|
|
198
|
-
The crawler
|
|
199
|
-
|
|
200
|
-
```javascript
|
|
201
|
-
// Save current state
|
|
202
|
-
const data = crawler.saveData();
|
|
203
|
-
fs.writeFileSync('registry-data.json', JSON.stringify(data));
|
|
204
|
-
|
|
205
|
-
// Load saved state
|
|
206
|
-
const savedData = JSON.parse(fs.readFileSync('registry-data.json'));
|
|
207
|
-
crawler.loadData(savedData);
|
|
208
|
-
```
|
|
198
|
+
The crawler saves and loads its state in [data]/registry-data.json
|
|
209
199
|
|
|
210
200
|
## Development
|
|
211
201
|
|
package/tx/cs/cs-db.js
CHANGED
|
@@ -5,19 +5,6 @@ const { Language, Languages} = require('../../library/languages');
|
|
|
5
5
|
const { CodeSystemProvider, CodeSystemFactoryProvider} = require('./cs-api');
|
|
6
6
|
const { validateOptionalParameter, validateArrayParameter} = require("../../library/utilities");
|
|
7
7
|
|
|
8
|
-
/**
|
|
9
|
-
* SQL Tables:
|
|
10
|
-
*
|
|
11
|
-
* Metadata: Name, Value
|
|
12
|
-
* Concepts: ConceptKey, Code, Display, Definition, Parent
|
|
13
|
-
* Closure: ParentKey, ChildKey
|
|
14
|
-
* DesignationUses: DesignationUseKey, System, Version, Code, Display
|
|
15
|
-
* Languages: LanguageKey, LanguageCode
|
|
16
|
-
* Designations: ConceptKey, LanguageKey, DesignationUseKey, Value
|
|
17
|
-
* PropertyDefinitions: PropertyDefinitionKey, Code, Uri, Description, Type
|
|
18
|
-
* Properties: PropertyKey, PropertyDefinitionKey, Value, System, Version, Display
|
|
19
|
-
*/
|
|
20
|
-
|
|
21
8
|
class CachedDesignation {
|
|
22
9
|
constructor(display, language, use) {
|
|
23
10
|
this.display = display;
|
package/passwords.ini
DELETED