Firely.Fhir.Validation.STU3 2.3.0

Prefix Reserved
dotnet add package Firely.Fhir.Validation.STU3 --version 2.3.0                
NuGet\Install-Package Firely.Fhir.Validation.STU3 -Version 2.3.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Firely.Fhir.Validation.STU3" Version="2.3.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Firely.Fhir.Validation.STU3 --version 2.3.0                
#r "nuget: Firely.Fhir.Validation.STU3, 2.3.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Firely.Fhir.Validation.STU3 as a Cake Addin
#addin nuget:?package=Firely.Fhir.Validation.STU3&version=2.3.0

// Install Firely.Fhir.Validation.STU3 as a Cake Tool
#tool nuget:?package=Firely.Fhir.Validation.STU3&version=2.3.0                


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.

Release notes

Read the releases notes on firely-net-sdk/releases.


You can find documentation on the validation api at the Firely docs site.

Getting Started

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.

An example implementation can be found here.

Using a pre-release NuGet package

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 to your NuGet sources:

  • Get a Personal Access token (PAT) from with scope read:packages

  • Next open a console on your machine and run dotnet nuget add source --name github --username <USERNAME> --password <PAT>

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 branche.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.3.0 106 5/24/2024
2.2.0 85 3/15/2024
2.1.0 99 2/14/2024
2.0.2 120 1/16/2024
2.0.1 91 1/16/2024
2.0.0 91 1/11/2024