This page is part of the FHIR Shorthand (v1.0.0: STU 1) based on FHIR R4. The current version which supercedes this version is 2.0.0. For a full list of available versions, see the Directory of published versions
FHIR Shorthand (FSH) is a domain-specific language for defining FHIR artifacts involved in creation of FHIR Implementation Guides (IG). The goal of FSH is to allow profiler creators to more directly express their intent with fewer concerns about underlying FHIR mechanics. FSH can be created and updated using any text editor, and because it is text, it enables distributed, team-based development using source code control tools such as GitHub.
The FHIR Shorthand (FSH) implementation guide includes the following information:
The following material, essential to applying FHIR Shorthand but not part of the language specification, is found on FSHSchool.org:
This IG uses the following conventions:
Style | Explanation | Example |
---|---|---|
Code |
Code fragments, such as commands, FSH statements, and FSH syntax expressions | * status = #open |
{curly braces} |
An item to be substituted in a syntax expression | {display string} |
<datatype> |
An element or path to an element with the given data type, to be substituted in the syntax expression | <CodeableConcept> |
italics | An optional item in a syntax expression | "{string}" |
ellipsis (…) | Indicates a pattern that can be repeated | {flag1} {flag2} {flag3} ... |
bold | A directory path or file name | example-1.fsh |
There are already several existing methods for IG creation. Each of these methods have certain advantages as well as drawbacks:
As the only language designed for profiling and IG creation, FSH is unique among these methods. It provides a fast, scalable, and user-friendly path to IG creation and maintenance. Because it is text-based, FSH brings a degree of editing agility not found in graphical tools (such as cutting and pasting, global search and replace, spell checking, etc.) Because it is a HL7 FHIR standard, tooling can be built around FSH with confidence in its stability and continuity. The most notable FSH tool currently is SUSHI, a reference implementation for transforming FSH into FHIR artifacts that are directly integrated with the HL7 FHIR Implementation Guide Publishing tool. SUSHI has a number of features to go seamlessly from FSH to IG.
This Implementation Guide has been balloted as Standard for Trial Use (STU) with the intention to go normative in a subsequent ballot cycle.
Role | Name | Organization | Contact |
---|---|---|---|
Author | Mark A. Kramer | MITRE Corporation | mkramer@mitre.org |
Author | Chris Moesel | MITRE Corporation | cmoesel@mitre.org |
Contributor | Julia K. Afeltra | MITRE Corporation | jafeltra@mitre.org |
Contributor | Nick Freiter | MITRE Corporation | nfreiter@mitre.org |
Contributor | Mint N. Thompson | MITRE Corporation | mathompson@mitre.org |
FHIR Infrastructure Co-chair | Rick Geimer | Lantana Consulting Group | rick.geimer@lantanagroup.com |
FHIR Infrastructure Co-chair | Josh Mandel | SMART Health IT | jmandel@gmail.com |
FHIR Infrastructure Co-chair | Lloyd McKenzie | HL7 Canada/Gevity | lloyd@lmckenzie.com |
FHIR Infrastructure Co-chair | Yunwei Wang | MITRE Corporation | yunweiw@mitre.org |
The authors gratefully acknowledge the many contributions from numerous users and facilitators who helped shape, mature, debug, and advance the FSH specification, including:
Reece Adamson, Kurt Allen, Carl Anderson, Keith Boone, Giorgio Cangioli, Gino Canessa, Etienne Cantineau, Sam Citron, Sheila Connelly, Carmela Couderc, Nathan Davis, Noemi Deppenwiese, Mark Discenza, Jean Duteau, Richard Esmond, Michael Faughn, Sarah Gaunt, Nick George, Andy Gregorowicz, Grahame Grieve, John Grimes, Eric Haas, Torben Hagensen, David Hay, Brian Kaney, Daniel Karlsson, Richard Kavanagh, Ewout Kramer, Saul Kravitz, Halina Labikova, Patrick Langford, Michael Lawley, Dylan Mahalingam, Rute Martins Baptista, Bob Milius, John Moehrke, Muthu Muthuraj, Craig Newman, Joe Paquette, Tom Parker-Shemilt, Vassil Peytchev, Caroline Potteiger, David Pyke, Andre Quina, Joshua Reynolds, Rob Reynolds, Bryn Rhodes, Shovan Roy, Michael Sauer, John Silva, Elliot Silver, Igor Sirkovich, Bill Sorensen, Lee Surprenant, Jose Costa Teixeira, May Terry, Pétur Valdimarsson, Bas van den Heuvel, Bence Vass, Jens Villadsen, Ward Weistra, Rien Wertheim, and David Winters.
The authors apologize if they have omitted any contributor from this list.