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
36 changes: 29 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ All notable changes to Health Intersections FHIRsmith will be documented in this
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).

## [1.0.13] - 2026-mm-dd
## [1.1.0] - 2026-12-04

### Security

Expand All @@ -14,8 +14,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- tx: support for a new common sqlite format for large code systems such as SNOMED CT, LOINC and RxNorm
- tx: the `generalizes` filter on a code system resource (the code and its ancestors)
- tx: `vsacCfg.enabled: false` - a server whose library names VSAC (`internal:vsac`) doesn't load it, and needs no API key: a library such as tx.fhir.org.yml can be used by a server without a VSAC account. Before, the server wouldn't start
- tx: modifier extensions: a resource or parameter with a modifier extension the server doesn't understand can't be used, wherever it is - on a value set, code system, supplement or concept map, or any element in one, or on a parameter or a part of one - whether or not the operation reads that element: a 422 (400 for a parameter) whose issue says where. The Java convertors' equivalence modifier on a concept map is understood
- tx: stored expansions: a value set's own expansion (`ValueSet.expansion`) is used when its compose can't be (there isn't one, or a code system it includes isn't available), as an expansion made with the parameters it records. `count`, `offset`, `filter`, `activeOnly`, `excludeNotForUI` and `excludeNested` are applied to it; the display language, designations, properties, code system versions and supplements must match what it was made with, and so must a filter, or it is refused (`VALUESET_STORED_EXPANSION_*`). The same for an import of such a value set, and for `$validate-code`, where only what decides membership must match. A stored expansion sent as R4 or R3 has its properties, `next` and `additionalUse` lifted out of the extensions
- tx: implicit VCL value sets: `http://fhir.org/VCL?v1={VCL}` is the value set the expression is, for `$expand` and `$validate-code` by url and as an `include.valueSet` - which is how the VCL parser now writes a sub-expression that one include can't hold (an exclusion inside a union, say)
- tx: `ValueSet/$compare` by GET (`thisUrl` and `otherUrl` at the type level, `otherUrl` on an instance)
- tx: supplement properties for every provider (LOINC, SNOMED CT and the rest, not only CodeSystem resources): `$expand` and `$lookup` report a supplement's properties with the uri it defines, alongside the code system's own
- tx: an R3 code system's `codesystem-subsumes` is converted to a declared `child` property, so its hierarchy is used for subsumption; a `child exists` filter works with or without a declared child property
- tx-import: `loinc --languages cs,fr,de` imports only the language variants asked for; a variant that isn't in the release fails before the import starts (PR #445)
- tx: the HTML view of a resource shows its tags and security labels, linked to the code where the server knows it

### Changed

Expand All @@ -27,6 +36,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- tx: a display for a code with no display, only other designations (a synonym), that is none of them: the message says there is no known display, and names the designations (`NO_KNOWN_DISPLAY`), on every path. It was a warning with a garbled message ("one of 0 choices: ")
- tx: SNOMED CT ECL: an exclusion has one expression on each side, so `A MINUS B MINUS C` needs brackets (it was accepted); `<<125605004.363698007` (a dotted attribute with no spaces) is accepted - a number with a decimal point is only read as one after `#`
- tx: `check-system-version` never influences which version of a code system is used (community decision on Zulip, Terminology Service Test Cases, check-system-version semantics): the version is chosen as if it weren't there - from the coding, the value set, `system-version`/`force-system-version`, or the default - and the operation fails (`VALUESET_VERSION_CHECK`) if that version doesn't match. Before, when nothing else named a version, the check's version was used. This includes the edition of an implicit SNOMED CT value set, and `$closure` tables. It is no longer echoed in expansion parameters. `check-valueset-version` is unchanged
- tx: the VCL parser is rewritten to follow the grammar, and checked against the shared VCL test cases (fhir-test-cases `vcl/vcl-tests.json`, which core's parser runs too). Large expressions - long unions and intersections of codes or filters, nested ones, ones across many systems - take linear time; nested filter lists (`{...}`) count towards the nesting limit
- tx: UCUM: complexity limits on a unit (exponents, components, terms, nesting), and multiplying long digit strings uses BigInt (`Ym30.Ym30` took cubic time). No unit at all is unity in arithmetic, but not a valid code
- tx: `$translate` reports `match.product` as each version has it: attribute and value[x] for R5, element and concept for R4 and R3
- tx.fhir.org.yml: RxNorm is loaded from a sqlite-v2 file (`rxnorm-v2:`); config-check knows the `snomed-v2`, `loinc-v2` and `rxnorm-v2` source types
- publisher, shl and extension-tracker use `node:sqlite` (built into Node), through `library/sql/node-sqlite.js`, not the sqlite3 package - the start of moving off it. What they store is unchanged
- tx: RxNorm keeps the codes it has looked up (most recently used), so a later provider in the same request doesn't ask the database again
- tx: the text index store starts again if its database is damaged (the machine stopped part way through a write, or its -wal was lost), or an index's build didn't finish: it is only a cache
- rest: the module has a paragraph in the daily report: each endpoint's reads, searches, writes and transactions
- library: FHIRPath: `toDate()`, and Java's function codes (`convertsToTime`, not `isTime`); the R4 <-> R6 convertors follow the Java convertors' latest changes
- tx-import: the sqlite-v2 importers (`loinc-v2`, `loinc-v2-classic`, `snomed-v2`, `snomed-v2-from-cache`, `rxnorm-v2`) take the classic importers' options: `-v, --version` for the release's version (`snomed-v2`'s was `--snomed-version`) and `-y, --yes` to replace an existing destination; without `-y` an existing destination is asked about. The earlier names (`--loinc-version`, `--rxnorm-version`, `--snomed-version`, `--overwrite`) still work. Documented in tx/importers/readme.md

### Fixed
Expand All @@ -42,20 +60,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- tx: UCUM's unit `1`: a wrong display listed '1' (en) twice
- tx: a code system version that is known but can't be used for codes (content example or not-present) was listed among the valid versions when it was the one asked for; it is still listed, and says so (`CODESYSTEM_VERSION_NOT_USABLE`)
- tx: `$expand` with more than one version of a code system: the codes of an imported value set had no version, the others did
- tx: `count=0` totals with `activeOnly` or `excludeNotForUI` counted the codes the expansion would leave out (inactive, abstract), and a code that two includes both bring in twice; the totals are now the size of the expansion they stand for, for every provider (A9)
- tx: `activeOnly` with a text filter kept a code marked inactive by the `inactive` property (not by status), in a full expansion, a page, or `count=0` (A10)
- tx: `$expand` didn't report the issues of the value sets it imports (an unknown code in the import, say); it now does, and an issue it finds itself is reported once (A11)
- tx: `$lookup` parent and child descriptions are in the language asked for, by `displayLanguage` as well as `Accept-Language`, and from the supplements in use, as the display is (A13, A14). A designation with no language, in a supplement with no language, is not taken to be in the language asked for
- tx: OMOP `$lookup`: the `valid-start-date` and `valid-end-date` values are `valueDateTime`, not `valueDate`, which a `$lookup` property can't have (A6)
- tx: `$subsumes` wrote the issue code `not found` (with a space), so its OperationOutcome wasn't valid FHIR; every issue code the server writes is now an IssueType, checked by a test of the source (A7)
- tx: a filter value that should be true or false, or that a media type filter can't use, was a server error (500); it is a 422 (invalid)
- tx: the products of an unmatched target in a concept map were lost in the conversion through R5 (A3)
- tx: converting a ValueSet or CodeSystem to R3 treated the `generalizes` filter operator as one R3 doesn't have (a CodeSystem's was dropped, a ValueSet filter's put in the filter.op extension); STU3's filter-operator has it, as R4's does
- tx: ValueSet and ConceptMap `getFHIRVersion()` and `getInfo().fhirVersion` gave the resource's own version, not the FHIR version it was read as; ConceptMap `getInfo()` failed outright; ValueSet `getCode()`/`hasCode()` without a version didn't find a code whose expansion entry has one
- tests: the ValueSet, ConceptMap and NamingSystem library tests (tests/library/*.tests.js, 104 tests) were never run, as jest runs only *.test.js; renamed, and a test now fails when a file of tests is one jest won't run
- tx: a request with no client side cache over uncachedMaxBodyMB, behind the cluster launcher, mostly got a 502 "the tx process did not answer (EPIPE)", not the 413 too-costly: the process answered and closed the connection with the body still coming. It now takes the rest of the body (without parsing it) and then answers (#461)
- tx: a JSON Bundle (a search page, say) was made in one go: a search for CodeSystems, 200 a page, with no _summary or _elements, made a page of 89 MB and held the server for 3 seconds (tx.fhir.org). A Bundle is now made an entry at a time, letting other requests run between, and written out in its parts (with no ETag: it isn't hashed)
- tests: the ValueSet, ConceptMap and NamingSystem library tests (tests/library/*.tests.js, 104 tests) were never run, as jest runs only *.test.js; renamed, and a test now fails when a file of tests is one jest won't run
- The shl module and the VSAC value set database turned on sqlite3's verbose mode, which is for the whole process: every query of every module (the XIG and packages on npm.fhir.org) then captured a stack trace and formatted its arguments, to make the stack of an error longer. It is no longer turned on

### Removed

-

### Tx Conformance Statement

(paste)
FHIRsmith v1.1.0 passed all 6529 HL7 terminology service tests (modes tx.fhir.org+omop+general+snomed+mimetypes+icd-11+icf+closure+loinc, tests v1.12.0, runner v7.0.9)

## [1.0.12] - 2026-12-01

Expand Down
54 changes: 27 additions & 27 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "fhirsmith",
"version": "1.0.13-snapshot",
"txVersion": "1.11.1-snapshot",
"version": "1.1.0",
"txVersion": "1.12.0",
"description": "A Node.js server that provides a collection of tools to serve the FHIR ecosystem",
"main": "server.js",
"engines": {
Expand Down
Loading