Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ All notable changes to the Health Intersections Node Server will be documented i
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [v0.8.1] - 2026-03-29
## [v0.8.2] - 2026-03-29

### Added

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fhirsmith",
"version": "0.8.1",
"version": "0.8.2",
"description": "A Node.js server that provides a collection of tools to serve the FHIR ecosystem",
"main": "server.js",
"engines": {
Expand Down
4 changes: 0 additions & 4 deletions tests/tx/test-cases.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4064,10 +4064,6 @@ describe('translate', () => {
await runTest({"suite":"translate","test":"translate-1"}, "5.0");
});

it('translate-1R4', async () => {
await runTest({"suite":"translate","test":"translate-1"}, "4.0");
});

});

describe('tho', () => {
Expand Down
4 changes: 2 additions & 2 deletions tx/workers/translate.js
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ class TranslateWorker extends TerminologyWorker {
for (const map of em.target || []) {
let ok = false;
if (map.equivalence) { // R4 mode
ok = ['null', 'equivalent', 'equal', 'wider', 'subsumes', 'narrower', 'specializes', 'inexact'].includes(map.equivalence);
ok = ['null', 'relatedto', 'equivalent', 'equal', 'wider', 'subsumes', 'narrower', 'specializes', 'inexact'].includes(map.equivalence);
} else {
ok = ['null', 'related-to', 'equivalent', 'source-is-narrower-than-target', 'source-is-broader-than-target'].includes(map.relationship);
}
Expand Down Expand Up @@ -413,7 +413,7 @@ class TranslateWorker extends TerminologyWorker {
const map = match.target;
let ok = false;
if (map.equivalence) { // R4 mode
ok = ['null', 'equivalent', 'equal', 'wider', 'subsumes', 'narrower', 'specializes', 'inexact'].includes(map.equivalence);
ok = ['null', 'relatedto', 'equivalent', 'equal', 'wider', 'subsumes', 'narrower', 'specializes', 'inexact'].includes(map.equivalence);
} else {
ok = ['null', 'related-to', 'equivalent', 'source-is-narrower-than-target', 'source-is-broader-than-target'].includes(map.relationship);
}
Expand Down
Loading