![]() |
VOOZH | about |
dotnet add package Firely.Fhir.Validation.R4 --version 3.2.0
NuGet\Install-Package Firely.Fhir.Validation.R4 -Version 3.2.0
<PackageReference Include="Firely.Fhir.Validation.R4" Version="3.2.0" />
<PackageVersion Include="Firely.Fhir.Validation.R4" Version="3.2.0" />Directory.Packages.props
<PackageReference Include="Firely.Fhir.Validation.R4" />Project file
paket add Firely.Fhir.Validation.R4 --version 3.2.0
#r "nuget: Firely.Fhir.Validation.R4, 3.2.0"
#:package Firely.Fhir.Validation.R4@3.2.0
#addin nuget:?package=Firely.Fhir.Validation.R4&version=3.2.0Install as a Cake Addin
#tool nuget:?package=Firely.Fhir.Validation.R4&version=3.2.0Install as a Cake Tool
This is Firely's official FHIR validator API for validating HL7 FHIR resources against profiles. These profiles contain the full gamut of FHIR validation rules, and are used to validate the data in the FHIR resources.
Read the releases notes on firely-net-sdk/releases.
You can find documentation on the validation api at 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 package for your FHIR release by searching for Firely.Fhir.Validation.<spec version>. For most developers, just including this NuGet package is enough to get started.
The main class in this package is the Validator.
⚠️ Thread-safety warning: The
Validatorclass and its associated resolvers (including their internal caches) are not thread-safe. If you need to perform validation concurrently across multiple threads, you must create a separateValidatorinstance (and separate resolver instances) for each thread. Sharing a single instance across threads without synchronization will result in unpredictable behavior.
An example implementation can be found here.
Every release of the validator API 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 actively monitor the issues coming in through the GitHub repository. 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 on GitHub with changes against the develop branch.
| 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 | netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 netstandard2.1 is compatible. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | 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 2 NuGet packages that depend on Firely.Fhir.Validation.R4:
| Package | Downloads |
|---|---|
|
brianpos.Fhir.R4.DemoFileSystemFhirServer
Demonstration implementation of a FHIR R4 Facade using the file system as a super simple storage provider |
|
|
InteropSuite
Healthcare data interoperability platform. Transforms HL7 v2.x (30 types), C-CDA R2.1 (9 documents), and X12 5010 (13 transactions) into validated FHIR R4 bundles with US Core 6.1.0 and CMS 0057-F profile compliance. Includes preflight validation, HIPAA-compliant quarantine, and audit logging. |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.2.0 | 3,183 | 5/11/2026 |
| 3.1.1 | 14,593 | 3/24/2026 |
| 3.1.0 | 33,224 | 1/13/2026 |
| 3.0.1 | 9,522 | 10/28/2025 |
| 3.0.0 | 2,791 | 10/15/2025 |
| 2.7.3 | 1,570 | 3/26/2026 |
| 2.7.1 | 6,341 | 10/28/2025 |
| 2.7.0 | 6,916 | 8/27/2025 |
| 2.6.9 | 12,988 | 7/17/2025 |
| 2.6.8 | 517 | 7/15/2025 |
| 2.6.7 | 2,834 | 6/13/2025 |
| 2.6.6 | 1,745 | 5/22/2025 |
| 2.6.5 | 6,906 | 4/3/2025 |
| 2.6.4 | 943 | 4/3/2025 |
| 2.6.3 | 19,929 | 3/4/2025 |
| 2.6.2 | 1,598 | 2/10/2025 |
| 2.6.1 | 5,284 | 12/4/2024 |
| 2.6.0 | 360 | 11/26/2024 |
| 2.5.0 | 7,375 | 9/27/2024 |
| 2.4.0 | 14,473 | 7/25/2024 |