Skip to content

Add fhir-shorthand extension#6231

Open
spilikin wants to merge 3 commits into
zed-industries:mainfrom
spilikin:add-fhir-shorthand
Open

Add fhir-shorthand extension#6231
spilikin wants to merge 3 commits into
zed-industries:mainfrom
spilikin:add-fhir-shorthand

Conversation

@spilikin
Copy link
Copy Markdown

Adds FHIR Shorthand (fhir-shorthand), a language extension for
FHIR Shorthand (FSH) — the HL7 DSL used to
author FHIR Implementation Guides (compiled by
SUSHI).

It provides syntax highlighting and a code outline for .fsh files via a
purpose-built Tree-sitter grammar ported from SUSHI's official ANTLR grammar
(FSH 3.0.0).

Repositories

Tested

Installed locally via zed: install dev extension against the published
grammar at the pinned rev; highlighting and outline (cmd-shift-o) work
across all FSH 3.0.0 constructs (Profile:, Extension: with Context:,
Logical: with Characteristics:, Instance:, Invariant:, ValueSet:,
CodeSystem:, Mapping:, RuleSet:/insert, Alias:, CodeableReference()).

Checklist

  • Extension and grammar repositories are public on GitHub
  • LICENSE at the extension repo root (MIT)
  • Extension ID does not contain zed / Zed / extension
  • Grammar pinned by a full commit SHA
  • Submodule uses an HTTPS URL
  • Submodule commit is on a branch (main), not detached
  • version matches between extension.toml and extensions.toml
  • pnpm sort-extensions and pnpm test pass locally

🤖 Generated with Claude Code

Language extension for FHIR Shorthand (FSH) 3.0.0, backed by a
purpose-built Tree-sitter grammar at spilikin/tree-sitter-fsh.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@cla-bot
Copy link
Copy Markdown

cla-bot Bot commented May 26, 2026

We require contributors to sign our Contributor License Agreement, and we don't have @spilikin on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'.

@spilikin
Copy link
Copy Markdown
Author

@cla-bot check

@cla-bot cla-bot Bot added the cla-signed label May 26, 2026
@cla-bot
Copy link
Copy Markdown

cla-bot Bot commented May 26, 2026

The cla-bot has been summoned, and re-checked this pull request!

@spilikin
Copy link
Copy Markdown
Author

spilikin commented Jun 6, 2026

Hi all, any chance you accept this pull request? We would like to start using it in the FHIR community.

Thanx in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant