Skip to content

A FHIR-Shorthand (FSH) linter that checks for common errors and best practices in FSH files.

License

Notifications You must be signed in to change notification settings

verily-src/fsh-lint

Repository files navigation

FSH Lint

CI GitHub Release GitHub License

A Style and lint checker tool for validating FHIR Shorthand (FSH) files.

Quick Start

Installation

Prebuilt binaries are available through GitHub Releases, or you can build from source if you have Go installed, with:

go install github.com/verily-src/fsh-lint@latest

Usage

The linter can be run from the command line. The basic usage is:

fsh-lint --paths path/to/YourFile.fsh

Automatic fixes are available for some rules as well, which can be applied with the --fix flag:

fsh-lint --paths path/to/YourFile.fsh --fix

Rules

Below is the complete list of rules by their rule-id grouped by their category.

Special Rules

Code System Rules

Extension Rules

Profile Rules

Search Parameter Rules

Value Set Rules

Contributing

See CONTRIBUTING.md for more information.

About

A FHIR-Shorthand (FSH) linter that checks for common errors and best practices in FSH files.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published