io.github.diz-uker.fhir-ig-constants 0.2.18

dotnet add package io.github.diz-uker.fhir-ig-constants --version 0.2.18
                    
NuGet\Install-Package io.github.diz-uker.fhir-ig-constants -Version 0.2.18
                    
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="io.github.diz-uker.fhir-ig-constants" Version="0.2.18" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="io.github.diz-uker.fhir-ig-constants" Version="0.2.18" />
                    
Directory.Packages.props
<PackageReference Include="io.github.diz-uker.fhir-ig-constants" />
                    
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 io.github.diz-uker.fhir-ig-constants --version 0.2.18
                    
#r "nuget: io.github.diz-uker.fhir-ig-constants, 0.2.18"
                    
#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 io.github.diz-uker.fhir-ig-constants@0.2.18
                    
#: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=io.github.diz-uker.fhir-ig-constants&version=0.2.18
                    
Install as a Cake Addin
#tool nuget:?package=io.github.diz-uker.fhir-ig-constants&version=0.2.18
                    
Install as a Cake Tool

to-fhir

OpenSSF Scorecard

Collection of utilities for mapping FHIR resources.

This repository contains two artifacts:

  • to-fhir — the core library. Plain Java, no Spring Boot dependency.
  • to-fhir-starter — a Spring Boot starter that auto-configures FhirProperties (overridable via fhir.* properties) on top of to-fhir.

Installation

Gradle

implementation "io.github.diz-uker:to-fhir:0.2.18"

// optional, for Spring Boot auto-configuration
implementation "io.github.diz-uker:to-fhir-starter:0.2.18"

Maven

<dependency>
    <groupId>io.github.diz-uker</groupId>
    <artifactId>to-fhir</artifactId>
    <version>0.2.18</version>
</dependency>


<dependency>
    <groupId>io.github.diz-uker</groupId>
    <artifactId>to-fhir-starter</artifactId>
    <version>0.2.18</version>
</dependency>

Development

Generating FHIR IG constants

The generated constant classes in fhir-ig-constants/src/main/java/ (Java), fhir-ig-constants-cs/src/ (C#), and fhir-ig-constants-py/src/ (Python) are all produced from fhir-ig-constants/package.json and must be re-generated whenever the package manifest or the codegen tools change.

1. Install FHIR packages

cd fhir-ig-constants && npm install

2a. Re-generate Java

./gradlew :fhir-ig-constants:generateIgConstants

Spotless formatting is applied automatically. Review the diff, then commit.

2b. Re-generate C#

dotnet msbuild fhir-ig-constants-cs -t:GenerateIgConstants
dotnet tool restore && dotnet csharpier format fhir-ig-constants-cs/src/

2c. Re-generate Python

cd ig-codegen-py
uv run ig-codegen \
  ../fhir-ig-constants/package.json \
  ../fhir-ig-constants/node_modules \
  ../fhir-ig-constants-py/src/
uv run ruff format \
  --config ../fhir-ig-constants-py/pyproject.toml \
  ../fhir-ig-constants-py/src/

Review the diff, then commit.

Snapshot testing

Auto-approve snapshot changes

Usually, approving a changed snapshots requires manually renaming or moving the snapshot file from .received. to .approved.. If you are facing a lot of changed snapshots and are certain that your changes are valid, you can automatically approve them:

APPROVAL_TESTS_USE_REPORTER=AutoApproveReporter ./gradlew test

Source: https://github.com/approvals/ApprovalTests.Java/issues/590.

You can also run this in a loop to approve indexed snapshots:

for i in {1..10};
    do APPROVAL_TESTS_USE_REPORTER=AutoApproveReporter ./gradlew test;
done
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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

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
0.2.18 178 8/27/2026
0.2.17 119 8/23/2026
0.2.16 143 8/18/2026
0.2.15 313 8/16/2026
0.2.14 139 8/15/2026
0.2.13 131 8/15/2026
0.2.12 148 8/14/2026