fhir-ig-share-dotnet 1.0.4

dotnet add package fhir-ig-share-dotnet --version 1.0.4
                    
NuGet\Install-Package fhir-ig-share-dotnet -Version 1.0.4
                    
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="fhir-ig-share-dotnet" Version="1.0.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="fhir-ig-share-dotnet" Version="1.0.4" />
                    
Directory.Packages.props
<PackageReference Include="fhir-ig-share-dotnet" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add fhir-ig-share-dotnet --version 1.0.4
                    
#r "nuget: fhir-ig-share-dotnet, 1.0.4"
                    
#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.
#:package fhir-ig-share-dotnet@1.0.4
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=fhir-ig-share-dotnet&version=1.0.4
                    
Install as a Cake Addin
#tool nuget:?package=fhir-ig-share-dotnet&version=1.0.4
                    
Install as a Cake Tool

fhir-ig-share-dotnet

A .NET Library for FHIR IGs

This library contains .net extensions and value sets for FHIR IGs. This library is based on .NET FHIR classes (https://github.com/FirelyTeam/firely-net-sdk).

Sources are available in https://github.com/HISB-Libraries/fhir-ig-dotnet/tree/main/GaTech.Chai.Share

Example:

public static Extension AddOrUpdateExtension(this List<Extension> extensions, Extension extension, bool allowDuplicateUrl = false)
{
    var ext = extensions.Find(e => e.Url == extension.Url);
    if (ext == null || allowDuplicateUrl == true)
    {
        extensions.Add(extension);
        ext = extension;
    }
    else
        ext.Value = extension.Value;
    return ext;
}

This .net extension for FHIR extensions can be used as follows.

 this.diagnosticReport.Extension.AddOrUpdateExtension(ext, true);

where ext is a new FHIR Extension.

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (8)

Showing the top 5 NuGet packages that depend on fhir-ig-share-dotnet:

Package Downloads
fhir-ig-mdi-dotnet

.NET Library for HL7 FHIR® Implementation Guide: Vital Records Medicolegal Death Investigation (MDI), 2.0.0-ci-build STU 2

fhir-ig-uscore-dotnet

.NET Library for US Core FHIR IG v5.0.1 - not all resource(s) are implemented. Only refereced ones from CBS and MDI are implemented

fhir-ig-uspublichealth-dotnet

.NET Library for US Public Health FHIR IG v2.0.0 - not all resource(s) are implmented. Only reference(s) referred from CBS

fhir-ig-odh-dotnet

.NET Library for FHIR ODH IG v1.1.0 - only Odh Usual Work implemeted

fhir-ig-vrcl-dotnet

.NET Library for HL7 FHIR® Implementation Guide: Vital Records Common Library (VRCL), 2.0.0-trial-use

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.4 280 6/19/2026
1.0.3 417 7/10/2025
1.0.2 537 8/12/2024
1.0.0 556 3/26/2024
0.3.1 459 10/24/2023
0.3.0 433 4/19/2023
0.2.3 708 12/8/2022
0.2.2 1,312 10/13/2022
0.2.1 654 4/14/2022