Skip to content

Type to search extensions

FHIR Shorthand

v0.1.0

FHIR Shorthand (FSH) language support for Zed: syntax highlighting, bracket matching, and code outline for .fsh files.

Updated 2 months ago
44 downloads 1 star Repository ↗

FHIR Shorthand for Zed

A Zed extension that adds language support for FHIR Shorthand (FSH) — the domain-specific language for authoring HL7® FHIR® profiles, extensions, value sets, and other Implementation Guide artifacts.

Features

  • Syntax highlighting for .fsh files
  • Code outline (Profiles, Extensions, Instances, ValueSets, CodeSystems, …)

It is a grammar-only extension: highlighting and outline come from a purpose-built Tree-sitter grammar — a port of SUSHI's official ANTLR grammar for FSH 3.0.0. There is no language server yet, so live diagnostics and completion are not provided — run SUSHI (fsh-sushi) for compilation and error checking.

Install (development)

  1. Open Zed.
  2. Run zed: install dev extension from the command palette and select this directory.
  3. Open a .fsh file (e.g. examples/patient.fsh).

Zed downloads and compiles the Tree-sitter grammar on install. Edits to the .scm query files are picked up after zed: reload extensions.

License

MIT © 2026 Sergej Suskov

ZedExt An unofficial community project. Not affiliated with Zed Industries.

Data from Zed’s extension registry and GitHub · updated