FHIR Shorthand (FSH) is a domain-specific language for defining FHIR artifacts. It allows you to define FHIR profiles, extensions, value sets, code systems, and instances in a concise and consistent way.
I've created this tool to make it easier to author and edit FHIR Shorthand. Using this tool, you can edit FSH files directly in your browser. The editor also provides syntax highlighting and allows you to preview the parsed FSH file content.
untitled.fsh — FSH Editor
1
Resource:EmergencyVehicle
2
Id:emergency-vehicle
3
Title:"Emergency Vehicle"
4
Description:"An emergency vehicle, such as an ambulance or fire truck."
5
* identifier 0..* SU Identifier
6
"Identifier(s) of the vehicle"
7
"Vehicle identifiers may include VINs and serial numbers."
8
* make 0..1SU Coding
9
"The vehicle make"
10
"The vehicle make, e.g., Chevrolet."
11
* make fromEmergencyVehicleMake(extensible)
12
* model 0..1SU Coding
13
"The vehicle model"
14
"The vehicle model, e.g., G4500."
15
* model fromEmergencyVehicleModel(extensible)
16
* year 0..1SU positiveInt
17
"Year of manufacture"
18
"The year the vehicle was manufactured."
19
* servicePeriod 0..1 Period
20
"When the vehicle was in service"
21
"Start date and end date (if applicable) when the vehicle operated."
22
* device 0..* Reference(Device)
23
"Devices on board"
24
"Devices on board the vehicle."
See also
FSH Compiler - Compile FHIR Shorthand code into FHIR JSON.
FHIR resource models - Introduction to FHIR resource models + FHIR resource model browser.