This is the support API for working with the DSTU version of HL7 FHIR on the Microsoft .NET (dotnet) platform. The API deals with the HTTP and wire format, so you can write code like this to manipulate a patient’s data:
var client = new FhirClient("http://spark.furore.com/fhir"); var pat = client.Read<Patient>("Patient/1"); pat.Resource.Name.Add(HumanName.ForFamily("Kramer") .WithGiven("Ewout")); client.Update<Patient>(pat);
This library provides:
* Class models for working with the FHIR data model using POCO’s
* Xml and Json parsers and serializers
* A REST client for working with FHIR-compliant servers
* Helper classes to work with the specification metadata, most notably
StructureDefinition and generation of differentials
Get started by reading the online documentation or downloading the NuGet packages:
|STU 3 (Baltimore)||https://www.nuget.org/packages/Hl7.Fhir.STU3/||https://www.nuget.org/packages/Hl7.Fhir.Specification.STU3/|
|DSTU 2.1* (Montreal)||https://www.nuget.org/packages/Hl7.Fhir.DSTU21/||https://www.nuget.org/packages/Hl7.Fhir.Specification.DSTU21/|
** * The STU3 build is a connectathon build intended for use at the Sept 2016 Balitmore Connectathon. ** ** * Please note that the DSTU2.1 release was an interim build only intended for the May 2016 Montreal Connectathon, and is no longer maintained.** ** * Please note that the DSTU1 release is not maintained anymore.**
We actively monitor the issues coming in through the GitHub repository at https://github.com/ewoutkramer/fhir-net-api/issues. You are welcome to register your bugs and feature suggestions there!
For broader discussions, there’s a “FHIR on .NET” Google group.
We are also members of the FHIR Implementers chat.
We are welcoming contributors!
If you want to participate in this project, we’re using Git Flow for our branch management, so new development is done on (feature branches from) /develop.