![]() |
VOOZH | about |
dotnet add package Hl7.Fhir.R5 --version 5.12.1
NuGet\Install-Package Hl7.Fhir.R5 -Version 5.12.1
<PackageReference Include="Hl7.Fhir.R5" Version="5.12.1" />
<PackageVersion Include="Hl7.Fhir.R5" Version="5.12.1" />Directory.Packages.props
<PackageReference Include="Hl7.Fhir.R5" />Project file
paket add Hl7.Fhir.R5 --version 5.12.1
#r "nuget: Hl7.Fhir.R5, 5.12.1"
#:package Hl7.Fhir.R5@5.12.1
#addin nuget:?package=Hl7.Fhir.R5&version=5.12.1Install as a Cake Addin
#tool nuget:?package=Hl7.Fhir.R5&version=5.12.1Install as a Cake Tool
IMPORTANT The 5.0 version of the SDK contains substantial changes to the way we have organized the NuGet packages and source code. Please read before installing this new 5.0 version.
This is Firely's official support SDK for working with HL7 FHIR on the Microsoft .NET (dotnet) platform.
This SDK provides:
StructureDefinition and generation of differentialsRead the releases notes on firely-net-sdk/releases. You can find documentation about this SDK in the Firely docs site.
Before installing one of the NuGet packages (or clone the repo) it is important to understand that HL7 has published several updates of the FHIR specification, each with breaking changes - so you need to ensure you use the version that is right for you:
Read the online documentation, and download the correct for your FHIR release. Depending on the version of FHIR you require, you'll find the relevant link to the package below. For most developers, just including this NuGet package is enough to get started.
Every release of the SDK results in a NuGet package on the normal NuGet feed. However, each commit on our develop branch also results in a pre-release package.
These are public too. So if you want to be brave and use a pre-release packages, you can do so by adding https://nuget.pkg.github.com/FirelyTeam/index.json to your NuGet sources:
Get a Personal Access token (PAT) from github.com with scope read:packages
Next open a console on your machine and run dotnet nuget add source --name github --username <USERNAME> --password <PAT> https://nuget.pkg.github.com/FirelyTeam/index.json
USERNAME: your username on GitHub
PAT: your Personal access token with at least the scope read:packages
We spend a lot of effort trying to maintain compile compatibility (not binary compatibility) between minor releases of the SDK. We do, however, publish a new major version with breaking changes about once a year. The table below lists the breaking changes for each of the major upgrades.
| SDK version | Breaking changes |
|---|---|
| 2.x | https://github.com/FirelyTeam/firely-net-sdk/wiki/Breaking-changes-in-2.0 |
| 3.x | https://github.com/FirelyTeam/firely-net-sdk/wiki/Breaking-changes-in-3.0 |
| 4.x | https://github.com/FirelyTeam/firely-net-sdk/wiki/Breaking-changes-in-4.0 |
| 5.x | https://github.com/FirelyTeam/firely-net-sdk/wiki/Breaking-changes-in-5.0 |
The SDK has been restructured for the 5.0 release. Please take note of the following changes if you are upgrading:
Hl7.Fhir.<release>).specification.zip (for validation, if you are using the ZipSource resolver), add Hl7.Fhir.Specification.Data.<release>.Hl7.Fhir.Specification.<release> package is now a metapackage that will include these two packages.Hl7.Fhir.ElementModel etc.)The profile validator has been split off into its own repository. The NuGet packages for the validator that are compatible with the SDK 5.0 release can be found on NuGet.
We actively monitor the issues coming in through the GitHub repository at https://github.com/FirelyTeam/firely-net-sdk/issues. You are welcome to register your bugs and feature suggestions there. For questions and broader discussions, we use the .NET FHIR Implementers chat on Zulip.
We are welcoming contributions!
If you want to participate in this project, we're using Git Flow for our branch management. Please submit PRs with changes against the develop branche.
Note: Since the 5.0 release of the SDK, the branches for STU3 and newer have been combined in a single
developbranch. This branch now contains the code for all FHIR releases from STU3 and up. We have also refactored all the common code out to projects within that branch, so the separatecommonrepository (at https://github.com/FirelyTeam/firely-net-common) is no longer in use. This greatly simplifies management and creating PRs for these projects.
Our build pipeline automatically checks for binary compatibilty and fails when we break it. In some cases we can make an exception to break binary compatitibility.
To make sure the pipeline doesn't break, you should run dotnet pack /p:GenerateCompatibilitySuppressionFile=true locally to generate a suppression file. Please commit this file to make sure the build passes.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 was computed. |
| .NET Framework | net461 net461 was computed. net462 net462 was computed. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 5 NuGet packages that depend on Hl7.Fhir.R5:
| Package | Downloads |
|---|---|
|
Hl7.Fhir.Specification.R5
Metapackage including Firely's SDK Base Class Library and specification conformance data for HL7 FHIR R5. Its sole purpose is to provide a backwards-compatible package reference for projects that used pre-5.0 versions of the SDK. |
|
|
Firely.Fhir.Validation.R5
Next-gen Firely validator for R5, which validates FHIR data against profiles. |
|
|
Hl7.Fhir.Validation.Legacy.R5
Firely's Legacy profile validator (pre-SDK 5.0) for HL7 FHIR R5. |
|
|
Vonk.Fhir.R5
Package Description |
|
|
Lc.Linca.Sdk
Linked Care Client Software Development Kit The Linked Care Consortium https://linkedcare.at Annemarie Goldmann, Daniel Latikaynen |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 6.2.0 | 9,968 | 5/11/2026 |
| 6.1.1 | 11,744 | 3/24/2026 |
| 6.1.0 | 1,476 | 3/4/2026 |
| 6.0.2 | 7,743 | 1/13/2026 |
| 6.0.1 | 54,060 | 10/15/2025 |
| 6.0.0 | 3,591 | 10/14/2025 |
| 6.0.0-rc1 | 433 | 8/19/2025 |
| 6.0.0-beta1 | 296 | 7/4/2025 |
| 6.0.0-alpha2 | 350 | 4/23/2025 |
| 5.13.4 | 377 | 5/27/2026 |
| 5.13.3 | 799 | 3/10/2026 |
| 5.13.2 | 2,176 | 1/8/2026 |
| 5.13.1 | 3,789 | 12/1/2025 |
| 5.13.0 | 6,348 | 10/14/2025 |
| 5.12.2 | 8,624 | 8/27/2025 |
| 5.12.1 | 37,400 | 7/17/2025 |
| 5.12.0 | 5,831 | 6/24/2025 |
| 5.11.7 | 10,965 | 5/21/2025 |
| 5.11.6 | 8,552 | 5/12/2025 |
| 5.11.5 | 3,808 | 5/7/2025 |