SUSHI (SUSHI Unshortens Short Hand Inputs) is a reference implementation compiler for FHIR Shorthand (FSH), a domain-specific language for defining FHIR Implementation Guides. Current stable version is 3.19.0, released with monthly cadence. Key differentiators: first-class support for FHIR R4/R4B/R5, dependency aliasing (since v3.16.0), multiline strings in invariants and mapping comments (v3.18.0), and integration with IG Publisher. Primarily used via CLI (`sushi build`). Ships TypeScript types.
npm install fsh-sushiNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates programmatic use of SUSHI compiler via ESM import, building a project from the command-line argument.
Upgrade Node.js to version 22.
Add alias prefix for duplicate dependency entries.
Use `sushi init` to generate _build script.
Upgrade to v3.18.0 or later.
Check internet connection and ensure the package exists. Use `sushi update-dependencies` to refresh.
Ensure the FSH file contains a valid Profile statement and that all dependent profiles are resolved.
Install Node.js v18 or later. Recommended: v22.